]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
Forward port recent changes on the 2.8 branch to HEAD
[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_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPosition swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewCanvas swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewControlBar swig_types[103]
2570 #define SWIGTYPE_p_wxPreviewFrame swig_types[104]
2571 #define SWIGTYPE_p_wxPrintData swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPrintDialogData swig_types[107]
2574 #define SWIGTYPE_p_wxPrintPreview swig_types[108]
2575 #define SWIGTYPE_p_wxPrinter swig_types[109]
2576 #define SWIGTYPE_p_wxProgressDialog swig_types[110]
2577 #define SWIGTYPE_p_wxPyApp swig_types[111]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyHScrolledWindow swig_types[114]
2581 #define SWIGTYPE_p_wxPyHVScrolledWindow swig_types[115]
2582 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[116]
2583 #define SWIGTYPE_p_wxPyImageHandler swig_types[117]
2584 #define SWIGTYPE_p_wxPyPanel swig_types[118]
2585 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[119]
2586 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[120]
2587 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[121]
2588 #define SWIGTYPE_p_wxPyPrintPreview swig_types[122]
2589 #define SWIGTYPE_p_wxPyPrintout swig_types[123]
2590 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[126]
2593 #define SWIGTYPE_p_wxPyVListBox swig_types[127]
2594 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxPyWindow swig_types[130]
2597 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[131]
2598 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxRegion swig_types[134]
2601 #define SWIGTYPE_p_wxSashEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[136]
2603 #define SWIGTYPE_p_wxSashWindow swig_types[137]
2604 #define SWIGTYPE_p_wxScrollEvent swig_types[138]
2605 #define SWIGTYPE_p_wxScrollWinEvent swig_types[139]
2606 #define SWIGTYPE_p_wxScrolledWindow swig_types[140]
2607 #define SWIGTYPE_p_wxSetCursorEvent swig_types[141]
2608 #define SWIGTYPE_p_wxShowEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[143]
2610 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[144]
2611 #define SWIGTYPE_p_wxSize swig_types[145]
2612 #define SWIGTYPE_p_wxSizeEvent swig_types[146]
2613 #define SWIGTYPE_p_wxSizer swig_types[147]
2614 #define SWIGTYPE_p_wxSizerItem swig_types[148]
2615 #define SWIGTYPE_p_wxSplashScreen swig_types[149]
2616 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[150]
2617 #define SWIGTYPE_p_wxSplitterEvent swig_types[151]
2618 #define SWIGTYPE_p_wxSplitterWindow swig_types[152]
2619 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[153]
2620 #define SWIGTYPE_p_wxStatusBar swig_types[154]
2621 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[155]
2622 #define SWIGTYPE_p_wxString swig_types[156]
2623 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[157]
2624 #define SWIGTYPE_p_wxTGAHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTIFFHandler swig_types[159]
2626 #define SWIGTYPE_p_wxTaskBarIcon swig_types[160]
2627 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[161]
2628 #define SWIGTYPE_p_wxTextEntryDialog swig_types[162]
2629 #define SWIGTYPE_p_wxTipWindow swig_types[163]
2630 #define SWIGTYPE_p_wxToolBar swig_types[164]
2631 #define SWIGTYPE_p_wxTopLevelWindow swig_types[165]
2632 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[166]
2633 #define SWIGTYPE_p_wxValidator swig_types[167]
2634 #define SWIGTYPE_p_wxVarHScrollHelper swig_types[168]
2635 #define SWIGTYPE_p_wxVarHVScrollHelper swig_types[169]
2636 #define SWIGTYPE_p_wxVarScrollHelperBase swig_types[170]
2637 #define SWIGTYPE_p_wxVarVScrollHelper swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[174]
2641 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[175]
2642 #define SWIGTYPE_p_wxXPMHandler swig_types[176]
2643 static swig_type_info *swig_types[178];
2644 static swig_module_info swig_module = {swig_types, 177, 0, 0, 0, 0};
2645 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2646 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2647
2648 /* -------- TYPES TABLE (END) -------- */
2649
2650 #if (PY_VERSION_HEX <= 0x02000000)
2651 # if !defined(SWIG_PYTHON_CLASSIC)
2652 # error "This python version requires to use swig with the '-classic' option"
2653 # endif
2654 #endif
2655 #if (PY_VERSION_HEX <= 0x02020000)
2656 # error "This python version requires to use swig with the '-nomodern' option"
2657 #endif
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodernargs' option"
2660 #endif
2661 #ifndef METH_O
2662 # error "This python version requires to use swig with the '-nofastunpack' option"
2663 #endif
2664
2665 /*-----------------------------------------------
2666 @(target):= _windows_.so
2667 ------------------------------------------------*/
2668 #define SWIG_init init_windows_
2669
2670 #define SWIG_name "_windows_"
2671
2672 #define SWIGVERSION 0x010329
2673
2674
2675 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2676 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2677
2678
2679 #include <stdexcept>
2680
2681
2682 namespace swig {
2683 class PyObject_ptr {
2684 protected:
2685 PyObject *_obj;
2686
2687 public:
2688 PyObject_ptr() :_obj(0)
2689 {
2690 }
2691
2692 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2693 {
2694 Py_XINCREF(_obj);
2695 }
2696
2697 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2698 {
2699 if (initial_ref) Py_XINCREF(_obj);
2700 }
2701
2702 PyObject_ptr & operator=(const PyObject_ptr& item)
2703 {
2704 Py_XINCREF(item._obj);
2705 Py_XDECREF(_obj);
2706 _obj = item._obj;
2707 return *this;
2708 }
2709
2710 ~PyObject_ptr()
2711 {
2712 Py_XDECREF(_obj);
2713 }
2714
2715 operator PyObject *() const
2716 {
2717 return _obj;
2718 }
2719
2720 PyObject *operator->() const
2721 {
2722 return _obj;
2723 }
2724 };
2725 }
2726
2727
2728 namespace swig {
2729 struct PyObject_var : PyObject_ptr {
2730 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2731
2732 PyObject_var & operator = (PyObject* obj)
2733 {
2734 Py_XDECREF(_obj);
2735 _obj = obj;
2736 return *this;
2737 }
2738 };
2739 }
2740
2741
2742 #include "wx/wxPython/wxPython.h"
2743 #include "wx/wxPython/pyclasses.h"
2744
2745
2746 static const wxString wxPyEmptyString(wxEmptyString);
2747 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2748
2749
2750
2751 #include <limits.h>
2752 #ifndef LLONG_MIN
2753 # define LLONG_MIN LONG_LONG_MIN
2754 #endif
2755 #ifndef LLONG_MAX
2756 # define LLONG_MAX LONG_LONG_MAX
2757 #endif
2758 #ifndef ULLONG_MAX
2759 # define ULLONG_MAX ULONG_LONG_MAX
2760 #endif
2761
2762
2763 SWIGINTERN int
2764 SWIG_AsVal_long (PyObject* obj, long* val)
2765 {
2766 if (PyNumber_Check(obj)) {
2767 if (val) *val = PyInt_AsLong(obj);
2768 return SWIG_OK;
2769 }
2770 return SWIG_TypeError;
2771 }
2772
2773
2774 SWIGINTERN int
2775 SWIG_AsVal_int (PyObject * obj, int *val)
2776 {
2777 long v;
2778 int res = SWIG_AsVal_long (obj, &v);
2779 if (SWIG_IsOK(res)) {
2780 if ((v < INT_MIN || v > INT_MAX)) {
2781 return SWIG_OverflowError;
2782 } else {
2783 if (val) *val = static_cast< int >(v);
2784 }
2785 }
2786 return res;
2787 }
2788
2789
2790 SWIGINTERN int
2791 SWIG_AsVal_bool (PyObject *obj, bool *val)
2792 {
2793 if (obj == Py_True) {
2794 if (val) *val = true;
2795 return SWIG_OK;
2796 } else if (obj == Py_False) {
2797 if (val) *val = false;
2798 return SWIG_OK;
2799 } else {
2800 long v = 0;
2801 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2802 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2803 return res;
2804 }
2805 }
2806
2807
2808 #define SWIG_From_long PyInt_FromLong
2809
2810
2811 SWIGINTERNINLINE PyObject *
2812 SWIG_From_int (int value)
2813 {
2814 return SWIG_From_long (value);
2815 }
2816
2817
2818 SWIGINTERN int
2819 SWIG_AsVal_double (PyObject *obj, double* val)
2820 {
2821 if (PyNumber_Check(obj)) {
2822 if (val) *val = PyFloat_AsDouble(obj);
2823 return SWIG_OK;
2824 }
2825 return SWIG_TypeError;
2826 }
2827
2828
2829 #define SWIG_From_double PyFloat_FromDouble
2830
2831 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2832 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2833 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2834 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2835 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2836 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2837
2838 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2839
2840
2841
2842 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2843 wxRect r;
2844 self->GetFieldRect(i, r);
2845 return r;
2846 }
2847 static const wxString wxPySplitterNameStr(wxT("splitter"));
2848 static const wxString wxPySashNameStr(wxT("sashWindow"));
2849 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2850
2851 #include <wx/popupwin.h>
2852
2853
2854 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2855 {
2856 public:
2857 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2858 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2859 : wxPopupTransientWindow(parent, style) {}
2860
2861 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2862 DEC_PYCALLBACK__(OnDismiss);
2863 DEC_PYCALLBACK_BOOL_(CanDismiss);
2864 PYPRIVATE;
2865 };
2866
2867
2868 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2869 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2870 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2871
2872
2873 #include <wx/tipwin.h>
2874
2875 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2876 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2877 }
2878
2879 #include <wx/tipwin.h>
2880 #include <wx/vscroll.h>
2881
2882
2883 SWIGINTERNINLINE PyObject*
2884 SWIG_From_unsigned_SS_long (unsigned long value)
2885 {
2886 return (value > LONG_MAX) ?
2887 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2888 }
2889
2890
2891 SWIGINTERNINLINE PyObject *
2892 SWIG_From_size_t (size_t value)
2893 {
2894 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2895 }
2896
2897
2898 SWIGINTERN int
2899 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2900 {
2901 long v = 0;
2902 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2903 return SWIG_TypeError;
2904 }
2905 else if (val)
2906 *val = (unsigned long)v;
2907 return SWIG_OK;
2908 }
2909
2910
2911 SWIGINTERNINLINE int
2912 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2913 {
2914 unsigned long v;
2915 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2916 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2917 return res;
2918 }
2919
2920
2921 class wxPyVScrolledWindow : public wxVScrolledWindow
2922 {
2923 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2924 public:
2925 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2926
2927 wxPyVScrolledWindow(wxWindow *parent,
2928 wxWindowID id = wxID_ANY,
2929 const wxPoint& pos = wxDefaultPosition,
2930 const wxSize& size = wxDefaultSize,
2931 long style = 0,
2932 const wxString& name = wxPyPanelNameStr)
2933 : wxVScrolledWindow(parent, id, pos, size, style, name)
2934 {}
2935
2936 // Overridable virtuals
2937
2938 // this function must be overridden in the derived class and it should
2939 // return the height of the given line in pixels
2940 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight);
2941 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight); // old name
2942
2943 // this function doesn't have to be overridden but it may be useful to do
2944 // it if calculating the lines heights is a relatively expensive operation
2945 // as it gives the user code a possibility to calculate several of them at
2946 // once
2947 //
2948 // OnGetLinesHint() is normally called just before OnGetRowHeight() but you
2949 // shouldn't rely on the latter being called for all lines in the interval
2950 // specified here. It is also possible that OnGetRowHeight() will be
2951 // called for the lines outside of this interval, so this is really just a
2952 // hint, not a promise.
2953 //
2954 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2955 // usual
2956 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint);
2957 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint); // old name
2958
2959 // when the number of lines changes, we try to estimate the total height
2960 // of all lines which is a rather expensive operation in terms of lines
2961 // access, so if the user code may estimate the average height
2962 // better/faster than we do, it should override this function to implement
2963 // its own logic
2964 //
2965 // this function should return the best guess for the total height it may
2966 // make
2967 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2968
2969
2970 // Also expose some other interesting protected methods
2971
2972
2973 // get the total height of the lines between lineMin (inclusive) and
2974 // lineMax (exclusive)
2975 wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const
2976 { return wxVScrolledWindow::GetRowsHeight(lineMin, lineMax); }
2977
2978
2979 PYPRIVATE;
2980 };
2981
2982 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2983
2984 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowHeight);
2985 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2986 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetRowsHeightHint);
2987 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2988
2989 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2990
2991
2992 class wxPyHScrolledWindow : public wxHScrolledWindow
2993 {
2994 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow)
2995 public:
2996 wxPyHScrolledWindow() : wxHScrolledWindow() {}
2997
2998 wxPyHScrolledWindow(wxWindow *parent,
2999 wxWindowID id = wxID_ANY,
3000 const wxPoint& pos = wxDefaultPosition,
3001 const wxSize& size = wxDefaultSize,
3002 long style = 0,
3003 const wxString& name = wxPyPanelNameStr)
3004 : wxHScrolledWindow(parent, id, pos, size, style, name)
3005 {}
3006
3007 // Overridable virtuals
3008 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth);
3009 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint);
3010 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth);
3011
3012 wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const
3013 { return wxHScrolledWindow::GetColumnsWidth(columnMin, columnMax); }
3014
3015 PYPRIVATE;
3016 };
3017
3018 IMPLEMENT_ABSTRACT_CLASS(wxPyHScrolledWindow, wxHScrolledWindow);
3019
3020 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnWidth);
3021 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHScrolledWindow, wxHScrolledWindow, OnGetColumnsWidthHint);
3022 IMP_PYCALLBACK_COORD_const (wxPyHScrolledWindow, wxHScrolledWindow, EstimateTotalWidth);
3023
3024
3025
3026 class wxPyHVScrolledWindow : public wxHVScrolledWindow
3027 {
3028 DECLARE_ABSTRACT_CLASS(wxPyHScrolledWindow)
3029 public:
3030 wxPyHVScrolledWindow() : wxHVScrolledWindow() {}
3031
3032 wxPyHVScrolledWindow(wxWindow *parent,
3033 wxWindowID id = wxID_ANY,
3034 const wxPoint& pos = wxDefaultPosition,
3035 const wxSize& size = wxDefaultSize,
3036 long style = 0,
3037 const wxString& name = wxPyPanelNameStr)
3038 : wxHVScrolledWindow(parent, id, pos, size, style, name)
3039 {}
3040
3041 // Overridable virtuals
3042 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetRowHeight);
3043 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetRowsHeightHint);
3044 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
3045
3046 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetColumnWidth);
3047 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetColumnsWidthHint);
3048 DEC_PYCALLBACK_COORD_const(EstimateTotalWidth);
3049
3050 wxCoord GetRowsHeight(size_t lineMin, size_t lineMax) const
3051 { return wxHVScrolledWindow::GetRowsHeight(lineMin, lineMax); }
3052
3053 wxCoord GetColumnsWidth(size_t columnMin, size_t columnMax) const
3054 { return wxHVScrolledWindow::GetColumnsWidth(columnMin, columnMax); }
3055
3056 PYPRIVATE;
3057 };
3058
3059 IMPLEMENT_ABSTRACT_CLASS(wxPyHVScrolledWindow, wxHVScrolledWindow);
3060
3061 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowHeight);
3062 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetRowsHeightHint);
3063 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalHeight);
3064
3065 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnWidth);
3066 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyHVScrolledWindow, wxHVScrolledWindow, OnGetColumnsWidthHint);
3067 IMP_PYCALLBACK_COORD_const (wxPyHVScrolledWindow, wxHVScrolledWindow, EstimateTotalWidth);
3068
3069
3070
3071 #include <wx/vlbox.h>
3072
3073 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
3074
3075 class wxPyVListBox : public wxVListBox
3076 {
3077 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3078 public:
3079 wxPyVListBox() : wxVListBox() {}
3080
3081 wxPyVListBox(wxWindow *parent,
3082 wxWindowID id = wxID_ANY,
3083 const wxPoint& pos = wxDefaultPosition,
3084 const wxSize& size = wxDefaultSize,
3085 long style = 0,
3086 const wxString& name = wxPyVListBoxNameStr)
3087 : wxVListBox(parent, id, pos, size, style, name)
3088 {}
3089
3090 // Overridable virtuals
3091
3092 // the derived class must implement this function to actually draw the item
3093 // with the given index on the provided DC
3094 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3095 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3096
3097
3098 // the derived class must implement this method to return the height of the
3099 // specified item
3100 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3101 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3102
3103
3104 // this method may be used to draw separators between the lines; note that
3105 // the rectangle may be modified, typically to deflate it a bit before
3106 // passing to OnDrawItem()
3107 //
3108 // the base class version doesn't do anything
3109 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3110 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3111
3112
3113 // this method is used to draw the items background and, maybe, a border
3114 // around it
3115 //
3116 // the base class version implements a reasonable default behaviour which
3117 // consists in drawing the selected item with the standard background
3118 // colour and drawing a border around the item if it is either selected or
3119 // current
3120 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3121 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3122
3123
3124 PYPRIVATE;
3125 };
3126
3127 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3128
3129 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3130 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3131 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3132 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3133
3134
3135 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3136 unsigned long cookie = 0;
3137 int selected = self->GetFirstSelected(cookie);
3138 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3139 PyObject* tup = PyTuple_New(2);
3140 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3141 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3142 wxPyEndBlockThreads(blocked);
3143 return tup;
3144 }
3145 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3146 int selected = self->GetNextSelected(cookie);
3147 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3148 PyObject* tup = PyTuple_New(2);
3149 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3150 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3151 wxPyEndBlockThreads(blocked);
3152 return tup;
3153 }
3154
3155 #include <wx/htmllbox.h>
3156
3157
3158 class wxPyHtmlListBox : public wxHtmlListBox
3159 {
3160 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3161 public:
3162 wxPyHtmlListBox() : wxHtmlListBox() {}
3163
3164 wxPyHtmlListBox(wxWindow *parent,
3165 wxWindowID id = wxID_ANY,
3166 const wxPoint& pos = wxDefaultPosition,
3167 const wxSize& size = wxDefaultSize,
3168 long style = 0,
3169 const wxString& name = wxPyVListBoxNameStr)
3170 : wxHtmlListBox(parent, id, pos, size, style, name)
3171 {}
3172
3173 // Overridable virtuals
3174
3175 // this method must be implemented in the derived class and should return
3176 // the body (i.e. without <html>) of the HTML for the given item
3177 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3178
3179 // this function may be overridden to decorate HTML returned by OnGetItem()
3180 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3181
3182 // These are from wxVListBox
3183 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3184 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3185
3186 // TODO:
3187 // // this method allows to customize the selection appearance: it may be used
3188 // // to specify the colour of the text which normally has the given colour
3189 // // colFg when it is inside the selection
3190 // //
3191 // // by default, the original colour is not used at all and all text has the
3192 // // same (default for this system) colour inside selection
3193 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3194
3195 // // this is the same as GetSelectedTextColour() but allows to customize the
3196 // // background colour -- this is even more rarely used as you can change it
3197 // // globally using SetSelectionBackground()
3198 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3199
3200
3201 // This method may be overriden to handle clicking on a link in
3202 // the listbox. By default, clicking links is ignored.
3203 virtual void OnLinkClicked(size_t n,
3204 const wxHtmlLinkInfo& link);
3205
3206 PYPRIVATE;
3207 };
3208
3209
3210 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3211
3212 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3213 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3214 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3215 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3216
3217
3218 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3219 const wxHtmlLinkInfo& link) {
3220 bool found;
3221 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3222 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3223 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3224 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3225 Py_DECREF(obj);
3226 }
3227 wxPyEndBlockThreads(blocked);
3228 if (! found)
3229 wxPyHtmlListBox::OnLinkClicked(n, link);
3230 }
3231
3232
3233
3234 const wxArrayString wxPyEmptyStringArray;
3235
3236 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3237
3238
3239
3240 #ifndef wxHAS_TASK_BAR_ICON
3241 // implement dummy classes for platforms that don't have it
3242
3243 class wxTaskBarIcon : public wxEvtHandler
3244 {
3245 public:
3246 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3247 };
3248
3249
3250 class wxTaskBarIconEvent : public wxEvent
3251 {
3252 public:
3253 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3254 { wxPyRaiseNotImplemented(); }
3255 virtual wxEvent* Clone() const { return NULL; }
3256 bool IsOk() const { return false; }
3257 bool IsIconInstalled() const { return false; }
3258 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3259 bool RemoveIcon() { return false; }
3260 bool PopupMenu(wxMenu *menu) { return false; }
3261 };
3262
3263 enum {
3264 wxEVT_TASKBAR_MOVE = 0,
3265 wxEVT_TASKBAR_LEFT_DOWN = 0,
3266 wxEVT_TASKBAR_LEFT_UP = 0,
3267 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3268 wxEVT_TASKBAR_RIGHT_UP = 0,
3269 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3270 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3271 };
3272
3273
3274 #else
3275 // Otherwise make a class that can virtualize CreatePopupMenu
3276 class wxPyTaskBarIcon : public wxTaskBarIcon
3277 {
3278 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3279 public:
3280 wxPyTaskBarIcon() : wxTaskBarIcon()
3281 {}
3282
3283 wxMenu* CreatePopupMenu() {
3284 wxMenu *rval = NULL;
3285 bool found;
3286 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3287 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3288 PyObject* ro;
3289 wxMenu* ptr;
3290 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3291 if (ro) {
3292 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3293 rval = ptr;
3294 Py_DECREF(ro);
3295 }
3296 }
3297 wxPyEndBlockThreads(blocked);
3298 if (! found)
3299 rval = wxTaskBarIcon::CreatePopupMenu();
3300 return rval;
3301 }
3302
3303 PYPRIVATE;
3304 };
3305
3306 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3307
3308 #endif
3309
3310 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3311 self->RemoveIcon();
3312 delete self;
3313 }
3314 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3315 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3316 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3317 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3318 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3319 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3320
3321 // for compatibility only
3322 #define wxHIDE_READONLY 0
3323
3324 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3325 wxArrayString arr;
3326 self->GetFilenames(arr);
3327 return wxArrayString2PyList_helper(arr);
3328 }
3329 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3330 wxArrayString arr;
3331 self->GetPaths(arr);
3332 return wxArrayString2PyList_helper(arr);
3333 }
3334 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3335 return wxArrayInt2PyList_helper(self->GetSelections());
3336 }
3337 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){
3338 return new wxSingleChoiceDialog(parent, message, caption,
3339 choices, choices_array, NULL, style, pos);
3340 }
3341 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3342
3343 SWIGINTERNINLINE PyObject*
3344 SWIG_From_bool (bool value)
3345 {
3346 return PyBool_FromLong(value ? 1 : 0);
3347 }
3348
3349
3350 #include <wx/mdi.h>
3351
3352 // C++ version of Python aware wxWindow
3353 class wxPyWindow : public wxWindow
3354 {
3355 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3356 public:
3357 wxPyWindow() : wxWindow() {}
3358 wxPyWindow(wxWindow* parent, const wxWindowID id,
3359 const wxPoint& pos = wxDefaultPosition,
3360 const wxSize& size = wxDefaultSize,
3361 long style = 0,
3362 const wxString& name = wxPyPanelNameStr)
3363 : wxWindow(parent, id, pos, size, style, name) {}
3364
3365
3366 bool DoEraseBackground(wxDC* dc) {
3367 #ifdef __WXMSW__
3368 return wxWindow::DoEraseBackground(dc->GetHDC());
3369 #else
3370 dc->SetBackground(wxBrush(GetBackgroundColour()));
3371 dc->Clear();
3372 return true;
3373 #endif
3374 }
3375
3376 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3377 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3378 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3379 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3380
3381 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3382 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3384
3385 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3386 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3387
3388 DEC_PYCALLBACK__(InitDialog);
3389 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3390 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3391 DEC_PYCALLBACK_BOOL_(Validate);
3392
3393 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3394 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3395 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3396
3397 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3398 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3399
3400 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3401 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3402
3403 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3404
3405 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3406
3407 PYPRIVATE;
3408 };
3409
3410 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3411
3412 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3413 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3414 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3415 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3416
3417 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3418 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3419 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3420
3421 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3422 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3423
3424 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3425 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3426 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3427 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3428
3429 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3430 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3431 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3432
3433 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3434 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3435
3436 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3437 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3438
3439 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3440
3441 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3442
3443 // C++ version of Python aware wxPanel
3444 class wxPyPanel : public wxPanel
3445 {
3446 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3447 public:
3448 wxPyPanel() : wxPanel() {}
3449 wxPyPanel(wxWindow* parent, const wxWindowID id,
3450 const wxPoint& pos = wxDefaultPosition,
3451 const wxSize& size = wxDefaultSize,
3452 long style = 0,
3453 const wxString& name = wxPyPanelNameStr)
3454 : wxPanel(parent, id, pos, size, style, name) {}
3455
3456 bool DoEraseBackground(wxDC* dc) {
3457 #ifdef __WXMSW__
3458 return wxWindow::DoEraseBackground(dc->GetHDC());
3459 #else
3460 dc->SetBackground(wxBrush(GetBackgroundColour()));
3461 dc->Clear();
3462 return true;
3463 #endif
3464 }
3465
3466
3467 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3468 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3469 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3470 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3471
3472 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3473 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3475
3476 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3477 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3478
3479 DEC_PYCALLBACK__(InitDialog);
3480 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3481 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3482 DEC_PYCALLBACK_BOOL_(Validate);
3483
3484 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3485 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3486 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3487
3488 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3489 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3490
3491 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3492 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3493
3494 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3495
3496 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3497
3498 PYPRIVATE;
3499 };
3500
3501 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3502
3503 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3504 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3505 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3506 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3507
3508 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3509 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3511
3512 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3513 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3514
3515 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3516 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3517 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3518 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3519
3520 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3521 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3522 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3523
3524 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3525 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3526
3527 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3528 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3529
3530 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3531
3532 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3533
3534 // C++ version of Python aware wxScrolledWindow
3535 class wxPyScrolledWindow : public wxScrolledWindow
3536 {
3537 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3538 public:
3539 wxPyScrolledWindow() : wxScrolledWindow() {}
3540 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3541 const wxPoint& pos = wxDefaultPosition,
3542 const wxSize& size = wxDefaultSize,
3543 long style = 0,
3544 const wxString& name = wxPyPanelNameStr)
3545 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3546
3547 bool DoEraseBackground(wxDC* dc) {
3548 #ifdef __WXMSW__
3549 return wxWindow::DoEraseBackground(dc->GetHDC());
3550 #else
3551 dc->SetBackground(wxBrush(GetBackgroundColour()));
3552 dc->Clear();
3553 return true;
3554 #endif
3555 }
3556
3557 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3558 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3559 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3560 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3561
3562 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3563 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3564 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3565
3566 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3567 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3568
3569 DEC_PYCALLBACK__(InitDialog);
3570 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3571 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3572 DEC_PYCALLBACK_BOOL_(Validate);
3573
3574 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3575 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3576 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3577
3578 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3579 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3580
3581 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3582 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3583
3584 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3585
3586 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3587
3588 PYPRIVATE;
3589 };
3590
3591 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3592
3593 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3594 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3595 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3596 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3597
3598 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3599 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3600 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3601
3602 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3603 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3604
3605 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3606 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3607 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3608 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3609
3610 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3611 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3612 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3613
3614 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3615 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3616
3617 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3618 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3619
3620 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3621
3622 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3623
3624
3625 #include "wx/wxPython/printfw.h"
3626
3627
3628 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3629 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3630 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3631 PyObject* data;
3632 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3633 data = PyString_FromStringAndSize(self->GetPrivData(),
3634 self->GetPrivDataLen());
3635 wxPyEndBlockThreads(blocked);
3636 return data;
3637 }
3638 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3639 if (! PyString_Check(data)) {
3640 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3641 "Expected string object"));
3642 return /* NULL */ ;
3643 }
3644
3645 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3646 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3647 wxPyEndBlockThreads(blocked);
3648 }
3649
3650
3651 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3652
3653 // Since this one would be tough and ugly to do with the Macros...
3654 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3655 bool hadErr = false;
3656 bool found;
3657
3658 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3659 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3660 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3661 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3662 PyObject* val;
3663
3664 val = PyTuple_GetItem(result, 0);
3665 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3666 else hadErr = true;
3667
3668 val = PyTuple_GetItem(result, 1);
3669 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3670 else hadErr = true;
3671
3672 val = PyTuple_GetItem(result, 2);
3673 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3674 else hadErr = true;
3675
3676 val = PyTuple_GetItem(result, 3);
3677 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3678 else hadErr = true;
3679 }
3680 else
3681 hadErr = true;
3682
3683 if (hadErr) {
3684 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3685 PyErr_Print();
3686 }
3687 Py_DECREF(result);
3688 }
3689 wxPyEndBlockThreads(blocked);
3690 if (! found)
3691 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3692 }
3693
3694
3695
3696 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3697 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3698 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3699 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3700 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3701 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3702 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3703
3704
3705
3706
3707
3708 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3709 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3710
3711
3712 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3713 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3714 bool rval=false; \
3715 bool found; \
3716 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3717 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3718 PyObject* win = wxPyMake_wxObject(a,false); \
3719 PyObject* dc = wxPyMake_wxObject(&b,false); \
3720 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3721 Py_DECREF(win); \
3722 Py_DECREF(dc); \
3723 } \
3724 wxPyEndBlockThreads(blocked); \
3725 if (! found) \
3726 rval = PCLASS::CBNAME(a, b); \
3727 return rval; \
3728 }
3729
3730
3731
3732
3733 class wxPyPrintPreview : public wxPrintPreview
3734 {
3735 DECLARE_CLASS(wxPyPrintPreview)
3736 public:
3737 wxPyPrintPreview(wxPyPrintout* printout,
3738 wxPyPrintout* printoutForPrinting,
3739 wxPrintDialogData* data=NULL)
3740 : wxPrintPreview(printout, printoutForPrinting, data)
3741 {}
3742 wxPyPrintPreview(wxPyPrintout* printout,
3743 wxPyPrintout* printoutForPrinting,
3744 wxPrintData* data)
3745 : wxPrintPreview(printout, printoutForPrinting, data)
3746 {}
3747
3748 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3749 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3750 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3751 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3752 DEC_PYCALLBACK_VOID_INT(SetZoom);
3753 DEC_PYCALLBACK_BOOL_BOOL(Print);
3754 DEC_PYCALLBACK_VOID_(DetermineScaling);
3755
3756 PYPRIVATE;
3757 };
3758
3759 // Stupid renamed classes... Fix this in 2.5...
3760 #if defined(__WXMSW__)
3761 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3762 #elif defined(__WXMAC__)
3763 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3764 #else
3765 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3766 #endif
3767
3768 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3769 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3770 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3771 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3772 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3773 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3774 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3775
3776
3777 class wxPyPreviewFrame : public wxPreviewFrame
3778 {
3779 DECLARE_CLASS(wxPyPreviewFrame)
3780 public:
3781 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3782 const wxString& title,
3783 const wxPoint& pos = wxDefaultPosition,
3784 const wxSize& size = wxDefaultSize,
3785 long style = wxDEFAULT_FRAME_STYLE,
3786 const wxString& name = wxPyFrameNameStr)
3787 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3788 {}
3789
3790 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3791 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3792
3793 DEC_PYCALLBACK_VOID_(Initialize);
3794 DEC_PYCALLBACK_VOID_(CreateCanvas);
3795 DEC_PYCALLBACK_VOID_(CreateControlBar);
3796
3797 PYPRIVATE;
3798 };
3799
3800 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3801
3802 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3803 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3804 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3805
3806
3807 class wxPyPreviewControlBar : public wxPreviewControlBar
3808 {
3809 DECLARE_CLASS(wxPyPreviewControlBar)
3810 public:
3811 wxPyPreviewControlBar(wxPrintPreview *preview,
3812 long buttons,
3813 wxWindow *parent,
3814 const wxPoint& pos = wxDefaultPosition,
3815 const wxSize& size = wxDefaultSize,
3816 long style = 0,
3817 const wxString& name = wxPyPanelNameStr)
3818 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3819 {}
3820
3821 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3822
3823 DEC_PYCALLBACK_VOID_(CreateButtons);
3824 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3825
3826 PYPRIVATE;
3827 };
3828
3829 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3830 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3831 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3832
3833 #ifdef __cplusplus
3834 extern "C" {
3835 #endif
3836 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3837 PyObject *resultobj = 0;
3838 wxWindow *arg1 = (wxWindow *) 0 ;
3839 int arg2 = (int) (int)-1 ;
3840 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3841 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3842 wxSize const &arg4_defvalue = wxDefaultSize ;
3843 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3844 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3845 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3846 wxString *arg6 = (wxString *) &arg6_defvalue ;
3847 wxPanel *result = 0 ;
3848 void *argp1 = 0 ;
3849 int res1 = 0 ;
3850 int val2 ;
3851 int ecode2 = 0 ;
3852 wxPoint temp3 ;
3853 wxSize temp4 ;
3854 long val5 ;
3855 int ecode5 = 0 ;
3856 bool temp6 = false ;
3857 PyObject * obj0 = 0 ;
3858 PyObject * obj1 = 0 ;
3859 PyObject * obj2 = 0 ;
3860 PyObject * obj3 = 0 ;
3861 PyObject * obj4 = 0 ;
3862 PyObject * obj5 = 0 ;
3863 char * kwnames[] = {
3864 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3865 };
3866
3867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3869 if (!SWIG_IsOK(res1)) {
3870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3871 }
3872 arg1 = reinterpret_cast< wxWindow * >(argp1);
3873 if (obj1) {
3874 ecode2 = SWIG_AsVal_int(obj1, &val2);
3875 if (!SWIG_IsOK(ecode2)) {
3876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3877 }
3878 arg2 = static_cast< int >(val2);
3879 }
3880 if (obj2) {
3881 {
3882 arg3 = &temp3;
3883 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3884 }
3885 }
3886 if (obj3) {
3887 {
3888 arg4 = &temp4;
3889 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3890 }
3891 }
3892 if (obj4) {
3893 ecode5 = SWIG_AsVal_long(obj4, &val5);
3894 if (!SWIG_IsOK(ecode5)) {
3895 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3896 }
3897 arg5 = static_cast< long >(val5);
3898 }
3899 if (obj5) {
3900 {
3901 arg6 = wxString_in_helper(obj5);
3902 if (arg6 == NULL) SWIG_fail;
3903 temp6 = true;
3904 }
3905 }
3906 {
3907 if (!wxPyCheckForApp()) SWIG_fail;
3908 PyThreadState* __tstate = wxPyBeginAllowThreads();
3909 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3914 {
3915 if (temp6)
3916 delete arg6;
3917 }
3918 return resultobj;
3919 fail:
3920 {
3921 if (temp6)
3922 delete arg6;
3923 }
3924 return NULL;
3925 }
3926
3927
3928 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3929 PyObject *resultobj = 0;
3930 wxPanel *result = 0 ;
3931
3932 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3933 {
3934 if (!wxPyCheckForApp()) SWIG_fail;
3935 PyThreadState* __tstate = wxPyBeginAllowThreads();
3936 result = (wxPanel *)new wxPanel();
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3941 return resultobj;
3942 fail:
3943 return NULL;
3944 }
3945
3946
3947 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3948 PyObject *resultobj = 0;
3949 wxPanel *arg1 = (wxPanel *) 0 ;
3950 wxWindow *arg2 = (wxWindow *) 0 ;
3951 int arg3 = (int) (int)-1 ;
3952 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3953 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3954 wxSize const &arg5_defvalue = wxDefaultSize ;
3955 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3956 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3957 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3958 wxString *arg7 = (wxString *) &arg7_defvalue ;
3959 bool result;
3960 void *argp1 = 0 ;
3961 int res1 = 0 ;
3962 void *argp2 = 0 ;
3963 int res2 = 0 ;
3964 int val3 ;
3965 int ecode3 = 0 ;
3966 wxPoint temp4 ;
3967 wxSize temp5 ;
3968 long val6 ;
3969 int ecode6 = 0 ;
3970 bool temp7 = false ;
3971 PyObject * obj0 = 0 ;
3972 PyObject * obj1 = 0 ;
3973 PyObject * obj2 = 0 ;
3974 PyObject * obj3 = 0 ;
3975 PyObject * obj4 = 0 ;
3976 PyObject * obj5 = 0 ;
3977 PyObject * obj6 = 0 ;
3978 char * kwnames[] = {
3979 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3980 };
3981
3982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3984 if (!SWIG_IsOK(res1)) {
3985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3986 }
3987 arg1 = reinterpret_cast< wxPanel * >(argp1);
3988 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3989 if (!SWIG_IsOK(res2)) {
3990 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3991 }
3992 arg2 = reinterpret_cast< wxWindow * >(argp2);
3993 if (obj2) {
3994 ecode3 = SWIG_AsVal_int(obj2, &val3);
3995 if (!SWIG_IsOK(ecode3)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3997 }
3998 arg3 = static_cast< int >(val3);
3999 }
4000 if (obj3) {
4001 {
4002 arg4 = &temp4;
4003 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4004 }
4005 }
4006 if (obj4) {
4007 {
4008 arg5 = &temp5;
4009 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4010 }
4011 }
4012 if (obj5) {
4013 ecode6 = SWIG_AsVal_long(obj5, &val6);
4014 if (!SWIG_IsOK(ecode6)) {
4015 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
4016 }
4017 arg6 = static_cast< long >(val6);
4018 }
4019 if (obj6) {
4020 {
4021 arg7 = wxString_in_helper(obj6);
4022 if (arg7 == NULL) SWIG_fail;
4023 temp7 = true;
4024 }
4025 }
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4029 wxPyEndAllowThreads(__tstate);
4030 if (PyErr_Occurred()) SWIG_fail;
4031 }
4032 {
4033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4034 }
4035 {
4036 if (temp7)
4037 delete arg7;
4038 }
4039 return resultobj;
4040 fail:
4041 {
4042 if (temp7)
4043 delete arg7;
4044 }
4045 return NULL;
4046 }
4047
4048
4049 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4050 PyObject *resultobj = 0;
4051 wxPanel *arg1 = (wxPanel *) 0 ;
4052 void *argp1 = 0 ;
4053 int res1 = 0 ;
4054 PyObject *swig_obj[1] ;
4055
4056 if (!args) SWIG_fail;
4057 swig_obj[0] = args;
4058 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
4059 if (!SWIG_IsOK(res1)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
4061 }
4062 arg1 = reinterpret_cast< wxPanel * >(argp1);
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 (arg1)->SetFocusIgnoringChildren();
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 resultobj = SWIG_Py_Void();
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj = 0;
4078 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4079 SwigValueWrapper<wxVisualAttributes > result;
4080 int val1 ;
4081 int ecode1 = 0 ;
4082 PyObject * obj0 = 0 ;
4083 char * kwnames[] = {
4084 (char *) "variant", NULL
4085 };
4086
4087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4088 if (obj0) {
4089 ecode1 = SWIG_AsVal_int(obj0, &val1);
4090 if (!SWIG_IsOK(ecode1)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4092 }
4093 arg1 = static_cast< wxWindowVariant >(val1);
4094 }
4095 {
4096 if (!wxPyCheckForApp()) SWIG_fail;
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 result = wxPanel::GetClassDefaultAttributes(arg1);
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4103 return resultobj;
4104 fail:
4105 return NULL;
4106 }
4107
4108
4109 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4110 PyObject *obj;
4111 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4112 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4113 return SWIG_Py_Void();
4114 }
4115
4116 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4117 return SWIG_Python_InitShadowInstance(args);
4118 }
4119
4120 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj = 0;
4122 wxWindow *arg1 = (wxWindow *) 0 ;
4123 int arg2 = (int) (int)-1 ;
4124 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4125 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4126 wxSize const &arg4_defvalue = wxDefaultSize ;
4127 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4128 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4129 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4130 wxString *arg6 = (wxString *) &arg6_defvalue ;
4131 wxScrolledWindow *result = 0 ;
4132 void *argp1 = 0 ;
4133 int res1 = 0 ;
4134 int val2 ;
4135 int ecode2 = 0 ;
4136 wxPoint temp3 ;
4137 wxSize temp4 ;
4138 long val5 ;
4139 int ecode5 = 0 ;
4140 bool temp6 = false ;
4141 PyObject * obj0 = 0 ;
4142 PyObject * obj1 = 0 ;
4143 PyObject * obj2 = 0 ;
4144 PyObject * obj3 = 0 ;
4145 PyObject * obj4 = 0 ;
4146 PyObject * obj5 = 0 ;
4147 char * kwnames[] = {
4148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4149 };
4150
4151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4153 if (!SWIG_IsOK(res1)) {
4154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4155 }
4156 arg1 = reinterpret_cast< wxWindow * >(argp1);
4157 if (obj1) {
4158 ecode2 = SWIG_AsVal_int(obj1, &val2);
4159 if (!SWIG_IsOK(ecode2)) {
4160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4161 }
4162 arg2 = static_cast< int >(val2);
4163 }
4164 if (obj2) {
4165 {
4166 arg3 = &temp3;
4167 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4168 }
4169 }
4170 if (obj3) {
4171 {
4172 arg4 = &temp4;
4173 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4174 }
4175 }
4176 if (obj4) {
4177 ecode5 = SWIG_AsVal_long(obj4, &val5);
4178 if (!SWIG_IsOK(ecode5)) {
4179 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4180 }
4181 arg5 = static_cast< long >(val5);
4182 }
4183 if (obj5) {
4184 {
4185 arg6 = wxString_in_helper(obj5);
4186 if (arg6 == NULL) SWIG_fail;
4187 temp6 = true;
4188 }
4189 }
4190 {
4191 if (!wxPyCheckForApp()) SWIG_fail;
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 }
4197 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4198 {
4199 if (temp6)
4200 delete arg6;
4201 }
4202 return resultobj;
4203 fail:
4204 {
4205 if (temp6)
4206 delete arg6;
4207 }
4208 return NULL;
4209 }
4210
4211
4212 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4213 PyObject *resultobj = 0;
4214 wxScrolledWindow *result = 0 ;
4215
4216 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4217 {
4218 if (!wxPyCheckForApp()) SWIG_fail;
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (wxScrolledWindow *)new wxScrolledWindow();
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4225 return resultobj;
4226 fail:
4227 return NULL;
4228 }
4229
4230
4231 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4232 PyObject *resultobj = 0;
4233 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4234 wxWindow *arg2 = (wxWindow *) 0 ;
4235 int arg3 = (int) (int)-1 ;
4236 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4237 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4238 wxSize const &arg5_defvalue = wxDefaultSize ;
4239 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4240 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4241 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4242 wxString *arg7 = (wxString *) &arg7_defvalue ;
4243 bool result;
4244 void *argp1 = 0 ;
4245 int res1 = 0 ;
4246 void *argp2 = 0 ;
4247 int res2 = 0 ;
4248 int val3 ;
4249 int ecode3 = 0 ;
4250 wxPoint temp4 ;
4251 wxSize temp5 ;
4252 long val6 ;
4253 int ecode6 = 0 ;
4254 bool temp7 = false ;
4255 PyObject * obj0 = 0 ;
4256 PyObject * obj1 = 0 ;
4257 PyObject * obj2 = 0 ;
4258 PyObject * obj3 = 0 ;
4259 PyObject * obj4 = 0 ;
4260 PyObject * obj5 = 0 ;
4261 PyObject * obj6 = 0 ;
4262 char * kwnames[] = {
4263 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4264 };
4265
4266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4268 if (!SWIG_IsOK(res1)) {
4269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4270 }
4271 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4272 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4273 if (!SWIG_IsOK(res2)) {
4274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4275 }
4276 arg2 = reinterpret_cast< wxWindow * >(argp2);
4277 if (obj2) {
4278 ecode3 = SWIG_AsVal_int(obj2, &val3);
4279 if (!SWIG_IsOK(ecode3)) {
4280 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4281 }
4282 arg3 = static_cast< int >(val3);
4283 }
4284 if (obj3) {
4285 {
4286 arg4 = &temp4;
4287 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4288 }
4289 }
4290 if (obj4) {
4291 {
4292 arg5 = &temp5;
4293 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4294 }
4295 }
4296 if (obj5) {
4297 ecode6 = SWIG_AsVal_long(obj5, &val6);
4298 if (!SWIG_IsOK(ecode6)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4300 }
4301 arg6 = static_cast< long >(val6);
4302 }
4303 if (obj6) {
4304 {
4305 arg7 = wxString_in_helper(obj6);
4306 if (arg7 == NULL) SWIG_fail;
4307 temp7 = true;
4308 }
4309 }
4310 {
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4313 wxPyEndAllowThreads(__tstate);
4314 if (PyErr_Occurred()) SWIG_fail;
4315 }
4316 {
4317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4318 }
4319 {
4320 if (temp7)
4321 delete arg7;
4322 }
4323 return resultobj;
4324 fail:
4325 {
4326 if (temp7)
4327 delete arg7;
4328 }
4329 return NULL;
4330 }
4331
4332
4333 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4334 PyObject *resultobj = 0;
4335 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4336 int arg2 ;
4337 int arg3 ;
4338 int arg4 ;
4339 int arg5 ;
4340 int arg6 = (int) 0 ;
4341 int arg7 = (int) 0 ;
4342 bool arg8 = (bool) false ;
4343 void *argp1 = 0 ;
4344 int res1 = 0 ;
4345 int val2 ;
4346 int ecode2 = 0 ;
4347 int val3 ;
4348 int ecode3 = 0 ;
4349 int val4 ;
4350 int ecode4 = 0 ;
4351 int val5 ;
4352 int ecode5 = 0 ;
4353 int val6 ;
4354 int ecode6 = 0 ;
4355 int val7 ;
4356 int ecode7 = 0 ;
4357 bool val8 ;
4358 int ecode8 = 0 ;
4359 PyObject * obj0 = 0 ;
4360 PyObject * obj1 = 0 ;
4361 PyObject * obj2 = 0 ;
4362 PyObject * obj3 = 0 ;
4363 PyObject * obj4 = 0 ;
4364 PyObject * obj5 = 0 ;
4365 PyObject * obj6 = 0 ;
4366 PyObject * obj7 = 0 ;
4367 char * kwnames[] = {
4368 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4369 };
4370
4371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) 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_SetScrollbars" "', 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_SetScrollbars" "', 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_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4385 }
4386 arg3 = static_cast< int >(val3);
4387 ecode4 = SWIG_AsVal_int(obj3, &val4);
4388 if (!SWIG_IsOK(ecode4)) {
4389 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4390 }
4391 arg4 = static_cast< int >(val4);
4392 ecode5 = SWIG_AsVal_int(obj4, &val5);
4393 if (!SWIG_IsOK(ecode5)) {
4394 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4395 }
4396 arg5 = static_cast< int >(val5);
4397 if (obj5) {
4398 ecode6 = SWIG_AsVal_int(obj5, &val6);
4399 if (!SWIG_IsOK(ecode6)) {
4400 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4401 }
4402 arg6 = static_cast< int >(val6);
4403 }
4404 if (obj6) {
4405 ecode7 = SWIG_AsVal_int(obj6, &val7);
4406 if (!SWIG_IsOK(ecode7)) {
4407 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4408 }
4409 arg7 = static_cast< int >(val7);
4410 }
4411 if (obj7) {
4412 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4413 if (!SWIG_IsOK(ecode8)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4415 }
4416 arg8 = static_cast< bool >(val8);
4417 }
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_Py_Void();
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj = 0;
4433 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4434 int arg2 ;
4435 int arg3 ;
4436 void *argp1 = 0 ;
4437 int res1 = 0 ;
4438 int val2 ;
4439 int ecode2 = 0 ;
4440 int val3 ;
4441 int ecode3 = 0 ;
4442 PyObject * obj0 = 0 ;
4443 PyObject * obj1 = 0 ;
4444 PyObject * obj2 = 0 ;
4445 char * kwnames[] = {
4446 (char *) "self",(char *) "x",(char *) "y", NULL
4447 };
4448
4449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4451 if (!SWIG_IsOK(res1)) {
4452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4453 }
4454 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4455 ecode2 = SWIG_AsVal_int(obj1, &val2);
4456 if (!SWIG_IsOK(ecode2)) {
4457 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4458 }
4459 arg2 = static_cast< int >(val2);
4460 ecode3 = SWIG_AsVal_int(obj2, &val3);
4461 if (!SWIG_IsOK(ecode3)) {
4462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4463 }
4464 arg3 = static_cast< int >(val3);
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 (arg1)->Scroll(arg2,arg3);
4468 wxPyEndAllowThreads(__tstate);
4469 if (PyErr_Occurred()) SWIG_fail;
4470 }
4471 resultobj = SWIG_Py_Void();
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj = 0;
4480 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4481 int arg2 ;
4482 int result;
4483 void *argp1 = 0 ;
4484 int res1 = 0 ;
4485 int val2 ;
4486 int ecode2 = 0 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 char * kwnames[] = {
4490 (char *) "self",(char *) "orient", NULL
4491 };
4492
4493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4495 if (!SWIG_IsOK(res1)) {
4496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4497 }
4498 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4499 ecode2 = SWIG_AsVal_int(obj1, &val2);
4500 if (!SWIG_IsOK(ecode2)) {
4501 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4502 }
4503 arg2 = static_cast< int >(val2);
4504 {
4505 PyThreadState* __tstate = wxPyBeginAllowThreads();
4506 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 resultobj = SWIG_From_int(static_cast< int >(result));
4511 return resultobj;
4512 fail:
4513 return NULL;
4514 }
4515
4516
4517 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4518 PyObject *resultobj = 0;
4519 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4520 int arg2 ;
4521 int arg3 ;
4522 void *argp1 = 0 ;
4523 int res1 = 0 ;
4524 int val2 ;
4525 int ecode2 = 0 ;
4526 int val3 ;
4527 int ecode3 = 0 ;
4528 PyObject * obj0 = 0 ;
4529 PyObject * obj1 = 0 ;
4530 PyObject * obj2 = 0 ;
4531 char * kwnames[] = {
4532 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4533 };
4534
4535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4537 if (!SWIG_IsOK(res1)) {
4538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4539 }
4540 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4541 ecode2 = SWIG_AsVal_int(obj1, &val2);
4542 if (!SWIG_IsOK(ecode2)) {
4543 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4544 }
4545 arg2 = static_cast< int >(val2);
4546 ecode3 = SWIG_AsVal_int(obj2, &val3);
4547 if (!SWIG_IsOK(ecode3)) {
4548 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4549 }
4550 arg3 = static_cast< int >(val3);
4551 {
4552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4553 (arg1)->SetScrollPageSize(arg2,arg3);
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 resultobj = SWIG_Py_Void();
4558 return resultobj;
4559 fail:
4560 return NULL;
4561 }
4562
4563
4564 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4565 PyObject *resultobj = 0;
4566 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4567 int arg2 ;
4568 int arg3 ;
4569 void *argp1 = 0 ;
4570 int res1 = 0 ;
4571 int val2 ;
4572 int ecode2 = 0 ;
4573 int val3 ;
4574 int ecode3 = 0 ;
4575 PyObject * obj0 = 0 ;
4576 PyObject * obj1 = 0 ;
4577 PyObject * obj2 = 0 ;
4578 char * kwnames[] = {
4579 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4580 };
4581
4582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4584 if (!SWIG_IsOK(res1)) {
4585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4586 }
4587 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4588 ecode2 = SWIG_AsVal_int(obj1, &val2);
4589 if (!SWIG_IsOK(ecode2)) {
4590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4591 }
4592 arg2 = static_cast< int >(val2);
4593 ecode3 = SWIG_AsVal_int(obj2, &val3);
4594 if (!SWIG_IsOK(ecode3)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4596 }
4597 arg3 = static_cast< int >(val3);
4598 {
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 (arg1)->SetScrollRate(arg2,arg3);
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
4604 resultobj = SWIG_Py_Void();
4605 return resultobj;
4606 fail:
4607 return NULL;
4608 }
4609
4610
4611 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4612 PyObject *resultobj = 0;
4613 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4614 int *arg2 = (int *) 0 ;
4615 int *arg3 = (int *) 0 ;
4616 void *argp1 = 0 ;
4617 int res1 = 0 ;
4618 int temp2 ;
4619 int res2 = SWIG_TMPOBJ ;
4620 int temp3 ;
4621 int res3 = SWIG_TMPOBJ ;
4622 PyObject *swig_obj[1] ;
4623
4624 arg2 = &temp2;
4625 arg3 = &temp3;
4626 if (!args) SWIG_fail;
4627 swig_obj[0] = args;
4628 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4629 if (!SWIG_IsOK(res1)) {
4630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4631 }
4632 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4636 wxPyEndAllowThreads(__tstate);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 resultobj = SWIG_Py_Void();
4640 if (SWIG_IsTmpObj(res2)) {
4641 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4642 } else {
4643 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4644 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4645 }
4646 if (SWIG_IsTmpObj(res3)) {
4647 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4648 } else {
4649 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4651 }
4652 return resultobj;
4653 fail:
4654 return NULL;
4655 }
4656
4657
4658 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4659 PyObject *resultobj = 0;
4660 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4661 bool arg2 ;
4662 bool arg3 ;
4663 void *argp1 = 0 ;
4664 int res1 = 0 ;
4665 bool val2 ;
4666 int ecode2 = 0 ;
4667 bool val3 ;
4668 int ecode3 = 0 ;
4669 PyObject * obj0 = 0 ;
4670 PyObject * obj1 = 0 ;
4671 PyObject * obj2 = 0 ;
4672 char * kwnames[] = {
4673 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4674 };
4675
4676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4678 if (!SWIG_IsOK(res1)) {
4679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4680 }
4681 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4682 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4683 if (!SWIG_IsOK(ecode2)) {
4684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4685 }
4686 arg2 = static_cast< bool >(val2);
4687 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4688 if (!SWIG_IsOK(ecode3)) {
4689 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4690 }
4691 arg3 = static_cast< bool >(val3);
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 (arg1)->EnableScrolling(arg2,arg3);
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 resultobj = SWIG_Py_Void();
4699 return resultobj;
4700 fail:
4701 return NULL;
4702 }
4703
4704
4705 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4706 PyObject *resultobj = 0;
4707 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4708 int *arg2 = (int *) 0 ;
4709 int *arg3 = (int *) 0 ;
4710 void *argp1 = 0 ;
4711 int res1 = 0 ;
4712 int temp2 ;
4713 int res2 = SWIG_TMPOBJ ;
4714 int temp3 ;
4715 int res3 = SWIG_TMPOBJ ;
4716 PyObject *swig_obj[1] ;
4717
4718 arg2 = &temp2;
4719 arg3 = &temp3;
4720 if (!args) SWIG_fail;
4721 swig_obj[0] = args;
4722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4723 if (!SWIG_IsOK(res1)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4725 }
4726 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 }
4733 resultobj = SWIG_Py_Void();
4734 if (SWIG_IsTmpObj(res2)) {
4735 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4736 } else {
4737 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4738 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4739 }
4740 if (SWIG_IsTmpObj(res3)) {
4741 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4742 } else {
4743 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4744 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4745 }
4746 return resultobj;
4747 fail:
4748 return NULL;
4749 }
4750
4751
4752 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4753 PyObject *resultobj = 0;
4754 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4755 double arg2 ;
4756 double arg3 ;
4757 void *argp1 = 0 ;
4758 int res1 = 0 ;
4759 double val2 ;
4760 int ecode2 = 0 ;
4761 double val3 ;
4762 int ecode3 = 0 ;
4763 PyObject * obj0 = 0 ;
4764 PyObject * obj1 = 0 ;
4765 PyObject * obj2 = 0 ;
4766 char * kwnames[] = {
4767 (char *) "self",(char *) "xs",(char *) "ys", NULL
4768 };
4769
4770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4772 if (!SWIG_IsOK(res1)) {
4773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4774 }
4775 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4776 ecode2 = SWIG_AsVal_double(obj1, &val2);
4777 if (!SWIG_IsOK(ecode2)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4779 }
4780 arg2 = static_cast< double >(val2);
4781 ecode3 = SWIG_AsVal_double(obj2, &val3);
4782 if (!SWIG_IsOK(ecode3)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4784 }
4785 arg3 = static_cast< double >(val3);
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 (arg1)->SetScale(arg2,arg3);
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 resultobj = SWIG_Py_Void();
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4800 PyObject *resultobj = 0;
4801 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4802 double result;
4803 void *argp1 = 0 ;
4804 int res1 = 0 ;
4805 PyObject *swig_obj[1] ;
4806
4807 if (!args) SWIG_fail;
4808 swig_obj[0] = args;
4809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4810 if (!SWIG_IsOK(res1)) {
4811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4812 }
4813 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 resultobj = SWIG_From_double(static_cast< double >(result));
4821 return resultobj;
4822 fail:
4823 return NULL;
4824 }
4825
4826
4827 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4828 PyObject *resultobj = 0;
4829 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4830 double result;
4831 void *argp1 = 0 ;
4832 int res1 = 0 ;
4833 PyObject *swig_obj[1] ;
4834
4835 if (!args) SWIG_fail;
4836 swig_obj[0] = args;
4837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4838 if (!SWIG_IsOK(res1)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4840 }
4841 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 resultobj = SWIG_From_double(static_cast< double >(result));
4849 return resultobj;
4850 fail:
4851 return NULL;
4852 }
4853
4854
4855 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4856 PyObject *resultobj = 0;
4857 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4858 wxPoint *arg2 = 0 ;
4859 wxPoint result;
4860 void *argp1 = 0 ;
4861 int res1 = 0 ;
4862 wxPoint temp2 ;
4863
4864 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4866 if (!SWIG_IsOK(res1)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4868 }
4869 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4870 {
4871 arg2 = &temp2;
4872 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4873 }
4874 {
4875 PyThreadState* __tstate = wxPyBeginAllowThreads();
4876 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4881 return resultobj;
4882 fail:
4883 return NULL;
4884 }
4885
4886
4887 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4888 PyObject *resultobj = 0;
4889 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4890 int arg2 ;
4891 int arg3 ;
4892 int *arg4 = (int *) 0 ;
4893 int *arg5 = (int *) 0 ;
4894 void *argp1 = 0 ;
4895 int res1 = 0 ;
4896 int val2 ;
4897 int ecode2 = 0 ;
4898 int val3 ;
4899 int ecode3 = 0 ;
4900 int temp4 ;
4901 int res4 = SWIG_TMPOBJ ;
4902 int temp5 ;
4903 int res5 = SWIG_TMPOBJ ;
4904
4905 arg4 = &temp4;
4906 arg5 = &temp5;
4907 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4908 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4909 if (!SWIG_IsOK(res1)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4911 }
4912 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4913 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4914 if (!SWIG_IsOK(ecode2)) {
4915 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4916 }
4917 arg2 = static_cast< int >(val2);
4918 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4919 if (!SWIG_IsOK(ecode3)) {
4920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4921 }
4922 arg3 = static_cast< int >(val3);
4923 {
4924 PyThreadState* __tstate = wxPyBeginAllowThreads();
4925 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4926 wxPyEndAllowThreads(__tstate);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 resultobj = SWIG_Py_Void();
4930 if (SWIG_IsTmpObj(res4)) {
4931 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4932 } else {
4933 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4934 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4935 }
4936 if (SWIG_IsTmpObj(res5)) {
4937 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4938 } else {
4939 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4940 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4941 }
4942 return resultobj;
4943 fail:
4944 return NULL;
4945 }
4946
4947
4948 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4949 int argc;
4950 PyObject *argv[4];
4951
4952 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4953 --argc;
4954 if (argc == 2) {
4955 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4956 }
4957 if (argc == 3) {
4958 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4959 }
4960
4961 fail:
4962 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4963 return NULL;
4964 }
4965
4966
4967 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4968 PyObject *resultobj = 0;
4969 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4970 wxPoint *arg2 = 0 ;
4971 wxPoint result;
4972 void *argp1 = 0 ;
4973 int res1 = 0 ;
4974 wxPoint temp2 ;
4975
4976 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4978 if (!SWIG_IsOK(res1)) {
4979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4980 }
4981 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4982 {
4983 arg2 = &temp2;
4984 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4993 return resultobj;
4994 fail:
4995 return NULL;
4996 }
4997
4998
4999 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
5000 PyObject *resultobj = 0;
5001 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5002 int arg2 ;
5003 int arg3 ;
5004 int *arg4 = (int *) 0 ;
5005 int *arg5 = (int *) 0 ;
5006 void *argp1 = 0 ;
5007 int res1 = 0 ;
5008 int val2 ;
5009 int ecode2 = 0 ;
5010 int val3 ;
5011 int ecode3 = 0 ;
5012 int temp4 ;
5013 int res4 = SWIG_TMPOBJ ;
5014 int temp5 ;
5015 int res5 = SWIG_TMPOBJ ;
5016
5017 arg4 = &temp4;
5018 arg5 = &temp5;
5019 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
5020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5021 if (!SWIG_IsOK(res1)) {
5022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5023 }
5024 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5025 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
5026 if (!SWIG_IsOK(ecode2)) {
5027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
5028 }
5029 arg2 = static_cast< int >(val2);
5030 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
5031 if (!SWIG_IsOK(ecode3)) {
5032 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
5033 }
5034 arg3 = static_cast< int >(val3);
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 resultobj = SWIG_Py_Void();
5042 if (SWIG_IsTmpObj(res4)) {
5043 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
5044 } else {
5045 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5046 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
5047 }
5048 if (SWIG_IsTmpObj(res5)) {
5049 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
5050 } else {
5051 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
5052 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
5053 }
5054 return resultobj;
5055 fail:
5056 return NULL;
5057 }
5058
5059
5060 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
5061 int argc;
5062 PyObject *argv[4];
5063
5064 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
5065 --argc;
5066 if (argc == 2) {
5067 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
5068 }
5069 if (argc == 3) {
5070 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
5071 }
5072
5073 fail:
5074 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5075 return NULL;
5076 }
5077
5078
5079 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5080 PyObject *resultobj = 0;
5081 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5082 void *argp1 = 0 ;
5083 int res1 = 0 ;
5084 PyObject *swig_obj[1] ;
5085
5086 if (!args) SWIG_fail;
5087 swig_obj[0] = args;
5088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5089 if (!SWIG_IsOK(res1)) {
5090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5091 }
5092 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 (arg1)->AdjustScrollbars();
5096 wxPyEndAllowThreads(__tstate);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 resultobj = SWIG_Py_Void();
5100 return resultobj;
5101 fail:
5102 return NULL;
5103 }
5104
5105
5106 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj = 0;
5108 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5109 wxScrollWinEvent *arg2 = 0 ;
5110 int result;
5111 void *argp1 = 0 ;
5112 int res1 = 0 ;
5113 void *argp2 = 0 ;
5114 int res2 = 0 ;
5115 PyObject * obj0 = 0 ;
5116 PyObject * obj1 = 0 ;
5117 char * kwnames[] = {
5118 (char *) "self",(char *) "event", NULL
5119 };
5120
5121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5123 if (!SWIG_IsOK(res1)) {
5124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5125 }
5126 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5127 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5128 if (!SWIG_IsOK(res2)) {
5129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5130 }
5131 if (!argp2) {
5132 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5133 }
5134 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 result = (int)(arg1)->CalcScrollInc(*arg2);
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 resultobj = SWIG_From_int(static_cast< int >(result));
5142 return resultobj;
5143 fail:
5144 return NULL;
5145 }
5146
5147
5148 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5149 PyObject *resultobj = 0;
5150 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5151 wxWindow *arg2 = (wxWindow *) 0 ;
5152 void *argp1 = 0 ;
5153 int res1 = 0 ;
5154 void *argp2 = 0 ;
5155 int res2 = 0 ;
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj1 = 0 ;
5158 char * kwnames[] = {
5159 (char *) "self",(char *) "target", NULL
5160 };
5161
5162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5164 if (!SWIG_IsOK(res1)) {
5165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5166 }
5167 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5168 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5169 if (!SWIG_IsOK(res2)) {
5170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5171 }
5172 arg2 = reinterpret_cast< wxWindow * >(argp2);
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 (arg1)->SetTargetWindow(arg2);
5176 wxPyEndAllowThreads(__tstate);
5177 if (PyErr_Occurred()) SWIG_fail;
5178 }
5179 resultobj = SWIG_Py_Void();
5180 return resultobj;
5181 fail:
5182 return NULL;
5183 }
5184
5185
5186 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5187 PyObject *resultobj = 0;
5188 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5189 wxWindow *result = 0 ;
5190 void *argp1 = 0 ;
5191 int res1 = 0 ;
5192 PyObject *swig_obj[1] ;
5193
5194 if (!args) SWIG_fail;
5195 swig_obj[0] = args;
5196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5197 if (!SWIG_IsOK(res1)) {
5198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5199 }
5200 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 {
5208 resultobj = wxPyMake_wxObject(result, 0);
5209 }
5210 return resultobj;
5211 fail:
5212 return NULL;
5213 }
5214
5215
5216 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5217 PyObject *resultobj = 0;
5218 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5219 wxRect *arg2 = 0 ;
5220 void *argp1 = 0 ;
5221 int res1 = 0 ;
5222 wxRect temp2 ;
5223 PyObject * obj0 = 0 ;
5224 PyObject * obj1 = 0 ;
5225 char * kwnames[] = {
5226 (char *) "self",(char *) "rect", NULL
5227 };
5228
5229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5231 if (!SWIG_IsOK(res1)) {
5232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5233 }
5234 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5235 {
5236 arg2 = &temp2;
5237 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5238 }
5239 {
5240 PyThreadState* __tstate = wxPyBeginAllowThreads();
5241 (arg1)->SetTargetRect((wxRect const &)*arg2);
5242 wxPyEndAllowThreads(__tstate);
5243 if (PyErr_Occurred()) SWIG_fail;
5244 }
5245 resultobj = SWIG_Py_Void();
5246 return resultobj;
5247 fail:
5248 return NULL;
5249 }
5250
5251
5252 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5253 PyObject *resultobj = 0;
5254 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5255 wxRect result;
5256 void *argp1 = 0 ;
5257 int res1 = 0 ;
5258 PyObject *swig_obj[1] ;
5259
5260 if (!args) SWIG_fail;
5261 swig_obj[0] = args;
5262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5263 if (!SWIG_IsOK(res1)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5265 }
5266 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5270 wxPyEndAllowThreads(__tstate);
5271 if (PyErr_Occurred()) SWIG_fail;
5272 }
5273 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5274 return resultobj;
5275 fail:
5276 return NULL;
5277 }
5278
5279
5280 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5281 PyObject *resultobj = 0;
5282 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5283 wxDC *arg2 = 0 ;
5284 void *argp1 = 0 ;
5285 int res1 = 0 ;
5286 void *argp2 = 0 ;
5287 int res2 = 0 ;
5288 PyObject * obj0 = 0 ;
5289 PyObject * obj1 = 0 ;
5290 char * kwnames[] = {
5291 (char *) "self",(char *) "dc", NULL
5292 };
5293
5294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5296 if (!SWIG_IsOK(res1)) {
5297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5298 }
5299 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5300 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5301 if (!SWIG_IsOK(res2)) {
5302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5303 }
5304 if (!argp2) {
5305 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5306 }
5307 arg2 = reinterpret_cast< wxDC * >(argp2);
5308 {
5309 PyThreadState* __tstate = wxPyBeginAllowThreads();
5310 (arg1)->DoPrepareDC(*arg2);
5311 wxPyEndAllowThreads(__tstate);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 }
5314 resultobj = SWIG_Py_Void();
5315 return resultobj;
5316 fail:
5317 return NULL;
5318 }
5319
5320
5321 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5322 PyObject *resultobj = 0;
5323 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5324 SwigValueWrapper<wxVisualAttributes > result;
5325 int val1 ;
5326 int ecode1 = 0 ;
5327 PyObject * obj0 = 0 ;
5328 char * kwnames[] = {
5329 (char *) "variant", NULL
5330 };
5331
5332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5333 if (obj0) {
5334 ecode1 = SWIG_AsVal_int(obj0, &val1);
5335 if (!SWIG_IsOK(ecode1)) {
5336 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5337 }
5338 arg1 = static_cast< wxWindowVariant >(val1);
5339 }
5340 {
5341 if (!wxPyCheckForApp()) SWIG_fail;
5342 PyThreadState* __tstate = wxPyBeginAllowThreads();
5343 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5344 wxPyEndAllowThreads(__tstate);
5345 if (PyErr_Occurred()) SWIG_fail;
5346 }
5347 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5348 return resultobj;
5349 fail:
5350 return NULL;
5351 }
5352
5353
5354 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5355 PyObject *obj;
5356 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5357 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5358 return SWIG_Py_Void();
5359 }
5360
5361 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5362 return SWIG_Python_InitShadowInstance(args);
5363 }
5364
5365 SWIGINTERN int FrameNameStr_set(PyObject *) {
5366 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5367 return 1;
5368 }
5369
5370
5371 SWIGINTERN PyObject *FrameNameStr_get(void) {
5372 PyObject *pyobj = 0;
5373
5374 {
5375 #if wxUSE_UNICODE
5376 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5377 #else
5378 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5379 #endif
5380 }
5381 return pyobj;
5382 }
5383
5384
5385 SWIGINTERN int DialogNameStr_set(PyObject *) {
5386 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5387 return 1;
5388 }
5389
5390
5391 SWIGINTERN PyObject *DialogNameStr_get(void) {
5392 PyObject *pyobj = 0;
5393
5394 {
5395 #if wxUSE_UNICODE
5396 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5397 #else
5398 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5399 #endif
5400 }
5401 return pyobj;
5402 }
5403
5404
5405 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5406 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5407 return 1;
5408 }
5409
5410
5411 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5412 PyObject *pyobj = 0;
5413
5414 {
5415 #if wxUSE_UNICODE
5416 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5417 #else
5418 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5419 #endif
5420 }
5421 return pyobj;
5422 }
5423
5424
5425 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5426 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5427 return 1;
5428 }
5429
5430
5431 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5432 PyObject *pyobj = 0;
5433
5434 {
5435 #if wxUSE_UNICODE
5436 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5437 #else
5438 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5439 #endif
5440 }
5441 return pyobj;
5442 }
5443
5444
5445 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5446 PyObject *resultobj = 0;
5447 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5448 bool arg2 = (bool) true ;
5449 void *argp1 = 0 ;
5450 int res1 = 0 ;
5451 bool val2 ;
5452 int ecode2 = 0 ;
5453 PyObject * obj0 = 0 ;
5454 PyObject * obj1 = 0 ;
5455 char * kwnames[] = {
5456 (char *) "self",(char *) "maximize", NULL
5457 };
5458
5459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5461 if (!SWIG_IsOK(res1)) {
5462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5463 }
5464 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5465 if (obj1) {
5466 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5467 if (!SWIG_IsOK(ecode2)) {
5468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5469 }
5470 arg2 = static_cast< bool >(val2);
5471 }
5472 {
5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
5474 (arg1)->Maximize(arg2);
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 resultobj = SWIG_Py_Void();
5479 return resultobj;
5480 fail:
5481 return NULL;
5482 }
5483
5484
5485 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5486 PyObject *resultobj = 0;
5487 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5488 void *argp1 = 0 ;
5489 int res1 = 0 ;
5490 PyObject *swig_obj[1] ;
5491
5492 if (!args) SWIG_fail;
5493 swig_obj[0] = args;
5494 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5495 if (!SWIG_IsOK(res1)) {
5496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5497 }
5498 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 (arg1)->Restore();
5502 wxPyEndAllowThreads(__tstate);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 resultobj = SWIG_Py_Void();
5506 return resultobj;
5507 fail:
5508 return NULL;
5509 }
5510
5511
5512 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5513 PyObject *resultobj = 0;
5514 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5515 bool arg2 = (bool) true ;
5516 void *argp1 = 0 ;
5517 int res1 = 0 ;
5518 bool val2 ;
5519 int ecode2 = 0 ;
5520 PyObject * obj0 = 0 ;
5521 PyObject * obj1 = 0 ;
5522 char * kwnames[] = {
5523 (char *) "self",(char *) "iconize", NULL
5524 };
5525
5526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5528 if (!SWIG_IsOK(res1)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5530 }
5531 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5532 if (obj1) {
5533 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5534 if (!SWIG_IsOK(ecode2)) {
5535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5536 }
5537 arg2 = static_cast< bool >(val2);
5538 }
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 (arg1)->Iconize(arg2);
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 resultobj = SWIG_Py_Void();
5546 return resultobj;
5547 fail:
5548 return NULL;
5549 }
5550
5551
5552 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5553 PyObject *resultobj = 0;
5554 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5555 bool result;
5556 void *argp1 = 0 ;
5557 int res1 = 0 ;
5558 PyObject *swig_obj[1] ;
5559
5560 if (!args) SWIG_fail;
5561 swig_obj[0] = args;
5562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5563 if (!SWIG_IsOK(res1)) {
5564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5565 }
5566 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 {
5574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5575 }
5576 return resultobj;
5577 fail:
5578 return NULL;
5579 }
5580
5581
5582 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5583 PyObject *resultobj = 0;
5584 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5585 bool result;
5586 void *argp1 = 0 ;
5587 int res1 = 0 ;
5588 PyObject *swig_obj[1] ;
5589
5590 if (!args) SWIG_fail;
5591 swig_obj[0] = args;
5592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5593 if (!SWIG_IsOK(res1)) {
5594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5595 }
5596 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5600 wxPyEndAllowThreads(__tstate);
5601 if (PyErr_Occurred()) SWIG_fail;
5602 }
5603 {
5604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5605 }
5606 return resultobj;
5607 fail:
5608 return NULL;
5609 }
5610
5611
5612 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5613 PyObject *resultobj = 0;
5614 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5615 bool result;
5616 void *argp1 = 0 ;
5617 int res1 = 0 ;
5618 PyObject *swig_obj[1] ;
5619
5620 if (!args) SWIG_fail;
5621 swig_obj[0] = args;
5622 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5623 if (!SWIG_IsOK(res1)) {
5624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5625 }
5626 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5627 {
5628 PyThreadState* __tstate = wxPyBeginAllowThreads();
5629 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5630 wxPyEndAllowThreads(__tstate);
5631 if (PyErr_Occurred()) SWIG_fail;
5632 }
5633 {
5634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5635 }
5636 return resultobj;
5637 fail:
5638 return NULL;
5639 }
5640
5641
5642 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5643 PyObject *resultobj = 0;
5644 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5645 wxIcon result;
5646 void *argp1 = 0 ;
5647 int res1 = 0 ;
5648 PyObject *swig_obj[1] ;
5649
5650 if (!args) SWIG_fail;
5651 swig_obj[0] = args;
5652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5653 if (!SWIG_IsOK(res1)) {
5654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5655 }
5656 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5657 {
5658 PyThreadState* __tstate = wxPyBeginAllowThreads();
5659 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5660 wxPyEndAllowThreads(__tstate);
5661 if (PyErr_Occurred()) SWIG_fail;
5662 }
5663 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5664 return resultobj;
5665 fail:
5666 return NULL;
5667 }
5668
5669
5670 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5671 PyObject *resultobj = 0;
5672 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5673 wxIcon *arg2 = 0 ;
5674 void *argp1 = 0 ;
5675 int res1 = 0 ;
5676 void *argp2 = 0 ;
5677 int res2 = 0 ;
5678 PyObject * obj0 = 0 ;
5679 PyObject * obj1 = 0 ;
5680 char * kwnames[] = {
5681 (char *) "self",(char *) "icon", NULL
5682 };
5683
5684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5686 if (!SWIG_IsOK(res1)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5688 }
5689 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5690 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5691 if (!SWIG_IsOK(res2)) {
5692 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5693 }
5694 if (!argp2) {
5695 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5696 }
5697 arg2 = reinterpret_cast< wxIcon * >(argp2);
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 (arg1)->SetIcon((wxIcon const &)*arg2);
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 resultobj = SWIG_Py_Void();
5705 return resultobj;
5706 fail:
5707 return NULL;
5708 }
5709
5710
5711 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5712 PyObject *resultobj = 0;
5713 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5714 wxIconBundle *arg2 = 0 ;
5715 void *argp1 = 0 ;
5716 int res1 = 0 ;
5717 void *argp2 = 0 ;
5718 int res2 = 0 ;
5719 PyObject * obj0 = 0 ;
5720 PyObject * obj1 = 0 ;
5721 char * kwnames[] = {
5722 (char *) "self",(char *) "icons", NULL
5723 };
5724
5725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5727 if (!SWIG_IsOK(res1)) {
5728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5729 }
5730 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5731 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5732 if (!SWIG_IsOK(res2)) {
5733 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5734 }
5735 if (!argp2) {
5736 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5737 }
5738 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 resultobj = SWIG_Py_Void();
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj = 0;
5754 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5755 bool arg2 ;
5756 long arg3 = (long) wxFULLSCREEN_ALL ;
5757 bool result;
5758 void *argp1 = 0 ;
5759 int res1 = 0 ;
5760 bool val2 ;
5761 int ecode2 = 0 ;
5762 long val3 ;
5763 int ecode3 = 0 ;
5764 PyObject * obj0 = 0 ;
5765 PyObject * obj1 = 0 ;
5766 PyObject * obj2 = 0 ;
5767 char * kwnames[] = {
5768 (char *) "self",(char *) "show",(char *) "style", NULL
5769 };
5770
5771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5773 if (!SWIG_IsOK(res1)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5775 }
5776 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5777 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5778 if (!SWIG_IsOK(ecode2)) {
5779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5780 }
5781 arg2 = static_cast< bool >(val2);
5782 if (obj2) {
5783 ecode3 = SWIG_AsVal_long(obj2, &val3);
5784 if (!SWIG_IsOK(ecode3)) {
5785 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5786 }
5787 arg3 = static_cast< long >(val3);
5788 }
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 {
5796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5797 }
5798 return resultobj;
5799 fail:
5800 return NULL;
5801 }
5802
5803
5804 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5805 PyObject *resultobj = 0;
5806 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5807 bool result;
5808 void *argp1 = 0 ;
5809 int res1 = 0 ;
5810 PyObject *swig_obj[1] ;
5811
5812 if (!args) SWIG_fail;
5813 swig_obj[0] = args;
5814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5815 if (!SWIG_IsOK(res1)) {
5816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5817 }
5818 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5822 wxPyEndAllowThreads(__tstate);
5823 if (PyErr_Occurred()) SWIG_fail;
5824 }
5825 {
5826 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5827 }
5828 return resultobj;
5829 fail:
5830 return NULL;
5831 }
5832
5833
5834 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj = 0;
5836 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5837 wxString *arg2 = 0 ;
5838 void *argp1 = 0 ;
5839 int res1 = 0 ;
5840 bool temp2 = false ;
5841 PyObject * obj0 = 0 ;
5842 PyObject * obj1 = 0 ;
5843 char * kwnames[] = {
5844 (char *) "self",(char *) "title", NULL
5845 };
5846
5847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5849 if (!SWIG_IsOK(res1)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5851 }
5852 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5853 {
5854 arg2 = wxString_in_helper(obj1);
5855 if (arg2 == NULL) SWIG_fail;
5856 temp2 = true;
5857 }
5858 {
5859 PyThreadState* __tstate = wxPyBeginAllowThreads();
5860 (arg1)->SetTitle((wxString const &)*arg2);
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 resultobj = SWIG_Py_Void();
5865 {
5866 if (temp2)
5867 delete arg2;
5868 }
5869 return resultobj;
5870 fail:
5871 {
5872 if (temp2)
5873 delete arg2;
5874 }
5875 return NULL;
5876 }
5877
5878
5879 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5880 PyObject *resultobj = 0;
5881 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5882 wxString result;
5883 void *argp1 = 0 ;
5884 int res1 = 0 ;
5885 PyObject *swig_obj[1] ;
5886
5887 if (!args) SWIG_fail;
5888 swig_obj[0] = args;
5889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5890 if (!SWIG_IsOK(res1)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5892 }
5893 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 {
5901 #if wxUSE_UNICODE
5902 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5903 #else
5904 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5905 #endif
5906 }
5907 return resultobj;
5908 fail:
5909 return NULL;
5910 }
5911
5912
5913 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5914 PyObject *resultobj = 0;
5915 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5916 bool arg2 ;
5917 bool result;
5918 void *argp1 = 0 ;
5919 int res1 = 0 ;
5920 bool val2 ;
5921 int ecode2 = 0 ;
5922 PyObject * obj0 = 0 ;
5923 PyObject * obj1 = 0 ;
5924 char * kwnames[] = {
5925 (char *) "self",(char *) "enable", NULL
5926 };
5927
5928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5930 if (!SWIG_IsOK(res1)) {
5931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5932 }
5933 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5934 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5935 if (!SWIG_IsOK(ecode2)) {
5936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5937 }
5938 arg2 = static_cast< bool >(val2);
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 result = (bool)(arg1)->EnableCloseButton(arg2);
5942 wxPyEndAllowThreads(__tstate);
5943 if (PyErr_Occurred()) SWIG_fail;
5944 }
5945 {
5946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5947 }
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5955 PyObject *resultobj = 0;
5956 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5957 wxRegion *arg2 = 0 ;
5958 bool result;
5959 void *argp1 = 0 ;
5960 int res1 = 0 ;
5961 void *argp2 = 0 ;
5962 int res2 = 0 ;
5963 PyObject * obj0 = 0 ;
5964 PyObject * obj1 = 0 ;
5965 char * kwnames[] = {
5966 (char *) "self",(char *) "region", NULL
5967 };
5968
5969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5971 if (!SWIG_IsOK(res1)) {
5972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5973 }
5974 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5975 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5976 if (!SWIG_IsOK(res2)) {
5977 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5978 }
5979 if (!argp2) {
5980 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5981 }
5982 arg2 = reinterpret_cast< wxRegion * >(argp2);
5983 {
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
5985 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 {
5990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5991 }
5992 return resultobj;
5993 fail:
5994 return NULL;
5995 }
5996
5997
5998 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5999 PyObject *resultobj = 0;
6000 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6001 int arg2 = (int) wxUSER_ATTENTION_INFO ;
6002 void *argp1 = 0 ;
6003 int res1 = 0 ;
6004 int val2 ;
6005 int ecode2 = 0 ;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 char * kwnames[] = {
6009 (char *) "self",(char *) "flags", NULL
6010 };
6011
6012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
6013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6014 if (!SWIG_IsOK(res1)) {
6015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6016 }
6017 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6018 if (obj1) {
6019 ecode2 = SWIG_AsVal_int(obj1, &val2);
6020 if (!SWIG_IsOK(ecode2)) {
6021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
6022 }
6023 arg2 = static_cast< int >(val2);
6024 }
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 (arg1)->RequestUserAttention(arg2);
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 resultobj = SWIG_Py_Void();
6032 return resultobj;
6033 fail:
6034 return NULL;
6035 }
6036
6037
6038 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6039 PyObject *resultobj = 0;
6040 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6041 bool result;
6042 void *argp1 = 0 ;
6043 int res1 = 0 ;
6044 PyObject *swig_obj[1] ;
6045
6046 if (!args) SWIG_fail;
6047 swig_obj[0] = args;
6048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6049 if (!SWIG_IsOK(res1)) {
6050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6051 }
6052 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 result = (bool)(arg1)->IsActive();
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 {
6060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6061 }
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj = 0;
6070 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6071 bool arg2 ;
6072 void *argp1 = 0 ;
6073 int res1 = 0 ;
6074 bool val2 ;
6075 int ecode2 = 0 ;
6076 PyObject * obj0 = 0 ;
6077 PyObject * obj1 = 0 ;
6078 char * kwnames[] = {
6079 (char *) "self",(char *) "on", NULL
6080 };
6081
6082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
6083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6084 if (!SWIG_IsOK(res1)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6086 }
6087 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6088 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6089 if (!SWIG_IsOK(ecode2)) {
6090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6091 }
6092 arg2 = static_cast< bool >(val2);
6093 {
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 resultobj = SWIG_Py_Void();
6100 return resultobj;
6101 fail:
6102 return NULL;
6103 }
6104
6105
6106 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6107 PyObject *resultobj = 0;
6108 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6109 bool result;
6110 void *argp1 = 0 ;
6111 int res1 = 0 ;
6112 PyObject *swig_obj[1] ;
6113
6114 if (!args) SWIG_fail;
6115 swig_obj[0] = args;
6116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6117 if (!SWIG_IsOK(res1)) {
6118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6119 }
6120 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 {
6128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6129 }
6130 return resultobj;
6131 fail:
6132 return NULL;
6133 }
6134
6135
6136 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6137 PyObject *resultobj = 0;
6138 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6139 int arg2 = (int) wxBOTH ;
6140 void *argp1 = 0 ;
6141 int res1 = 0 ;
6142 int val2 ;
6143 int ecode2 = 0 ;
6144 PyObject * obj0 = 0 ;
6145 PyObject * obj1 = 0 ;
6146 char * kwnames[] = {
6147 (char *) "self",(char *) "dir", NULL
6148 };
6149
6150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6152 if (!SWIG_IsOK(res1)) {
6153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6154 }
6155 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6156 if (obj1) {
6157 ecode2 = SWIG_AsVal_int(obj1, &val2);
6158 if (!SWIG_IsOK(ecode2)) {
6159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6160 }
6161 arg2 = static_cast< int >(val2);
6162 }
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 (arg1)->CenterOnScreen(arg2);
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 resultobj = SWIG_Py_Void();
6170 return resultobj;
6171 fail:
6172 return NULL;
6173 }
6174
6175
6176 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6177 PyObject *resultobj = 0;
6178 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6179 wxWindow *result = 0 ;
6180 void *argp1 = 0 ;
6181 int res1 = 0 ;
6182 PyObject *swig_obj[1] ;
6183
6184 if (!args) SWIG_fail;
6185 swig_obj[0] = args;
6186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6187 if (!SWIG_IsOK(res1)) {
6188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6189 }
6190 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 {
6198 resultobj = wxPyMake_wxObject(result, 0);
6199 }
6200 return resultobj;
6201 fail:
6202 return NULL;
6203 }
6204
6205
6206 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6207 PyObject *resultobj = 0;
6208 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6209 wxWindow *arg2 = (wxWindow *) 0 ;
6210 wxWindow *result = 0 ;
6211 void *argp1 = 0 ;
6212 int res1 = 0 ;
6213 void *argp2 = 0 ;
6214 int res2 = 0 ;
6215 PyObject * obj0 = 0 ;
6216 PyObject * obj1 = 0 ;
6217 char * kwnames[] = {
6218 (char *) "self",(char *) "child", NULL
6219 };
6220
6221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6223 if (!SWIG_IsOK(res1)) {
6224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6225 }
6226 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6227 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6228 if (!SWIG_IsOK(res2)) {
6229 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6230 }
6231 arg2 = reinterpret_cast< wxWindow * >(argp2);
6232 {
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6235 wxPyEndAllowThreads(__tstate);
6236 if (PyErr_Occurred()) SWIG_fail;
6237 }
6238 {
6239 resultobj = wxPyMake_wxObject(result, 0);
6240 }
6241 return resultobj;
6242 fail:
6243 return NULL;
6244 }
6245
6246
6247 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6248 PyObject *resultobj = 0;
6249 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6250 wxWindow *arg2 = (wxWindow *) 0 ;
6251 void *argp1 = 0 ;
6252 int res1 = 0 ;
6253 void *argp2 = 0 ;
6254 int res2 = 0 ;
6255 PyObject * obj0 = 0 ;
6256 PyObject * obj1 = 0 ;
6257 char * kwnames[] = {
6258 (char *) "self",(char *) "win", NULL
6259 };
6260
6261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6263 if (!SWIG_IsOK(res1)) {
6264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6265 }
6266 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6267 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6268 if (!SWIG_IsOK(res2)) {
6269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6270 }
6271 arg2 = reinterpret_cast< wxWindow * >(argp2);
6272 {
6273 PyThreadState* __tstate = wxPyBeginAllowThreads();
6274 (arg1)->SetTmpDefaultItem(arg2);
6275 wxPyEndAllowThreads(__tstate);
6276 if (PyErr_Occurred()) SWIG_fail;
6277 }
6278 resultobj = SWIG_Py_Void();
6279 return resultobj;
6280 fail:
6281 return NULL;
6282 }
6283
6284
6285 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6286 PyObject *resultobj = 0;
6287 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6288 wxWindow *result = 0 ;
6289 void *argp1 = 0 ;
6290 int res1 = 0 ;
6291 PyObject *swig_obj[1] ;
6292
6293 if (!args) SWIG_fail;
6294 swig_obj[0] = args;
6295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6296 if (!SWIG_IsOK(res1)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6298 }
6299 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6303 wxPyEndAllowThreads(__tstate);
6304 if (PyErr_Occurred()) SWIG_fail;
6305 }
6306 {
6307 resultobj = wxPyMake_wxObject(result, 0);
6308 }
6309 return resultobj;
6310 fail:
6311 return NULL;
6312 }
6313
6314
6315 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6316 PyObject *obj;
6317 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6318 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6319 return SWIG_Py_Void();
6320 }
6321
6322 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj = 0;
6324 wxWindow *arg1 = (wxWindow *) 0 ;
6325 int arg2 = (int) (int)-1 ;
6326 wxString const &arg3_defvalue = wxPyEmptyString ;
6327 wxString *arg3 = (wxString *) &arg3_defvalue ;
6328 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6329 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6330 wxSize const &arg5_defvalue = wxDefaultSize ;
6331 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6332 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6333 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6334 wxString *arg7 = (wxString *) &arg7_defvalue ;
6335 wxFrame *result = 0 ;
6336 void *argp1 = 0 ;
6337 int res1 = 0 ;
6338 int val2 ;
6339 int ecode2 = 0 ;
6340 bool temp3 = false ;
6341 wxPoint temp4 ;
6342 wxSize temp5 ;
6343 long val6 ;
6344 int ecode6 = 0 ;
6345 bool temp7 = false ;
6346 PyObject * obj0 = 0 ;
6347 PyObject * obj1 = 0 ;
6348 PyObject * obj2 = 0 ;
6349 PyObject * obj3 = 0 ;
6350 PyObject * obj4 = 0 ;
6351 PyObject * obj5 = 0 ;
6352 PyObject * obj6 = 0 ;
6353 char * kwnames[] = {
6354 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6355 };
6356
6357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6359 if (!SWIG_IsOK(res1)) {
6360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6361 }
6362 arg1 = reinterpret_cast< wxWindow * >(argp1);
6363 if (obj1) {
6364 ecode2 = SWIG_AsVal_int(obj1, &val2);
6365 if (!SWIG_IsOK(ecode2)) {
6366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6367 }
6368 arg2 = static_cast< int >(val2);
6369 }
6370 if (obj2) {
6371 {
6372 arg3 = wxString_in_helper(obj2);
6373 if (arg3 == NULL) SWIG_fail;
6374 temp3 = true;
6375 }
6376 }
6377 if (obj3) {
6378 {
6379 arg4 = &temp4;
6380 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6381 }
6382 }
6383 if (obj4) {
6384 {
6385 arg5 = &temp5;
6386 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6387 }
6388 }
6389 if (obj5) {
6390 ecode6 = SWIG_AsVal_long(obj5, &val6);
6391 if (!SWIG_IsOK(ecode6)) {
6392 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6393 }
6394 arg6 = static_cast< long >(val6);
6395 }
6396 if (obj6) {
6397 {
6398 arg7 = wxString_in_helper(obj6);
6399 if (arg7 == NULL) SWIG_fail;
6400 temp7 = true;
6401 }
6402 }
6403 {
6404 if (!wxPyCheckForApp()) SWIG_fail;
6405 PyThreadState* __tstate = wxPyBeginAllowThreads();
6406 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6407 wxPyEndAllowThreads(__tstate);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
6410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6411 {
6412 if (temp3)
6413 delete arg3;
6414 }
6415 {
6416 if (temp7)
6417 delete arg7;
6418 }
6419 return resultobj;
6420 fail:
6421 {
6422 if (temp3)
6423 delete arg3;
6424 }
6425 {
6426 if (temp7)
6427 delete arg7;
6428 }
6429 return NULL;
6430 }
6431
6432
6433 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6434 PyObject *resultobj = 0;
6435 wxFrame *result = 0 ;
6436
6437 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6438 {
6439 if (!wxPyCheckForApp()) SWIG_fail;
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 result = (wxFrame *)new wxFrame();
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6446 return resultobj;
6447 fail:
6448 return NULL;
6449 }
6450
6451
6452 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj = 0;
6454 wxFrame *arg1 = (wxFrame *) 0 ;
6455 wxWindow *arg2 = (wxWindow *) 0 ;
6456 int arg3 = (int) (int)-1 ;
6457 wxString const &arg4_defvalue = wxPyEmptyString ;
6458 wxString *arg4 = (wxString *) &arg4_defvalue ;
6459 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6460 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6461 wxSize const &arg6_defvalue = wxDefaultSize ;
6462 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6463 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6464 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6465 wxString *arg8 = (wxString *) &arg8_defvalue ;
6466 bool result;
6467 void *argp1 = 0 ;
6468 int res1 = 0 ;
6469 void *argp2 = 0 ;
6470 int res2 = 0 ;
6471 int val3 ;
6472 int ecode3 = 0 ;
6473 bool temp4 = false ;
6474 wxPoint temp5 ;
6475 wxSize temp6 ;
6476 long val7 ;
6477 int ecode7 = 0 ;
6478 bool temp8 = false ;
6479 PyObject * obj0 = 0 ;
6480 PyObject * obj1 = 0 ;
6481 PyObject * obj2 = 0 ;
6482 PyObject * obj3 = 0 ;
6483 PyObject * obj4 = 0 ;
6484 PyObject * obj5 = 0 ;
6485 PyObject * obj6 = 0 ;
6486 PyObject * obj7 = 0 ;
6487 char * kwnames[] = {
6488 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6489 };
6490
6491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6493 if (!SWIG_IsOK(res1)) {
6494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6495 }
6496 arg1 = reinterpret_cast< wxFrame * >(argp1);
6497 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6498 if (!SWIG_IsOK(res2)) {
6499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6500 }
6501 arg2 = reinterpret_cast< wxWindow * >(argp2);
6502 if (obj2) {
6503 ecode3 = SWIG_AsVal_int(obj2, &val3);
6504 if (!SWIG_IsOK(ecode3)) {
6505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6506 }
6507 arg3 = static_cast< int >(val3);
6508 }
6509 if (obj3) {
6510 {
6511 arg4 = wxString_in_helper(obj3);
6512 if (arg4 == NULL) SWIG_fail;
6513 temp4 = true;
6514 }
6515 }
6516 if (obj4) {
6517 {
6518 arg5 = &temp5;
6519 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6520 }
6521 }
6522 if (obj5) {
6523 {
6524 arg6 = &temp6;
6525 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6526 }
6527 }
6528 if (obj6) {
6529 ecode7 = SWIG_AsVal_long(obj6, &val7);
6530 if (!SWIG_IsOK(ecode7)) {
6531 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6532 }
6533 arg7 = static_cast< long >(val7);
6534 }
6535 if (obj7) {
6536 {
6537 arg8 = wxString_in_helper(obj7);
6538 if (arg8 == NULL) SWIG_fail;
6539 temp8 = true;
6540 }
6541 }
6542 {
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6545 wxPyEndAllowThreads(__tstate);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 }
6548 {
6549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6550 }
6551 {
6552 if (temp4)
6553 delete arg4;
6554 }
6555 {
6556 if (temp8)
6557 delete arg8;
6558 }
6559 return resultobj;
6560 fail:
6561 {
6562 if (temp4)
6563 delete arg4;
6564 }
6565 {
6566 if (temp8)
6567 delete arg8;
6568 }
6569 return NULL;
6570 }
6571
6572
6573 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6574 PyObject *resultobj = 0;
6575 wxFrame *arg1 = (wxFrame *) 0 ;
6576 void *argp1 = 0 ;
6577 int res1 = 0 ;
6578 PyObject *swig_obj[1] ;
6579
6580 if (!args) SWIG_fail;
6581 swig_obj[0] = args;
6582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6583 if (!SWIG_IsOK(res1)) {
6584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6585 }
6586 arg1 = reinterpret_cast< wxFrame * >(argp1);
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 (arg1)->SendSizeEvent();
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 resultobj = SWIG_Py_Void();
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj = 0;
6602 wxFrame *arg1 = (wxFrame *) 0 ;
6603 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6604 void *argp1 = 0 ;
6605 int res1 = 0 ;
6606 void *argp2 = 0 ;
6607 int res2 = 0 ;
6608 PyObject * obj0 = 0 ;
6609 PyObject * obj1 = 0 ;
6610 char * kwnames[] = {
6611 (char *) "self",(char *) "menubar", NULL
6612 };
6613
6614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6616 if (!SWIG_IsOK(res1)) {
6617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6618 }
6619 arg1 = reinterpret_cast< wxFrame * >(argp1);
6620 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6621 if (!SWIG_IsOK(res2)) {
6622 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6623 }
6624 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6625 {
6626 PyThreadState* __tstate = wxPyBeginAllowThreads();
6627 (arg1)->SetMenuBar(arg2);
6628 wxPyEndAllowThreads(__tstate);
6629 if (PyErr_Occurred()) SWIG_fail;
6630 }
6631 resultobj = SWIG_Py_Void();
6632 return resultobj;
6633 fail:
6634 return NULL;
6635 }
6636
6637
6638 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6639 PyObject *resultobj = 0;
6640 wxFrame *arg1 = (wxFrame *) 0 ;
6641 wxMenuBar *result = 0 ;
6642 void *argp1 = 0 ;
6643 int res1 = 0 ;
6644 PyObject *swig_obj[1] ;
6645
6646 if (!args) SWIG_fail;
6647 swig_obj[0] = args;
6648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6649 if (!SWIG_IsOK(res1)) {
6650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6651 }
6652 arg1 = reinterpret_cast< wxFrame * >(argp1);
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6656 wxPyEndAllowThreads(__tstate);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 }
6659 {
6660 resultobj = wxPyMake_wxObject(result, 0);
6661 }
6662 return resultobj;
6663 fail:
6664 return NULL;
6665 }
6666
6667
6668 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6669 PyObject *resultobj = 0;
6670 wxFrame *arg1 = (wxFrame *) 0 ;
6671 int arg2 ;
6672 bool result;
6673 void *argp1 = 0 ;
6674 int res1 = 0 ;
6675 int val2 ;
6676 int ecode2 = 0 ;
6677 PyObject * obj0 = 0 ;
6678 PyObject * obj1 = 0 ;
6679 char * kwnames[] = {
6680 (char *) "self",(char *) "winid", NULL
6681 };
6682
6683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6685 if (!SWIG_IsOK(res1)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6687 }
6688 arg1 = reinterpret_cast< wxFrame * >(argp1);
6689 ecode2 = SWIG_AsVal_int(obj1, &val2);
6690 if (!SWIG_IsOK(ecode2)) {
6691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6692 }
6693 arg2 = static_cast< int >(val2);
6694 {
6695 PyThreadState* __tstate = wxPyBeginAllowThreads();
6696 result = (bool)(arg1)->ProcessCommand(arg2);
6697 wxPyEndAllowThreads(__tstate);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 }
6700 {
6701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6702 }
6703 return resultobj;
6704 fail:
6705 return NULL;
6706 }
6707
6708
6709 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6710 PyObject *resultobj = 0;
6711 wxFrame *arg1 = (wxFrame *) 0 ;
6712 int arg2 = (int) 1 ;
6713 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6714 int arg4 = (int) 0 ;
6715 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6716 wxString *arg5 = (wxString *) &arg5_defvalue ;
6717 wxStatusBar *result = 0 ;
6718 void *argp1 = 0 ;
6719 int res1 = 0 ;
6720 int val2 ;
6721 int ecode2 = 0 ;
6722 long val3 ;
6723 int ecode3 = 0 ;
6724 int val4 ;
6725 int ecode4 = 0 ;
6726 bool temp5 = false ;
6727 PyObject * obj0 = 0 ;
6728 PyObject * obj1 = 0 ;
6729 PyObject * obj2 = 0 ;
6730 PyObject * obj3 = 0 ;
6731 PyObject * obj4 = 0 ;
6732 char * kwnames[] = {
6733 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6734 };
6735
6736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6738 if (!SWIG_IsOK(res1)) {
6739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6740 }
6741 arg1 = reinterpret_cast< wxFrame * >(argp1);
6742 if (obj1) {
6743 ecode2 = SWIG_AsVal_int(obj1, &val2);
6744 if (!SWIG_IsOK(ecode2)) {
6745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6746 }
6747 arg2 = static_cast< int >(val2);
6748 }
6749 if (obj2) {
6750 ecode3 = SWIG_AsVal_long(obj2, &val3);
6751 if (!SWIG_IsOK(ecode3)) {
6752 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6753 }
6754 arg3 = static_cast< long >(val3);
6755 }
6756 if (obj3) {
6757 ecode4 = SWIG_AsVal_int(obj3, &val4);
6758 if (!SWIG_IsOK(ecode4)) {
6759 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6760 }
6761 arg4 = static_cast< int >(val4);
6762 }
6763 if (obj4) {
6764 {
6765 arg5 = wxString_in_helper(obj4);
6766 if (arg5 == NULL) SWIG_fail;
6767 temp5 = true;
6768 }
6769 }
6770 {
6771 PyThreadState* __tstate = wxPyBeginAllowThreads();
6772 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 {
6777 resultobj = wxPyMake_wxObject(result, (bool)0);
6778 }
6779 {
6780 if (temp5)
6781 delete arg5;
6782 }
6783 return resultobj;
6784 fail:
6785 {
6786 if (temp5)
6787 delete arg5;
6788 }
6789 return NULL;
6790 }
6791
6792
6793 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6794 PyObject *resultobj = 0;
6795 wxFrame *arg1 = (wxFrame *) 0 ;
6796 wxStatusBar *result = 0 ;
6797 void *argp1 = 0 ;
6798 int res1 = 0 ;
6799 PyObject *swig_obj[1] ;
6800
6801 if (!args) SWIG_fail;
6802 swig_obj[0] = args;
6803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6804 if (!SWIG_IsOK(res1)) {
6805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6806 }
6807 arg1 = reinterpret_cast< wxFrame * >(argp1);
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 {
6815 resultobj = wxPyMake_wxObject(result, (bool)0);
6816 }
6817 return resultobj;
6818 fail:
6819 return NULL;
6820 }
6821
6822
6823 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj = 0;
6825 wxFrame *arg1 = (wxFrame *) 0 ;
6826 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6827 void *argp1 = 0 ;
6828 int res1 = 0 ;
6829 void *argp2 = 0 ;
6830 int res2 = 0 ;
6831 PyObject * obj0 = 0 ;
6832 PyObject * obj1 = 0 ;
6833 char * kwnames[] = {
6834 (char *) "self",(char *) "statBar", NULL
6835 };
6836
6837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6839 if (!SWIG_IsOK(res1)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6841 }
6842 arg1 = reinterpret_cast< wxFrame * >(argp1);
6843 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6844 if (!SWIG_IsOK(res2)) {
6845 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6846 }
6847 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6848 {
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 (arg1)->SetStatusBar(arg2);
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 resultobj = SWIG_Py_Void();
6855 return resultobj;
6856 fail:
6857 return NULL;
6858 }
6859
6860
6861 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj = 0;
6863 wxFrame *arg1 = (wxFrame *) 0 ;
6864 wxString *arg2 = 0 ;
6865 int arg3 = (int) 0 ;
6866 void *argp1 = 0 ;
6867 int res1 = 0 ;
6868 bool temp2 = false ;
6869 int val3 ;
6870 int ecode3 = 0 ;
6871 PyObject * obj0 = 0 ;
6872 PyObject * obj1 = 0 ;
6873 PyObject * obj2 = 0 ;
6874 char * kwnames[] = {
6875 (char *) "self",(char *) "text",(char *) "number", NULL
6876 };
6877
6878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6880 if (!SWIG_IsOK(res1)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6882 }
6883 arg1 = reinterpret_cast< wxFrame * >(argp1);
6884 {
6885 arg2 = wxString_in_helper(obj1);
6886 if (arg2 == NULL) SWIG_fail;
6887 temp2 = true;
6888 }
6889 if (obj2) {
6890 ecode3 = SWIG_AsVal_int(obj2, &val3);
6891 if (!SWIG_IsOK(ecode3)) {
6892 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6893 }
6894 arg3 = static_cast< int >(val3);
6895 }
6896 {
6897 PyThreadState* __tstate = wxPyBeginAllowThreads();
6898 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 resultobj = SWIG_Py_Void();
6903 {
6904 if (temp2)
6905 delete arg2;
6906 }
6907 return resultobj;
6908 fail:
6909 {
6910 if (temp2)
6911 delete arg2;
6912 }
6913 return NULL;
6914 }
6915
6916
6917 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj = 0;
6919 wxFrame *arg1 = (wxFrame *) 0 ;
6920 int arg2 ;
6921 int *arg3 = (int *) 0 ;
6922 void *argp1 = 0 ;
6923 int res1 = 0 ;
6924 PyObject * obj0 = 0 ;
6925 PyObject * obj1 = 0 ;
6926 char * kwnames[] = {
6927 (char *) "self",(char *) "widths", NULL
6928 };
6929
6930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6932 if (!SWIG_IsOK(res1)) {
6933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6934 }
6935 arg1 = reinterpret_cast< wxFrame * >(argp1);
6936 {
6937 arg2 = PyList_Size(obj1);
6938 arg3 = int_LIST_helper(obj1);
6939 if (arg3 == NULL) SWIG_fail;
6940 }
6941 {
6942 PyThreadState* __tstate = wxPyBeginAllowThreads();
6943 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 resultobj = SWIG_Py_Void();
6948 {
6949 if (arg3) delete [] arg3;
6950 }
6951 return resultobj;
6952 fail:
6953 {
6954 if (arg3) delete [] arg3;
6955 }
6956 return NULL;
6957 }
6958
6959
6960 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj = 0;
6962 wxFrame *arg1 = (wxFrame *) 0 ;
6963 wxString *arg2 = 0 ;
6964 int arg3 = (int) 0 ;
6965 void *argp1 = 0 ;
6966 int res1 = 0 ;
6967 bool temp2 = false ;
6968 int val3 ;
6969 int ecode3 = 0 ;
6970 PyObject * obj0 = 0 ;
6971 PyObject * obj1 = 0 ;
6972 PyObject * obj2 = 0 ;
6973 char * kwnames[] = {
6974 (char *) "self",(char *) "text",(char *) "number", NULL
6975 };
6976
6977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6979 if (!SWIG_IsOK(res1)) {
6980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6981 }
6982 arg1 = reinterpret_cast< wxFrame * >(argp1);
6983 {
6984 arg2 = wxString_in_helper(obj1);
6985 if (arg2 == NULL) SWIG_fail;
6986 temp2 = true;
6987 }
6988 if (obj2) {
6989 ecode3 = SWIG_AsVal_int(obj2, &val3);
6990 if (!SWIG_IsOK(ecode3)) {
6991 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6992 }
6993 arg3 = static_cast< int >(val3);
6994 }
6995 {
6996 PyThreadState* __tstate = wxPyBeginAllowThreads();
6997 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6998 wxPyEndAllowThreads(__tstate);
6999 if (PyErr_Occurred()) SWIG_fail;
7000 }
7001 resultobj = SWIG_Py_Void();
7002 {
7003 if (temp2)
7004 delete arg2;
7005 }
7006 return resultobj;
7007 fail:
7008 {
7009 if (temp2)
7010 delete arg2;
7011 }
7012 return NULL;
7013 }
7014
7015
7016 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj = 0;
7018 wxFrame *arg1 = (wxFrame *) 0 ;
7019 int arg2 = (int) 0 ;
7020 void *argp1 = 0 ;
7021 int res1 = 0 ;
7022 int val2 ;
7023 int ecode2 = 0 ;
7024 PyObject * obj0 = 0 ;
7025 PyObject * obj1 = 0 ;
7026 char * kwnames[] = {
7027 (char *) "self",(char *) "number", NULL
7028 };
7029
7030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
7031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7032 if (!SWIG_IsOK(res1)) {
7033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7034 }
7035 arg1 = reinterpret_cast< wxFrame * >(argp1);
7036 if (obj1) {
7037 ecode2 = SWIG_AsVal_int(obj1, &val2);
7038 if (!SWIG_IsOK(ecode2)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7040 }
7041 arg2 = static_cast< int >(val2);
7042 }
7043 {
7044 PyThreadState* __tstate = wxPyBeginAllowThreads();
7045 (arg1)->PopStatusText(arg2);
7046 wxPyEndAllowThreads(__tstate);
7047 if (PyErr_Occurred()) SWIG_fail;
7048 }
7049 resultobj = SWIG_Py_Void();
7050 return resultobj;
7051 fail:
7052 return NULL;
7053 }
7054
7055
7056 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj = 0;
7058 wxFrame *arg1 = (wxFrame *) 0 ;
7059 int arg2 ;
7060 void *argp1 = 0 ;
7061 int res1 = 0 ;
7062 int val2 ;
7063 int ecode2 = 0 ;
7064 PyObject * obj0 = 0 ;
7065 PyObject * obj1 = 0 ;
7066 char * kwnames[] = {
7067 (char *) "self",(char *) "n", NULL
7068 };
7069
7070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
7071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7072 if (!SWIG_IsOK(res1)) {
7073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7074 }
7075 arg1 = reinterpret_cast< wxFrame * >(argp1);
7076 ecode2 = SWIG_AsVal_int(obj1, &val2);
7077 if (!SWIG_IsOK(ecode2)) {
7078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7079 }
7080 arg2 = static_cast< int >(val2);
7081 {
7082 PyThreadState* __tstate = wxPyBeginAllowThreads();
7083 (arg1)->SetStatusBarPane(arg2);
7084 wxPyEndAllowThreads(__tstate);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 }
7087 resultobj = SWIG_Py_Void();
7088 return resultobj;
7089 fail:
7090 return NULL;
7091 }
7092
7093
7094 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7095 PyObject *resultobj = 0;
7096 wxFrame *arg1 = (wxFrame *) 0 ;
7097 int result;
7098 void *argp1 = 0 ;
7099 int res1 = 0 ;
7100 PyObject *swig_obj[1] ;
7101
7102 if (!args) SWIG_fail;
7103 swig_obj[0] = args;
7104 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7105 if (!SWIG_IsOK(res1)) {
7106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7107 }
7108 arg1 = reinterpret_cast< wxFrame * >(argp1);
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 resultobj = SWIG_From_int(static_cast< int >(result));
7116 return resultobj;
7117 fail:
7118 return NULL;
7119 }
7120
7121
7122 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj = 0;
7124 wxFrame *arg1 = (wxFrame *) 0 ;
7125 long arg2 = (long) -1 ;
7126 int arg3 = (int) -1 ;
7127 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7128 wxString *arg4 = (wxString *) &arg4_defvalue ;
7129 wxToolBar *result = 0 ;
7130 void *argp1 = 0 ;
7131 int res1 = 0 ;
7132 long val2 ;
7133 int ecode2 = 0 ;
7134 int val3 ;
7135 int ecode3 = 0 ;
7136 bool temp4 = false ;
7137 PyObject * obj0 = 0 ;
7138 PyObject * obj1 = 0 ;
7139 PyObject * obj2 = 0 ;
7140 PyObject * obj3 = 0 ;
7141 char * kwnames[] = {
7142 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7143 };
7144
7145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7147 if (!SWIG_IsOK(res1)) {
7148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7149 }
7150 arg1 = reinterpret_cast< wxFrame * >(argp1);
7151 if (obj1) {
7152 ecode2 = SWIG_AsVal_long(obj1, &val2);
7153 if (!SWIG_IsOK(ecode2)) {
7154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7155 }
7156 arg2 = static_cast< long >(val2);
7157 }
7158 if (obj2) {
7159 ecode3 = SWIG_AsVal_int(obj2, &val3);
7160 if (!SWIG_IsOK(ecode3)) {
7161 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7162 }
7163 arg3 = static_cast< int >(val3);
7164 }
7165 if (obj3) {
7166 {
7167 arg4 = wxString_in_helper(obj3);
7168 if (arg4 == NULL) SWIG_fail;
7169 temp4 = true;
7170 }
7171 }
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 {
7179 resultobj = wxPyMake_wxObject(result, (bool)0);
7180 }
7181 {
7182 if (temp4)
7183 delete arg4;
7184 }
7185 return resultobj;
7186 fail:
7187 {
7188 if (temp4)
7189 delete arg4;
7190 }
7191 return NULL;
7192 }
7193
7194
7195 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7196 PyObject *resultobj = 0;
7197 wxFrame *arg1 = (wxFrame *) 0 ;
7198 wxToolBar *result = 0 ;
7199 void *argp1 = 0 ;
7200 int res1 = 0 ;
7201 PyObject *swig_obj[1] ;
7202
7203 if (!args) SWIG_fail;
7204 swig_obj[0] = args;
7205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7206 if (!SWIG_IsOK(res1)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7208 }
7209 arg1 = reinterpret_cast< wxFrame * >(argp1);
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 {
7217 resultobj = wxPyMake_wxObject(result, (bool)0);
7218 }
7219 return resultobj;
7220 fail:
7221 return NULL;
7222 }
7223
7224
7225 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj = 0;
7227 wxFrame *arg1 = (wxFrame *) 0 ;
7228 wxToolBar *arg2 = (wxToolBar *) 0 ;
7229 void *argp1 = 0 ;
7230 int res1 = 0 ;
7231 void *argp2 = 0 ;
7232 int res2 = 0 ;
7233 PyObject * obj0 = 0 ;
7234 PyObject * obj1 = 0 ;
7235 char * kwnames[] = {
7236 (char *) "self",(char *) "toolbar", NULL
7237 };
7238
7239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7241 if (!SWIG_IsOK(res1)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7243 }
7244 arg1 = reinterpret_cast< wxFrame * >(argp1);
7245 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7246 if (!SWIG_IsOK(res2)) {
7247 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7248 }
7249 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 (arg1)->SetToolBar(arg2);
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 resultobj = SWIG_Py_Void();
7257 return resultobj;
7258 fail:
7259 return NULL;
7260 }
7261
7262
7263 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7264 PyObject *resultobj = 0;
7265 wxFrame *arg1 = (wxFrame *) 0 ;
7266 wxString *arg2 = 0 ;
7267 bool arg3 ;
7268 void *argp1 = 0 ;
7269 int res1 = 0 ;
7270 bool temp2 = false ;
7271 bool val3 ;
7272 int ecode3 = 0 ;
7273 PyObject * obj0 = 0 ;
7274 PyObject * obj1 = 0 ;
7275 PyObject * obj2 = 0 ;
7276 char * kwnames[] = {
7277 (char *) "self",(char *) "text",(char *) "show", NULL
7278 };
7279
7280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7282 if (!SWIG_IsOK(res1)) {
7283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7284 }
7285 arg1 = reinterpret_cast< wxFrame * >(argp1);
7286 {
7287 arg2 = wxString_in_helper(obj1);
7288 if (arg2 == NULL) SWIG_fail;
7289 temp2 = true;
7290 }
7291 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7292 if (!SWIG_IsOK(ecode3)) {
7293 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7294 }
7295 arg3 = static_cast< bool >(val3);
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 resultobj = SWIG_Py_Void();
7303 {
7304 if (temp2)
7305 delete arg2;
7306 }
7307 return resultobj;
7308 fail:
7309 {
7310 if (temp2)
7311 delete arg2;
7312 }
7313 return NULL;
7314 }
7315
7316
7317 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7318 PyObject *resultobj = 0;
7319 wxFrame *arg1 = (wxFrame *) 0 ;
7320 wxMenu *arg2 = (wxMenu *) NULL ;
7321 void *argp1 = 0 ;
7322 int res1 = 0 ;
7323 void *argp2 = 0 ;
7324 int res2 = 0 ;
7325 PyObject * obj0 = 0 ;
7326 PyObject * obj1 = 0 ;
7327 char * kwnames[] = {
7328 (char *) "self",(char *) "menu", NULL
7329 };
7330
7331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7333 if (!SWIG_IsOK(res1)) {
7334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7335 }
7336 arg1 = reinterpret_cast< wxFrame * >(argp1);
7337 if (obj1) {
7338 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7339 if (!SWIG_IsOK(res2)) {
7340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7341 }
7342 arg2 = reinterpret_cast< wxMenu * >(argp2);
7343 }
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 (arg1)->DoMenuUpdates(arg2);
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 resultobj = SWIG_Py_Void();
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj = 0;
7359 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7360 SwigValueWrapper<wxVisualAttributes > result;
7361 int val1 ;
7362 int ecode1 = 0 ;
7363 PyObject * obj0 = 0 ;
7364 char * kwnames[] = {
7365 (char *) "variant", NULL
7366 };
7367
7368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7369 if (obj0) {
7370 ecode1 = SWIG_AsVal_int(obj0, &val1);
7371 if (!SWIG_IsOK(ecode1)) {
7372 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7373 }
7374 arg1 = static_cast< wxWindowVariant >(val1);
7375 }
7376 {
7377 if (!wxPyCheckForApp()) SWIG_fail;
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 result = wxFrame::GetClassDefaultAttributes(arg1);
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7384 return resultobj;
7385 fail:
7386 return NULL;
7387 }
7388
7389
7390 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7391 PyObject *obj;
7392 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7393 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7394 return SWIG_Py_Void();
7395 }
7396
7397 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7398 return SWIG_Python_InitShadowInstance(args);
7399 }
7400
7401 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7402 PyObject *resultobj = 0;
7403 wxWindow *arg1 = (wxWindow *) 0 ;
7404 int arg2 = (int) (int)-1 ;
7405 wxString const &arg3_defvalue = wxPyEmptyString ;
7406 wxString *arg3 = (wxString *) &arg3_defvalue ;
7407 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7408 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7409 wxSize const &arg5_defvalue = wxDefaultSize ;
7410 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7411 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7412 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7413 wxString *arg7 = (wxString *) &arg7_defvalue ;
7414 wxDialog *result = 0 ;
7415 void *argp1 = 0 ;
7416 int res1 = 0 ;
7417 int val2 ;
7418 int ecode2 = 0 ;
7419 bool temp3 = false ;
7420 wxPoint temp4 ;
7421 wxSize temp5 ;
7422 long val6 ;
7423 int ecode6 = 0 ;
7424 bool temp7 = false ;
7425 PyObject * obj0 = 0 ;
7426 PyObject * obj1 = 0 ;
7427 PyObject * obj2 = 0 ;
7428 PyObject * obj3 = 0 ;
7429 PyObject * obj4 = 0 ;
7430 PyObject * obj5 = 0 ;
7431 PyObject * obj6 = 0 ;
7432 char * kwnames[] = {
7433 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7434 };
7435
7436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7438 if (!SWIG_IsOK(res1)) {
7439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7440 }
7441 arg1 = reinterpret_cast< wxWindow * >(argp1);
7442 if (obj1) {
7443 ecode2 = SWIG_AsVal_int(obj1, &val2);
7444 if (!SWIG_IsOK(ecode2)) {
7445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7446 }
7447 arg2 = static_cast< int >(val2);
7448 }
7449 if (obj2) {
7450 {
7451 arg3 = wxString_in_helper(obj2);
7452 if (arg3 == NULL) SWIG_fail;
7453 temp3 = true;
7454 }
7455 }
7456 if (obj3) {
7457 {
7458 arg4 = &temp4;
7459 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7460 }
7461 }
7462 if (obj4) {
7463 {
7464 arg5 = &temp5;
7465 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7466 }
7467 }
7468 if (obj5) {
7469 ecode6 = SWIG_AsVal_long(obj5, &val6);
7470 if (!SWIG_IsOK(ecode6)) {
7471 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7472 }
7473 arg6 = static_cast< long >(val6);
7474 }
7475 if (obj6) {
7476 {
7477 arg7 = wxString_in_helper(obj6);
7478 if (arg7 == NULL) SWIG_fail;
7479 temp7 = true;
7480 }
7481 }
7482 {
7483 if (!wxPyCheckForApp()) SWIG_fail;
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7490 {
7491 if (temp3)
7492 delete arg3;
7493 }
7494 {
7495 if (temp7)
7496 delete arg7;
7497 }
7498 return resultobj;
7499 fail:
7500 {
7501 if (temp3)
7502 delete arg3;
7503 }
7504 {
7505 if (temp7)
7506 delete arg7;
7507 }
7508 return NULL;
7509 }
7510
7511
7512 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7513 PyObject *resultobj = 0;
7514 wxDialog *result = 0 ;
7515
7516 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7517 {
7518 if (!wxPyCheckForApp()) SWIG_fail;
7519 PyThreadState* __tstate = wxPyBeginAllowThreads();
7520 result = (wxDialog *)new wxDialog();
7521 wxPyEndAllowThreads(__tstate);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7525 return resultobj;
7526 fail:
7527 return NULL;
7528 }
7529
7530
7531 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7532 PyObject *resultobj = 0;
7533 wxDialog *arg1 = (wxDialog *) 0 ;
7534 wxWindow *arg2 = (wxWindow *) 0 ;
7535 int arg3 = (int) (int)-1 ;
7536 wxString const &arg4_defvalue = wxPyEmptyString ;
7537 wxString *arg4 = (wxString *) &arg4_defvalue ;
7538 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7539 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7540 wxSize const &arg6_defvalue = wxDefaultSize ;
7541 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7542 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7543 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7544 wxString *arg8 = (wxString *) &arg8_defvalue ;
7545 bool result;
7546 void *argp1 = 0 ;
7547 int res1 = 0 ;
7548 void *argp2 = 0 ;
7549 int res2 = 0 ;
7550 int val3 ;
7551 int ecode3 = 0 ;
7552 bool temp4 = false ;
7553 wxPoint temp5 ;
7554 wxSize temp6 ;
7555 long val7 ;
7556 int ecode7 = 0 ;
7557 bool temp8 = false ;
7558 PyObject * obj0 = 0 ;
7559 PyObject * obj1 = 0 ;
7560 PyObject * obj2 = 0 ;
7561 PyObject * obj3 = 0 ;
7562 PyObject * obj4 = 0 ;
7563 PyObject * obj5 = 0 ;
7564 PyObject * obj6 = 0 ;
7565 PyObject * obj7 = 0 ;
7566 char * kwnames[] = {
7567 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7568 };
7569
7570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7572 if (!SWIG_IsOK(res1)) {
7573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7574 }
7575 arg1 = reinterpret_cast< wxDialog * >(argp1);
7576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7577 if (!SWIG_IsOK(res2)) {
7578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7579 }
7580 arg2 = reinterpret_cast< wxWindow * >(argp2);
7581 if (obj2) {
7582 ecode3 = SWIG_AsVal_int(obj2, &val3);
7583 if (!SWIG_IsOK(ecode3)) {
7584 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7585 }
7586 arg3 = static_cast< int >(val3);
7587 }
7588 if (obj3) {
7589 {
7590 arg4 = wxString_in_helper(obj3);
7591 if (arg4 == NULL) SWIG_fail;
7592 temp4 = true;
7593 }
7594 }
7595 if (obj4) {
7596 {
7597 arg5 = &temp5;
7598 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7599 }
7600 }
7601 if (obj5) {
7602 {
7603 arg6 = &temp6;
7604 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7605 }
7606 }
7607 if (obj6) {
7608 ecode7 = SWIG_AsVal_long(obj6, &val7);
7609 if (!SWIG_IsOK(ecode7)) {
7610 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7611 }
7612 arg7 = static_cast< long >(val7);
7613 }
7614 if (obj7) {
7615 {
7616 arg8 = wxString_in_helper(obj7);
7617 if (arg8 == NULL) SWIG_fail;
7618 temp8 = true;
7619 }
7620 }
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
7627 {
7628 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7629 }
7630 {
7631 if (temp4)
7632 delete arg4;
7633 }
7634 {
7635 if (temp8)
7636 delete arg8;
7637 }
7638 return resultobj;
7639 fail:
7640 {
7641 if (temp4)
7642 delete arg4;
7643 }
7644 {
7645 if (temp8)
7646 delete arg8;
7647 }
7648 return NULL;
7649 }
7650
7651
7652 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7653 PyObject *resultobj = 0;
7654 wxDialog *arg1 = (wxDialog *) 0 ;
7655 int arg2 ;
7656 void *argp1 = 0 ;
7657 int res1 = 0 ;
7658 int val2 ;
7659 int ecode2 = 0 ;
7660 PyObject * obj0 = 0 ;
7661 PyObject * obj1 = 0 ;
7662 char * kwnames[] = {
7663 (char *) "self",(char *) "returnCode", NULL
7664 };
7665
7666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7668 if (!SWIG_IsOK(res1)) {
7669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7670 }
7671 arg1 = reinterpret_cast< wxDialog * >(argp1);
7672 ecode2 = SWIG_AsVal_int(obj1, &val2);
7673 if (!SWIG_IsOK(ecode2)) {
7674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7675 }
7676 arg2 = static_cast< int >(val2);
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 (arg1)->SetReturnCode(arg2);
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 resultobj = SWIG_Py_Void();
7684 return resultobj;
7685 fail:
7686 return NULL;
7687 }
7688
7689
7690 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7691 PyObject *resultobj = 0;
7692 wxDialog *arg1 = (wxDialog *) 0 ;
7693 int result;
7694 void *argp1 = 0 ;
7695 int res1 = 0 ;
7696 PyObject *swig_obj[1] ;
7697
7698 if (!args) SWIG_fail;
7699 swig_obj[0] = args;
7700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7701 if (!SWIG_IsOK(res1)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7703 }
7704 arg1 = reinterpret_cast< wxDialog * >(argp1);
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 resultobj = SWIG_From_int(static_cast< int >(result));
7712 return resultobj;
7713 fail:
7714 return NULL;
7715 }
7716
7717
7718 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj = 0;
7720 wxDialog *arg1 = (wxDialog *) 0 ;
7721 int arg2 ;
7722 void *argp1 = 0 ;
7723 int res1 = 0 ;
7724 int val2 ;
7725 int ecode2 = 0 ;
7726 PyObject * obj0 = 0 ;
7727 PyObject * obj1 = 0 ;
7728 char * kwnames[] = {
7729 (char *) "self",(char *) "affirmativeId", NULL
7730 };
7731
7732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7734 if (!SWIG_IsOK(res1)) {
7735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7736 }
7737 arg1 = reinterpret_cast< wxDialog * >(argp1);
7738 ecode2 = SWIG_AsVal_int(obj1, &val2);
7739 if (!SWIG_IsOK(ecode2)) {
7740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7741 }
7742 arg2 = static_cast< int >(val2);
7743 {
7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
7745 (arg1)->SetAffirmativeId(arg2);
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 resultobj = SWIG_Py_Void();
7750 return resultobj;
7751 fail:
7752 return NULL;
7753 }
7754
7755
7756 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7757 PyObject *resultobj = 0;
7758 wxDialog *arg1 = (wxDialog *) 0 ;
7759 int result;
7760 void *argp1 = 0 ;
7761 int res1 = 0 ;
7762 PyObject *swig_obj[1] ;
7763
7764 if (!args) SWIG_fail;
7765 swig_obj[0] = args;
7766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7767 if (!SWIG_IsOK(res1)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7769 }
7770 arg1 = reinterpret_cast< wxDialog * >(argp1);
7771 {
7772 PyThreadState* __tstate = wxPyBeginAllowThreads();
7773 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7774 wxPyEndAllowThreads(__tstate);
7775 if (PyErr_Occurred()) SWIG_fail;
7776 }
7777 resultobj = SWIG_From_int(static_cast< int >(result));
7778 return resultobj;
7779 fail:
7780 return NULL;
7781 }
7782
7783
7784 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj = 0;
7786 wxDialog *arg1 = (wxDialog *) 0 ;
7787 int arg2 ;
7788 void *argp1 = 0 ;
7789 int res1 = 0 ;
7790 int val2 ;
7791 int ecode2 = 0 ;
7792 PyObject * obj0 = 0 ;
7793 PyObject * obj1 = 0 ;
7794 char * kwnames[] = {
7795 (char *) "self",(char *) "escapeId", NULL
7796 };
7797
7798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7800 if (!SWIG_IsOK(res1)) {
7801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7802 }
7803 arg1 = reinterpret_cast< wxDialog * >(argp1);
7804 ecode2 = SWIG_AsVal_int(obj1, &val2);
7805 if (!SWIG_IsOK(ecode2)) {
7806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7807 }
7808 arg2 = static_cast< int >(val2);
7809 {
7810 PyThreadState* __tstate = wxPyBeginAllowThreads();
7811 (arg1)->SetEscapeId(arg2);
7812 wxPyEndAllowThreads(__tstate);
7813 if (PyErr_Occurred()) SWIG_fail;
7814 }
7815 resultobj = SWIG_Py_Void();
7816 return resultobj;
7817 fail:
7818 return NULL;
7819 }
7820
7821
7822 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7823 PyObject *resultobj = 0;
7824 wxDialog *arg1 = (wxDialog *) 0 ;
7825 int result;
7826 void *argp1 = 0 ;
7827 int res1 = 0 ;
7828 PyObject *swig_obj[1] ;
7829
7830 if (!args) SWIG_fail;
7831 swig_obj[0] = args;
7832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7833 if (!SWIG_IsOK(res1)) {
7834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7835 }
7836 arg1 = reinterpret_cast< wxDialog * >(argp1);
7837 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 resultobj = SWIG_From_int(static_cast< int >(result));
7844 return resultobj;
7845 fail:
7846 return NULL;
7847 }
7848
7849
7850 SWIGINTERN PyObject *_wrap_Dialog_GetParentForModalDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7851 PyObject *resultobj = 0;
7852 wxDialog *arg1 = (wxDialog *) 0 ;
7853 wxWindow *arg2 = (wxWindow *) NULL ;
7854 wxWindow *result = 0 ;
7855 void *argp1 = 0 ;
7856 int res1 = 0 ;
7857 void *argp2 = 0 ;
7858 int res2 = 0 ;
7859 PyObject * obj0 = 0 ;
7860 PyObject * obj1 = 0 ;
7861 char * kwnames[] = {
7862 (char *) "self",(char *) "parent", NULL
7863 };
7864
7865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Dialog_GetParentForModalDialog",kwnames,&obj0,&obj1)) SWIG_fail;
7866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7867 if (!SWIG_IsOK(res1)) {
7868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "1"" of type '" "wxDialog const *""'");
7869 }
7870 arg1 = reinterpret_cast< wxDialog * >(argp1);
7871 if (obj1) {
7872 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7873 if (!SWIG_IsOK(res2)) {
7874 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_GetParentForModalDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
7875 }
7876 arg2 = reinterpret_cast< wxWindow * >(argp2);
7877 }
7878 {
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 result = (wxWindow *)((wxDialog const *)arg1)->GetParentForModalDialog(arg2);
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 {
7885 resultobj = wxPyMake_wxObject(result, 0);
7886 }
7887 return resultobj;
7888 fail:
7889 return NULL;
7890 }
7891
7892
7893 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj = 0;
7895 wxDialog *arg1 = (wxDialog *) 0 ;
7896 wxString *arg2 = 0 ;
7897 wxSizer *result = 0 ;
7898 void *argp1 = 0 ;
7899 int res1 = 0 ;
7900 bool temp2 = false ;
7901 PyObject * obj0 = 0 ;
7902 PyObject * obj1 = 0 ;
7903 char * kwnames[] = {
7904 (char *) "self",(char *) "message", NULL
7905 };
7906
7907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7909 if (!SWIG_IsOK(res1)) {
7910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7911 }
7912 arg1 = reinterpret_cast< wxDialog * >(argp1);
7913 {
7914 arg2 = wxString_in_helper(obj1);
7915 if (arg2 == NULL) SWIG_fail;
7916 temp2 = true;
7917 }
7918 {
7919 PyThreadState* __tstate = wxPyBeginAllowThreads();
7920 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
7924 {
7925 resultobj = wxPyMake_wxObject(result, (bool)0);
7926 }
7927 {
7928 if (temp2)
7929 delete arg2;
7930 }
7931 return resultobj;
7932 fail:
7933 {
7934 if (temp2)
7935 delete arg2;
7936 }
7937 return NULL;
7938 }
7939
7940
7941 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7942 PyObject *resultobj = 0;
7943 wxDialog *arg1 = (wxDialog *) 0 ;
7944 long arg2 ;
7945 wxSizer *result = 0 ;
7946 void *argp1 = 0 ;
7947 int res1 = 0 ;
7948 long val2 ;
7949 int ecode2 = 0 ;
7950 PyObject * obj0 = 0 ;
7951 PyObject * obj1 = 0 ;
7952 char * kwnames[] = {
7953 (char *) "self",(char *) "flags", NULL
7954 };
7955
7956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7958 if (!SWIG_IsOK(res1)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7960 }
7961 arg1 = reinterpret_cast< wxDialog * >(argp1);
7962 ecode2 = SWIG_AsVal_long(obj1, &val2);
7963 if (!SWIG_IsOK(ecode2)) {
7964 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7965 }
7966 arg2 = static_cast< long >(val2);
7967 {
7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7969 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) SWIG_fail;
7972 }
7973 {
7974 resultobj = wxPyMake_wxObject(result, (bool)0);
7975 }
7976 return resultobj;
7977 fail:
7978 return NULL;
7979 }
7980
7981
7982 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj = 0;
7984 wxDialog *arg1 = (wxDialog *) 0 ;
7985 long arg2 ;
7986 wxSizer *result = 0 ;
7987 void *argp1 = 0 ;
7988 int res1 = 0 ;
7989 long val2 ;
7990 int ecode2 = 0 ;
7991 PyObject * obj0 = 0 ;
7992 PyObject * obj1 = 0 ;
7993 char * kwnames[] = {
7994 (char *) "self",(char *) "flags", NULL
7995 };
7996
7997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7999 if (!SWIG_IsOK(res1)) {
8000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
8001 }
8002 arg1 = reinterpret_cast< wxDialog * >(argp1);
8003 ecode2 = SWIG_AsVal_long(obj1, &val2);
8004 if (!SWIG_IsOK(ecode2)) {
8005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
8006 }
8007 arg2 = static_cast< long >(val2);
8008 {
8009 PyThreadState* __tstate = wxPyBeginAllowThreads();
8010 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
8011 wxPyEndAllowThreads(__tstate);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 }
8014 {
8015 resultobj = wxPyMake_wxObject(result, (bool)0);
8016 }
8017 return resultobj;
8018 fail:
8019 return NULL;
8020 }
8021
8022
8023 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8024 PyObject *resultobj = 0;
8025 wxDialog *arg1 = (wxDialog *) 0 ;
8026 long arg2 ;
8027 wxStdDialogButtonSizer *result = 0 ;
8028 void *argp1 = 0 ;
8029 int res1 = 0 ;
8030 long val2 ;
8031 int ecode2 = 0 ;
8032 PyObject * obj0 = 0 ;
8033 PyObject * obj1 = 0 ;
8034 char * kwnames[] = {
8035 (char *) "self",(char *) "flags", NULL
8036 };
8037
8038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
8039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8040 if (!SWIG_IsOK(res1)) {
8041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
8042 }
8043 arg1 = reinterpret_cast< wxDialog * >(argp1);
8044 ecode2 = SWIG_AsVal_long(obj1, &val2);
8045 if (!SWIG_IsOK(ecode2)) {
8046 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
8047 }
8048 arg2 = static_cast< long >(val2);
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8063 PyObject *resultobj = 0;
8064 wxDialog *arg1 = (wxDialog *) 0 ;
8065 bool result;
8066 void *argp1 = 0 ;
8067 int res1 = 0 ;
8068 PyObject *swig_obj[1] ;
8069
8070 if (!args) SWIG_fail;
8071 swig_obj[0] = args;
8072 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8073 if (!SWIG_IsOK(res1)) {
8074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8075 }
8076 arg1 = reinterpret_cast< wxDialog * >(argp1);
8077 {
8078 PyThreadState* __tstate = wxPyBeginAllowThreads();
8079 result = (bool)((wxDialog const *)arg1)->IsModal();
8080 wxPyEndAllowThreads(__tstate);
8081 if (PyErr_Occurred()) SWIG_fail;
8082 }
8083 {
8084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8085 }
8086 return resultobj;
8087 fail:
8088 return NULL;
8089 }
8090
8091
8092 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8093 PyObject *resultobj = 0;
8094 wxDialog *arg1 = (wxDialog *) 0 ;
8095 int result;
8096 void *argp1 = 0 ;
8097 int res1 = 0 ;
8098 PyObject *swig_obj[1] ;
8099
8100 if (!args) SWIG_fail;
8101 swig_obj[0] = args;
8102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8103 if (!SWIG_IsOK(res1)) {
8104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8105 }
8106 arg1 = reinterpret_cast< wxDialog * >(argp1);
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 result = (int)(arg1)->ShowModal();
8110 wxPyEndAllowThreads(__tstate);
8111 if (PyErr_Occurred()) SWIG_fail;
8112 }
8113 resultobj = SWIG_From_int(static_cast< int >(result));
8114 return resultobj;
8115 fail:
8116 return NULL;
8117 }
8118
8119
8120 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8121 PyObject *resultobj = 0;
8122 wxDialog *arg1 = (wxDialog *) 0 ;
8123 int arg2 ;
8124 void *argp1 = 0 ;
8125 int res1 = 0 ;
8126 int val2 ;
8127 int ecode2 = 0 ;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 char * kwnames[] = {
8131 (char *) "self",(char *) "retCode", NULL
8132 };
8133
8134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8136 if (!SWIG_IsOK(res1)) {
8137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8138 }
8139 arg1 = reinterpret_cast< wxDialog * >(argp1);
8140 ecode2 = SWIG_AsVal_int(obj1, &val2);
8141 if (!SWIG_IsOK(ecode2)) {
8142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8143 }
8144 arg2 = static_cast< int >(val2);
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 (arg1)->EndModal(arg2);
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 resultobj = SWIG_Py_Void();
8152 return resultobj;
8153 fail:
8154 return NULL;
8155 }
8156
8157
8158 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8159 PyObject *resultobj = 0;
8160 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8161 SwigValueWrapper<wxVisualAttributes > result;
8162 int val1 ;
8163 int ecode1 = 0 ;
8164 PyObject * obj0 = 0 ;
8165 char * kwnames[] = {
8166 (char *) "variant", NULL
8167 };
8168
8169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8170 if (obj0) {
8171 ecode1 = SWIG_AsVal_int(obj0, &val1);
8172 if (!SWIG_IsOK(ecode1)) {
8173 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8174 }
8175 arg1 = static_cast< wxWindowVariant >(val1);
8176 }
8177 {
8178 if (!wxPyCheckForApp()) SWIG_fail;
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 result = wxDialog::GetClassDefaultAttributes(arg1);
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8185 return resultobj;
8186 fail:
8187 return NULL;
8188 }
8189
8190
8191 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8192 PyObject *obj;
8193 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8194 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8195 return SWIG_Py_Void();
8196 }
8197
8198 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8199 return SWIG_Python_InitShadowInstance(args);
8200 }
8201
8202 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8203 PyObject *resultobj = 0;
8204 wxWindow *arg1 = (wxWindow *) 0 ;
8205 int arg2 = (int) (int)-1 ;
8206 wxString const &arg3_defvalue = wxPyEmptyString ;
8207 wxString *arg3 = (wxString *) &arg3_defvalue ;
8208 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8209 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8210 wxSize const &arg5_defvalue = wxDefaultSize ;
8211 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8212 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8213 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8214 wxString *arg7 = (wxString *) &arg7_defvalue ;
8215 wxMiniFrame *result = 0 ;
8216 void *argp1 = 0 ;
8217 int res1 = 0 ;
8218 int val2 ;
8219 int ecode2 = 0 ;
8220 bool temp3 = false ;
8221 wxPoint temp4 ;
8222 wxSize temp5 ;
8223 long val6 ;
8224 int ecode6 = 0 ;
8225 bool temp7 = false ;
8226 PyObject * obj0 = 0 ;
8227 PyObject * obj1 = 0 ;
8228 PyObject * obj2 = 0 ;
8229 PyObject * obj3 = 0 ;
8230 PyObject * obj4 = 0 ;
8231 PyObject * obj5 = 0 ;
8232 PyObject * obj6 = 0 ;
8233 char * kwnames[] = {
8234 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8235 };
8236
8237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8239 if (!SWIG_IsOK(res1)) {
8240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8241 }
8242 arg1 = reinterpret_cast< wxWindow * >(argp1);
8243 if (obj1) {
8244 ecode2 = SWIG_AsVal_int(obj1, &val2);
8245 if (!SWIG_IsOK(ecode2)) {
8246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8247 }
8248 arg2 = static_cast< int >(val2);
8249 }
8250 if (obj2) {
8251 {
8252 arg3 = wxString_in_helper(obj2);
8253 if (arg3 == NULL) SWIG_fail;
8254 temp3 = true;
8255 }
8256 }
8257 if (obj3) {
8258 {
8259 arg4 = &temp4;
8260 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8261 }
8262 }
8263 if (obj4) {
8264 {
8265 arg5 = &temp5;
8266 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8267 }
8268 }
8269 if (obj5) {
8270 ecode6 = SWIG_AsVal_long(obj5, &val6);
8271 if (!SWIG_IsOK(ecode6)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8273 }
8274 arg6 = static_cast< long >(val6);
8275 }
8276 if (obj6) {
8277 {
8278 arg7 = wxString_in_helper(obj6);
8279 if (arg7 == NULL) SWIG_fail;
8280 temp7 = true;
8281 }
8282 }
8283 {
8284 if (!wxPyCheckForApp()) SWIG_fail;
8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
8286 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8287 wxPyEndAllowThreads(__tstate);
8288 if (PyErr_Occurred()) SWIG_fail;
8289 }
8290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8291 {
8292 if (temp3)
8293 delete arg3;
8294 }
8295 {
8296 if (temp7)
8297 delete arg7;
8298 }
8299 return resultobj;
8300 fail:
8301 {
8302 if (temp3)
8303 delete arg3;
8304 }
8305 {
8306 if (temp7)
8307 delete arg7;
8308 }
8309 return NULL;
8310 }
8311
8312
8313 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8314 PyObject *resultobj = 0;
8315 wxMiniFrame *result = 0 ;
8316
8317 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8318 {
8319 if (!wxPyCheckForApp()) SWIG_fail;
8320 PyThreadState* __tstate = wxPyBeginAllowThreads();
8321 result = (wxMiniFrame *)new wxMiniFrame();
8322 wxPyEndAllowThreads(__tstate);
8323 if (PyErr_Occurred()) SWIG_fail;
8324 }
8325 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8326 return resultobj;
8327 fail:
8328 return NULL;
8329 }
8330
8331
8332 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8333 PyObject *resultobj = 0;
8334 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8335 wxWindow *arg2 = (wxWindow *) 0 ;
8336 int arg3 = (int) (int)-1 ;
8337 wxString const &arg4_defvalue = wxPyEmptyString ;
8338 wxString *arg4 = (wxString *) &arg4_defvalue ;
8339 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8340 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8341 wxSize const &arg6_defvalue = wxDefaultSize ;
8342 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8343 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8344 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8345 wxString *arg8 = (wxString *) &arg8_defvalue ;
8346 bool result;
8347 void *argp1 = 0 ;
8348 int res1 = 0 ;
8349 void *argp2 = 0 ;
8350 int res2 = 0 ;
8351 int val3 ;
8352 int ecode3 = 0 ;
8353 bool temp4 = false ;
8354 wxPoint temp5 ;
8355 wxSize temp6 ;
8356 long val7 ;
8357 int ecode7 = 0 ;
8358 bool temp8 = false ;
8359 PyObject * obj0 = 0 ;
8360 PyObject * obj1 = 0 ;
8361 PyObject * obj2 = 0 ;
8362 PyObject * obj3 = 0 ;
8363 PyObject * obj4 = 0 ;
8364 PyObject * obj5 = 0 ;
8365 PyObject * obj6 = 0 ;
8366 PyObject * obj7 = 0 ;
8367 char * kwnames[] = {
8368 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8369 };
8370
8371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8373 if (!SWIG_IsOK(res1)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8375 }
8376 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8377 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8378 if (!SWIG_IsOK(res2)) {
8379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8380 }
8381 arg2 = reinterpret_cast< wxWindow * >(argp2);
8382 if (obj2) {
8383 ecode3 = SWIG_AsVal_int(obj2, &val3);
8384 if (!SWIG_IsOK(ecode3)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8386 }
8387 arg3 = static_cast< int >(val3);
8388 }
8389 if (obj3) {
8390 {
8391 arg4 = wxString_in_helper(obj3);
8392 if (arg4 == NULL) SWIG_fail;
8393 temp4 = true;
8394 }
8395 }
8396 if (obj4) {
8397 {
8398 arg5 = &temp5;
8399 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8400 }
8401 }
8402 if (obj5) {
8403 {
8404 arg6 = &temp6;
8405 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8406 }
8407 }
8408 if (obj6) {
8409 ecode7 = SWIG_AsVal_long(obj6, &val7);
8410 if (!SWIG_IsOK(ecode7)) {
8411 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8412 }
8413 arg7 = static_cast< long >(val7);
8414 }
8415 if (obj7) {
8416 {
8417 arg8 = wxString_in_helper(obj7);
8418 if (arg8 == NULL) SWIG_fail;
8419 temp8 = true;
8420 }
8421 }
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 {
8429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8430 }
8431 {
8432 if (temp4)
8433 delete arg4;
8434 }
8435 {
8436 if (temp8)
8437 delete arg8;
8438 }
8439 return resultobj;
8440 fail:
8441 {
8442 if (temp4)
8443 delete arg4;
8444 }
8445 {
8446 if (temp8)
8447 delete arg8;
8448 }
8449 return NULL;
8450 }
8451
8452
8453 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8454 PyObject *obj;
8455 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8456 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8457 return SWIG_Py_Void();
8458 }
8459
8460 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8461 return SWIG_Python_InitShadowInstance(args);
8462 }
8463
8464 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj = 0;
8466 wxBitmap *arg1 = 0 ;
8467 wxWindow *arg2 = (wxWindow *) 0 ;
8468 int arg3 ;
8469 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8470 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8471 wxSize const &arg5_defvalue = wxDefaultSize ;
8472 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8473 long arg6 = (long) wxNO_BORDER ;
8474 wxSplashScreenWindow *result = 0 ;
8475 void *argp1 = 0 ;
8476 int res1 = 0 ;
8477 void *argp2 = 0 ;
8478 int res2 = 0 ;
8479 int val3 ;
8480 int ecode3 = 0 ;
8481 wxPoint temp4 ;
8482 wxSize temp5 ;
8483 long val6 ;
8484 int ecode6 = 0 ;
8485 PyObject * obj0 = 0 ;
8486 PyObject * obj1 = 0 ;
8487 PyObject * obj2 = 0 ;
8488 PyObject * obj3 = 0 ;
8489 PyObject * obj4 = 0 ;
8490 PyObject * obj5 = 0 ;
8491 char * kwnames[] = {
8492 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8493 };
8494
8495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8496 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8497 if (!SWIG_IsOK(res1)) {
8498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8499 }
8500 if (!argp1) {
8501 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8502 }
8503 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8504 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8505 if (!SWIG_IsOK(res2)) {
8506 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8507 }
8508 arg2 = reinterpret_cast< wxWindow * >(argp2);
8509 ecode3 = SWIG_AsVal_int(obj2, &val3);
8510 if (!SWIG_IsOK(ecode3)) {
8511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8512 }
8513 arg3 = static_cast< int >(val3);
8514 if (obj3) {
8515 {
8516 arg4 = &temp4;
8517 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8518 }
8519 }
8520 if (obj4) {
8521 {
8522 arg5 = &temp5;
8523 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8524 }
8525 }
8526 if (obj5) {
8527 ecode6 = SWIG_AsVal_long(obj5, &val6);
8528 if (!SWIG_IsOK(ecode6)) {
8529 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8530 }
8531 arg6 = static_cast< long >(val6);
8532 }
8533 {
8534 if (!wxPyCheckForApp()) SWIG_fail;
8535 PyThreadState* __tstate = wxPyBeginAllowThreads();
8536 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8537 wxPyEndAllowThreads(__tstate);
8538 if (PyErr_Occurred()) SWIG_fail;
8539 }
8540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8541 return resultobj;
8542 fail:
8543 return NULL;
8544 }
8545
8546
8547 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8548 PyObject *resultobj = 0;
8549 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8550 wxBitmap *arg2 = 0 ;
8551 void *argp1 = 0 ;
8552 int res1 = 0 ;
8553 void *argp2 = 0 ;
8554 int res2 = 0 ;
8555 PyObject * obj0 = 0 ;
8556 PyObject * obj1 = 0 ;
8557 char * kwnames[] = {
8558 (char *) "self",(char *) "bitmap", NULL
8559 };
8560
8561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8563 if (!SWIG_IsOK(res1)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8565 }
8566 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8567 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8568 if (!SWIG_IsOK(res2)) {
8569 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8570 }
8571 if (!argp2) {
8572 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8573 }
8574 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8575 {
8576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8577 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8578 wxPyEndAllowThreads(__tstate);
8579 if (PyErr_Occurred()) SWIG_fail;
8580 }
8581 resultobj = SWIG_Py_Void();
8582 return resultobj;
8583 fail:
8584 return NULL;
8585 }
8586
8587
8588 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8589 PyObject *resultobj = 0;
8590 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8591 wxBitmap *result = 0 ;
8592 void *argp1 = 0 ;
8593 int res1 = 0 ;
8594 PyObject *swig_obj[1] ;
8595
8596 if (!args) SWIG_fail;
8597 swig_obj[0] = args;
8598 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8599 if (!SWIG_IsOK(res1)) {
8600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8601 }
8602 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8603 {
8604 PyThreadState* __tstate = wxPyBeginAllowThreads();
8605 {
8606 wxBitmap &_result_ref = (arg1)->GetBitmap();
8607 result = (wxBitmap *) &_result_ref;
8608 }
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 {
8613 wxBitmap* resultptr = new wxBitmap(*result);
8614 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8615 }
8616 return resultobj;
8617 fail:
8618 return NULL;
8619 }
8620
8621
8622 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8623 PyObject *obj;
8624 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8625 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8626 return SWIG_Py_Void();
8627 }
8628
8629 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8630 return SWIG_Python_InitShadowInstance(args);
8631 }
8632
8633 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8634 PyObject *resultobj = 0;
8635 wxBitmap *arg1 = 0 ;
8636 long arg2 ;
8637 int arg3 ;
8638 wxWindow *arg4 = (wxWindow *) 0 ;
8639 int arg5 = (int) -1 ;
8640 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8641 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8642 wxSize const &arg7_defvalue = wxDefaultSize ;
8643 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8644 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8645 wxSplashScreen *result = 0 ;
8646 void *argp1 = 0 ;
8647 int res1 = 0 ;
8648 long val2 ;
8649 int ecode2 = 0 ;
8650 int val3 ;
8651 int ecode3 = 0 ;
8652 void *argp4 = 0 ;
8653 int res4 = 0 ;
8654 int val5 ;
8655 int ecode5 = 0 ;
8656 wxPoint temp6 ;
8657 wxSize temp7 ;
8658 long val8 ;
8659 int ecode8 = 0 ;
8660 PyObject * obj0 = 0 ;
8661 PyObject * obj1 = 0 ;
8662 PyObject * obj2 = 0 ;
8663 PyObject * obj3 = 0 ;
8664 PyObject * obj4 = 0 ;
8665 PyObject * obj5 = 0 ;
8666 PyObject * obj6 = 0 ;
8667 PyObject * obj7 = 0 ;
8668 char * kwnames[] = {
8669 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8670 };
8671
8672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8673 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8674 if (!SWIG_IsOK(res1)) {
8675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8676 }
8677 if (!argp1) {
8678 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8679 }
8680 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8681 ecode2 = SWIG_AsVal_long(obj1, &val2);
8682 if (!SWIG_IsOK(ecode2)) {
8683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8684 }
8685 arg2 = static_cast< long >(val2);
8686 ecode3 = SWIG_AsVal_int(obj2, &val3);
8687 if (!SWIG_IsOK(ecode3)) {
8688 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8689 }
8690 arg3 = static_cast< int >(val3);
8691 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8692 if (!SWIG_IsOK(res4)) {
8693 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8694 }
8695 arg4 = reinterpret_cast< wxWindow * >(argp4);
8696 if (obj4) {
8697 ecode5 = SWIG_AsVal_int(obj4, &val5);
8698 if (!SWIG_IsOK(ecode5)) {
8699 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8700 }
8701 arg5 = static_cast< int >(val5);
8702 }
8703 if (obj5) {
8704 {
8705 arg6 = &temp6;
8706 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8707 }
8708 }
8709 if (obj6) {
8710 {
8711 arg7 = &temp7;
8712 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8713 }
8714 }
8715 if (obj7) {
8716 ecode8 = SWIG_AsVal_long(obj7, &val8);
8717 if (!SWIG_IsOK(ecode8)) {
8718 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8719 }
8720 arg8 = static_cast< long >(val8);
8721 }
8722 {
8723 if (!wxPyCheckForApp()) SWIG_fail;
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8726 wxPyEndAllowThreads(__tstate);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 }
8729 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8730 return resultobj;
8731 fail:
8732 return NULL;
8733 }
8734
8735
8736 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8737 PyObject *resultobj = 0;
8738 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8739 long result;
8740 void *argp1 = 0 ;
8741 int res1 = 0 ;
8742 PyObject *swig_obj[1] ;
8743
8744 if (!args) SWIG_fail;
8745 swig_obj[0] = args;
8746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8747 if (!SWIG_IsOK(res1)) {
8748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8749 }
8750 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 resultobj = SWIG_From_long(static_cast< long >(result));
8758 return resultobj;
8759 fail:
8760 return NULL;
8761 }
8762
8763
8764 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8765 PyObject *resultobj = 0;
8766 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8767 wxSplashScreenWindow *result = 0 ;
8768 void *argp1 = 0 ;
8769 int res1 = 0 ;
8770 PyObject *swig_obj[1] ;
8771
8772 if (!args) SWIG_fail;
8773 swig_obj[0] = args;
8774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8775 if (!SWIG_IsOK(res1)) {
8776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8777 }
8778 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8786 return resultobj;
8787 fail:
8788 return NULL;
8789 }
8790
8791
8792 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8793 PyObject *resultobj = 0;
8794 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8795 int result;
8796 void *argp1 = 0 ;
8797 int res1 = 0 ;
8798 PyObject *swig_obj[1] ;
8799
8800 if (!args) SWIG_fail;
8801 swig_obj[0] = args;
8802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8803 if (!SWIG_IsOK(res1)) {
8804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8805 }
8806 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 resultobj = SWIG_From_int(static_cast< int >(result));
8814 return resultobj;
8815 fail:
8816 return NULL;
8817 }
8818
8819
8820 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8821 PyObject *obj;
8822 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8823 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8824 return SWIG_Py_Void();
8825 }
8826
8827 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8828 return SWIG_Python_InitShadowInstance(args);
8829 }
8830
8831 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8832 PyObject *resultobj = 0;
8833 wxWindow *arg1 = (wxWindow *) 0 ;
8834 int arg2 = (int) -1 ;
8835 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8836 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8837 wxString *arg4 = (wxString *) &arg4_defvalue ;
8838 wxStatusBar *result = 0 ;
8839 void *argp1 = 0 ;
8840 int res1 = 0 ;
8841 int val2 ;
8842 int ecode2 = 0 ;
8843 long val3 ;
8844 int ecode3 = 0 ;
8845 bool temp4 = false ;
8846 PyObject * obj0 = 0 ;
8847 PyObject * obj1 = 0 ;
8848 PyObject * obj2 = 0 ;
8849 PyObject * obj3 = 0 ;
8850 char * kwnames[] = {
8851 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8852 };
8853
8854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8856 if (!SWIG_IsOK(res1)) {
8857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8858 }
8859 arg1 = reinterpret_cast< wxWindow * >(argp1);
8860 if (obj1) {
8861 ecode2 = SWIG_AsVal_int(obj1, &val2);
8862 if (!SWIG_IsOK(ecode2)) {
8863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8864 }
8865 arg2 = static_cast< int >(val2);
8866 }
8867 if (obj2) {
8868 ecode3 = SWIG_AsVal_long(obj2, &val3);
8869 if (!SWIG_IsOK(ecode3)) {
8870 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8871 }
8872 arg3 = static_cast< long >(val3);
8873 }
8874 if (obj3) {
8875 {
8876 arg4 = wxString_in_helper(obj3);
8877 if (arg4 == NULL) SWIG_fail;
8878 temp4 = true;
8879 }
8880 }
8881 {
8882 if (!wxPyCheckForApp()) SWIG_fail;
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8889 {
8890 if (temp4)
8891 delete arg4;
8892 }
8893 return resultobj;
8894 fail:
8895 {
8896 if (temp4)
8897 delete arg4;
8898 }
8899 return NULL;
8900 }
8901
8902
8903 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8904 PyObject *resultobj = 0;
8905 wxStatusBar *result = 0 ;
8906
8907 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8908 {
8909 if (!wxPyCheckForApp()) SWIG_fail;
8910 PyThreadState* __tstate = wxPyBeginAllowThreads();
8911 result = (wxStatusBar *)new wxStatusBar();
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8916 return resultobj;
8917 fail:
8918 return NULL;
8919 }
8920
8921
8922 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8923 PyObject *resultobj = 0;
8924 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8925 wxWindow *arg2 = (wxWindow *) 0 ;
8926 int arg3 = (int) -1 ;
8927 long arg4 = (long) wxST_SIZEGRIP ;
8928 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8929 wxString *arg5 = (wxString *) &arg5_defvalue ;
8930 bool result;
8931 void *argp1 = 0 ;
8932 int res1 = 0 ;
8933 void *argp2 = 0 ;
8934 int res2 = 0 ;
8935 int val3 ;
8936 int ecode3 = 0 ;
8937 long val4 ;
8938 int ecode4 = 0 ;
8939 bool temp5 = false ;
8940 PyObject * obj0 = 0 ;
8941 PyObject * obj1 = 0 ;
8942 PyObject * obj2 = 0 ;
8943 PyObject * obj3 = 0 ;
8944 PyObject * obj4 = 0 ;
8945 char * kwnames[] = {
8946 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8947 };
8948
8949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8951 if (!SWIG_IsOK(res1)) {
8952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8953 }
8954 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8955 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8956 if (!SWIG_IsOK(res2)) {
8957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8958 }
8959 arg2 = reinterpret_cast< wxWindow * >(argp2);
8960 if (obj2) {
8961 ecode3 = SWIG_AsVal_int(obj2, &val3);
8962 if (!SWIG_IsOK(ecode3)) {
8963 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8964 }
8965 arg3 = static_cast< int >(val3);
8966 }
8967 if (obj3) {
8968 ecode4 = SWIG_AsVal_long(obj3, &val4);
8969 if (!SWIG_IsOK(ecode4)) {
8970 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8971 }
8972 arg4 = static_cast< long >(val4);
8973 }
8974 if (obj4) {
8975 {
8976 arg5 = wxString_in_helper(obj4);
8977 if (arg5 == NULL) SWIG_fail;
8978 temp5 = true;
8979 }
8980 }
8981 {
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 {
8988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8989 }
8990 {
8991 if (temp5)
8992 delete arg5;
8993 }
8994 return resultobj;
8995 fail:
8996 {
8997 if (temp5)
8998 delete arg5;
8999 }
9000 return NULL;
9001 }
9002
9003
9004 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9005 PyObject *resultobj = 0;
9006 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9007 int arg2 = (int) 1 ;
9008 void *argp1 = 0 ;
9009 int res1 = 0 ;
9010 int val2 ;
9011 int ecode2 = 0 ;
9012 PyObject * obj0 = 0 ;
9013 PyObject * obj1 = 0 ;
9014 char * kwnames[] = {
9015 (char *) "self",(char *) "number", NULL
9016 };
9017
9018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
9019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9020 if (!SWIG_IsOK(res1)) {
9021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9022 }
9023 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9024 if (obj1) {
9025 ecode2 = SWIG_AsVal_int(obj1, &val2);
9026 if (!SWIG_IsOK(ecode2)) {
9027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
9028 }
9029 arg2 = static_cast< int >(val2);
9030 }
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 (arg1)->SetFieldsCount(arg2);
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 resultobj = SWIG_Py_Void();
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9045 PyObject *resultobj = 0;
9046 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9047 int result;
9048 void *argp1 = 0 ;
9049 int res1 = 0 ;
9050 PyObject *swig_obj[1] ;
9051
9052 if (!args) SWIG_fail;
9053 swig_obj[0] = args;
9054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9055 if (!SWIG_IsOK(res1)) {
9056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9057 }
9058 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 resultobj = SWIG_From_int(static_cast< int >(result));
9066 return resultobj;
9067 fail:
9068 return NULL;
9069 }
9070
9071
9072 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj = 0;
9074 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9075 wxString *arg2 = 0 ;
9076 int arg3 = (int) 0 ;
9077 void *argp1 = 0 ;
9078 int res1 = 0 ;
9079 bool temp2 = false ;
9080 int val3 ;
9081 int ecode3 = 0 ;
9082 PyObject * obj0 = 0 ;
9083 PyObject * obj1 = 0 ;
9084 PyObject * obj2 = 0 ;
9085 char * kwnames[] = {
9086 (char *) "self",(char *) "text",(char *) "number", NULL
9087 };
9088
9089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9091 if (!SWIG_IsOK(res1)) {
9092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9093 }
9094 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9095 {
9096 arg2 = wxString_in_helper(obj1);
9097 if (arg2 == NULL) SWIG_fail;
9098 temp2 = true;
9099 }
9100 if (obj2) {
9101 ecode3 = SWIG_AsVal_int(obj2, &val3);
9102 if (!SWIG_IsOK(ecode3)) {
9103 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9104 }
9105 arg3 = static_cast< int >(val3);
9106 }
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
9113 resultobj = SWIG_Py_Void();
9114 {
9115 if (temp2)
9116 delete arg2;
9117 }
9118 return resultobj;
9119 fail:
9120 {
9121 if (temp2)
9122 delete arg2;
9123 }
9124 return NULL;
9125 }
9126
9127
9128 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9129 PyObject *resultobj = 0;
9130 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9131 int arg2 = (int) 0 ;
9132 wxString result;
9133 void *argp1 = 0 ;
9134 int res1 = 0 ;
9135 int val2 ;
9136 int ecode2 = 0 ;
9137 PyObject * obj0 = 0 ;
9138 PyObject * obj1 = 0 ;
9139 char * kwnames[] = {
9140 (char *) "self",(char *) "number", NULL
9141 };
9142
9143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9145 if (!SWIG_IsOK(res1)) {
9146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9147 }
9148 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9149 if (obj1) {
9150 ecode2 = SWIG_AsVal_int(obj1, &val2);
9151 if (!SWIG_IsOK(ecode2)) {
9152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9153 }
9154 arg2 = static_cast< int >(val2);
9155 }
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9159 wxPyEndAllowThreads(__tstate);
9160 if (PyErr_Occurred()) SWIG_fail;
9161 }
9162 {
9163 #if wxUSE_UNICODE
9164 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9165 #else
9166 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9167 #endif
9168 }
9169 return resultobj;
9170 fail:
9171 return NULL;
9172 }
9173
9174
9175 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9176 PyObject *resultobj = 0;
9177 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9178 wxString *arg2 = 0 ;
9179 int arg3 = (int) 0 ;
9180 void *argp1 = 0 ;
9181 int res1 = 0 ;
9182 bool temp2 = false ;
9183 int val3 ;
9184 int ecode3 = 0 ;
9185 PyObject * obj0 = 0 ;
9186 PyObject * obj1 = 0 ;
9187 PyObject * obj2 = 0 ;
9188 char * kwnames[] = {
9189 (char *) "self",(char *) "text",(char *) "number", NULL
9190 };
9191
9192 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9193 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9194 if (!SWIG_IsOK(res1)) {
9195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9196 }
9197 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9198 {
9199 arg2 = wxString_in_helper(obj1);
9200 if (arg2 == NULL) SWIG_fail;
9201 temp2 = true;
9202 }
9203 if (obj2) {
9204 ecode3 = SWIG_AsVal_int(obj2, &val3);
9205 if (!SWIG_IsOK(ecode3)) {
9206 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9207 }
9208 arg3 = static_cast< int >(val3);
9209 }
9210 {
9211 PyThreadState* __tstate = wxPyBeginAllowThreads();
9212 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 resultobj = SWIG_Py_Void();
9217 {
9218 if (temp2)
9219 delete arg2;
9220 }
9221 return resultobj;
9222 fail:
9223 {
9224 if (temp2)
9225 delete arg2;
9226 }
9227 return NULL;
9228 }
9229
9230
9231 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9232 PyObject *resultobj = 0;
9233 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9234 int arg2 = (int) 0 ;
9235 void *argp1 = 0 ;
9236 int res1 = 0 ;
9237 int val2 ;
9238 int ecode2 = 0 ;
9239 PyObject * obj0 = 0 ;
9240 PyObject * obj1 = 0 ;
9241 char * kwnames[] = {
9242 (char *) "self",(char *) "number", NULL
9243 };
9244
9245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9247 if (!SWIG_IsOK(res1)) {
9248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9249 }
9250 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9251 if (obj1) {
9252 ecode2 = SWIG_AsVal_int(obj1, &val2);
9253 if (!SWIG_IsOK(ecode2)) {
9254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9255 }
9256 arg2 = static_cast< int >(val2);
9257 }
9258 {
9259 PyThreadState* __tstate = wxPyBeginAllowThreads();
9260 (arg1)->PopStatusText(arg2);
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 resultobj = SWIG_Py_Void();
9265 return resultobj;
9266 fail:
9267 return NULL;
9268 }
9269
9270
9271 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj = 0;
9273 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9274 int arg2 ;
9275 int *arg3 = (int *) 0 ;
9276 void *argp1 = 0 ;
9277 int res1 = 0 ;
9278 PyObject * obj0 = 0 ;
9279 PyObject * obj1 = 0 ;
9280 char * kwnames[] = {
9281 (char *) "self",(char *) "widths", NULL
9282 };
9283
9284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9286 if (!SWIG_IsOK(res1)) {
9287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9288 }
9289 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9290 {
9291 arg2 = PyList_Size(obj1);
9292 arg3 = int_LIST_helper(obj1);
9293 if (arg3 == NULL) SWIG_fail;
9294 }
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 resultobj = SWIG_Py_Void();
9302 {
9303 if (arg3) delete [] arg3;
9304 }
9305 return resultobj;
9306 fail:
9307 {
9308 if (arg3) delete [] arg3;
9309 }
9310 return NULL;
9311 }
9312
9313
9314 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9315 PyObject *resultobj = 0;
9316 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9317 int arg2 ;
9318 int *arg3 = (int *) 0 ;
9319 void *argp1 = 0 ;
9320 int res1 = 0 ;
9321 PyObject * obj0 = 0 ;
9322 PyObject * obj1 = 0 ;
9323 char * kwnames[] = {
9324 (char *) "self",(char *) "styles", NULL
9325 };
9326
9327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9329 if (!SWIG_IsOK(res1)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9331 }
9332 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9333 {
9334 arg2 = PyList_Size(obj1);
9335 arg3 = int_LIST_helper(obj1);
9336 if (arg3 == NULL) SWIG_fail;
9337 }
9338 {
9339 PyThreadState* __tstate = wxPyBeginAllowThreads();
9340 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9341 wxPyEndAllowThreads(__tstate);
9342 if (PyErr_Occurred()) SWIG_fail;
9343 }
9344 resultobj = SWIG_Py_Void();
9345 {
9346 if (arg3) delete [] arg3;
9347 }
9348 return resultobj;
9349 fail:
9350 {
9351 if (arg3) delete [] arg3;
9352 }
9353 return NULL;
9354 }
9355
9356
9357 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9358 PyObject *resultobj = 0;
9359 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9360 int arg2 ;
9361 wxRect result;
9362 void *argp1 = 0 ;
9363 int res1 = 0 ;
9364 int val2 ;
9365 int ecode2 = 0 ;
9366 PyObject * obj0 = 0 ;
9367 PyObject * obj1 = 0 ;
9368 char * kwnames[] = {
9369 (char *) "self",(char *) "i", NULL
9370 };
9371
9372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9374 if (!SWIG_IsOK(res1)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9376 }
9377 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9378 ecode2 = SWIG_AsVal_int(obj1, &val2);
9379 if (!SWIG_IsOK(ecode2)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9381 }
9382 arg2 = static_cast< int >(val2);
9383 {
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 result = wxStatusBar_GetFieldRect(arg1,arg2);
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9390 return resultobj;
9391 fail:
9392 return NULL;
9393 }
9394
9395
9396 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9397 PyObject *resultobj = 0;
9398 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9399 int arg2 ;
9400 void *argp1 = 0 ;
9401 int res1 = 0 ;
9402 int val2 ;
9403 int ecode2 = 0 ;
9404 PyObject * obj0 = 0 ;
9405 PyObject * obj1 = 0 ;
9406 char * kwnames[] = {
9407 (char *) "self",(char *) "height", NULL
9408 };
9409
9410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9412 if (!SWIG_IsOK(res1)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9414 }
9415 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9416 ecode2 = SWIG_AsVal_int(obj1, &val2);
9417 if (!SWIG_IsOK(ecode2)) {
9418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9419 }
9420 arg2 = static_cast< int >(val2);
9421 {
9422 PyThreadState* __tstate = wxPyBeginAllowThreads();
9423 (arg1)->SetMinHeight(arg2);
9424 wxPyEndAllowThreads(__tstate);
9425 if (PyErr_Occurred()) SWIG_fail;
9426 }
9427 resultobj = SWIG_Py_Void();
9428 return resultobj;
9429 fail:
9430 return NULL;
9431 }
9432
9433
9434 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9435 PyObject *resultobj = 0;
9436 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9437 int result;
9438 void *argp1 = 0 ;
9439 int res1 = 0 ;
9440 PyObject *swig_obj[1] ;
9441
9442 if (!args) SWIG_fail;
9443 swig_obj[0] = args;
9444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9445 if (!SWIG_IsOK(res1)) {
9446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9447 }
9448 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9452 wxPyEndAllowThreads(__tstate);
9453 if (PyErr_Occurred()) SWIG_fail;
9454 }
9455 resultobj = SWIG_From_int(static_cast< int >(result));
9456 return resultobj;
9457 fail:
9458 return NULL;
9459 }
9460
9461
9462 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9463 PyObject *resultobj = 0;
9464 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9465 int result;
9466 void *argp1 = 0 ;
9467 int res1 = 0 ;
9468 PyObject *swig_obj[1] ;
9469
9470 if (!args) SWIG_fail;
9471 swig_obj[0] = args;
9472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9473 if (!SWIG_IsOK(res1)) {
9474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9475 }
9476 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 resultobj = SWIG_From_int(static_cast< int >(result));
9484 return resultobj;
9485 fail:
9486 return NULL;
9487 }
9488
9489
9490 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj = 0;
9492 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9493 SwigValueWrapper<wxVisualAttributes > result;
9494 int val1 ;
9495 int ecode1 = 0 ;
9496 PyObject * obj0 = 0 ;
9497 char * kwnames[] = {
9498 (char *) "variant", NULL
9499 };
9500
9501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9502 if (obj0) {
9503 ecode1 = SWIG_AsVal_int(obj0, &val1);
9504 if (!SWIG_IsOK(ecode1)) {
9505 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9506 }
9507 arg1 = static_cast< wxWindowVariant >(val1);
9508 }
9509 {
9510 if (!wxPyCheckForApp()) SWIG_fail;
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9517 return resultobj;
9518 fail:
9519 return NULL;
9520 }
9521
9522
9523 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9524 PyObject *obj;
9525 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9526 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9527 return SWIG_Py_Void();
9528 }
9529
9530 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9531 return SWIG_Python_InitShadowInstance(args);
9532 }
9533
9534 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9535 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9536 return 1;
9537 }
9538
9539
9540 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9541 PyObject *pyobj = 0;
9542
9543 {
9544 #if wxUSE_UNICODE
9545 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9546 #else
9547 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9548 #endif
9549 }
9550 return pyobj;
9551 }
9552
9553
9554 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9555 PyObject *resultobj = 0;
9556 wxWindow *arg1 = (wxWindow *) 0 ;
9557 int arg2 = (int) -1 ;
9558 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9559 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9560 wxSize const &arg4_defvalue = wxDefaultSize ;
9561 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9562 long arg5 = (long) wxSP_3D ;
9563 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9564 wxString *arg6 = (wxString *) &arg6_defvalue ;
9565 wxSplitterWindow *result = 0 ;
9566 void *argp1 = 0 ;
9567 int res1 = 0 ;
9568 int val2 ;
9569 int ecode2 = 0 ;
9570 wxPoint temp3 ;
9571 wxSize temp4 ;
9572 long val5 ;
9573 int ecode5 = 0 ;
9574 bool temp6 = false ;
9575 PyObject * obj0 = 0 ;
9576 PyObject * obj1 = 0 ;
9577 PyObject * obj2 = 0 ;
9578 PyObject * obj3 = 0 ;
9579 PyObject * obj4 = 0 ;
9580 PyObject * obj5 = 0 ;
9581 char * kwnames[] = {
9582 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9583 };
9584
9585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9587 if (!SWIG_IsOK(res1)) {
9588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9589 }
9590 arg1 = reinterpret_cast< wxWindow * >(argp1);
9591 if (obj1) {
9592 ecode2 = SWIG_AsVal_int(obj1, &val2);
9593 if (!SWIG_IsOK(ecode2)) {
9594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9595 }
9596 arg2 = static_cast< int >(val2);
9597 }
9598 if (obj2) {
9599 {
9600 arg3 = &temp3;
9601 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9602 }
9603 }
9604 if (obj3) {
9605 {
9606 arg4 = &temp4;
9607 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9608 }
9609 }
9610 if (obj4) {
9611 ecode5 = SWIG_AsVal_long(obj4, &val5);
9612 if (!SWIG_IsOK(ecode5)) {
9613 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9614 }
9615 arg5 = static_cast< long >(val5);
9616 }
9617 if (obj5) {
9618 {
9619 arg6 = wxString_in_helper(obj5);
9620 if (arg6 == NULL) SWIG_fail;
9621 temp6 = true;
9622 }
9623 }
9624 {
9625 if (!wxPyCheckForApp()) SWIG_fail;
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9628 wxPyEndAllowThreads(__tstate);
9629 if (PyErr_Occurred()) SWIG_fail;
9630 }
9631 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9632 {
9633 if (temp6)
9634 delete arg6;
9635 }
9636 return resultobj;
9637 fail:
9638 {
9639 if (temp6)
9640 delete arg6;
9641 }
9642 return NULL;
9643 }
9644
9645
9646 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9647 PyObject *resultobj = 0;
9648 wxSplitterWindow *result = 0 ;
9649
9650 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9651 {
9652 if (!wxPyCheckForApp()) SWIG_fail;
9653 PyThreadState* __tstate = wxPyBeginAllowThreads();
9654 result = (wxSplitterWindow *)new wxSplitterWindow();
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9659 return resultobj;
9660 fail:
9661 return NULL;
9662 }
9663
9664
9665 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9666 PyObject *resultobj = 0;
9667 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9668 wxWindow *arg2 = (wxWindow *) 0 ;
9669 int arg3 = (int) -1 ;
9670 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9671 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9672 wxSize const &arg5_defvalue = wxDefaultSize ;
9673 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9674 long arg6 = (long) wxSP_3D ;
9675 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9676 wxString *arg7 = (wxString *) &arg7_defvalue ;
9677 bool result;
9678 void *argp1 = 0 ;
9679 int res1 = 0 ;
9680 void *argp2 = 0 ;
9681 int res2 = 0 ;
9682 int val3 ;
9683 int ecode3 = 0 ;
9684 wxPoint temp4 ;
9685 wxSize temp5 ;
9686 long val6 ;
9687 int ecode6 = 0 ;
9688 bool temp7 = false ;
9689 PyObject * obj0 = 0 ;
9690 PyObject * obj1 = 0 ;
9691 PyObject * obj2 = 0 ;
9692 PyObject * obj3 = 0 ;
9693 PyObject * obj4 = 0 ;
9694 PyObject * obj5 = 0 ;
9695 PyObject * obj6 = 0 ;
9696 char * kwnames[] = {
9697 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9698 };
9699
9700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9702 if (!SWIG_IsOK(res1)) {
9703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9704 }
9705 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9706 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9707 if (!SWIG_IsOK(res2)) {
9708 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9709 }
9710 arg2 = reinterpret_cast< wxWindow * >(argp2);
9711 if (obj2) {
9712 ecode3 = SWIG_AsVal_int(obj2, &val3);
9713 if (!SWIG_IsOK(ecode3)) {
9714 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9715 }
9716 arg3 = static_cast< int >(val3);
9717 }
9718 if (obj3) {
9719 {
9720 arg4 = &temp4;
9721 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9722 }
9723 }
9724 if (obj4) {
9725 {
9726 arg5 = &temp5;
9727 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9728 }
9729 }
9730 if (obj5) {
9731 ecode6 = SWIG_AsVal_long(obj5, &val6);
9732 if (!SWIG_IsOK(ecode6)) {
9733 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9734 }
9735 arg6 = static_cast< long >(val6);
9736 }
9737 if (obj6) {
9738 {
9739 arg7 = wxString_in_helper(obj6);
9740 if (arg7 == NULL) SWIG_fail;
9741 temp7 = true;
9742 }
9743 }
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 {
9751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9752 }
9753 {
9754 if (temp7)
9755 delete arg7;
9756 }
9757 return resultobj;
9758 fail:
9759 {
9760 if (temp7)
9761 delete arg7;
9762 }
9763 return NULL;
9764 }
9765
9766
9767 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9768 PyObject *resultobj = 0;
9769 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9770 wxWindow *result = 0 ;
9771 void *argp1 = 0 ;
9772 int res1 = 0 ;
9773 PyObject *swig_obj[1] ;
9774
9775 if (!args) SWIG_fail;
9776 swig_obj[0] = args;
9777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9778 if (!SWIG_IsOK(res1)) {
9779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9780 }
9781 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9785 wxPyEndAllowThreads(__tstate);
9786 if (PyErr_Occurred()) SWIG_fail;
9787 }
9788 {
9789 resultobj = wxPyMake_wxObject(result, 0);
9790 }
9791 return resultobj;
9792 fail:
9793 return NULL;
9794 }
9795
9796
9797 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9798 PyObject *resultobj = 0;
9799 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9800 wxWindow *result = 0 ;
9801 void *argp1 = 0 ;
9802 int res1 = 0 ;
9803 PyObject *swig_obj[1] ;
9804
9805 if (!args) SWIG_fail;
9806 swig_obj[0] = args;
9807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9808 if (!SWIG_IsOK(res1)) {
9809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9810 }
9811 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9815 wxPyEndAllowThreads(__tstate);
9816 if (PyErr_Occurred()) SWIG_fail;
9817 }
9818 {
9819 resultobj = wxPyMake_wxObject(result, 0);
9820 }
9821 return resultobj;
9822 fail:
9823 return NULL;
9824 }
9825
9826
9827 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9828 PyObject *resultobj = 0;
9829 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9830 int arg2 ;
9831 void *argp1 = 0 ;
9832 int res1 = 0 ;
9833 int val2 ;
9834 int ecode2 = 0 ;
9835 PyObject * obj0 = 0 ;
9836 PyObject * obj1 = 0 ;
9837 char * kwnames[] = {
9838 (char *) "self",(char *) "mode", NULL
9839 };
9840
9841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9843 if (!SWIG_IsOK(res1)) {
9844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9845 }
9846 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9847 ecode2 = SWIG_AsVal_int(obj1, &val2);
9848 if (!SWIG_IsOK(ecode2)) {
9849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9850 }
9851 arg2 = static_cast< int >(val2);
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 (arg1)->SetSplitMode(arg2);
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 resultobj = SWIG_Py_Void();
9859 return resultobj;
9860 fail:
9861 return NULL;
9862 }
9863
9864
9865 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9866 PyObject *resultobj = 0;
9867 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9868 wxSplitMode result;
9869 void *argp1 = 0 ;
9870 int res1 = 0 ;
9871 PyObject *swig_obj[1] ;
9872
9873 if (!args) SWIG_fail;
9874 swig_obj[0] = args;
9875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9876 if (!SWIG_IsOK(res1)) {
9877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9878 }
9879 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9883 wxPyEndAllowThreads(__tstate);
9884 if (PyErr_Occurred()) SWIG_fail;
9885 }
9886 resultobj = SWIG_From_int(static_cast< int >(result));
9887 return resultobj;
9888 fail:
9889 return NULL;
9890 }
9891
9892
9893 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj = 0;
9895 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9896 wxWindow *arg2 = (wxWindow *) 0 ;
9897 void *argp1 = 0 ;
9898 int res1 = 0 ;
9899 void *argp2 = 0 ;
9900 int res2 = 0 ;
9901 PyObject * obj0 = 0 ;
9902 PyObject * obj1 = 0 ;
9903 char * kwnames[] = {
9904 (char *) "self",(char *) "window", NULL
9905 };
9906
9907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9909 if (!SWIG_IsOK(res1)) {
9910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9911 }
9912 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9913 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9914 if (!SWIG_IsOK(res2)) {
9915 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9916 }
9917 arg2 = reinterpret_cast< wxWindow * >(argp2);
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 (arg1)->Initialize(arg2);
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 resultobj = SWIG_Py_Void();
9925 return resultobj;
9926 fail:
9927 return NULL;
9928 }
9929
9930
9931 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9932 PyObject *resultobj = 0;
9933 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9934 wxWindow *arg2 = (wxWindow *) 0 ;
9935 wxWindow *arg3 = (wxWindow *) 0 ;
9936 int arg4 = (int) 0 ;
9937 bool result;
9938 void *argp1 = 0 ;
9939 int res1 = 0 ;
9940 void *argp2 = 0 ;
9941 int res2 = 0 ;
9942 void *argp3 = 0 ;
9943 int res3 = 0 ;
9944 int val4 ;
9945 int ecode4 = 0 ;
9946 PyObject * obj0 = 0 ;
9947 PyObject * obj1 = 0 ;
9948 PyObject * obj2 = 0 ;
9949 PyObject * obj3 = 0 ;
9950 char * kwnames[] = {
9951 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9952 };
9953
9954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9956 if (!SWIG_IsOK(res1)) {
9957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9958 }
9959 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9960 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9961 if (!SWIG_IsOK(res2)) {
9962 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9963 }
9964 arg2 = reinterpret_cast< wxWindow * >(argp2);
9965 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9966 if (!SWIG_IsOK(res3)) {
9967 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9968 }
9969 arg3 = reinterpret_cast< wxWindow * >(argp3);
9970 if (obj3) {
9971 ecode4 = SWIG_AsVal_int(obj3, &val4);
9972 if (!SWIG_IsOK(ecode4)) {
9973 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9974 }
9975 arg4 = static_cast< int >(val4);
9976 }
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 {
9984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9985 }
9986 return resultobj;
9987 fail:
9988 return NULL;
9989 }
9990
9991
9992 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9993 PyObject *resultobj = 0;
9994 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9995 wxWindow *arg2 = (wxWindow *) 0 ;
9996 wxWindow *arg3 = (wxWindow *) 0 ;
9997 int arg4 = (int) 0 ;
9998 bool result;
9999 void *argp1 = 0 ;
10000 int res1 = 0 ;
10001 void *argp2 = 0 ;
10002 int res2 = 0 ;
10003 void *argp3 = 0 ;
10004 int res3 = 0 ;
10005 int val4 ;
10006 int ecode4 = 0 ;
10007 PyObject * obj0 = 0 ;
10008 PyObject * obj1 = 0 ;
10009 PyObject * obj2 = 0 ;
10010 PyObject * obj3 = 0 ;
10011 char * kwnames[] = {
10012 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
10013 };
10014
10015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10017 if (!SWIG_IsOK(res1)) {
10018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10019 }
10020 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10021 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10022 if (!SWIG_IsOK(res2)) {
10023 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
10024 }
10025 arg2 = reinterpret_cast< wxWindow * >(argp2);
10026 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10027 if (!SWIG_IsOK(res3)) {
10028 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
10029 }
10030 arg3 = reinterpret_cast< wxWindow * >(argp3);
10031 if (obj3) {
10032 ecode4 = SWIG_AsVal_int(obj3, &val4);
10033 if (!SWIG_IsOK(ecode4)) {
10034 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
10035 }
10036 arg4 = static_cast< int >(val4);
10037 }
10038 {
10039 PyThreadState* __tstate = wxPyBeginAllowThreads();
10040 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
10041 wxPyEndAllowThreads(__tstate);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 {
10045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10046 }
10047 return resultobj;
10048 fail:
10049 return NULL;
10050 }
10051
10052
10053 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10054 PyObject *resultobj = 0;
10055 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10056 wxWindow *arg2 = (wxWindow *) NULL ;
10057 bool result;
10058 void *argp1 = 0 ;
10059 int res1 = 0 ;
10060 void *argp2 = 0 ;
10061 int res2 = 0 ;
10062 PyObject * obj0 = 0 ;
10063 PyObject * obj1 = 0 ;
10064 char * kwnames[] = {
10065 (char *) "self",(char *) "toRemove", NULL
10066 };
10067
10068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
10069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10070 if (!SWIG_IsOK(res1)) {
10071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10072 }
10073 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10074 if (obj1) {
10075 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10076 if (!SWIG_IsOK(res2)) {
10077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10078 }
10079 arg2 = reinterpret_cast< wxWindow * >(argp2);
10080 }
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 result = (bool)(arg1)->Unsplit(arg2);
10084 wxPyEndAllowThreads(__tstate);
10085 if (PyErr_Occurred()) SWIG_fail;
10086 }
10087 {
10088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10089 }
10090 return resultobj;
10091 fail:
10092 return NULL;
10093 }
10094
10095
10096 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10097 PyObject *resultobj = 0;
10098 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10099 wxWindow *arg2 = (wxWindow *) 0 ;
10100 wxWindow *arg3 = (wxWindow *) 0 ;
10101 bool result;
10102 void *argp1 = 0 ;
10103 int res1 = 0 ;
10104 void *argp2 = 0 ;
10105 int res2 = 0 ;
10106 void *argp3 = 0 ;
10107 int res3 = 0 ;
10108 PyObject * obj0 = 0 ;
10109 PyObject * obj1 = 0 ;
10110 PyObject * obj2 = 0 ;
10111 char * kwnames[] = {
10112 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10113 };
10114
10115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10117 if (!SWIG_IsOK(res1)) {
10118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10119 }
10120 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10121 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10122 if (!SWIG_IsOK(res2)) {
10123 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10124 }
10125 arg2 = reinterpret_cast< wxWindow * >(argp2);
10126 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10127 if (!SWIG_IsOK(res3)) {
10128 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10129 }
10130 arg3 = reinterpret_cast< wxWindow * >(argp3);
10131 {
10132 PyThreadState* __tstate = wxPyBeginAllowThreads();
10133 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 {
10138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10139 }
10140 return resultobj;
10141 fail:
10142 return NULL;
10143 }
10144
10145
10146 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10147 PyObject *resultobj = 0;
10148 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10149 void *argp1 = 0 ;
10150 int res1 = 0 ;
10151 PyObject *swig_obj[1] ;
10152
10153 if (!args) SWIG_fail;
10154 swig_obj[0] = args;
10155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10156 if (!SWIG_IsOK(res1)) {
10157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10158 }
10159 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10160 {
10161 PyThreadState* __tstate = wxPyBeginAllowThreads();
10162 (arg1)->UpdateSize();
10163 wxPyEndAllowThreads(__tstate);
10164 if (PyErr_Occurred()) SWIG_fail;
10165 }
10166 resultobj = SWIG_Py_Void();
10167 return resultobj;
10168 fail:
10169 return NULL;
10170 }
10171
10172
10173 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10174 PyObject *resultobj = 0;
10175 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10176 bool result;
10177 void *argp1 = 0 ;
10178 int res1 = 0 ;
10179 PyObject *swig_obj[1] ;
10180
10181 if (!args) SWIG_fail;
10182 swig_obj[0] = args;
10183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10184 if (!SWIG_IsOK(res1)) {
10185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10186 }
10187 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10188 {
10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
10190 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10191 wxPyEndAllowThreads(__tstate);
10192 if (PyErr_Occurred()) SWIG_fail;
10193 }
10194 {
10195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10196 }
10197 return resultobj;
10198 fail:
10199 return NULL;
10200 }
10201
10202
10203 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10204 PyObject *resultobj = 0;
10205 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10206 int arg2 ;
10207 void *argp1 = 0 ;
10208 int res1 = 0 ;
10209 int val2 ;
10210 int ecode2 = 0 ;
10211 PyObject * obj0 = 0 ;
10212 PyObject * obj1 = 0 ;
10213 char * kwnames[] = {
10214 (char *) "self",(char *) "width", NULL
10215 };
10216
10217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10219 if (!SWIG_IsOK(res1)) {
10220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10221 }
10222 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10223 ecode2 = SWIG_AsVal_int(obj1, &val2);
10224 if (!SWIG_IsOK(ecode2)) {
10225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10226 }
10227 arg2 = static_cast< int >(val2);
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 (arg1)->SetSashSize(arg2);
10231 wxPyEndAllowThreads(__tstate);
10232 if (PyErr_Occurred()) SWIG_fail;
10233 }
10234 resultobj = SWIG_Py_Void();
10235 return resultobj;
10236 fail:
10237 return NULL;
10238 }
10239
10240
10241 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10242 PyObject *resultobj = 0;
10243 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10244 int arg2 ;
10245 void *argp1 = 0 ;
10246 int res1 = 0 ;
10247 int val2 ;
10248 int ecode2 = 0 ;
10249 PyObject * obj0 = 0 ;
10250 PyObject * obj1 = 0 ;
10251 char * kwnames[] = {
10252 (char *) "self",(char *) "width", NULL
10253 };
10254
10255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10257 if (!SWIG_IsOK(res1)) {
10258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10259 }
10260 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10261 ecode2 = SWIG_AsVal_int(obj1, &val2);
10262 if (!SWIG_IsOK(ecode2)) {
10263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10264 }
10265 arg2 = static_cast< int >(val2);
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 (arg1)->SetBorderSize(arg2);
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
10272 resultobj = SWIG_Py_Void();
10273 return resultobj;
10274 fail:
10275 return NULL;
10276 }
10277
10278
10279 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10280 PyObject *resultobj = 0;
10281 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10282 int result;
10283 void *argp1 = 0 ;
10284 int res1 = 0 ;
10285 PyObject *swig_obj[1] ;
10286
10287 if (!args) SWIG_fail;
10288 swig_obj[0] = args;
10289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10290 if (!SWIG_IsOK(res1)) {
10291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10292 }
10293 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10294 {
10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
10296 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10297 wxPyEndAllowThreads(__tstate);
10298 if (PyErr_Occurred()) SWIG_fail;
10299 }
10300 resultobj = SWIG_From_int(static_cast< int >(result));
10301 return resultobj;
10302 fail:
10303 return NULL;
10304 }
10305
10306
10307 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10308 PyObject *resultobj = 0;
10309 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10310 int result;
10311 void *argp1 = 0 ;
10312 int res1 = 0 ;
10313 PyObject *swig_obj[1] ;
10314
10315 if (!args) SWIG_fail;
10316 swig_obj[0] = args;
10317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10318 if (!SWIG_IsOK(res1)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10320 }
10321 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10325 wxPyEndAllowThreads(__tstate);
10326 if (PyErr_Occurred()) SWIG_fail;
10327 }
10328 resultobj = SWIG_From_int(static_cast< int >(result));
10329 return resultobj;
10330 fail:
10331 return NULL;
10332 }
10333
10334
10335 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10336 PyObject *resultobj = 0;
10337 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10338 int arg2 ;
10339 bool arg3 = (bool) true ;
10340 void *argp1 = 0 ;
10341 int res1 = 0 ;
10342 int val2 ;
10343 int ecode2 = 0 ;
10344 bool val3 ;
10345 int ecode3 = 0 ;
10346 PyObject * obj0 = 0 ;
10347 PyObject * obj1 = 0 ;
10348 PyObject * obj2 = 0 ;
10349 char * kwnames[] = {
10350 (char *) "self",(char *) "position",(char *) "redraw", NULL
10351 };
10352
10353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10355 if (!SWIG_IsOK(res1)) {
10356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10357 }
10358 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10359 ecode2 = SWIG_AsVal_int(obj1, &val2);
10360 if (!SWIG_IsOK(ecode2)) {
10361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10362 }
10363 arg2 = static_cast< int >(val2);
10364 if (obj2) {
10365 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10366 if (!SWIG_IsOK(ecode3)) {
10367 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10368 }
10369 arg3 = static_cast< bool >(val3);
10370 }
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 (arg1)->SetSashPosition(arg2,arg3);
10374 wxPyEndAllowThreads(__tstate);
10375 if (PyErr_Occurred()) SWIG_fail;
10376 }
10377 resultobj = SWIG_Py_Void();
10378 return resultobj;
10379 fail:
10380 return NULL;
10381 }
10382
10383
10384 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10385 PyObject *resultobj = 0;
10386 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10387 int result;
10388 void *argp1 = 0 ;
10389 int res1 = 0 ;
10390 PyObject *swig_obj[1] ;
10391
10392 if (!args) SWIG_fail;
10393 swig_obj[0] = args;
10394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10395 if (!SWIG_IsOK(res1)) {
10396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10397 }
10398 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10399 {
10400 PyThreadState* __tstate = wxPyBeginAllowThreads();
10401 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 }
10405 resultobj = SWIG_From_int(static_cast< int >(result));
10406 return resultobj;
10407 fail:
10408 return NULL;
10409 }
10410
10411
10412 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10413 PyObject *resultobj = 0;
10414 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10415 double arg2 ;
10416 void *argp1 = 0 ;
10417 int res1 = 0 ;
10418 double val2 ;
10419 int ecode2 = 0 ;
10420 PyObject * obj0 = 0 ;
10421 PyObject * obj1 = 0 ;
10422 char * kwnames[] = {
10423 (char *) "self",(char *) "gravity", NULL
10424 };
10425
10426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10428 if (!SWIG_IsOK(res1)) {
10429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10430 }
10431 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10432 ecode2 = SWIG_AsVal_double(obj1, &val2);
10433 if (!SWIG_IsOK(ecode2)) {
10434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10435 }
10436 arg2 = static_cast< double >(val2);
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 (arg1)->SetSashGravity(arg2);
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 resultobj = SWIG_Py_Void();
10444 return resultobj;
10445 fail:
10446 return NULL;
10447 }
10448
10449
10450 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10451 PyObject *resultobj = 0;
10452 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10453 double result;
10454 void *argp1 = 0 ;
10455 int res1 = 0 ;
10456 PyObject *swig_obj[1] ;
10457
10458 if (!args) SWIG_fail;
10459 swig_obj[0] = args;
10460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10461 if (!SWIG_IsOK(res1)) {
10462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10463 }
10464 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10468 wxPyEndAllowThreads(__tstate);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
10471 resultobj = SWIG_From_double(static_cast< double >(result));
10472 return resultobj;
10473 fail:
10474 return NULL;
10475 }
10476
10477
10478 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10479 PyObject *resultobj = 0;
10480 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10481 int arg2 ;
10482 void *argp1 = 0 ;
10483 int res1 = 0 ;
10484 int val2 ;
10485 int ecode2 = 0 ;
10486 PyObject * obj0 = 0 ;
10487 PyObject * obj1 = 0 ;
10488 char * kwnames[] = {
10489 (char *) "self",(char *) "min", NULL
10490 };
10491
10492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10494 if (!SWIG_IsOK(res1)) {
10495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10496 }
10497 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10498 ecode2 = SWIG_AsVal_int(obj1, &val2);
10499 if (!SWIG_IsOK(ecode2)) {
10500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10501 }
10502 arg2 = static_cast< int >(val2);
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 (arg1)->SetMinimumPaneSize(arg2);
10506 wxPyEndAllowThreads(__tstate);
10507 if (PyErr_Occurred()) SWIG_fail;
10508 }
10509 resultobj = SWIG_Py_Void();
10510 return resultobj;
10511 fail:
10512 return NULL;
10513 }
10514
10515
10516 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10517 PyObject *resultobj = 0;
10518 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10519 int result;
10520 void *argp1 = 0 ;
10521 int res1 = 0 ;
10522 PyObject *swig_obj[1] ;
10523
10524 if (!args) SWIG_fail;
10525 swig_obj[0] = args;
10526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10527 if (!SWIG_IsOK(res1)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10529 }
10530 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 resultobj = SWIG_From_int(static_cast< int >(result));
10538 return resultobj;
10539 fail:
10540 return NULL;
10541 }
10542
10543
10544 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10545 PyObject *resultobj = 0;
10546 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10547 int arg2 ;
10548 int arg3 ;
10549 int arg4 = (int) 5 ;
10550 bool result;
10551 void *argp1 = 0 ;
10552 int res1 = 0 ;
10553 int val2 ;
10554 int ecode2 = 0 ;
10555 int val3 ;
10556 int ecode3 = 0 ;
10557 int val4 ;
10558 int ecode4 = 0 ;
10559 PyObject * obj0 = 0 ;
10560 PyObject * obj1 = 0 ;
10561 PyObject * obj2 = 0 ;
10562 PyObject * obj3 = 0 ;
10563 char * kwnames[] = {
10564 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10565 };
10566
10567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10569 if (!SWIG_IsOK(res1)) {
10570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10571 }
10572 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10573 ecode2 = SWIG_AsVal_int(obj1, &val2);
10574 if (!SWIG_IsOK(ecode2)) {
10575 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10576 }
10577 arg2 = static_cast< int >(val2);
10578 ecode3 = SWIG_AsVal_int(obj2, &val3);
10579 if (!SWIG_IsOK(ecode3)) {
10580 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10581 }
10582 arg3 = static_cast< int >(val3);
10583 if (obj3) {
10584 ecode4 = SWIG_AsVal_int(obj3, &val4);
10585 if (!SWIG_IsOK(ecode4)) {
10586 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10587 }
10588 arg4 = static_cast< int >(val4);
10589 }
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 {
10597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10598 }
10599 return resultobj;
10600 fail:
10601 return NULL;
10602 }
10603
10604
10605 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10606 PyObject *resultobj = 0;
10607 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10608 void *argp1 = 0 ;
10609 int res1 = 0 ;
10610 PyObject *swig_obj[1] ;
10611
10612 if (!args) SWIG_fail;
10613 swig_obj[0] = args;
10614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10615 if (!SWIG_IsOK(res1)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10617 }
10618 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10619 {
10620 PyThreadState* __tstate = wxPyBeginAllowThreads();
10621 (arg1)->SizeWindows();
10622 wxPyEndAllowThreads(__tstate);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 resultobj = SWIG_Py_Void();
10626 return resultobj;
10627 fail:
10628 return NULL;
10629 }
10630
10631
10632 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10633 PyObject *resultobj = 0;
10634 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10635 bool arg2 ;
10636 void *argp1 = 0 ;
10637 int res1 = 0 ;
10638 bool val2 ;
10639 int ecode2 = 0 ;
10640 PyObject * obj0 = 0 ;
10641 PyObject * obj1 = 0 ;
10642 char * kwnames[] = {
10643 (char *) "self",(char *) "needUpdating", NULL
10644 };
10645
10646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10648 if (!SWIG_IsOK(res1)) {
10649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10650 }
10651 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10652 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10653 if (!SWIG_IsOK(ecode2)) {
10654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10655 }
10656 arg2 = static_cast< bool >(val2);
10657 {
10658 PyThreadState* __tstate = wxPyBeginAllowThreads();
10659 (arg1)->SetNeedUpdating(arg2);
10660 wxPyEndAllowThreads(__tstate);
10661 if (PyErr_Occurred()) SWIG_fail;
10662 }
10663 resultobj = SWIG_Py_Void();
10664 return resultobj;
10665 fail:
10666 return NULL;
10667 }
10668
10669
10670 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10671 PyObject *resultobj = 0;
10672 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10673 bool result;
10674 void *argp1 = 0 ;
10675 int res1 = 0 ;
10676 PyObject *swig_obj[1] ;
10677
10678 if (!args) SWIG_fail;
10679 swig_obj[0] = args;
10680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10681 if (!SWIG_IsOK(res1)) {
10682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10683 }
10684 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 {
10692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10693 }
10694 return resultobj;
10695 fail:
10696 return NULL;
10697 }
10698
10699
10700 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10701 PyObject *resultobj = 0;
10702 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10703 SwigValueWrapper<wxVisualAttributes > result;
10704 int val1 ;
10705 int ecode1 = 0 ;
10706 PyObject * obj0 = 0 ;
10707 char * kwnames[] = {
10708 (char *) "variant", NULL
10709 };
10710
10711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10712 if (obj0) {
10713 ecode1 = SWIG_AsVal_int(obj0, &val1);
10714 if (!SWIG_IsOK(ecode1)) {
10715 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10716 }
10717 arg1 = static_cast< wxWindowVariant >(val1);
10718 }
10719 {
10720 if (!wxPyCheckForApp()) SWIG_fail;
10721 PyThreadState* __tstate = wxPyBeginAllowThreads();
10722 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10727 return resultobj;
10728 fail:
10729 return NULL;
10730 }
10731
10732
10733 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10734 PyObject *obj;
10735 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10736 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10737 return SWIG_Py_Void();
10738 }
10739
10740 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10741 return SWIG_Python_InitShadowInstance(args);
10742 }
10743
10744 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10745 PyObject *resultobj = 0;
10746 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10747 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10748 wxSplitterEvent *result = 0 ;
10749 int val1 ;
10750 int ecode1 = 0 ;
10751 void *argp2 = 0 ;
10752 int res2 = 0 ;
10753 PyObject * obj0 = 0 ;
10754 PyObject * obj1 = 0 ;
10755 char * kwnames[] = {
10756 (char *) "type",(char *) "splitter", NULL
10757 };
10758
10759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10760 if (obj0) {
10761 ecode1 = SWIG_AsVal_int(obj0, &val1);
10762 if (!SWIG_IsOK(ecode1)) {
10763 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10764 }
10765 arg1 = static_cast< wxEventType >(val1);
10766 }
10767 if (obj1) {
10768 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10769 if (!SWIG_IsOK(res2)) {
10770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10771 }
10772 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10773 }
10774 {
10775 PyThreadState* __tstate = wxPyBeginAllowThreads();
10776 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10781 return resultobj;
10782 fail:
10783 return NULL;
10784 }
10785
10786
10787 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10788 PyObject *resultobj = 0;
10789 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10790 int arg2 ;
10791 void *argp1 = 0 ;
10792 int res1 = 0 ;
10793 int val2 ;
10794 int ecode2 = 0 ;
10795 PyObject * obj0 = 0 ;
10796 PyObject * obj1 = 0 ;
10797 char * kwnames[] = {
10798 (char *) "self",(char *) "pos", NULL
10799 };
10800
10801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10803 if (!SWIG_IsOK(res1)) {
10804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10805 }
10806 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10807 ecode2 = SWIG_AsVal_int(obj1, &val2);
10808 if (!SWIG_IsOK(ecode2)) {
10809 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10810 }
10811 arg2 = static_cast< int >(val2);
10812 {
10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
10814 (arg1)->SetSashPosition(arg2);
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 resultobj = SWIG_Py_Void();
10819 return resultobj;
10820 fail:
10821 return NULL;
10822 }
10823
10824
10825 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10826 PyObject *resultobj = 0;
10827 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10828 int result;
10829 void *argp1 = 0 ;
10830 int res1 = 0 ;
10831 PyObject *swig_obj[1] ;
10832
10833 if (!args) SWIG_fail;
10834 swig_obj[0] = args;
10835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10836 if (!SWIG_IsOK(res1)) {
10837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10838 }
10839 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10840 {
10841 PyThreadState* __tstate = wxPyBeginAllowThreads();
10842 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10843 wxPyEndAllowThreads(__tstate);
10844 if (PyErr_Occurred()) SWIG_fail;
10845 }
10846 resultobj = SWIG_From_int(static_cast< int >(result));
10847 return resultobj;
10848 fail:
10849 return NULL;
10850 }
10851
10852
10853 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10854 PyObject *resultobj = 0;
10855 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10856 wxWindow *result = 0 ;
10857 void *argp1 = 0 ;
10858 int res1 = 0 ;
10859 PyObject *swig_obj[1] ;
10860
10861 if (!args) SWIG_fail;
10862 swig_obj[0] = args;
10863 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10864 if (!SWIG_IsOK(res1)) {
10865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10866 }
10867 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10868 {
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
10870 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10871 wxPyEndAllowThreads(__tstate);
10872 if (PyErr_Occurred()) SWIG_fail;
10873 }
10874 {
10875 resultobj = wxPyMake_wxObject(result, 0);
10876 }
10877 return resultobj;
10878 fail:
10879 return NULL;
10880 }
10881
10882
10883 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10884 PyObject *resultobj = 0;
10885 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10886 int result;
10887 void *argp1 = 0 ;
10888 int res1 = 0 ;
10889 PyObject *swig_obj[1] ;
10890
10891 if (!args) SWIG_fail;
10892 swig_obj[0] = args;
10893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10894 if (!SWIG_IsOK(res1)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10896 }
10897 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10898 {
10899 PyThreadState* __tstate = wxPyBeginAllowThreads();
10900 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
10904 resultobj = SWIG_From_int(static_cast< int >(result));
10905 return resultobj;
10906 fail:
10907 return NULL;
10908 }
10909
10910
10911 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10912 PyObject *resultobj = 0;
10913 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10914 int result;
10915 void *argp1 = 0 ;
10916 int res1 = 0 ;
10917 PyObject *swig_obj[1] ;
10918
10919 if (!args) SWIG_fail;
10920 swig_obj[0] = args;
10921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10922 if (!SWIG_IsOK(res1)) {
10923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10924 }
10925 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10926 {
10927 PyThreadState* __tstate = wxPyBeginAllowThreads();
10928 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10929 wxPyEndAllowThreads(__tstate);
10930 if (PyErr_Occurred()) SWIG_fail;
10931 }
10932 resultobj = SWIG_From_int(static_cast< int >(result));
10933 return resultobj;
10934 fail:
10935 return NULL;
10936 }
10937
10938
10939 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10940 PyObject *obj;
10941 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10942 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10943 return SWIG_Py_Void();
10944 }
10945
10946 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10947 return SWIG_Python_InitShadowInstance(args);
10948 }
10949
10950 SWIGINTERN int SashNameStr_set(PyObject *) {
10951 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10952 return 1;
10953 }
10954
10955
10956 SWIGINTERN PyObject *SashNameStr_get(void) {
10957 PyObject *pyobj = 0;
10958
10959 {
10960 #if wxUSE_UNICODE
10961 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10962 #else
10963 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10964 #endif
10965 }
10966 return pyobj;
10967 }
10968
10969
10970 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10971 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10972 return 1;
10973 }
10974
10975
10976 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10977 PyObject *pyobj = 0;
10978
10979 {
10980 #if wxUSE_UNICODE
10981 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10982 #else
10983 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10984 #endif
10985 }
10986 return pyobj;
10987 }
10988
10989
10990 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10991 PyObject *resultobj = 0;
10992 wxWindow *arg1 = (wxWindow *) 0 ;
10993 int arg2 = (int) -1 ;
10994 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10995 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10996 wxSize const &arg4_defvalue = wxDefaultSize ;
10997 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10998 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10999 wxString const &arg6_defvalue = wxPySashNameStr ;
11000 wxString *arg6 = (wxString *) &arg6_defvalue ;
11001 wxSashWindow *result = 0 ;
11002 void *argp1 = 0 ;
11003 int res1 = 0 ;
11004 int val2 ;
11005 int ecode2 = 0 ;
11006 wxPoint temp3 ;
11007 wxSize temp4 ;
11008 long val5 ;
11009 int ecode5 = 0 ;
11010 bool temp6 = false ;
11011 PyObject * obj0 = 0 ;
11012 PyObject * obj1 = 0 ;
11013 PyObject * obj2 = 0 ;
11014 PyObject * obj3 = 0 ;
11015 PyObject * obj4 = 0 ;
11016 PyObject * obj5 = 0 ;
11017 char * kwnames[] = {
11018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11019 };
11020
11021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
11022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
11023 if (!SWIG_IsOK(res1)) {
11024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
11025 }
11026 arg1 = reinterpret_cast< wxWindow * >(argp1);
11027 if (obj1) {
11028 ecode2 = SWIG_AsVal_int(obj1, &val2);
11029 if (!SWIG_IsOK(ecode2)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
11031 }
11032 arg2 = static_cast< int >(val2);
11033 }
11034 if (obj2) {
11035 {
11036 arg3 = &temp3;
11037 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11038 }
11039 }
11040 if (obj3) {
11041 {
11042 arg4 = &temp4;
11043 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11044 }
11045 }
11046 if (obj4) {
11047 ecode5 = SWIG_AsVal_long(obj4, &val5);
11048 if (!SWIG_IsOK(ecode5)) {
11049 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
11050 }
11051 arg5 = static_cast< long >(val5);
11052 }
11053 if (obj5) {
11054 {
11055 arg6 = wxString_in_helper(obj5);
11056 if (arg6 == NULL) SWIG_fail;
11057 temp6 = true;
11058 }
11059 }
11060 {
11061 if (!wxPyCheckForApp()) SWIG_fail;
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11064 wxPyEndAllowThreads(__tstate);
11065 if (PyErr_Occurred()) SWIG_fail;
11066 }
11067 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
11068 {
11069 if (temp6)
11070 delete arg6;
11071 }
11072 return resultobj;
11073 fail:
11074 {
11075 if (temp6)
11076 delete arg6;
11077 }
11078 return NULL;
11079 }
11080
11081
11082 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11083 PyObject *resultobj = 0;
11084 wxSashWindow *result = 0 ;
11085
11086 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
11087 {
11088 if (!wxPyCheckForApp()) SWIG_fail;
11089 PyThreadState* __tstate = wxPyBeginAllowThreads();
11090 result = (wxSashWindow *)new wxSashWindow();
11091 wxPyEndAllowThreads(__tstate);
11092 if (PyErr_Occurred()) SWIG_fail;
11093 }
11094 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
11095 return resultobj;
11096 fail:
11097 return NULL;
11098 }
11099
11100
11101 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11102 PyObject *resultobj = 0;
11103 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11104 wxWindow *arg2 = (wxWindow *) 0 ;
11105 int arg3 = (int) -1 ;
11106 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11107 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11108 wxSize const &arg5_defvalue = wxDefaultSize ;
11109 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11110 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
11111 wxString const &arg7_defvalue = wxPySashNameStr ;
11112 wxString *arg7 = (wxString *) &arg7_defvalue ;
11113 bool result;
11114 void *argp1 = 0 ;
11115 int res1 = 0 ;
11116 void *argp2 = 0 ;
11117 int res2 = 0 ;
11118 int val3 ;
11119 int ecode3 = 0 ;
11120 wxPoint temp4 ;
11121 wxSize temp5 ;
11122 long val6 ;
11123 int ecode6 = 0 ;
11124 bool temp7 = false ;
11125 PyObject * obj0 = 0 ;
11126 PyObject * obj1 = 0 ;
11127 PyObject * obj2 = 0 ;
11128 PyObject * obj3 = 0 ;
11129 PyObject * obj4 = 0 ;
11130 PyObject * obj5 = 0 ;
11131 PyObject * obj6 = 0 ;
11132 char * kwnames[] = {
11133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11134 };
11135
11136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11138 if (!SWIG_IsOK(res1)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11140 }
11141 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11142 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11143 if (!SWIG_IsOK(res2)) {
11144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11145 }
11146 arg2 = reinterpret_cast< wxWindow * >(argp2);
11147 if (obj2) {
11148 ecode3 = SWIG_AsVal_int(obj2, &val3);
11149 if (!SWIG_IsOK(ecode3)) {
11150 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11151 }
11152 arg3 = static_cast< int >(val3);
11153 }
11154 if (obj3) {
11155 {
11156 arg4 = &temp4;
11157 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11158 }
11159 }
11160 if (obj4) {
11161 {
11162 arg5 = &temp5;
11163 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11164 }
11165 }
11166 if (obj5) {
11167 ecode6 = SWIG_AsVal_long(obj5, &val6);
11168 if (!SWIG_IsOK(ecode6)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11170 }
11171 arg6 = static_cast< long >(val6);
11172 }
11173 if (obj6) {
11174 {
11175 arg7 = wxString_in_helper(obj6);
11176 if (arg7 == NULL) SWIG_fail;
11177 temp7 = true;
11178 }
11179 }
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
11182 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11183 wxPyEndAllowThreads(__tstate);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 {
11187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11188 }
11189 {
11190 if (temp7)
11191 delete arg7;
11192 }
11193 return resultobj;
11194 fail:
11195 {
11196 if (temp7)
11197 delete arg7;
11198 }
11199 return NULL;
11200 }
11201
11202
11203 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11204 PyObject *resultobj = 0;
11205 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11206 wxSashEdgePosition arg2 ;
11207 bool arg3 ;
11208 void *argp1 = 0 ;
11209 int res1 = 0 ;
11210 int val2 ;
11211 int ecode2 = 0 ;
11212 bool val3 ;
11213 int ecode3 = 0 ;
11214 PyObject * obj0 = 0 ;
11215 PyObject * obj1 = 0 ;
11216 PyObject * obj2 = 0 ;
11217 char * kwnames[] = {
11218 (char *) "self",(char *) "edge",(char *) "sash", NULL
11219 };
11220
11221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11223 if (!SWIG_IsOK(res1)) {
11224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11225 }
11226 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11227 ecode2 = SWIG_AsVal_int(obj1, &val2);
11228 if (!SWIG_IsOK(ecode2)) {
11229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11230 }
11231 arg2 = static_cast< wxSashEdgePosition >(val2);
11232 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11233 if (!SWIG_IsOK(ecode3)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11235 }
11236 arg3 = static_cast< bool >(val3);
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 (arg1)->SetSashVisible(arg2,arg3);
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 resultobj = SWIG_Py_Void();
11244 return resultobj;
11245 fail:
11246 return NULL;
11247 }
11248
11249
11250 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11251 PyObject *resultobj = 0;
11252 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11253 wxSashEdgePosition arg2 ;
11254 bool result;
11255 void *argp1 = 0 ;
11256 int res1 = 0 ;
11257 int val2 ;
11258 int ecode2 = 0 ;
11259 PyObject * obj0 = 0 ;
11260 PyObject * obj1 = 0 ;
11261 char * kwnames[] = {
11262 (char *) "self",(char *) "edge", NULL
11263 };
11264
11265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11267 if (!SWIG_IsOK(res1)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11269 }
11270 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11271 ecode2 = SWIG_AsVal_int(obj1, &val2);
11272 if (!SWIG_IsOK(ecode2)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11274 }
11275 arg2 = static_cast< wxSashEdgePosition >(val2);
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 {
11283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11284 }
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11292 PyObject *resultobj = 0;
11293 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11294 wxSashEdgePosition arg2 ;
11295 int result;
11296 void *argp1 = 0 ;
11297 int res1 = 0 ;
11298 int val2 ;
11299 int ecode2 = 0 ;
11300 PyObject * obj0 = 0 ;
11301 PyObject * obj1 = 0 ;
11302 char * kwnames[] = {
11303 (char *) "self",(char *) "edge", NULL
11304 };
11305
11306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11308 if (!SWIG_IsOK(res1)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11310 }
11311 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11312 ecode2 = SWIG_AsVal_int(obj1, &val2);
11313 if (!SWIG_IsOK(ecode2)) {
11314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11315 }
11316 arg2 = static_cast< wxSashEdgePosition >(val2);
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 resultobj = SWIG_From_int(static_cast< int >(result));
11324 return resultobj;
11325 fail:
11326 return NULL;
11327 }
11328
11329
11330 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11331 PyObject *resultobj = 0;
11332 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11333 int arg2 ;
11334 void *argp1 = 0 ;
11335 int res1 = 0 ;
11336 int val2 ;
11337 int ecode2 = 0 ;
11338 PyObject * obj0 = 0 ;
11339 PyObject * obj1 = 0 ;
11340 char * kwnames[] = {
11341 (char *) "self",(char *) "width", NULL
11342 };
11343
11344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11346 if (!SWIG_IsOK(res1)) {
11347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11348 }
11349 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11350 ecode2 = SWIG_AsVal_int(obj1, &val2);
11351 if (!SWIG_IsOK(ecode2)) {
11352 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11353 }
11354 arg2 = static_cast< int >(val2);
11355 {
11356 PyThreadState* __tstate = wxPyBeginAllowThreads();
11357 (arg1)->SetDefaultBorderSize(arg2);
11358 wxPyEndAllowThreads(__tstate);
11359 if (PyErr_Occurred()) SWIG_fail;
11360 }
11361 resultobj = SWIG_Py_Void();
11362 return resultobj;
11363 fail:
11364 return NULL;
11365 }
11366
11367
11368 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11369 PyObject *resultobj = 0;
11370 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11371 int result;
11372 void *argp1 = 0 ;
11373 int res1 = 0 ;
11374 PyObject *swig_obj[1] ;
11375
11376 if (!args) SWIG_fail;
11377 swig_obj[0] = args;
11378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11379 if (!SWIG_IsOK(res1)) {
11380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11381 }
11382 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11386 wxPyEndAllowThreads(__tstate);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 resultobj = SWIG_From_int(static_cast< int >(result));
11390 return resultobj;
11391 fail:
11392 return NULL;
11393 }
11394
11395
11396 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11397 PyObject *resultobj = 0;
11398 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11399 int arg2 ;
11400 void *argp1 = 0 ;
11401 int res1 = 0 ;
11402 int val2 ;
11403 int ecode2 = 0 ;
11404 PyObject * obj0 = 0 ;
11405 PyObject * obj1 = 0 ;
11406 char * kwnames[] = {
11407 (char *) "self",(char *) "width", NULL
11408 };
11409
11410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11412 if (!SWIG_IsOK(res1)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11414 }
11415 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11416 ecode2 = SWIG_AsVal_int(obj1, &val2);
11417 if (!SWIG_IsOK(ecode2)) {
11418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11419 }
11420 arg2 = static_cast< int >(val2);
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 (arg1)->SetExtraBorderSize(arg2);
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 resultobj = SWIG_Py_Void();
11428 return resultobj;
11429 fail:
11430 return NULL;
11431 }
11432
11433
11434 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11435 PyObject *resultobj = 0;
11436 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11437 int result;
11438 void *argp1 = 0 ;
11439 int res1 = 0 ;
11440 PyObject *swig_obj[1] ;
11441
11442 if (!args) SWIG_fail;
11443 swig_obj[0] = args;
11444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11445 if (!SWIG_IsOK(res1)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11447 }
11448 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11449 {
11450 PyThreadState* __tstate = wxPyBeginAllowThreads();
11451 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11452 wxPyEndAllowThreads(__tstate);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
11455 resultobj = SWIG_From_int(static_cast< int >(result));
11456 return resultobj;
11457 fail:
11458 return NULL;
11459 }
11460
11461
11462 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11463 PyObject *resultobj = 0;
11464 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11465 int arg2 ;
11466 void *argp1 = 0 ;
11467 int res1 = 0 ;
11468 int val2 ;
11469 int ecode2 = 0 ;
11470 PyObject * obj0 = 0 ;
11471 PyObject * obj1 = 0 ;
11472 char * kwnames[] = {
11473 (char *) "self",(char *) "min", NULL
11474 };
11475
11476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11478 if (!SWIG_IsOK(res1)) {
11479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11480 }
11481 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11482 ecode2 = SWIG_AsVal_int(obj1, &val2);
11483 if (!SWIG_IsOK(ecode2)) {
11484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11485 }
11486 arg2 = static_cast< int >(val2);
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 (arg1)->SetMinimumSizeX(arg2);
11490 wxPyEndAllowThreads(__tstate);
11491 if (PyErr_Occurred()) SWIG_fail;
11492 }
11493 resultobj = SWIG_Py_Void();
11494 return resultobj;
11495 fail:
11496 return NULL;
11497 }
11498
11499
11500 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11501 PyObject *resultobj = 0;
11502 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11503 int arg2 ;
11504 void *argp1 = 0 ;
11505 int res1 = 0 ;
11506 int val2 ;
11507 int ecode2 = 0 ;
11508 PyObject * obj0 = 0 ;
11509 PyObject * obj1 = 0 ;
11510 char * kwnames[] = {
11511 (char *) "self",(char *) "min", NULL
11512 };
11513
11514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11516 if (!SWIG_IsOK(res1)) {
11517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11518 }
11519 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11520 ecode2 = SWIG_AsVal_int(obj1, &val2);
11521 if (!SWIG_IsOK(ecode2)) {
11522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11523 }
11524 arg2 = static_cast< int >(val2);
11525 {
11526 PyThreadState* __tstate = wxPyBeginAllowThreads();
11527 (arg1)->SetMinimumSizeY(arg2);
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 resultobj = SWIG_Py_Void();
11532 return resultobj;
11533 fail:
11534 return NULL;
11535 }
11536
11537
11538 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11539 PyObject *resultobj = 0;
11540 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11541 int result;
11542 void *argp1 = 0 ;
11543 int res1 = 0 ;
11544 PyObject *swig_obj[1] ;
11545
11546 if (!args) SWIG_fail;
11547 swig_obj[0] = args;
11548 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11549 if (!SWIG_IsOK(res1)) {
11550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11551 }
11552 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 resultobj = SWIG_From_int(static_cast< int >(result));
11560 return resultobj;
11561 fail:
11562 return NULL;
11563 }
11564
11565
11566 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11567 PyObject *resultobj = 0;
11568 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11569 int result;
11570 void *argp1 = 0 ;
11571 int res1 = 0 ;
11572 PyObject *swig_obj[1] ;
11573
11574 if (!args) SWIG_fail;
11575 swig_obj[0] = args;
11576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11577 if (!SWIG_IsOK(res1)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11579 }
11580 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11584 wxPyEndAllowThreads(__tstate);
11585 if (PyErr_Occurred()) SWIG_fail;
11586 }
11587 resultobj = SWIG_From_int(static_cast< int >(result));
11588 return resultobj;
11589 fail:
11590 return NULL;
11591 }
11592
11593
11594 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11595 PyObject *resultobj = 0;
11596 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11597 int arg2 ;
11598 void *argp1 = 0 ;
11599 int res1 = 0 ;
11600 int val2 ;
11601 int ecode2 = 0 ;
11602 PyObject * obj0 = 0 ;
11603 PyObject * obj1 = 0 ;
11604 char * kwnames[] = {
11605 (char *) "self",(char *) "max", NULL
11606 };
11607
11608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11610 if (!SWIG_IsOK(res1)) {
11611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11612 }
11613 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11614 ecode2 = SWIG_AsVal_int(obj1, &val2);
11615 if (!SWIG_IsOK(ecode2)) {
11616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11617 }
11618 arg2 = static_cast< int >(val2);
11619 {
11620 PyThreadState* __tstate = wxPyBeginAllowThreads();
11621 (arg1)->SetMaximumSizeX(arg2);
11622 wxPyEndAllowThreads(__tstate);
11623 if (PyErr_Occurred()) SWIG_fail;
11624 }
11625 resultobj = SWIG_Py_Void();
11626 return resultobj;
11627 fail:
11628 return NULL;
11629 }
11630
11631
11632 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11633 PyObject *resultobj = 0;
11634 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11635 int arg2 ;
11636 void *argp1 = 0 ;
11637 int res1 = 0 ;
11638 int val2 ;
11639 int ecode2 = 0 ;
11640 PyObject * obj0 = 0 ;
11641 PyObject * obj1 = 0 ;
11642 char * kwnames[] = {
11643 (char *) "self",(char *) "max", NULL
11644 };
11645
11646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11648 if (!SWIG_IsOK(res1)) {
11649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11650 }
11651 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11652 ecode2 = SWIG_AsVal_int(obj1, &val2);
11653 if (!SWIG_IsOK(ecode2)) {
11654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11655 }
11656 arg2 = static_cast< int >(val2);
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 (arg1)->SetMaximumSizeY(arg2);
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 resultobj = SWIG_Py_Void();
11664 return resultobj;
11665 fail:
11666 return NULL;
11667 }
11668
11669
11670 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11671 PyObject *resultobj = 0;
11672 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11673 int result;
11674 void *argp1 = 0 ;
11675 int res1 = 0 ;
11676 PyObject *swig_obj[1] ;
11677
11678 if (!args) SWIG_fail;
11679 swig_obj[0] = args;
11680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11681 if (!SWIG_IsOK(res1)) {
11682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11683 }
11684 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11685 {
11686 PyThreadState* __tstate = wxPyBeginAllowThreads();
11687 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11688 wxPyEndAllowThreads(__tstate);
11689 if (PyErr_Occurred()) SWIG_fail;
11690 }
11691 resultobj = SWIG_From_int(static_cast< int >(result));
11692 return resultobj;
11693 fail:
11694 return NULL;
11695 }
11696
11697
11698 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11699 PyObject *resultobj = 0;
11700 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11701 int result;
11702 void *argp1 = 0 ;
11703 int res1 = 0 ;
11704 PyObject *swig_obj[1] ;
11705
11706 if (!args) SWIG_fail;
11707 swig_obj[0] = args;
11708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11709 if (!SWIG_IsOK(res1)) {
11710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11711 }
11712 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11713 {
11714 PyThreadState* __tstate = wxPyBeginAllowThreads();
11715 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11716 wxPyEndAllowThreads(__tstate);
11717 if (PyErr_Occurred()) SWIG_fail;
11718 }
11719 resultobj = SWIG_From_int(static_cast< int >(result));
11720 return resultobj;
11721 fail:
11722 return NULL;
11723 }
11724
11725
11726 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11727 PyObject *resultobj = 0;
11728 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11729 int arg2 ;
11730 int arg3 ;
11731 int arg4 = (int) 2 ;
11732 wxSashEdgePosition result;
11733 void *argp1 = 0 ;
11734 int res1 = 0 ;
11735 int val2 ;
11736 int ecode2 = 0 ;
11737 int val3 ;
11738 int ecode3 = 0 ;
11739 int val4 ;
11740 int ecode4 = 0 ;
11741 PyObject * obj0 = 0 ;
11742 PyObject * obj1 = 0 ;
11743 PyObject * obj2 = 0 ;
11744 PyObject * obj3 = 0 ;
11745 char * kwnames[] = {
11746 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11747 };
11748
11749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11751 if (!SWIG_IsOK(res1)) {
11752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11753 }
11754 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11755 ecode2 = SWIG_AsVal_int(obj1, &val2);
11756 if (!SWIG_IsOK(ecode2)) {
11757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11758 }
11759 arg2 = static_cast< int >(val2);
11760 ecode3 = SWIG_AsVal_int(obj2, &val3);
11761 if (!SWIG_IsOK(ecode3)) {
11762 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11763 }
11764 arg3 = static_cast< int >(val3);
11765 if (obj3) {
11766 ecode4 = SWIG_AsVal_int(obj3, &val4);
11767 if (!SWIG_IsOK(ecode4)) {
11768 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11769 }
11770 arg4 = static_cast< int >(val4);
11771 }
11772 {
11773 PyThreadState* __tstate = wxPyBeginAllowThreads();
11774 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11775 wxPyEndAllowThreads(__tstate);
11776 if (PyErr_Occurred()) SWIG_fail;
11777 }
11778 resultobj = SWIG_From_int(static_cast< int >(result));
11779 return resultobj;
11780 fail:
11781 return NULL;
11782 }
11783
11784
11785 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11786 PyObject *resultobj = 0;
11787 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11788 void *argp1 = 0 ;
11789 int res1 = 0 ;
11790 PyObject *swig_obj[1] ;
11791
11792 if (!args) SWIG_fail;
11793 swig_obj[0] = args;
11794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11795 if (!SWIG_IsOK(res1)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11797 }
11798 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11799 {
11800 PyThreadState* __tstate = wxPyBeginAllowThreads();
11801 (arg1)->SizeWindows();
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 resultobj = SWIG_Py_Void();
11806 return resultobj;
11807 fail:
11808 return NULL;
11809 }
11810
11811
11812 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11813 PyObject *obj;
11814 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11815 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11816 return SWIG_Py_Void();
11817 }
11818
11819 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11820 return SWIG_Python_InitShadowInstance(args);
11821 }
11822
11823 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj = 0;
11825 int arg1 = (int) 0 ;
11826 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11827 wxSashEvent *result = 0 ;
11828 int val1 ;
11829 int ecode1 = 0 ;
11830 int val2 ;
11831 int ecode2 = 0 ;
11832 PyObject * obj0 = 0 ;
11833 PyObject * obj1 = 0 ;
11834 char * kwnames[] = {
11835 (char *) "id",(char *) "edge", NULL
11836 };
11837
11838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11839 if (obj0) {
11840 ecode1 = SWIG_AsVal_int(obj0, &val1);
11841 if (!SWIG_IsOK(ecode1)) {
11842 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11843 }
11844 arg1 = static_cast< int >(val1);
11845 }
11846 if (obj1) {
11847 ecode2 = SWIG_AsVal_int(obj1, &val2);
11848 if (!SWIG_IsOK(ecode2)) {
11849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11850 }
11851 arg2 = static_cast< wxSashEdgePosition >(val2);
11852 }
11853 {
11854 PyThreadState* __tstate = wxPyBeginAllowThreads();
11855 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11856 wxPyEndAllowThreads(__tstate);
11857 if (PyErr_Occurred()) SWIG_fail;
11858 }
11859 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11860 return resultobj;
11861 fail:
11862 return NULL;
11863 }
11864
11865
11866 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11867 PyObject *resultobj = 0;
11868 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11869 wxSashEdgePosition arg2 ;
11870 void *argp1 = 0 ;
11871 int res1 = 0 ;
11872 int val2 ;
11873 int ecode2 = 0 ;
11874 PyObject * obj0 = 0 ;
11875 PyObject * obj1 = 0 ;
11876 char * kwnames[] = {
11877 (char *) "self",(char *) "edge", NULL
11878 };
11879
11880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11882 if (!SWIG_IsOK(res1)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11884 }
11885 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11886 ecode2 = SWIG_AsVal_int(obj1, &val2);
11887 if (!SWIG_IsOK(ecode2)) {
11888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11889 }
11890 arg2 = static_cast< wxSashEdgePosition >(val2);
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 (arg1)->SetEdge(arg2);
11894 wxPyEndAllowThreads(__tstate);
11895 if (PyErr_Occurred()) SWIG_fail;
11896 }
11897 resultobj = SWIG_Py_Void();
11898 return resultobj;
11899 fail:
11900 return NULL;
11901 }
11902
11903
11904 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11905 PyObject *resultobj = 0;
11906 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11907 wxSashEdgePosition result;
11908 void *argp1 = 0 ;
11909 int res1 = 0 ;
11910 PyObject *swig_obj[1] ;
11911
11912 if (!args) SWIG_fail;
11913 swig_obj[0] = args;
11914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11915 if (!SWIG_IsOK(res1)) {
11916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11917 }
11918 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11919 {
11920 PyThreadState* __tstate = wxPyBeginAllowThreads();
11921 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11922 wxPyEndAllowThreads(__tstate);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 }
11925 resultobj = SWIG_From_int(static_cast< int >(result));
11926 return resultobj;
11927 fail:
11928 return NULL;
11929 }
11930
11931
11932 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11933 PyObject *resultobj = 0;
11934 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11935 wxRect *arg2 = 0 ;
11936 void *argp1 = 0 ;
11937 int res1 = 0 ;
11938 wxRect temp2 ;
11939 PyObject * obj0 = 0 ;
11940 PyObject * obj1 = 0 ;
11941 char * kwnames[] = {
11942 (char *) "self",(char *) "rect", NULL
11943 };
11944
11945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11947 if (!SWIG_IsOK(res1)) {
11948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11949 }
11950 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11951 {
11952 arg2 = &temp2;
11953 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11954 }
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 (arg1)->SetDragRect((wxRect const &)*arg2);
11958 wxPyEndAllowThreads(__tstate);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 resultobj = SWIG_Py_Void();
11962 return resultobj;
11963 fail:
11964 return NULL;
11965 }
11966
11967
11968 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11969 PyObject *resultobj = 0;
11970 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11971 wxRect result;
11972 void *argp1 = 0 ;
11973 int res1 = 0 ;
11974 PyObject *swig_obj[1] ;
11975
11976 if (!args) SWIG_fail;
11977 swig_obj[0] = args;
11978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11979 if (!SWIG_IsOK(res1)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11981 }
11982 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11983 {
11984 PyThreadState* __tstate = wxPyBeginAllowThreads();
11985 result = ((wxSashEvent const *)arg1)->GetDragRect();
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11990 return resultobj;
11991 fail:
11992 return NULL;
11993 }
11994
11995
11996 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11997 PyObject *resultobj = 0;
11998 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11999 wxSashDragStatus arg2 ;
12000 void *argp1 = 0 ;
12001 int res1 = 0 ;
12002 int val2 ;
12003 int ecode2 = 0 ;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 char * kwnames[] = {
12007 (char *) "self",(char *) "status", NULL
12008 };
12009
12010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
12011 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12012 if (!SWIG_IsOK(res1)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12014 }
12015 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12016 ecode2 = SWIG_AsVal_int(obj1, &val2);
12017 if (!SWIG_IsOK(ecode2)) {
12018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12019 }
12020 arg2 = static_cast< wxSashDragStatus >(val2);
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 (arg1)->SetDragStatus(arg2);
12024 wxPyEndAllowThreads(__tstate);
12025 if (PyErr_Occurred()) SWIG_fail;
12026 }
12027 resultobj = SWIG_Py_Void();
12028 return resultobj;
12029 fail:
12030 return NULL;
12031 }
12032
12033
12034 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12035 PyObject *resultobj = 0;
12036 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
12037 wxSashDragStatus result;
12038 void *argp1 = 0 ;
12039 int res1 = 0 ;
12040 PyObject *swig_obj[1] ;
12041
12042 if (!args) SWIG_fail;
12043 swig_obj[0] = args;
12044 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12045 if (!SWIG_IsOK(res1)) {
12046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12047 }
12048 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 resultobj = SWIG_From_int(static_cast< int >(result));
12056 return resultobj;
12057 fail:
12058 return NULL;
12059 }
12060
12061
12062 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12063 PyObject *obj;
12064 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12065 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12066 return SWIG_Py_Void();
12067 }
12068
12069 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12070 return SWIG_Python_InitShadowInstance(args);
12071 }
12072
12073 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12074 PyObject *resultobj = 0;
12075 int arg1 = (int) 0 ;
12076 wxQueryLayoutInfoEvent *result = 0 ;
12077 int val1 ;
12078 int ecode1 = 0 ;
12079 PyObject * obj0 = 0 ;
12080 char * kwnames[] = {
12081 (char *) "id", NULL
12082 };
12083
12084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12085 if (obj0) {
12086 ecode1 = SWIG_AsVal_int(obj0, &val1);
12087 if (!SWIG_IsOK(ecode1)) {
12088 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12089 }
12090 arg1 = static_cast< int >(val1);
12091 }
12092 {
12093 PyThreadState* __tstate = wxPyBeginAllowThreads();
12094 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12099 return resultobj;
12100 fail:
12101 return NULL;
12102 }
12103
12104
12105 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12106 PyObject *resultobj = 0;
12107 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12108 int arg2 ;
12109 void *argp1 = 0 ;
12110 int res1 = 0 ;
12111 int val2 ;
12112 int ecode2 = 0 ;
12113 PyObject * obj0 = 0 ;
12114 PyObject * obj1 = 0 ;
12115 char * kwnames[] = {
12116 (char *) "self",(char *) "length", NULL
12117 };
12118
12119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12121 if (!SWIG_IsOK(res1)) {
12122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12123 }
12124 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12125 ecode2 = SWIG_AsVal_int(obj1, &val2);
12126 if (!SWIG_IsOK(ecode2)) {
12127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12128 }
12129 arg2 = static_cast< int >(val2);
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 (arg1)->SetRequestedLength(arg2);
12133 wxPyEndAllowThreads(__tstate);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
12136 resultobj = SWIG_Py_Void();
12137 return resultobj;
12138 fail:
12139 return NULL;
12140 }
12141
12142
12143 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12144 PyObject *resultobj = 0;
12145 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12146 int result;
12147 void *argp1 = 0 ;
12148 int res1 = 0 ;
12149 PyObject *swig_obj[1] ;
12150
12151 if (!args) SWIG_fail;
12152 swig_obj[0] = args;
12153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12154 if (!SWIG_IsOK(res1)) {
12155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12156 }
12157 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 resultobj = SWIG_From_int(static_cast< int >(result));
12165 return resultobj;
12166 fail:
12167 return NULL;
12168 }
12169
12170
12171 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12172 PyObject *resultobj = 0;
12173 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12174 int arg2 ;
12175 void *argp1 = 0 ;
12176 int res1 = 0 ;
12177 int val2 ;
12178 int ecode2 = 0 ;
12179 PyObject * obj0 = 0 ;
12180 PyObject * obj1 = 0 ;
12181 char * kwnames[] = {
12182 (char *) "self",(char *) "flags", NULL
12183 };
12184
12185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12187 if (!SWIG_IsOK(res1)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12189 }
12190 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12191 ecode2 = SWIG_AsVal_int(obj1, &val2);
12192 if (!SWIG_IsOK(ecode2)) {
12193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12194 }
12195 arg2 = static_cast< int >(val2);
12196 {
12197 PyThreadState* __tstate = wxPyBeginAllowThreads();
12198 (arg1)->SetFlags(arg2);
12199 wxPyEndAllowThreads(__tstate);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 resultobj = SWIG_Py_Void();
12203 return resultobj;
12204 fail:
12205 return NULL;
12206 }
12207
12208
12209 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12210 PyObject *resultobj = 0;
12211 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12212 int result;
12213 void *argp1 = 0 ;
12214 int res1 = 0 ;
12215 PyObject *swig_obj[1] ;
12216
12217 if (!args) SWIG_fail;
12218 swig_obj[0] = args;
12219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12220 if (!SWIG_IsOK(res1)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12222 }
12223 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 resultobj = SWIG_From_int(static_cast< int >(result));
12231 return resultobj;
12232 fail:
12233 return NULL;
12234 }
12235
12236
12237 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12238 PyObject *resultobj = 0;
12239 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12240 wxSize *arg2 = 0 ;
12241 void *argp1 = 0 ;
12242 int res1 = 0 ;
12243 wxSize temp2 ;
12244 PyObject * obj0 = 0 ;
12245 PyObject * obj1 = 0 ;
12246 char * kwnames[] = {
12247 (char *) "self",(char *) "size", NULL
12248 };
12249
12250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12252 if (!SWIG_IsOK(res1)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12254 }
12255 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12256 {
12257 arg2 = &temp2;
12258 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12259 }
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 (arg1)->SetSize((wxSize const &)*arg2);
12263 wxPyEndAllowThreads(__tstate);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 }
12266 resultobj = SWIG_Py_Void();
12267 return resultobj;
12268 fail:
12269 return NULL;
12270 }
12271
12272
12273 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12274 PyObject *resultobj = 0;
12275 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12276 wxSize result;
12277 void *argp1 = 0 ;
12278 int res1 = 0 ;
12279 PyObject *swig_obj[1] ;
12280
12281 if (!args) SWIG_fail;
12282 swig_obj[0] = args;
12283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12284 if (!SWIG_IsOK(res1)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12286 }
12287 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12288 {
12289 PyThreadState* __tstate = wxPyBeginAllowThreads();
12290 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12291 wxPyEndAllowThreads(__tstate);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
12294 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12295 return resultobj;
12296 fail:
12297 return NULL;
12298 }
12299
12300
12301 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12302 PyObject *resultobj = 0;
12303 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12304 wxLayoutOrientation arg2 ;
12305 void *argp1 = 0 ;
12306 int res1 = 0 ;
12307 int val2 ;
12308 int ecode2 = 0 ;
12309 PyObject * obj0 = 0 ;
12310 PyObject * obj1 = 0 ;
12311 char * kwnames[] = {
12312 (char *) "self",(char *) "orient", NULL
12313 };
12314
12315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12317 if (!SWIG_IsOK(res1)) {
12318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12319 }
12320 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12321 ecode2 = SWIG_AsVal_int(obj1, &val2);
12322 if (!SWIG_IsOK(ecode2)) {
12323 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12324 }
12325 arg2 = static_cast< wxLayoutOrientation >(val2);
12326 {
12327 PyThreadState* __tstate = wxPyBeginAllowThreads();
12328 (arg1)->SetOrientation(arg2);
12329 wxPyEndAllowThreads(__tstate);
12330 if (PyErr_Occurred()) SWIG_fail;
12331 }
12332 resultobj = SWIG_Py_Void();
12333 return resultobj;
12334 fail:
12335 return NULL;
12336 }
12337
12338
12339 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12340 PyObject *resultobj = 0;
12341 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12342 wxLayoutOrientation result;
12343 void *argp1 = 0 ;
12344 int res1 = 0 ;
12345 PyObject *swig_obj[1] ;
12346
12347 if (!args) SWIG_fail;
12348 swig_obj[0] = args;
12349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12350 if (!SWIG_IsOK(res1)) {
12351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12352 }
12353 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12354 {
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
12360 resultobj = SWIG_From_int(static_cast< int >(result));
12361 return resultobj;
12362 fail:
12363 return NULL;
12364 }
12365
12366
12367 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12368 PyObject *resultobj = 0;
12369 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12370 wxLayoutAlignment arg2 ;
12371 void *argp1 = 0 ;
12372 int res1 = 0 ;
12373 int val2 ;
12374 int ecode2 = 0 ;
12375 PyObject * obj0 = 0 ;
12376 PyObject * obj1 = 0 ;
12377 char * kwnames[] = {
12378 (char *) "self",(char *) "align", NULL
12379 };
12380
12381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12383 if (!SWIG_IsOK(res1)) {
12384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12385 }
12386 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12387 ecode2 = SWIG_AsVal_int(obj1, &val2);
12388 if (!SWIG_IsOK(ecode2)) {
12389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12390 }
12391 arg2 = static_cast< wxLayoutAlignment >(val2);
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 (arg1)->SetAlignment(arg2);
12395 wxPyEndAllowThreads(__tstate);
12396 if (PyErr_Occurred()) SWIG_fail;
12397 }
12398 resultobj = SWIG_Py_Void();
12399 return resultobj;
12400 fail:
12401 return NULL;
12402 }
12403
12404
12405 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12406 PyObject *resultobj = 0;
12407 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12408 wxLayoutAlignment result;
12409 void *argp1 = 0 ;
12410 int res1 = 0 ;
12411 PyObject *swig_obj[1] ;
12412
12413 if (!args) SWIG_fail;
12414 swig_obj[0] = args;
12415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12416 if (!SWIG_IsOK(res1)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12418 }
12419 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 resultobj = SWIG_From_int(static_cast< int >(result));
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12434 PyObject *obj;
12435 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12436 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12437 return SWIG_Py_Void();
12438 }
12439
12440 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12441 return SWIG_Python_InitShadowInstance(args);
12442 }
12443
12444 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12445 PyObject *resultobj = 0;
12446 int arg1 = (int) 0 ;
12447 wxCalculateLayoutEvent *result = 0 ;
12448 int val1 ;
12449 int ecode1 = 0 ;
12450 PyObject * obj0 = 0 ;
12451 char * kwnames[] = {
12452 (char *) "id", NULL
12453 };
12454
12455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12456 if (obj0) {
12457 ecode1 = SWIG_AsVal_int(obj0, &val1);
12458 if (!SWIG_IsOK(ecode1)) {
12459 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12460 }
12461 arg1 = static_cast< int >(val1);
12462 }
12463 {
12464 PyThreadState* __tstate = wxPyBeginAllowThreads();
12465 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12466 wxPyEndAllowThreads(__tstate);
12467 if (PyErr_Occurred()) SWIG_fail;
12468 }
12469 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12470 return resultobj;
12471 fail:
12472 return NULL;
12473 }
12474
12475
12476 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12477 PyObject *resultobj = 0;
12478 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12479 int arg2 ;
12480 void *argp1 = 0 ;
12481 int res1 = 0 ;
12482 int val2 ;
12483 int ecode2 = 0 ;
12484 PyObject * obj0 = 0 ;
12485 PyObject * obj1 = 0 ;
12486 char * kwnames[] = {
12487 (char *) "self",(char *) "flags", NULL
12488 };
12489
12490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12492 if (!SWIG_IsOK(res1)) {
12493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12494 }
12495 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12496 ecode2 = SWIG_AsVal_int(obj1, &val2);
12497 if (!SWIG_IsOK(ecode2)) {
12498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12499 }
12500 arg2 = static_cast< int >(val2);
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 (arg1)->SetFlags(arg2);
12504 wxPyEndAllowThreads(__tstate);
12505 if (PyErr_Occurred()) SWIG_fail;
12506 }
12507 resultobj = SWIG_Py_Void();
12508 return resultobj;
12509 fail:
12510 return NULL;
12511 }
12512
12513
12514 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12515 PyObject *resultobj = 0;
12516 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12517 int result;
12518 void *argp1 = 0 ;
12519 int res1 = 0 ;
12520 PyObject *swig_obj[1] ;
12521
12522 if (!args) SWIG_fail;
12523 swig_obj[0] = args;
12524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12525 if (!SWIG_IsOK(res1)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12527 }
12528 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12529 {
12530 PyThreadState* __tstate = wxPyBeginAllowThreads();
12531 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12532 wxPyEndAllowThreads(__tstate);
12533 if (PyErr_Occurred()) SWIG_fail;
12534 }
12535 resultobj = SWIG_From_int(static_cast< int >(result));
12536 return resultobj;
12537 fail:
12538 return NULL;
12539 }
12540
12541
12542 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12543 PyObject *resultobj = 0;
12544 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12545 wxRect *arg2 = 0 ;
12546 void *argp1 = 0 ;
12547 int res1 = 0 ;
12548 wxRect temp2 ;
12549 PyObject * obj0 = 0 ;
12550 PyObject * obj1 = 0 ;
12551 char * kwnames[] = {
12552 (char *) "self",(char *) "rect", NULL
12553 };
12554
12555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12557 if (!SWIG_IsOK(res1)) {
12558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12559 }
12560 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12561 {
12562 arg2 = &temp2;
12563 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12564 }
12565 {
12566 PyThreadState* __tstate = wxPyBeginAllowThreads();
12567 (arg1)->SetRect((wxRect const &)*arg2);
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 resultobj = SWIG_Py_Void();
12572 return resultobj;
12573 fail:
12574 return NULL;
12575 }
12576
12577
12578 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12579 PyObject *resultobj = 0;
12580 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12581 wxRect result;
12582 void *argp1 = 0 ;
12583 int res1 = 0 ;
12584 PyObject *swig_obj[1] ;
12585
12586 if (!args) SWIG_fail;
12587 swig_obj[0] = args;
12588 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12589 if (!SWIG_IsOK(res1)) {
12590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12591 }
12592 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12593 {
12594 PyThreadState* __tstate = wxPyBeginAllowThreads();
12595 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12596 wxPyEndAllowThreads(__tstate);
12597 if (PyErr_Occurred()) SWIG_fail;
12598 }
12599 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12600 return resultobj;
12601 fail:
12602 return NULL;
12603 }
12604
12605
12606 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12607 PyObject *obj;
12608 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12609 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12610 return SWIG_Py_Void();
12611 }
12612
12613 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12614 return SWIG_Python_InitShadowInstance(args);
12615 }
12616
12617 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12618 PyObject *resultobj = 0;
12619 wxWindow *arg1 = (wxWindow *) 0 ;
12620 int arg2 = (int) -1 ;
12621 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12622 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12623 wxSize const &arg4_defvalue = wxDefaultSize ;
12624 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12625 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12626 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12627 wxString *arg6 = (wxString *) &arg6_defvalue ;
12628 wxSashLayoutWindow *result = 0 ;
12629 void *argp1 = 0 ;
12630 int res1 = 0 ;
12631 int val2 ;
12632 int ecode2 = 0 ;
12633 wxPoint temp3 ;
12634 wxSize temp4 ;
12635 long val5 ;
12636 int ecode5 = 0 ;
12637 bool temp6 = false ;
12638 PyObject * obj0 = 0 ;
12639 PyObject * obj1 = 0 ;
12640 PyObject * obj2 = 0 ;
12641 PyObject * obj3 = 0 ;
12642 PyObject * obj4 = 0 ;
12643 PyObject * obj5 = 0 ;
12644 char * kwnames[] = {
12645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12646 };
12647
12648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12650 if (!SWIG_IsOK(res1)) {
12651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12652 }
12653 arg1 = reinterpret_cast< wxWindow * >(argp1);
12654 if (obj1) {
12655 ecode2 = SWIG_AsVal_int(obj1, &val2);
12656 if (!SWIG_IsOK(ecode2)) {
12657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12658 }
12659 arg2 = static_cast< int >(val2);
12660 }
12661 if (obj2) {
12662 {
12663 arg3 = &temp3;
12664 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12665 }
12666 }
12667 if (obj3) {
12668 {
12669 arg4 = &temp4;
12670 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12671 }
12672 }
12673 if (obj4) {
12674 ecode5 = SWIG_AsVal_long(obj4, &val5);
12675 if (!SWIG_IsOK(ecode5)) {
12676 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12677 }
12678 arg5 = static_cast< long >(val5);
12679 }
12680 if (obj5) {
12681 {
12682 arg6 = wxString_in_helper(obj5);
12683 if (arg6 == NULL) SWIG_fail;
12684 temp6 = true;
12685 }
12686 }
12687 {
12688 if (!wxPyCheckForApp()) SWIG_fail;
12689 PyThreadState* __tstate = wxPyBeginAllowThreads();
12690 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12691 wxPyEndAllowThreads(__tstate);
12692 if (PyErr_Occurred()) SWIG_fail;
12693 }
12694 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12695 {
12696 if (temp6)
12697 delete arg6;
12698 }
12699 return resultobj;
12700 fail:
12701 {
12702 if (temp6)
12703 delete arg6;
12704 }
12705 return NULL;
12706 }
12707
12708
12709 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12710 PyObject *resultobj = 0;
12711 wxSashLayoutWindow *result = 0 ;
12712
12713 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12714 {
12715 if (!wxPyCheckForApp()) SWIG_fail;
12716 PyThreadState* __tstate = wxPyBeginAllowThreads();
12717 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12718 wxPyEndAllowThreads(__tstate);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
12721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12722 return resultobj;
12723 fail:
12724 return NULL;
12725 }
12726
12727
12728 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12729 PyObject *resultobj = 0;
12730 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12731 wxWindow *arg2 = (wxWindow *) 0 ;
12732 int arg3 = (int) -1 ;
12733 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12734 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12735 wxSize const &arg5_defvalue = wxDefaultSize ;
12736 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12737 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12738 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12739 wxString *arg7 = (wxString *) &arg7_defvalue ;
12740 bool result;
12741 void *argp1 = 0 ;
12742 int res1 = 0 ;
12743 void *argp2 = 0 ;
12744 int res2 = 0 ;
12745 int val3 ;
12746 int ecode3 = 0 ;
12747 wxPoint temp4 ;
12748 wxSize temp5 ;
12749 long val6 ;
12750 int ecode6 = 0 ;
12751 bool temp7 = false ;
12752 PyObject * obj0 = 0 ;
12753 PyObject * obj1 = 0 ;
12754 PyObject * obj2 = 0 ;
12755 PyObject * obj3 = 0 ;
12756 PyObject * obj4 = 0 ;
12757 PyObject * obj5 = 0 ;
12758 PyObject * obj6 = 0 ;
12759 char * kwnames[] = {
12760 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12761 };
12762
12763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12765 if (!SWIG_IsOK(res1)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12767 }
12768 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12769 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12770 if (!SWIG_IsOK(res2)) {
12771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12772 }
12773 arg2 = reinterpret_cast< wxWindow * >(argp2);
12774 if (obj2) {
12775 ecode3 = SWIG_AsVal_int(obj2, &val3);
12776 if (!SWIG_IsOK(ecode3)) {
12777 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12778 }
12779 arg3 = static_cast< int >(val3);
12780 }
12781 if (obj3) {
12782 {
12783 arg4 = &temp4;
12784 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12785 }
12786 }
12787 if (obj4) {
12788 {
12789 arg5 = &temp5;
12790 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12791 }
12792 }
12793 if (obj5) {
12794 ecode6 = SWIG_AsVal_long(obj5, &val6);
12795 if (!SWIG_IsOK(ecode6)) {
12796 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12797 }
12798 arg6 = static_cast< long >(val6);
12799 }
12800 if (obj6) {
12801 {
12802 arg7 = wxString_in_helper(obj6);
12803 if (arg7 == NULL) SWIG_fail;
12804 temp7 = true;
12805 }
12806 }
12807 {
12808 PyThreadState* __tstate = wxPyBeginAllowThreads();
12809 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12810 wxPyEndAllowThreads(__tstate);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
12813 {
12814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12815 }
12816 {
12817 if (temp7)
12818 delete arg7;
12819 }
12820 return resultobj;
12821 fail:
12822 {
12823 if (temp7)
12824 delete arg7;
12825 }
12826 return NULL;
12827 }
12828
12829
12830 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12831 PyObject *resultobj = 0;
12832 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12833 wxLayoutAlignment result;
12834 void *argp1 = 0 ;
12835 int res1 = 0 ;
12836 PyObject *swig_obj[1] ;
12837
12838 if (!args) SWIG_fail;
12839 swig_obj[0] = args;
12840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12841 if (!SWIG_IsOK(res1)) {
12842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12843 }
12844 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 resultobj = SWIG_From_int(static_cast< int >(result));
12852 return resultobj;
12853 fail:
12854 return NULL;
12855 }
12856
12857
12858 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12859 PyObject *resultobj = 0;
12860 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12861 wxLayoutOrientation result;
12862 void *argp1 = 0 ;
12863 int res1 = 0 ;
12864 PyObject *swig_obj[1] ;
12865
12866 if (!args) SWIG_fail;
12867 swig_obj[0] = args;
12868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12869 if (!SWIG_IsOK(res1)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12871 }
12872 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12873 {
12874 PyThreadState* __tstate = wxPyBeginAllowThreads();
12875 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12876 wxPyEndAllowThreads(__tstate);
12877 if (PyErr_Occurred()) SWIG_fail;
12878 }
12879 resultobj = SWIG_From_int(static_cast< int >(result));
12880 return resultobj;
12881 fail:
12882 return NULL;
12883 }
12884
12885
12886 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12887 PyObject *resultobj = 0;
12888 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12889 wxLayoutAlignment arg2 ;
12890 void *argp1 = 0 ;
12891 int res1 = 0 ;
12892 int val2 ;
12893 int ecode2 = 0 ;
12894 PyObject * obj0 = 0 ;
12895 PyObject * obj1 = 0 ;
12896 char * kwnames[] = {
12897 (char *) "self",(char *) "alignment", NULL
12898 };
12899
12900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12902 if (!SWIG_IsOK(res1)) {
12903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12904 }
12905 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12906 ecode2 = SWIG_AsVal_int(obj1, &val2);
12907 if (!SWIG_IsOK(ecode2)) {
12908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12909 }
12910 arg2 = static_cast< wxLayoutAlignment >(val2);
12911 {
12912 PyThreadState* __tstate = wxPyBeginAllowThreads();
12913 (arg1)->SetAlignment(arg2);
12914 wxPyEndAllowThreads(__tstate);
12915 if (PyErr_Occurred()) SWIG_fail;
12916 }
12917 resultobj = SWIG_Py_Void();
12918 return resultobj;
12919 fail:
12920 return NULL;
12921 }
12922
12923
12924 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12925 PyObject *resultobj = 0;
12926 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12927 wxSize *arg2 = 0 ;
12928 void *argp1 = 0 ;
12929 int res1 = 0 ;
12930 wxSize temp2 ;
12931 PyObject * obj0 = 0 ;
12932 PyObject * obj1 = 0 ;
12933 char * kwnames[] = {
12934 (char *) "self",(char *) "size", NULL
12935 };
12936
12937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12939 if (!SWIG_IsOK(res1)) {
12940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12941 }
12942 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12943 {
12944 arg2 = &temp2;
12945 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12946 }
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12950 wxPyEndAllowThreads(__tstate);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 }
12953 resultobj = SWIG_Py_Void();
12954 return resultobj;
12955 fail:
12956 return NULL;
12957 }
12958
12959
12960 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12961 PyObject *resultobj = 0;
12962 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12963 wxLayoutOrientation arg2 ;
12964 void *argp1 = 0 ;
12965 int res1 = 0 ;
12966 int val2 ;
12967 int ecode2 = 0 ;
12968 PyObject * obj0 = 0 ;
12969 PyObject * obj1 = 0 ;
12970 char * kwnames[] = {
12971 (char *) "self",(char *) "orientation", NULL
12972 };
12973
12974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12976 if (!SWIG_IsOK(res1)) {
12977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12978 }
12979 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12980 ecode2 = SWIG_AsVal_int(obj1, &val2);
12981 if (!SWIG_IsOK(ecode2)) {
12982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12983 }
12984 arg2 = static_cast< wxLayoutOrientation >(val2);
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 (arg1)->SetOrientation(arg2);
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 resultobj = SWIG_Py_Void();
12992 return resultobj;
12993 fail:
12994 return NULL;
12995 }
12996
12997
12998 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12999 PyObject *obj;
13000 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13001 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
13002 return SWIG_Py_Void();
13003 }
13004
13005 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13006 return SWIG_Python_InitShadowInstance(args);
13007 }
13008
13009 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13010 PyObject *resultobj = 0;
13011 wxLayoutAlgorithm *result = 0 ;
13012
13013 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
13014 {
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
13021 return resultobj;
13022 fail:
13023 return NULL;
13024 }
13025
13026
13027 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13028 PyObject *resultobj = 0;
13029 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13030 void *argp1 = 0 ;
13031 int res1 = 0 ;
13032 PyObject *swig_obj[1] ;
13033
13034 if (!args) SWIG_fail;
13035 swig_obj[0] = args;
13036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
13037 if (!SWIG_IsOK(res1)) {
13038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13039 }
13040 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13041 {
13042 PyThreadState* __tstate = wxPyBeginAllowThreads();
13043 delete arg1;
13044
13045 wxPyEndAllowThreads(__tstate);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 }
13048 resultobj = SWIG_Py_Void();
13049 return resultobj;
13050 fail:
13051 return NULL;
13052 }
13053
13054
13055 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13056 PyObject *resultobj = 0;
13057 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13058 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13059 wxRect *arg3 = (wxRect *) NULL ;
13060 bool result;
13061 void *argp1 = 0 ;
13062 int res1 = 0 ;
13063 void *argp2 = 0 ;
13064 int res2 = 0 ;
13065 void *argp3 = 0 ;
13066 int res3 = 0 ;
13067 PyObject * obj0 = 0 ;
13068 PyObject * obj1 = 0 ;
13069 PyObject * obj2 = 0 ;
13070 char * kwnames[] = {
13071 (char *) "self",(char *) "frame",(char *) "rect", NULL
13072 };
13073
13074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13076 if (!SWIG_IsOK(res1)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13078 }
13079 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13081 if (!SWIG_IsOK(res2)) {
13082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13083 }
13084 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13085 if (obj2) {
13086 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13087 if (!SWIG_IsOK(res3)) {
13088 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13089 }
13090 arg3 = reinterpret_cast< wxRect * >(argp3);
13091 }
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13095 wxPyEndAllowThreads(__tstate);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 }
13098 {
13099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13100 }
13101 return resultobj;
13102 fail:
13103 return NULL;
13104 }
13105
13106
13107 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13108 PyObject *resultobj = 0;
13109 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13110 wxFrame *arg2 = (wxFrame *) 0 ;
13111 wxWindow *arg3 = (wxWindow *) NULL ;
13112 bool result;
13113 void *argp1 = 0 ;
13114 int res1 = 0 ;
13115 void *argp2 = 0 ;
13116 int res2 = 0 ;
13117 void *argp3 = 0 ;
13118 int res3 = 0 ;
13119 PyObject * obj0 = 0 ;
13120 PyObject * obj1 = 0 ;
13121 PyObject * obj2 = 0 ;
13122 char * kwnames[] = {
13123 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13124 };
13125
13126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13128 if (!SWIG_IsOK(res1)) {
13129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13130 }
13131 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13132 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13133 if (!SWIG_IsOK(res2)) {
13134 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13135 }
13136 arg2 = reinterpret_cast< wxFrame * >(argp2);
13137 if (obj2) {
13138 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13139 if (!SWIG_IsOK(res3)) {
13140 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13141 }
13142 arg3 = reinterpret_cast< wxWindow * >(argp3);
13143 }
13144 {
13145 PyThreadState* __tstate = wxPyBeginAllowThreads();
13146 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13147 wxPyEndAllowThreads(__tstate);
13148 if (PyErr_Occurred()) SWIG_fail;
13149 }
13150 {
13151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13152 }
13153 return resultobj;
13154 fail:
13155 return NULL;
13156 }
13157
13158
13159 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13160 PyObject *resultobj = 0;
13161 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13162 wxWindow *arg2 = (wxWindow *) 0 ;
13163 wxWindow *arg3 = (wxWindow *) NULL ;
13164 bool result;
13165 void *argp1 = 0 ;
13166 int res1 = 0 ;
13167 void *argp2 = 0 ;
13168 int res2 = 0 ;
13169 void *argp3 = 0 ;
13170 int res3 = 0 ;
13171 PyObject * obj0 = 0 ;
13172 PyObject * obj1 = 0 ;
13173 PyObject * obj2 = 0 ;
13174 char * kwnames[] = {
13175 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13176 };
13177
13178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13180 if (!SWIG_IsOK(res1)) {
13181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13182 }
13183 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13184 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13185 if (!SWIG_IsOK(res2)) {
13186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13187 }
13188 arg2 = reinterpret_cast< wxWindow * >(argp2);
13189 if (obj2) {
13190 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13191 if (!SWIG_IsOK(res3)) {
13192 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13193 }
13194 arg3 = reinterpret_cast< wxWindow * >(argp3);
13195 }
13196 {
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13199 wxPyEndAllowThreads(__tstate);
13200 if (PyErr_Occurred()) SWIG_fail;
13201 }
13202 {
13203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13204 }
13205 return resultobj;
13206 fail:
13207 return NULL;
13208 }
13209
13210
13211 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13212 PyObject *obj;
13213 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13214 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13215 return SWIG_Py_Void();
13216 }
13217
13218 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13219 return SWIG_Python_InitShadowInstance(args);
13220 }
13221
13222 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13223 PyObject *resultobj = 0;
13224 wxWindow *arg1 = (wxWindow *) 0 ;
13225 int arg2 = (int) wxBORDER_NONE ;
13226 wxPopupWindow *result = 0 ;
13227 void *argp1 = 0 ;
13228 int res1 = 0 ;
13229 int val2 ;
13230 int ecode2 = 0 ;
13231 PyObject * obj0 = 0 ;
13232 PyObject * obj1 = 0 ;
13233 char * kwnames[] = {
13234 (char *) "parent",(char *) "flags", NULL
13235 };
13236
13237 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13238 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13239 if (!SWIG_IsOK(res1)) {
13240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13241 }
13242 arg1 = reinterpret_cast< wxWindow * >(argp1);
13243 if (obj1) {
13244 ecode2 = SWIG_AsVal_int(obj1, &val2);
13245 if (!SWIG_IsOK(ecode2)) {
13246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13247 }
13248 arg2 = static_cast< int >(val2);
13249 }
13250 {
13251 if (!wxPyCheckForApp()) SWIG_fail;
13252 PyThreadState* __tstate = wxPyBeginAllowThreads();
13253 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13254 wxPyEndAllowThreads(__tstate);
13255 if (PyErr_Occurred()) SWIG_fail;
13256 }
13257 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13258 return resultobj;
13259 fail:
13260 return NULL;
13261 }
13262
13263
13264 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13265 PyObject *resultobj = 0;
13266 wxPopupWindow *result = 0 ;
13267
13268 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13269 {
13270 if (!wxPyCheckForApp()) SWIG_fail;
13271 PyThreadState* __tstate = wxPyBeginAllowThreads();
13272 result = (wxPopupWindow *)new wxPopupWindow();
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13284 PyObject *resultobj = 0;
13285 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13286 wxWindow *arg2 = (wxWindow *) 0 ;
13287 int arg3 = (int) wxBORDER_NONE ;
13288 bool result;
13289 void *argp1 = 0 ;
13290 int res1 = 0 ;
13291 void *argp2 = 0 ;
13292 int res2 = 0 ;
13293 int val3 ;
13294 int ecode3 = 0 ;
13295 PyObject * obj0 = 0 ;
13296 PyObject * obj1 = 0 ;
13297 PyObject * obj2 = 0 ;
13298 char * kwnames[] = {
13299 (char *) "self",(char *) "parent",(char *) "flags", NULL
13300 };
13301
13302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13304 if (!SWIG_IsOK(res1)) {
13305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13306 }
13307 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13308 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13309 if (!SWIG_IsOK(res2)) {
13310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13311 }
13312 arg2 = reinterpret_cast< wxWindow * >(argp2);
13313 if (obj2) {
13314 ecode3 = SWIG_AsVal_int(obj2, &val3);
13315 if (!SWIG_IsOK(ecode3)) {
13316 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13317 }
13318 arg3 = static_cast< int >(val3);
13319 }
13320 {
13321 PyThreadState* __tstate = wxPyBeginAllowThreads();
13322 result = (bool)(arg1)->Create(arg2,arg3);
13323 wxPyEndAllowThreads(__tstate);
13324 if (PyErr_Occurred()) SWIG_fail;
13325 }
13326 {
13327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13328 }
13329 return resultobj;
13330 fail:
13331 return NULL;
13332 }
13333
13334
13335 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj = 0;
13337 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13338 wxPoint *arg2 = 0 ;
13339 wxSize *arg3 = 0 ;
13340 void *argp1 = 0 ;
13341 int res1 = 0 ;
13342 wxPoint temp2 ;
13343 wxSize temp3 ;
13344 PyObject * obj0 = 0 ;
13345 PyObject * obj1 = 0 ;
13346 PyObject * obj2 = 0 ;
13347 char * kwnames[] = {
13348 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13349 };
13350
13351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13353 if (!SWIG_IsOK(res1)) {
13354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13355 }
13356 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13357 {
13358 arg2 = &temp2;
13359 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13360 }
13361 {
13362 arg3 = &temp3;
13363 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13364 }
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13368 wxPyEndAllowThreads(__tstate);
13369 if (PyErr_Occurred()) SWIG_fail;
13370 }
13371 resultobj = SWIG_Py_Void();
13372 return resultobj;
13373 fail:
13374 return NULL;
13375 }
13376
13377
13378 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13379 PyObject *obj;
13380 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13381 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13382 return SWIG_Py_Void();
13383 }
13384
13385 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13386 return SWIG_Python_InitShadowInstance(args);
13387 }
13388
13389 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13390 PyObject *resultobj = 0;
13391 wxWindow *arg1 = (wxWindow *) 0 ;
13392 int arg2 = (int) wxBORDER_NONE ;
13393 wxPyPopupTransientWindow *result = 0 ;
13394 void *argp1 = 0 ;
13395 int res1 = 0 ;
13396 int val2 ;
13397 int ecode2 = 0 ;
13398 PyObject * obj0 = 0 ;
13399 PyObject * obj1 = 0 ;
13400 char * kwnames[] = {
13401 (char *) "parent",(char *) "style", NULL
13402 };
13403
13404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13406 if (!SWIG_IsOK(res1)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13408 }
13409 arg1 = reinterpret_cast< wxWindow * >(argp1);
13410 if (obj1) {
13411 ecode2 = SWIG_AsVal_int(obj1, &val2);
13412 if (!SWIG_IsOK(ecode2)) {
13413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13414 }
13415 arg2 = static_cast< int >(val2);
13416 }
13417 {
13418 if (!wxPyCheckForApp()) SWIG_fail;
13419 PyThreadState* __tstate = wxPyBeginAllowThreads();
13420 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13421 wxPyEndAllowThreads(__tstate);
13422 if (PyErr_Occurred()) SWIG_fail;
13423 }
13424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13425 return resultobj;
13426 fail:
13427 return NULL;
13428 }
13429
13430
13431 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13432 PyObject *resultobj = 0;
13433 wxPyPopupTransientWindow *result = 0 ;
13434
13435 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13436 {
13437 if (!wxPyCheckForApp()) SWIG_fail;
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13440 wxPyEndAllowThreads(__tstate);
13441 if (PyErr_Occurred()) SWIG_fail;
13442 }
13443 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13444 return resultobj;
13445 fail:
13446 return NULL;
13447 }
13448
13449
13450 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13451 PyObject *resultobj = 0;
13452 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13453 PyObject *arg2 = (PyObject *) 0 ;
13454 PyObject *arg3 = (PyObject *) 0 ;
13455 void *argp1 = 0 ;
13456 int res1 = 0 ;
13457 PyObject * obj0 = 0 ;
13458 PyObject * obj1 = 0 ;
13459 PyObject * obj2 = 0 ;
13460 char * kwnames[] = {
13461 (char *) "self",(char *) "self",(char *) "_class", NULL
13462 };
13463
13464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13466 if (!SWIG_IsOK(res1)) {
13467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13468 }
13469 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13470 arg2 = obj1;
13471 arg3 = obj2;
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 (arg1)->_setCallbackInfo(arg2,arg3);
13475 wxPyEndAllowThreads(__tstate);
13476 if (PyErr_Occurred()) SWIG_fail;
13477 }
13478 resultobj = SWIG_Py_Void();
13479 return resultobj;
13480 fail:
13481 return NULL;
13482 }
13483
13484
13485 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13486 PyObject *resultobj = 0;
13487 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13488 wxWindow *arg2 = (wxWindow *) NULL ;
13489 void *argp1 = 0 ;
13490 int res1 = 0 ;
13491 void *argp2 = 0 ;
13492 int res2 = 0 ;
13493 PyObject * obj0 = 0 ;
13494 PyObject * obj1 = 0 ;
13495 char * kwnames[] = {
13496 (char *) "self",(char *) "focus", NULL
13497 };
13498
13499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13501 if (!SWIG_IsOK(res1)) {
13502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13503 }
13504 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13505 if (obj1) {
13506 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13507 if (!SWIG_IsOK(res2)) {
13508 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13509 }
13510 arg2 = reinterpret_cast< wxWindow * >(argp2);
13511 }
13512 {
13513 PyThreadState* __tstate = wxPyBeginAllowThreads();
13514 (arg1)->Popup(arg2);
13515 wxPyEndAllowThreads(__tstate);
13516 if (PyErr_Occurred()) SWIG_fail;
13517 }
13518 resultobj = SWIG_Py_Void();
13519 return resultobj;
13520 fail:
13521 return NULL;
13522 }
13523
13524
13525 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13526 PyObject *resultobj = 0;
13527 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13528 void *argp1 = 0 ;
13529 int res1 = 0 ;
13530 PyObject *swig_obj[1] ;
13531
13532 if (!args) SWIG_fail;
13533 swig_obj[0] = args;
13534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13535 if (!SWIG_IsOK(res1)) {
13536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13537 }
13538 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13539 {
13540 PyThreadState* __tstate = wxPyBeginAllowThreads();
13541 (arg1)->Dismiss();
13542 wxPyEndAllowThreads(__tstate);
13543 if (PyErr_Occurred()) SWIG_fail;
13544 }
13545 resultobj = SWIG_Py_Void();
13546 return resultobj;
13547 fail:
13548 return NULL;
13549 }
13550
13551
13552 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13553 PyObject *obj;
13554 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13555 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13556 return SWIG_Py_Void();
13557 }
13558
13559 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13560 return SWIG_Python_InitShadowInstance(args);
13561 }
13562
13563 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13564 PyObject *resultobj = 0;
13565 wxWindow *arg1 = (wxWindow *) 0 ;
13566 wxString *arg2 = 0 ;
13567 int arg3 = (int) 100 ;
13568 wxRect *arg4 = (wxRect *) NULL ;
13569 wxTipWindow *result = 0 ;
13570 void *argp1 = 0 ;
13571 int res1 = 0 ;
13572 bool temp2 = false ;
13573 int val3 ;
13574 int ecode3 = 0 ;
13575 void *argp4 = 0 ;
13576 int res4 = 0 ;
13577 PyObject * obj0 = 0 ;
13578 PyObject * obj1 = 0 ;
13579 PyObject * obj2 = 0 ;
13580 PyObject * obj3 = 0 ;
13581 char * kwnames[] = {
13582 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13583 };
13584
13585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13587 if (!SWIG_IsOK(res1)) {
13588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13589 }
13590 arg1 = reinterpret_cast< wxWindow * >(argp1);
13591 {
13592 arg2 = wxString_in_helper(obj1);
13593 if (arg2 == NULL) SWIG_fail;
13594 temp2 = true;
13595 }
13596 if (obj2) {
13597 ecode3 = SWIG_AsVal_int(obj2, &val3);
13598 if (!SWIG_IsOK(ecode3)) {
13599 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13600 }
13601 arg3 = static_cast< int >(val3);
13602 }
13603 if (obj3) {
13604 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13605 if (!SWIG_IsOK(res4)) {
13606 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13607 }
13608 arg4 = reinterpret_cast< wxRect * >(argp4);
13609 }
13610 {
13611 if (!wxPyCheckForApp()) SWIG_fail;
13612 PyThreadState* __tstate = wxPyBeginAllowThreads();
13613 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13614 wxPyEndAllowThreads(__tstate);
13615 if (PyErr_Occurred()) SWIG_fail;
13616 }
13617 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13618 {
13619 if (temp2)
13620 delete arg2;
13621 }
13622 return resultobj;
13623 fail:
13624 {
13625 if (temp2)
13626 delete arg2;
13627 }
13628 return NULL;
13629 }
13630
13631
13632 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13633 PyObject *resultobj = 0;
13634 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13635 wxRect *arg2 = 0 ;
13636 void *argp1 = 0 ;
13637 int res1 = 0 ;
13638 wxRect temp2 ;
13639 PyObject * obj0 = 0 ;
13640 PyObject * obj1 = 0 ;
13641 char * kwnames[] = {
13642 (char *) "self",(char *) "rectBound", NULL
13643 };
13644
13645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13647 if (!SWIG_IsOK(res1)) {
13648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13649 }
13650 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13651 {
13652 arg2 = &temp2;
13653 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13654 }
13655 {
13656 PyThreadState* __tstate = wxPyBeginAllowThreads();
13657 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
13661 resultobj = SWIG_Py_Void();
13662 return resultobj;
13663 fail:
13664 return NULL;
13665 }
13666
13667
13668 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13669 PyObject *resultobj = 0;
13670 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13671 void *argp1 = 0 ;
13672 int res1 = 0 ;
13673 PyObject *swig_obj[1] ;
13674
13675 if (!args) SWIG_fail;
13676 swig_obj[0] = args;
13677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13678 if (!SWIG_IsOK(res1)) {
13679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13680 }
13681 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13682 {
13683 PyThreadState* __tstate = wxPyBeginAllowThreads();
13684 (arg1)->Close();
13685 wxPyEndAllowThreads(__tstate);
13686 if (PyErr_Occurred()) SWIG_fail;
13687 }
13688 resultobj = SWIG_Py_Void();
13689 return resultobj;
13690 fail:
13691 return NULL;
13692 }
13693
13694
13695 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13696 PyObject *obj;
13697 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13698 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13699 return SWIG_Py_Void();
13700 }
13701
13702 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13703 return SWIG_Python_InitShadowInstance(args);
13704 }
13705
13706 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13707 PyObject *resultobj = 0;
13708 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13709 bool arg2 = (bool) true ;
13710 void *argp1 = 0 ;
13711 int res1 = 0 ;
13712 bool val2 ;
13713 int ecode2 = 0 ;
13714 PyObject * obj0 = 0 ;
13715 PyObject * obj1 = 0 ;
13716 char * kwnames[] = {
13717 (char *) "self",(char *) "scrolling", NULL
13718 };
13719
13720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:VarScrollHelperBase_EnablePhysicalScrolling",kwnames,&obj0,&obj1)) SWIG_fail;
13721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13722 if (!SWIG_IsOK(res1)) {
13723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13724 }
13725 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13726 if (obj1) {
13727 ecode2 = SWIG_AsVal_bool(obj1, &val2);
13728 if (!SWIG_IsOK(ecode2)) {
13729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
13730 }
13731 arg2 = static_cast< bool >(val2);
13732 }
13733 {
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 (arg1)->EnablePhysicalScrolling(arg2);
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
13739 resultobj = SWIG_Py_Void();
13740 return resultobj;
13741 fail:
13742 return NULL;
13743 }
13744
13745
13746 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13747 PyObject *resultobj = 0;
13748 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13749 int arg2 ;
13750 int result;
13751 void *argp1 = 0 ;
13752 int res1 = 0 ;
13753 int val2 ;
13754 int ecode2 = 0 ;
13755 PyObject * obj0 = 0 ;
13756 PyObject * obj1 = 0 ;
13757 char * kwnames[] = {
13758 (char *) "self",(char *) "coord", NULL
13759 };
13760
13761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13763 if (!SWIG_IsOK(res1)) {
13764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13765 }
13766 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13767 ecode2 = SWIG_AsVal_int(obj1, &val2);
13768 if (!SWIG_IsOK(ecode2)) {
13769 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_HitTest" "', expected argument " "2"" of type '" "int""'");
13770 }
13771 arg2 = static_cast< int >(val2);
13772 {
13773 PyThreadState* __tstate = wxPyBeginAllowThreads();
13774 result = (int)((wxVarScrollHelperBase const *)arg1)->HitTest(arg2);
13775 wxPyEndAllowThreads(__tstate);
13776 if (PyErr_Occurred()) SWIG_fail;
13777 }
13778 resultobj = SWIG_From_int(static_cast< int >(result));
13779 return resultobj;
13780 fail:
13781 return NULL;
13782 }
13783
13784
13785 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13786 PyObject *resultobj = 0;
13787 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13788 void *argp1 = 0 ;
13789 int res1 = 0 ;
13790 PyObject *swig_obj[1] ;
13791
13792 if (!args) SWIG_fail;
13793 swig_obj[0] = args;
13794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13795 if (!SWIG_IsOK(res1)) {
13796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RefreshAll" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13797 }
13798 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 (arg1)->RefreshAll();
13802 wxPyEndAllowThreads(__tstate);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 }
13805 resultobj = SWIG_Py_Void();
13806 return resultobj;
13807 fail:
13808 return NULL;
13809 }
13810
13811
13812 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13813 PyObject *resultobj = 0;
13814 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13815 size_t result;
13816 void *argp1 = 0 ;
13817 int res1 = 0 ;
13818 PyObject *swig_obj[1] ;
13819
13820 if (!args) SWIG_fail;
13821 swig_obj[0] = args;
13822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13823 if (!SWIG_IsOK(res1)) {
13824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13825 }
13826 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleBegin();
13830 wxPyEndAllowThreads(__tstate);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 }
13833 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13834 return resultobj;
13835 fail:
13836 return NULL;
13837 }
13838
13839
13840 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13841 PyObject *resultobj = 0;
13842 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13843 size_t result;
13844 void *argp1 = 0 ;
13845 int res1 = 0 ;
13846 PyObject *swig_obj[1] ;
13847
13848 if (!args) SWIG_fail;
13849 swig_obj[0] = args;
13850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13851 if (!SWIG_IsOK(res1)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13853 }
13854 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13855 {
13856 PyThreadState* __tstate = wxPyBeginAllowThreads();
13857 result = (size_t)((wxVarScrollHelperBase const *)arg1)->GetVisibleEnd();
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
13861 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
13862 return resultobj;
13863 fail:
13864 return NULL;
13865 }
13866
13867
13868 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj = 0;
13870 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13871 size_t arg2 ;
13872 bool result;
13873 void *argp1 = 0 ;
13874 int res1 = 0 ;
13875 size_t val2 ;
13876 int ecode2 = 0 ;
13877 PyObject * obj0 = 0 ;
13878 PyObject * obj1 = 0 ;
13879 char * kwnames[] = {
13880 (char *) "self",(char *) "unit", NULL
13881 };
13882
13883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
13884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13885 if (!SWIG_IsOK(res1)) {
13886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13887 }
13888 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13889 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13890 if (!SWIG_IsOK(ecode2)) {
13891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13892 }
13893 arg2 = static_cast< size_t >(val2);
13894 {
13895 PyThreadState* __tstate = wxPyBeginAllowThreads();
13896 result = (bool)((wxVarScrollHelperBase const *)arg1)->IsVisible(arg2);
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 {
13901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13902 }
13903 return resultobj;
13904 fail:
13905 return NULL;
13906 }
13907
13908
13909 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcScrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13910 PyObject *resultobj = 0;
13911 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13912 int arg2 ;
13913 int result;
13914 void *argp1 = 0 ;
13915 int res1 = 0 ;
13916 int val2 ;
13917 int ecode2 = 0 ;
13918 PyObject * obj0 = 0 ;
13919 PyObject * obj1 = 0 ;
13920 char * kwnames[] = {
13921 (char *) "self",(char *) "coord", NULL
13922 };
13923
13924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcScrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13926 if (!SWIG_IsOK(res1)) {
13927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13928 }
13929 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13930 ecode2 = SWIG_AsVal_int(obj1, &val2);
13931 if (!SWIG_IsOK(ecode2)) {
13932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
13933 }
13934 arg2 = static_cast< int >(val2);
13935 {
13936 PyThreadState* __tstate = wxPyBeginAllowThreads();
13937 result = (int)((wxVarScrollHelperBase const *)arg1)->CalcScrolledPosition(arg2);
13938 wxPyEndAllowThreads(__tstate);
13939 if (PyErr_Occurred()) SWIG_fail;
13940 }
13941 resultobj = SWIG_From_int(static_cast< int >(result));
13942 return resultobj;
13943 fail:
13944 return NULL;
13945 }
13946
13947
13948 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_CalcUnscrolledPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13949 PyObject *resultobj = 0;
13950 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13951 int arg2 ;
13952 int result;
13953 void *argp1 = 0 ;
13954 int res1 = 0 ;
13955 int val2 ;
13956 int ecode2 = 0 ;
13957 PyObject * obj0 = 0 ;
13958 PyObject * obj1 = 0 ;
13959 char * kwnames[] = {
13960 (char *) "self",(char *) "coord", NULL
13961 };
13962
13963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_CalcUnscrolledPosition",kwnames,&obj0,&obj1)) SWIG_fail;
13964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13965 if (!SWIG_IsOK(res1)) {
13966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
13967 }
13968 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
13969 ecode2 = SWIG_AsVal_int(obj1, &val2);
13970 if (!SWIG_IsOK(ecode2)) {
13971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarScrollHelperBase_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
13972 }
13973 arg2 = static_cast< int >(val2);
13974 {
13975 PyThreadState* __tstate = wxPyBeginAllowThreads();
13976 result = (int)((wxVarScrollHelperBase const *)arg1)->CalcUnscrolledPosition(arg2);
13977 wxPyEndAllowThreads(__tstate);
13978 if (PyErr_Occurred()) SWIG_fail;
13979 }
13980 resultobj = SWIG_From_int(static_cast< int >(result));
13981 return resultobj;
13982 fail:
13983 return NULL;
13984 }
13985
13986
13987 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_UpdateScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13988 PyObject *resultobj = 0;
13989 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
13990 void *argp1 = 0 ;
13991 int res1 = 0 ;
13992 PyObject *swig_obj[1] ;
13993
13994 if (!args) SWIG_fail;
13995 swig_obj[0] = args;
13996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
13997 if (!SWIG_IsOK(res1)) {
13998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_UpdateScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
13999 }
14000 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 (arg1)->UpdateScrollbar();
14004 wxPyEndAllowThreads(__tstate);
14005 if (PyErr_Occurred()) SWIG_fail;
14006 }
14007 resultobj = SWIG_Py_Void();
14008 return resultobj;
14009 fail:
14010 return NULL;
14011 }
14012
14013
14014 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_RemoveScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14015 PyObject *resultobj = 0;
14016 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14017 void *argp1 = 0 ;
14018 int res1 = 0 ;
14019 PyObject *swig_obj[1] ;
14020
14021 if (!args) SWIG_fail;
14022 swig_obj[0] = args;
14023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14024 if (!SWIG_IsOK(res1)) {
14025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_RemoveScrollbar" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
14026 }
14027 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14028 {
14029 PyThreadState* __tstate = wxPyBeginAllowThreads();
14030 (arg1)->RemoveScrollbar();
14031 wxPyEndAllowThreads(__tstate);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 resultobj = SWIG_Py_Void();
14035 return resultobj;
14036 fail:
14037 return NULL;
14038 }
14039
14040
14041 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14042 PyObject *resultobj = 0;
14043 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14044 wxWindow *arg2 = (wxWindow *) 0 ;
14045 void *argp1 = 0 ;
14046 int res1 = 0 ;
14047 void *argp2 = 0 ;
14048 int res2 = 0 ;
14049 PyObject * obj0 = 0 ;
14050 PyObject * obj1 = 0 ;
14051 char * kwnames[] = {
14052 (char *) "self",(char *) "target", NULL
14053 };
14054
14055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarScrollHelperBase_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
14056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14057 if (!SWIG_IsOK(res1)) {
14058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase *""'");
14059 }
14060 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14061 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14062 if (!SWIG_IsOK(res2)) {
14063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarScrollHelperBase_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
14064 }
14065 arg2 = reinterpret_cast< wxWindow * >(argp2);
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 (arg1)->SetTargetWindow(arg2);
14069 wxPyEndAllowThreads(__tstate);
14070 if (PyErr_Occurred()) SWIG_fail;
14071 }
14072 resultobj = SWIG_Py_Void();
14073 return resultobj;
14074 fail:
14075 return NULL;
14076 }
14077
14078
14079 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14080 PyObject *resultobj = 0;
14081 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14082 wxWindow *result = 0 ;
14083 void *argp1 = 0 ;
14084 int res1 = 0 ;
14085 PyObject *swig_obj[1] ;
14086
14087 if (!args) SWIG_fail;
14088 swig_obj[0] = args;
14089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14090 if (!SWIG_IsOK(res1)) {
14091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetTargetWindow" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14092 }
14093 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14094 {
14095 PyThreadState* __tstate = wxPyBeginAllowThreads();
14096 result = (wxWindow *)((wxVarScrollHelperBase const *)arg1)->GetTargetWindow();
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 {
14101 resultobj = wxPyMake_wxObject(result, 0);
14102 }
14103 return resultobj;
14104 fail:
14105 return NULL;
14106 }
14107
14108
14109 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14110 PyObject *resultobj = 0;
14111 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14112 int result;
14113 void *argp1 = 0 ;
14114 int res1 = 0 ;
14115 PyObject *swig_obj[1] ;
14116
14117 if (!args) SWIG_fail;
14118 swig_obj[0] = args;
14119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14120 if (!SWIG_IsOK(res1)) {
14121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14122 }
14123 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14124 {
14125 PyThreadState* __tstate = wxPyBeginAllowThreads();
14126 result = (int)((wxVarScrollHelperBase const *)arg1)->GetOrientationTargetSize();
14127 wxPyEndAllowThreads(__tstate);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
14130 resultobj = SWIG_From_int(static_cast< int >(result));
14131 return resultobj;
14132 fail:
14133 return NULL;
14134 }
14135
14136
14137 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetNonOrientationTargetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14138 PyObject *resultobj = 0;
14139 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14140 int result;
14141 void *argp1 = 0 ;
14142 int res1 = 0 ;
14143 PyObject *swig_obj[1] ;
14144
14145 if (!args) SWIG_fail;
14146 swig_obj[0] = args;
14147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14148 if (!SWIG_IsOK(res1)) {
14149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetNonOrientationTargetSize" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14150 }
14151 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14152 {
14153 PyThreadState* __tstate = wxPyBeginAllowThreads();
14154 result = (int)((wxVarScrollHelperBase const *)arg1)->GetNonOrientationTargetSize();
14155 wxPyEndAllowThreads(__tstate);
14156 if (PyErr_Occurred()) SWIG_fail;
14157 }
14158 resultobj = SWIG_From_int(static_cast< int >(result));
14159 return resultobj;
14160 fail:
14161 return NULL;
14162 }
14163
14164
14165 SWIGINTERN PyObject *_wrap_VarScrollHelperBase_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14166 PyObject *resultobj = 0;
14167 wxVarScrollHelperBase *arg1 = (wxVarScrollHelperBase *) 0 ;
14168 wxOrientation result;
14169 void *argp1 = 0 ;
14170 int res1 = 0 ;
14171 PyObject *swig_obj[1] ;
14172
14173 if (!args) SWIG_fail;
14174 swig_obj[0] = args;
14175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarScrollHelperBase, 0 | 0 );
14176 if (!SWIG_IsOK(res1)) {
14177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarScrollHelperBase_GetOrientation" "', expected argument " "1"" of type '" "wxVarScrollHelperBase const *""'");
14178 }
14179 arg1 = reinterpret_cast< wxVarScrollHelperBase * >(argp1);
14180 {
14181 PyThreadState* __tstate = wxPyBeginAllowThreads();
14182 result = (wxOrientation)((wxVarScrollHelperBase const *)arg1)->GetOrientation();
14183 wxPyEndAllowThreads(__tstate);
14184 if (PyErr_Occurred()) SWIG_fail;
14185 }
14186 resultobj = SWIG_From_int(static_cast< int >(result));
14187 return resultobj;
14188 fail:
14189 return NULL;
14190 }
14191
14192
14193 SWIGINTERN PyObject *VarScrollHelperBase_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14194 PyObject *obj;
14195 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14196 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarScrollHelperBase, SWIG_NewClientData(obj));
14197 return SWIG_Py_Void();
14198 }
14199
14200 SWIGINTERN PyObject *_wrap_VarVScrollHelper_SetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14201 PyObject *resultobj = 0;
14202 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14203 size_t arg2 ;
14204 void *argp1 = 0 ;
14205 int res1 = 0 ;
14206 size_t val2 ;
14207 int ecode2 = 0 ;
14208 PyObject * obj0 = 0 ;
14209 PyObject * obj1 = 0 ;
14210 char * kwnames[] = {
14211 (char *) "self",(char *) "rowCount", NULL
14212 };
14213
14214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_SetRowCount",kwnames,&obj0,&obj1)) SWIG_fail;
14215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14216 if (!SWIG_IsOK(res1)) {
14217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14218 }
14219 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14220 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14221 if (!SWIG_IsOK(ecode2)) {
14222 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_SetRowCount" "', expected argument " "2"" of type '" "size_t""'");
14223 }
14224 arg2 = static_cast< size_t >(val2);
14225 {
14226 PyThreadState* __tstate = wxPyBeginAllowThreads();
14227 (arg1)->SetRowCount(arg2);
14228 wxPyEndAllowThreads(__tstate);
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
14231 resultobj = SWIG_Py_Void();
14232 return resultobj;
14233 fail:
14234 return NULL;
14235 }
14236
14237
14238 SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollToRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14239 PyObject *resultobj = 0;
14240 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14241 size_t arg2 ;
14242 bool result;
14243 void *argp1 = 0 ;
14244 int res1 = 0 ;
14245 size_t val2 ;
14246 int ecode2 = 0 ;
14247 PyObject * obj0 = 0 ;
14248 PyObject * obj1 = 0 ;
14249 char * kwnames[] = {
14250 (char *) "self",(char *) "row", NULL
14251 };
14252
14253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollToRow",kwnames,&obj0,&obj1)) SWIG_fail;
14254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14255 if (!SWIG_IsOK(res1)) {
14256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14257 }
14258 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14259 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14260 if (!SWIG_IsOK(ecode2)) {
14261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollToRow" "', expected argument " "2"" of type '" "size_t""'");
14262 }
14263 arg2 = static_cast< size_t >(val2);
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = (bool)(arg1)->ScrollToRow(arg2);
14267 wxPyEndAllowThreads(__tstate);
14268 if (PyErr_Occurred()) SWIG_fail;
14269 }
14270 {
14271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14272 }
14273 return resultobj;
14274 fail:
14275 return NULL;
14276 }
14277
14278
14279 SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14280 PyObject *resultobj = 0;
14281 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14282 int arg2 ;
14283 bool result;
14284 void *argp1 = 0 ;
14285 int res1 = 0 ;
14286 int val2 ;
14287 int ecode2 = 0 ;
14288 PyObject * obj0 = 0 ;
14289 PyObject * obj1 = 0 ;
14290 char * kwnames[] = {
14291 (char *) "self",(char *) "rows", NULL
14292 };
14293
14294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRows",kwnames,&obj0,&obj1)) SWIG_fail;
14295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14296 if (!SWIG_IsOK(res1)) {
14297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14298 }
14299 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14300 ecode2 = SWIG_AsVal_int(obj1, &val2);
14301 if (!SWIG_IsOK(ecode2)) {
14302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRows" "', expected argument " "2"" of type '" "int""'");
14303 }
14304 arg2 = static_cast< int >(val2);
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 result = (bool)(arg1)->ScrollRows(arg2);
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 {
14312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14313 }
14314 return resultobj;
14315 fail:
14316 return NULL;
14317 }
14318
14319
14320 SWIGINTERN PyObject *_wrap_VarVScrollHelper_ScrollRowPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14321 PyObject *resultobj = 0;
14322 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14323 int arg2 ;
14324 bool result;
14325 void *argp1 = 0 ;
14326 int res1 = 0 ;
14327 int val2 ;
14328 int ecode2 = 0 ;
14329 PyObject * obj0 = 0 ;
14330 PyObject * obj1 = 0 ;
14331 char * kwnames[] = {
14332 (char *) "self",(char *) "pages", NULL
14333 };
14334
14335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_ScrollRowPages",kwnames,&obj0,&obj1)) SWIG_fail;
14336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14337 if (!SWIG_IsOK(res1)) {
14338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14339 }
14340 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14341 ecode2 = SWIG_AsVal_int(obj1, &val2);
14342 if (!SWIG_IsOK(ecode2)) {
14343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_ScrollRowPages" "', expected argument " "2"" of type '" "int""'");
14344 }
14345 arg2 = static_cast< int >(val2);
14346 {
14347 PyThreadState* __tstate = wxPyBeginAllowThreads();
14348 result = (bool)(arg1)->ScrollRowPages(arg2);
14349 wxPyEndAllowThreads(__tstate);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
14352 {
14353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14354 }
14355 return resultobj;
14356 fail:
14357 return NULL;
14358 }
14359
14360
14361 SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14362 PyObject *resultobj = 0;
14363 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14364 size_t arg2 ;
14365 void *argp1 = 0 ;
14366 int res1 = 0 ;
14367 size_t val2 ;
14368 int ecode2 = 0 ;
14369 PyObject * obj0 = 0 ;
14370 PyObject * obj1 = 0 ;
14371 char * kwnames[] = {
14372 (char *) "self",(char *) "row", NULL
14373 };
14374
14375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_RefreshRow",kwnames,&obj0,&obj1)) SWIG_fail;
14376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14377 if (!SWIG_IsOK(res1)) {
14378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14379 }
14380 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14381 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14382 if (!SWIG_IsOK(ecode2)) {
14383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRow" "', expected argument " "2"" of type '" "size_t""'");
14384 }
14385 arg2 = static_cast< size_t >(val2);
14386 {
14387 PyThreadState* __tstate = wxPyBeginAllowThreads();
14388 (arg1)->RefreshRow(arg2);
14389 wxPyEndAllowThreads(__tstate);
14390 if (PyErr_Occurred()) SWIG_fail;
14391 }
14392 resultobj = SWIG_Py_Void();
14393 return resultobj;
14394 fail:
14395 return NULL;
14396 }
14397
14398
14399 SWIGINTERN PyObject *_wrap_VarVScrollHelper_RefreshRows(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14400 PyObject *resultobj = 0;
14401 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14402 size_t arg2 ;
14403 size_t arg3 ;
14404 void *argp1 = 0 ;
14405 int res1 = 0 ;
14406 size_t val2 ;
14407 int ecode2 = 0 ;
14408 size_t val3 ;
14409 int ecode3 = 0 ;
14410 PyObject * obj0 = 0 ;
14411 PyObject * obj1 = 0 ;
14412 PyObject * obj2 = 0 ;
14413 char * kwnames[] = {
14414 (char *) "self",(char *) "from",(char *) "to", NULL
14415 };
14416
14417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarVScrollHelper_RefreshRows",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14419 if (!SWIG_IsOK(res1)) {
14420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "1"" of type '" "wxVarVScrollHelper *""'");
14421 }
14422 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14423 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14424 if (!SWIG_IsOK(ecode2)) {
14425 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "2"" of type '" "size_t""'");
14426 }
14427 arg2 = static_cast< size_t >(val2);
14428 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14429 if (!SWIG_IsOK(ecode3)) {
14430 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarVScrollHelper_RefreshRows" "', expected argument " "3"" of type '" "size_t""'");
14431 }
14432 arg3 = static_cast< size_t >(val3);
14433 {
14434 PyThreadState* __tstate = wxPyBeginAllowThreads();
14435 (arg1)->RefreshRows(arg2,arg3);
14436 wxPyEndAllowThreads(__tstate);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 }
14439 resultobj = SWIG_Py_Void();
14440 return resultobj;
14441 fail:
14442 return NULL;
14443 }
14444
14445
14446 SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetRowCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14447 PyObject *resultobj = 0;
14448 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14449 size_t result;
14450 void *argp1 = 0 ;
14451 int res1 = 0 ;
14452 PyObject *swig_obj[1] ;
14453
14454 if (!args) SWIG_fail;
14455 swig_obj[0] = args;
14456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14457 if (!SWIG_IsOK(res1)) {
14458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetRowCount" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14459 }
14460 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14461 {
14462 PyThreadState* __tstate = wxPyBeginAllowThreads();
14463 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetRowCount();
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14468 return resultobj;
14469 fail:
14470 return NULL;
14471 }
14472
14473
14474 SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14475 PyObject *resultobj = 0;
14476 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14477 size_t result;
14478 void *argp1 = 0 ;
14479 int res1 = 0 ;
14480 PyObject *swig_obj[1] ;
14481
14482 if (!args) SWIG_fail;
14483 swig_obj[0] = args;
14484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14485 if (!SWIG_IsOK(res1)) {
14486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsBegin" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14487 }
14488 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14489 {
14490 PyThreadState* __tstate = wxPyBeginAllowThreads();
14491 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsBegin();
14492 wxPyEndAllowThreads(__tstate);
14493 if (PyErr_Occurred()) SWIG_fail;
14494 }
14495 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14496 return resultobj;
14497 fail:
14498 return NULL;
14499 }
14500
14501
14502 SWIGINTERN PyObject *_wrap_VarVScrollHelper_GetVisibleRowsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14503 PyObject *resultobj = 0;
14504 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14505 size_t result;
14506 void *argp1 = 0 ;
14507 int res1 = 0 ;
14508 PyObject *swig_obj[1] ;
14509
14510 if (!args) SWIG_fail;
14511 swig_obj[0] = args;
14512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14513 if (!SWIG_IsOK(res1)) {
14514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_GetVisibleRowsEnd" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14515 }
14516 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14517 {
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 result = (size_t)((wxVarVScrollHelper const *)arg1)->GetVisibleRowsEnd();
14520 wxPyEndAllowThreads(__tstate);
14521 if (PyErr_Occurred()) SWIG_fail;
14522 }
14523 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14524 return resultobj;
14525 fail:
14526 return NULL;
14527 }
14528
14529
14530 SWIGINTERN PyObject *_wrap_VarVScrollHelper_IsRowVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14531 PyObject *resultobj = 0;
14532 wxVarVScrollHelper *arg1 = (wxVarVScrollHelper *) 0 ;
14533 size_t arg2 ;
14534 bool result;
14535 void *argp1 = 0 ;
14536 int res1 = 0 ;
14537 size_t val2 ;
14538 int ecode2 = 0 ;
14539 PyObject * obj0 = 0 ;
14540 PyObject * obj1 = 0 ;
14541 char * kwnames[] = {
14542 (char *) "self",(char *) "row", NULL
14543 };
14544
14545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarVScrollHelper_IsRowVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarVScrollHelper, 0 | 0 );
14547 if (!SWIG_IsOK(res1)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "1"" of type '" "wxVarVScrollHelper const *""'");
14549 }
14550 arg1 = reinterpret_cast< wxVarVScrollHelper * >(argp1);
14551 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14552 if (!SWIG_IsOK(ecode2)) {
14553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarVScrollHelper_IsRowVisible" "', expected argument " "2"" of type '" "size_t""'");
14554 }
14555 arg2 = static_cast< size_t >(val2);
14556 {
14557 PyThreadState* __tstate = wxPyBeginAllowThreads();
14558 result = (bool)((wxVarVScrollHelper const *)arg1)->IsRowVisible(arg2);
14559 wxPyEndAllowThreads(__tstate);
14560 if (PyErr_Occurred()) SWIG_fail;
14561 }
14562 {
14563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14564 }
14565 return resultobj;
14566 fail:
14567 return NULL;
14568 }
14569
14570
14571 SWIGINTERN PyObject *VarVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14572 PyObject *obj;
14573 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14574 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarVScrollHelper, SWIG_NewClientData(obj));
14575 return SWIG_Py_Void();
14576 }
14577
14578 SWIGINTERN PyObject *_wrap_VarHScrollHelper_SetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14579 PyObject *resultobj = 0;
14580 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14581 size_t arg2 ;
14582 void *argp1 = 0 ;
14583 int res1 = 0 ;
14584 size_t val2 ;
14585 int ecode2 = 0 ;
14586 PyObject * obj0 = 0 ;
14587 PyObject * obj1 = 0 ;
14588 char * kwnames[] = {
14589 (char *) "self",(char *) "columnCount", NULL
14590 };
14591
14592 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_SetColumnCount",kwnames,&obj0,&obj1)) SWIG_fail;
14593 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14594 if (!SWIG_IsOK(res1)) {
14595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14596 }
14597 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14598 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14599 if (!SWIG_IsOK(ecode2)) {
14600 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_SetColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14601 }
14602 arg2 = static_cast< size_t >(val2);
14603 {
14604 PyThreadState* __tstate = wxPyBeginAllowThreads();
14605 (arg1)->SetColumnCount(arg2);
14606 wxPyEndAllowThreads(__tstate);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 resultobj = SWIG_Py_Void();
14610 return resultobj;
14611 fail:
14612 return NULL;
14613 }
14614
14615
14616 SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollToColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14617 PyObject *resultobj = 0;
14618 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14619 size_t arg2 ;
14620 bool result;
14621 void *argp1 = 0 ;
14622 int res1 = 0 ;
14623 size_t val2 ;
14624 int ecode2 = 0 ;
14625 PyObject * obj0 = 0 ;
14626 PyObject * obj1 = 0 ;
14627 char * kwnames[] = {
14628 (char *) "self",(char *) "column", NULL
14629 };
14630
14631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollToColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14633 if (!SWIG_IsOK(res1)) {
14634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14635 }
14636 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14637 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14638 if (!SWIG_IsOK(ecode2)) {
14639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollToColumn" "', expected argument " "2"" of type '" "size_t""'");
14640 }
14641 arg2 = static_cast< size_t >(val2);
14642 {
14643 PyThreadState* __tstate = wxPyBeginAllowThreads();
14644 result = (bool)(arg1)->ScrollToColumn(arg2);
14645 wxPyEndAllowThreads(__tstate);
14646 if (PyErr_Occurred()) SWIG_fail;
14647 }
14648 {
14649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14650 }
14651 return resultobj;
14652 fail:
14653 return NULL;
14654 }
14655
14656
14657 SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14658 PyObject *resultobj = 0;
14659 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14660 int arg2 ;
14661 bool result;
14662 void *argp1 = 0 ;
14663 int res1 = 0 ;
14664 int val2 ;
14665 int ecode2 = 0 ;
14666 PyObject * obj0 = 0 ;
14667 PyObject * obj1 = 0 ;
14668 char * kwnames[] = {
14669 (char *) "self",(char *) "columns", NULL
14670 };
14671
14672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumns",kwnames,&obj0,&obj1)) SWIG_fail;
14673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14674 if (!SWIG_IsOK(res1)) {
14675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14676 }
14677 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14678 ecode2 = SWIG_AsVal_int(obj1, &val2);
14679 if (!SWIG_IsOK(ecode2)) {
14680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumns" "', expected argument " "2"" of type '" "int""'");
14681 }
14682 arg2 = static_cast< int >(val2);
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 result = (bool)(arg1)->ScrollColumns(arg2);
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 {
14690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14691 }
14692 return resultobj;
14693 fail:
14694 return NULL;
14695 }
14696
14697
14698 SWIGINTERN PyObject *_wrap_VarHScrollHelper_ScrollColumnPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14699 PyObject *resultobj = 0;
14700 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14701 int arg2 ;
14702 bool result;
14703 void *argp1 = 0 ;
14704 int res1 = 0 ;
14705 int val2 ;
14706 int ecode2 = 0 ;
14707 PyObject * obj0 = 0 ;
14708 PyObject * obj1 = 0 ;
14709 char * kwnames[] = {
14710 (char *) "self",(char *) "pages", NULL
14711 };
14712
14713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_ScrollColumnPages",kwnames,&obj0,&obj1)) SWIG_fail;
14714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14715 if (!SWIG_IsOK(res1)) {
14716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14717 }
14718 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14719 ecode2 = SWIG_AsVal_int(obj1, &val2);
14720 if (!SWIG_IsOK(ecode2)) {
14721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_ScrollColumnPages" "', expected argument " "2"" of type '" "int""'");
14722 }
14723 arg2 = static_cast< int >(val2);
14724 {
14725 PyThreadState* __tstate = wxPyBeginAllowThreads();
14726 result = (bool)(arg1)->ScrollColumnPages(arg2);
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 {
14731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14732 }
14733 return resultobj;
14734 fail:
14735 return NULL;
14736 }
14737
14738
14739 SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14740 PyObject *resultobj = 0;
14741 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14742 size_t arg2 ;
14743 void *argp1 = 0 ;
14744 int res1 = 0 ;
14745 size_t val2 ;
14746 int ecode2 = 0 ;
14747 PyObject * obj0 = 0 ;
14748 PyObject * obj1 = 0 ;
14749 char * kwnames[] = {
14750 (char *) "self",(char *) "column", NULL
14751 };
14752
14753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_RefreshColumn",kwnames,&obj0,&obj1)) SWIG_fail;
14754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14755 if (!SWIG_IsOK(res1)) {
14756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14757 }
14758 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14759 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14760 if (!SWIG_IsOK(ecode2)) {
14761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumn" "', expected argument " "2"" of type '" "size_t""'");
14762 }
14763 arg2 = static_cast< size_t >(val2);
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 (arg1)->RefreshColumn(arg2);
14767 wxPyEndAllowThreads(__tstate);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
14770 resultobj = SWIG_Py_Void();
14771 return resultobj;
14772 fail:
14773 return NULL;
14774 }
14775
14776
14777 SWIGINTERN PyObject *_wrap_VarHScrollHelper_RefreshColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14778 PyObject *resultobj = 0;
14779 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14780 size_t arg2 ;
14781 size_t arg3 ;
14782 void *argp1 = 0 ;
14783 int res1 = 0 ;
14784 size_t val2 ;
14785 int ecode2 = 0 ;
14786 size_t val3 ;
14787 int ecode3 = 0 ;
14788 PyObject * obj0 = 0 ;
14789 PyObject * obj1 = 0 ;
14790 PyObject * obj2 = 0 ;
14791 char * kwnames[] = {
14792 (char *) "self",(char *) "from",(char *) "to", NULL
14793 };
14794
14795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHScrollHelper_RefreshColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14797 if (!SWIG_IsOK(res1)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "1"" of type '" "wxVarHScrollHelper *""'");
14799 }
14800 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14801 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14802 if (!SWIG_IsOK(ecode2)) {
14803 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "2"" of type '" "size_t""'");
14804 }
14805 arg2 = static_cast< size_t >(val2);
14806 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14807 if (!SWIG_IsOK(ecode3)) {
14808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHScrollHelper_RefreshColumns" "', expected argument " "3"" of type '" "size_t""'");
14809 }
14810 arg3 = static_cast< size_t >(val3);
14811 {
14812 PyThreadState* __tstate = wxPyBeginAllowThreads();
14813 (arg1)->RefreshColumns(arg2,arg3);
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 resultobj = SWIG_Py_Void();
14818 return resultobj;
14819 fail:
14820 return NULL;
14821 }
14822
14823
14824 SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14825 PyObject *resultobj = 0;
14826 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14827 size_t result;
14828 void *argp1 = 0 ;
14829 int res1 = 0 ;
14830 PyObject *swig_obj[1] ;
14831
14832 if (!args) SWIG_fail;
14833 swig_obj[0] = args;
14834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14835 if (!SWIG_IsOK(res1)) {
14836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetColumnCount" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14837 }
14838 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14839 {
14840 PyThreadState* __tstate = wxPyBeginAllowThreads();
14841 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetColumnCount();
14842 wxPyEndAllowThreads(__tstate);
14843 if (PyErr_Occurred()) SWIG_fail;
14844 }
14845 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14846 return resultobj;
14847 fail:
14848 return NULL;
14849 }
14850
14851
14852 SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14853 PyObject *resultobj = 0;
14854 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14855 size_t result;
14856 void *argp1 = 0 ;
14857 int res1 = 0 ;
14858 PyObject *swig_obj[1] ;
14859
14860 if (!args) SWIG_fail;
14861 swig_obj[0] = args;
14862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14863 if (!SWIG_IsOK(res1)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsBegin" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14865 }
14866 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14867 {
14868 PyThreadState* __tstate = wxPyBeginAllowThreads();
14869 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsBegin();
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14874 return resultobj;
14875 fail:
14876 return NULL;
14877 }
14878
14879
14880 SWIGINTERN PyObject *_wrap_VarHScrollHelper_GetVisibleColumnsEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14881 PyObject *resultobj = 0;
14882 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14883 size_t result;
14884 void *argp1 = 0 ;
14885 int res1 = 0 ;
14886 PyObject *swig_obj[1] ;
14887
14888 if (!args) SWIG_fail;
14889 swig_obj[0] = args;
14890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14891 if (!SWIG_IsOK(res1)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_GetVisibleColumnsEnd" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14893 }
14894 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (size_t)((wxVarHScrollHelper const *)arg1)->GetVisibleColumnsEnd();
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14902 return resultobj;
14903 fail:
14904 return NULL;
14905 }
14906
14907
14908 SWIGINTERN PyObject *_wrap_VarHScrollHelper_IsColumnVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj = 0;
14910 wxVarHScrollHelper *arg1 = (wxVarHScrollHelper *) 0 ;
14911 size_t arg2 ;
14912 bool result;
14913 void *argp1 = 0 ;
14914 int res1 = 0 ;
14915 size_t val2 ;
14916 int ecode2 = 0 ;
14917 PyObject * obj0 = 0 ;
14918 PyObject * obj1 = 0 ;
14919 char * kwnames[] = {
14920 (char *) "self",(char *) "column", NULL
14921 };
14922
14923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHScrollHelper_IsColumnVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHScrollHelper, 0 | 0 );
14925 if (!SWIG_IsOK(res1)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "1"" of type '" "wxVarHScrollHelper const *""'");
14927 }
14928 arg1 = reinterpret_cast< wxVarHScrollHelper * >(argp1);
14929 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14930 if (!SWIG_IsOK(ecode2)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHScrollHelper_IsColumnVisible" "', expected argument " "2"" of type '" "size_t""'");
14932 }
14933 arg2 = static_cast< size_t >(val2);
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 result = (bool)((wxVarHScrollHelper const *)arg1)->IsColumnVisible(arg2);
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 {
14941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14942 }
14943 return resultobj;
14944 fail:
14945 return NULL;
14946 }
14947
14948
14949 SWIGINTERN PyObject *VarHScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14950 PyObject *obj;
14951 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14952 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHScrollHelper, SWIG_NewClientData(obj));
14953 return SWIG_Py_Void();
14954 }
14955
14956 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_SetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14957 PyObject *resultobj = 0;
14958 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
14959 size_t arg2 ;
14960 size_t arg3 ;
14961 void *argp1 = 0 ;
14962 int res1 = 0 ;
14963 size_t val2 ;
14964 int ecode2 = 0 ;
14965 size_t val3 ;
14966 int ecode3 = 0 ;
14967 PyObject * obj0 = 0 ;
14968 PyObject * obj1 = 0 ;
14969 PyObject * obj2 = 0 ;
14970 char * kwnames[] = {
14971 (char *) "self",(char *) "rowCount",(char *) "columnCount", NULL
14972 };
14973
14974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_SetRowColumnCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
14976 if (!SWIG_IsOK(res1)) {
14977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
14978 }
14979 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
14980 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14981 if (!SWIG_IsOK(ecode2)) {
14982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "2"" of type '" "size_t""'");
14983 }
14984 arg2 = static_cast< size_t >(val2);
14985 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14986 if (!SWIG_IsOK(ecode3)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_SetRowColumnCount" "', expected argument " "3"" of type '" "size_t""'");
14988 }
14989 arg3 = static_cast< size_t >(val3);
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
14992 (arg1)->SetRowColumnCount(arg2,arg3);
14993 wxPyEndAllowThreads(__tstate);
14994 if (PyErr_Occurred()) SWIG_fail;
14995 }
14996 resultobj = SWIG_Py_Void();
14997 return resultobj;
14998 fail:
14999 return NULL;
15000 }
15001
15002
15003 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_EnablePhysicalScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15004 PyObject *resultobj = 0;
15005 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15006 bool arg2 = (bool) true ;
15007 bool arg3 = (bool) true ;
15008 void *argp1 = 0 ;
15009 int res1 = 0 ;
15010 bool val2 ;
15011 int ecode2 = 0 ;
15012 bool val3 ;
15013 int ecode3 = 0 ;
15014 PyObject * obj0 = 0 ;
15015 PyObject * obj1 = 0 ;
15016 PyObject * obj2 = 0 ;
15017 char * kwnames[] = {
15018 (char *) "self",(char *) "vscrolling",(char *) "hscrolling", NULL
15019 };
15020
15021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:VarHVScrollHelper_EnablePhysicalScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15023 if (!SWIG_IsOK(res1)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15025 }
15026 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15027 if (obj1) {
15028 ecode2 = SWIG_AsVal_bool(obj1, &val2);
15029 if (!SWIG_IsOK(ecode2)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "2"" of type '" "bool""'");
15031 }
15032 arg2 = static_cast< bool >(val2);
15033 }
15034 if (obj2) {
15035 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15036 if (!SWIG_IsOK(ecode3)) {
15037 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VarHVScrollHelper_EnablePhysicalScrolling" "', expected argument " "3"" of type '" "bool""'");
15038 }
15039 arg3 = static_cast< bool >(val3);
15040 }
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 (arg1)->EnablePhysicalScrolling(arg2,arg3);
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 resultobj = SWIG_Py_Void();
15048 return resultobj;
15049 fail:
15050 return NULL;
15051 }
15052
15053
15054 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollToRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15055 PyObject *resultobj = 0;
15056 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15057 wxPosition *arg2 = 0 ;
15058 bool result;
15059 void *argp1 = 0 ;
15060 int res1 = 0 ;
15061 void *argp2 = 0 ;
15062 int res2 = 0 ;
15063 PyObject * obj0 = 0 ;
15064 PyObject * obj1 = 0 ;
15065 char * kwnames[] = {
15066 (char *) "self",(char *) "pos", NULL
15067 };
15068
15069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_ScrollToRowColumn",kwnames,&obj0,&obj1)) SWIG_fail;
15070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15071 if (!SWIG_IsOK(res1)) {
15072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15073 }
15074 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15075 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15076 if (!SWIG_IsOK(res2)) {
15077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15078 }
15079 if (!argp2) {
15080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_ScrollToRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15081 }
15082 arg2 = reinterpret_cast< wxPosition * >(argp2);
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 result = (bool)(arg1)->ScrollToRowColumn((wxPosition const &)*arg2);
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 {
15090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15091 }
15092 return resultobj;
15093 fail:
15094 return NULL;
15095 }
15096
15097
15098 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15099 PyObject *resultobj = 0;
15100 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15101 wxPosition *arg2 = 0 ;
15102 void *argp1 = 0 ;
15103 int res1 = 0 ;
15104 void *argp2 = 0 ;
15105 int res2 = 0 ;
15106 PyObject * obj0 = 0 ;
15107 PyObject * obj1 = 0 ;
15108 char * kwnames[] = {
15109 (char *) "self",(char *) "pos", NULL
15110 };
15111
15112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_RefreshRowColumn",kwnames,&obj0,&obj1)) SWIG_fail;
15113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15114 if (!SWIG_IsOK(res1)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15116 }
15117 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15118 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15119 if (!SWIG_IsOK(res2)) {
15120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15121 }
15122 if (!argp2) {
15123 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowColumn" "', expected argument " "2"" of type '" "wxPosition const &""'");
15124 }
15125 arg2 = reinterpret_cast< wxPosition * >(argp2);
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 (arg1)->RefreshRowColumn((wxPosition const &)*arg2);
15129 wxPyEndAllowThreads(__tstate);
15130 if (PyErr_Occurred()) SWIG_fail;
15131 }
15132 resultobj = SWIG_Py_Void();
15133 return resultobj;
15134 fail:
15135 return NULL;
15136 }
15137
15138
15139 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_RefreshRowsColumns(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15140 PyObject *resultobj = 0;
15141 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15142 wxPosition *arg2 = 0 ;
15143 wxPosition *arg3 = 0 ;
15144 void *argp1 = 0 ;
15145 int res1 = 0 ;
15146 void *argp2 = 0 ;
15147 int res2 = 0 ;
15148 void *argp3 = 0 ;
15149 int res3 = 0 ;
15150 PyObject * obj0 = 0 ;
15151 PyObject * obj1 = 0 ;
15152 PyObject * obj2 = 0 ;
15153 char * kwnames[] = {
15154 (char *) "self",(char *) "from",(char *) "to", NULL
15155 };
15156
15157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VarHVScrollHelper_RefreshRowsColumns",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15159 if (!SWIG_IsOK(res1)) {
15160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15161 }
15162 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15163 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15164 if (!SWIG_IsOK(res2)) {
15165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15166 }
15167 if (!argp2) {
15168 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "2"" of type '" "wxPosition const &""'");
15169 }
15170 arg2 = reinterpret_cast< wxPosition * >(argp2);
15171 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPosition, 0 | 0);
15172 if (!SWIG_IsOK(res3)) {
15173 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15174 }
15175 if (!argp3) {
15176 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_RefreshRowsColumns" "', expected argument " "3"" of type '" "wxPosition const &""'");
15177 }
15178 arg3 = reinterpret_cast< wxPosition * >(argp3);
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 (arg1)->RefreshRowsColumns((wxPosition const &)*arg2,(wxPosition const &)*arg3);
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 resultobj = SWIG_Py_Void();
15186 return resultobj;
15187 fail:
15188 return NULL;
15189 }
15190
15191
15192 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15193 PyObject *resultobj = 0;
15194 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15195 wxPoint *arg2 = 0 ;
15196 wxPosition result;
15197 void *argp1 = 0 ;
15198 int res1 = 0 ;
15199 wxPoint temp2 ;
15200 PyObject * obj0 = 0 ;
15201 PyObject * obj1 = 0 ;
15202 char * kwnames[] = {
15203 (char *) "self",(char *) "pos", NULL
15204 };
15205
15206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15208 if (!SWIG_IsOK(res1)) {
15209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_HitTest" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15210 }
15211 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15212 {
15213 arg2 = &temp2;
15214 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15215 }
15216 {
15217 PyThreadState* __tstate = wxPyBeginAllowThreads();
15218 result = ((wxVarHVScrollHelper const *)arg1)->HitTest((wxPoint const &)*arg2);
15219 wxPyEndAllowThreads(__tstate);
15220 if (PyErr_Occurred()) SWIG_fail;
15221 }
15222 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15223 return resultobj;
15224 fail:
15225 return NULL;
15226 }
15227
15228
15229 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_ScrollLayout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15230 PyObject *resultobj = 0;
15231 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15232 bool result;
15233 void *argp1 = 0 ;
15234 int res1 = 0 ;
15235 PyObject *swig_obj[1] ;
15236
15237 if (!args) SWIG_fail;
15238 swig_obj[0] = args;
15239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15240 if (!SWIG_IsOK(res1)) {
15241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_ScrollLayout" "', expected argument " "1"" of type '" "wxVarHVScrollHelper *""'");
15242 }
15243 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15244 {
15245 PyThreadState* __tstate = wxPyBeginAllowThreads();
15246 result = (bool)(arg1)->ScrollLayout();
15247 wxPyEndAllowThreads(__tstate);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
15250 {
15251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15252 }
15253 return resultobj;
15254 fail:
15255 return NULL;
15256 }
15257
15258
15259 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetRowColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15260 PyObject *resultobj = 0;
15261 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15262 wxSize result;
15263 void *argp1 = 0 ;
15264 int res1 = 0 ;
15265 PyObject *swig_obj[1] ;
15266
15267 if (!args) SWIG_fail;
15268 swig_obj[0] = args;
15269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15270 if (!SWIG_IsOK(res1)) {
15271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetRowColumnCount" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15272 }
15273 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = ((wxVarHVScrollHelper const *)arg1)->GetRowColumnCount();
15277 wxPyEndAllowThreads(__tstate);
15278 if (PyErr_Occurred()) SWIG_fail;
15279 }
15280 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
15281 return resultobj;
15282 fail:
15283 return NULL;
15284 }
15285
15286
15287 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15288 PyObject *resultobj = 0;
15289 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15290 wxPosition result;
15291 void *argp1 = 0 ;
15292 int res1 = 0 ;
15293 PyObject *swig_obj[1] ;
15294
15295 if (!args) SWIG_fail;
15296 swig_obj[0] = args;
15297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15298 if (!SWIG_IsOK(res1)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleBegin" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15300 }
15301 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15302 {
15303 PyThreadState* __tstate = wxPyBeginAllowThreads();
15304 result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleBegin();
15305 wxPyEndAllowThreads(__tstate);
15306 if (PyErr_Occurred()) SWIG_fail;
15307 }
15308 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15309 return resultobj;
15310 fail:
15311 return NULL;
15312 }
15313
15314
15315 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15316 PyObject *resultobj = 0;
15317 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15318 wxPosition result;
15319 void *argp1 = 0 ;
15320 int res1 = 0 ;
15321 PyObject *swig_obj[1] ;
15322
15323 if (!args) SWIG_fail;
15324 swig_obj[0] = args;
15325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15326 if (!SWIG_IsOK(res1)) {
15327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_GetVisibleEnd" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15328 }
15329 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15330 {
15331 PyThreadState* __tstate = wxPyBeginAllowThreads();
15332 result = ((wxVarHVScrollHelper const *)arg1)->GetVisibleEnd();
15333 wxPyEndAllowThreads(__tstate);
15334 if (PyErr_Occurred()) SWIG_fail;
15335 }
15336 resultobj = SWIG_NewPointerObj((new wxPosition(static_cast< const wxPosition& >(result))), SWIGTYPE_p_wxPosition, SWIG_POINTER_OWN | 0 );
15337 return resultobj;
15338 fail:
15339 return NULL;
15340 }
15341
15342
15343 SWIGINTERN PyObject *_wrap_VarHVScrollHelper_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15344 PyObject *resultobj = 0;
15345 wxVarHVScrollHelper *arg1 = (wxVarHVScrollHelper *) 0 ;
15346 wxPosition *arg2 = 0 ;
15347 bool result;
15348 void *argp1 = 0 ;
15349 int res1 = 0 ;
15350 void *argp2 = 0 ;
15351 int res2 = 0 ;
15352 PyObject * obj0 = 0 ;
15353 PyObject * obj1 = 0 ;
15354 char * kwnames[] = {
15355 (char *) "self",(char *) "pos", NULL
15356 };
15357
15358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VarHVScrollHelper_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
15359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxVarHVScrollHelper, 0 | 0 );
15360 if (!SWIG_IsOK(res1)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "1"" of type '" "wxVarHVScrollHelper const *""'");
15362 }
15363 arg1 = reinterpret_cast< wxVarHVScrollHelper * >(argp1);
15364 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPosition, 0 | 0);
15365 if (!SWIG_IsOK(res2)) {
15366 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15367 }
15368 if (!argp2) {
15369 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VarHVScrollHelper_IsVisible" "', expected argument " "2"" of type '" "wxPosition const &""'");
15370 }
15371 arg2 = reinterpret_cast< wxPosition * >(argp2);
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 result = (bool)((wxVarHVScrollHelper const *)arg1)->IsVisible((wxPosition const &)*arg2);
15375 wxPyEndAllowThreads(__tstate);
15376 if (PyErr_Occurred()) SWIG_fail;
15377 }
15378 {
15379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15380 }
15381 return resultobj;
15382 fail:
15383 return NULL;
15384 }
15385
15386
15387 SWIGINTERN PyObject *VarHVScrollHelper_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15388 PyObject *obj;
15389 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15390 SWIG_TypeNewClientData(SWIGTYPE_p_wxVarHVScrollHelper, SWIG_NewClientData(obj));
15391 return SWIG_Py_Void();
15392 }
15393
15394 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15395 PyObject *resultobj = 0;
15396 wxWindow *arg1 = (wxWindow *) 0 ;
15397 int arg2 = (int) wxID_ANY ;
15398 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15399 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15400 wxSize const &arg4_defvalue = wxDefaultSize ;
15401 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15402 long arg5 = (long) 0 ;
15403 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15404 wxString *arg6 = (wxString *) &arg6_defvalue ;
15405 wxPyVScrolledWindow *result = 0 ;
15406 void *argp1 = 0 ;
15407 int res1 = 0 ;
15408 int val2 ;
15409 int ecode2 = 0 ;
15410 wxPoint temp3 ;
15411 wxSize temp4 ;
15412 long val5 ;
15413 int ecode5 = 0 ;
15414 bool temp6 = false ;
15415 PyObject * obj0 = 0 ;
15416 PyObject * obj1 = 0 ;
15417 PyObject * obj2 = 0 ;
15418 PyObject * obj3 = 0 ;
15419 PyObject * obj4 = 0 ;
15420 PyObject * obj5 = 0 ;
15421 char * kwnames[] = {
15422 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15423 };
15424
15425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15427 if (!SWIG_IsOK(res1)) {
15428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15429 }
15430 arg1 = reinterpret_cast< wxWindow * >(argp1);
15431 if (obj1) {
15432 ecode2 = SWIG_AsVal_int(obj1, &val2);
15433 if (!SWIG_IsOK(ecode2)) {
15434 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15435 }
15436 arg2 = static_cast< int >(val2);
15437 }
15438 if (obj2) {
15439 {
15440 arg3 = &temp3;
15441 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15442 }
15443 }
15444 if (obj3) {
15445 {
15446 arg4 = &temp4;
15447 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15448 }
15449 }
15450 if (obj4) {
15451 ecode5 = SWIG_AsVal_long(obj4, &val5);
15452 if (!SWIG_IsOK(ecode5)) {
15453 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15454 }
15455 arg5 = static_cast< long >(val5);
15456 }
15457 if (obj5) {
15458 {
15459 arg6 = wxString_in_helper(obj5);
15460 if (arg6 == NULL) SWIG_fail;
15461 temp6 = true;
15462 }
15463 }
15464 {
15465 if (!wxPyCheckForApp()) SWIG_fail;
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
15472 {
15473 if (temp6)
15474 delete arg6;
15475 }
15476 return resultobj;
15477 fail:
15478 {
15479 if (temp6)
15480 delete arg6;
15481 }
15482 return NULL;
15483 }
15484
15485
15486 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15487 PyObject *resultobj = 0;
15488 wxPyVScrolledWindow *result = 0 ;
15489
15490 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
15491 {
15492 if (!wxPyCheckForApp()) SWIG_fail;
15493 PyThreadState* __tstate = wxPyBeginAllowThreads();
15494 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
15495 wxPyEndAllowThreads(__tstate);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
15498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
15499 return resultobj;
15500 fail:
15501 return NULL;
15502 }
15503
15504
15505 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15506 PyObject *resultobj = 0;
15507 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15508 PyObject *arg2 = (PyObject *) 0 ;
15509 PyObject *arg3 = (PyObject *) 0 ;
15510 void *argp1 = 0 ;
15511 int res1 = 0 ;
15512 PyObject * obj0 = 0 ;
15513 PyObject * obj1 = 0 ;
15514 PyObject * obj2 = 0 ;
15515 char * kwnames[] = {
15516 (char *) "self",(char *) "self",(char *) "_class", NULL
15517 };
15518
15519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15521 if (!SWIG_IsOK(res1)) {
15522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15523 }
15524 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15525 arg2 = obj1;
15526 arg3 = obj2;
15527 {
15528 PyThreadState* __tstate = wxPyBeginAllowThreads();
15529 (arg1)->_setCallbackInfo(arg2,arg3);
15530 wxPyEndAllowThreads(__tstate);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 resultobj = SWIG_Py_Void();
15534 return resultobj;
15535 fail:
15536 return NULL;
15537 }
15538
15539
15540 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15541 PyObject *resultobj = 0;
15542 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15543 wxWindow *arg2 = (wxWindow *) 0 ;
15544 int arg3 = (int) wxID_ANY ;
15545 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15546 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15547 wxSize const &arg5_defvalue = wxDefaultSize ;
15548 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15549 long arg6 = (long) 0 ;
15550 wxString const &arg7_defvalue = wxPyPanelNameStr ;
15551 wxString *arg7 = (wxString *) &arg7_defvalue ;
15552 bool result;
15553 void *argp1 = 0 ;
15554 int res1 = 0 ;
15555 void *argp2 = 0 ;
15556 int res2 = 0 ;
15557 int val3 ;
15558 int ecode3 = 0 ;
15559 wxPoint temp4 ;
15560 wxSize temp5 ;
15561 long val6 ;
15562 int ecode6 = 0 ;
15563 bool temp7 = false ;
15564 PyObject * obj0 = 0 ;
15565 PyObject * obj1 = 0 ;
15566 PyObject * obj2 = 0 ;
15567 PyObject * obj3 = 0 ;
15568 PyObject * obj4 = 0 ;
15569 PyObject * obj5 = 0 ;
15570 PyObject * obj6 = 0 ;
15571 char * kwnames[] = {
15572 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15573 };
15574
15575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15577 if (!SWIG_IsOK(res1)) {
15578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
15579 }
15580 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15581 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15582 if (!SWIG_IsOK(res2)) {
15583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15584 }
15585 arg2 = reinterpret_cast< wxWindow * >(argp2);
15586 if (obj2) {
15587 ecode3 = SWIG_AsVal_int(obj2, &val3);
15588 if (!SWIG_IsOK(ecode3)) {
15589 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15590 }
15591 arg3 = static_cast< int >(val3);
15592 }
15593 if (obj3) {
15594 {
15595 arg4 = &temp4;
15596 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15597 }
15598 }
15599 if (obj4) {
15600 {
15601 arg5 = &temp5;
15602 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15603 }
15604 }
15605 if (obj5) {
15606 ecode6 = SWIG_AsVal_long(obj5, &val6);
15607 if (!SWIG_IsOK(ecode6)) {
15608 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15609 }
15610 arg6 = static_cast< long >(val6);
15611 }
15612 if (obj6) {
15613 {
15614 arg7 = wxString_in_helper(obj6);
15615 if (arg7 == NULL) SWIG_fail;
15616 temp7 = true;
15617 }
15618 }
15619 {
15620 PyThreadState* __tstate = wxPyBeginAllowThreads();
15621 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 {
15626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15627 }
15628 {
15629 if (temp7)
15630 delete arg7;
15631 }
15632 return resultobj;
15633 fail:
15634 {
15635 if (temp7)
15636 delete arg7;
15637 }
15638 return NULL;
15639 }
15640
15641
15642 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15643 PyObject *resultobj = 0;
15644 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15645 size_t arg2 ;
15646 size_t arg3 ;
15647 int result;
15648 void *argp1 = 0 ;
15649 int res1 = 0 ;
15650 size_t val2 ;
15651 int ecode2 = 0 ;
15652 size_t val3 ;
15653 int ecode3 = 0 ;
15654 PyObject * obj0 = 0 ;
15655 PyObject * obj1 = 0 ;
15656 PyObject * obj2 = 0 ;
15657 char * kwnames[] = {
15658 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
15659 };
15660
15661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15663 if (!SWIG_IsOK(res1)) {
15664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15665 }
15666 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15667 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15668 if (!SWIG_IsOK(ecode2)) {
15669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
15670 }
15671 arg2 = static_cast< size_t >(val2);
15672 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15673 if (!SWIG_IsOK(ecode3)) {
15674 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
15675 }
15676 arg3 = static_cast< size_t >(val3);
15677 {
15678 PyThreadState* __tstate = wxPyBeginAllowThreads();
15679 result = (int)((wxPyVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3);
15680 wxPyEndAllowThreads(__tstate);
15681 if (PyErr_Occurred()) SWIG_fail;
15682 }
15683 resultobj = SWIG_From_int(static_cast< int >(result));
15684 return resultobj;
15685 fail:
15686 return NULL;
15687 }
15688
15689
15690 SWIGINTERN PyObject *_wrap_VScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15691 PyObject *resultobj = 0;
15692 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15693 int result;
15694 void *argp1 = 0 ;
15695 int res1 = 0 ;
15696 PyObject *swig_obj[1] ;
15697
15698 if (!args) SWIG_fail;
15699 swig_obj[0] = args;
15700 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15701 if (!SWIG_IsOK(res1)) {
15702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15703 }
15704 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15705 {
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 result = (int)((wxPyVScrolledWindow const *)arg1)->EstimateTotalHeight();
15708 wxPyEndAllowThreads(__tstate);
15709 if (PyErr_Occurred()) SWIG_fail;
15710 }
15711 resultobj = SWIG_From_int(static_cast< int >(result));
15712 return resultobj;
15713 fail:
15714 return NULL;
15715 }
15716
15717
15718 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15719 PyObject *resultobj = 0;
15720 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
15721 wxPoint *arg2 = 0 ;
15722 int result;
15723 void *argp1 = 0 ;
15724 int res1 = 0 ;
15725 wxPoint temp2 ;
15726 PyObject * obj0 = 0 ;
15727 PyObject * obj1 = 0 ;
15728 char * kwnames[] = {
15729 (char *) "self",(char *) "pt", NULL
15730 };
15731
15732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
15733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
15734 if (!SWIG_IsOK(res1)) {
15735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
15736 }
15737 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
15738 {
15739 arg2 = &temp2;
15740 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15741 }
15742 {
15743 PyThreadState* __tstate = wxPyBeginAllowThreads();
15744 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
15745 wxPyEndAllowThreads(__tstate);
15746 if (PyErr_Occurred()) SWIG_fail;
15747 }
15748 resultobj = SWIG_From_int(static_cast< int >(result));
15749 return resultobj;
15750 fail:
15751 return NULL;
15752 }
15753
15754
15755 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15756 PyObject *obj;
15757 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15758 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
15759 return SWIG_Py_Void();
15760 }
15761
15762 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15763 return SWIG_Python_InitShadowInstance(args);
15764 }
15765
15766 SWIGINTERN PyObject *_wrap_new_HScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15767 PyObject *resultobj = 0;
15768 wxWindow *arg1 = (wxWindow *) 0 ;
15769 int arg2 = (int) wxID_ANY ;
15770 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15771 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15772 wxSize const &arg4_defvalue = wxDefaultSize ;
15773 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15774 long arg5 = (long) 0 ;
15775 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15776 wxString *arg6 = (wxString *) &arg6_defvalue ;
15777 wxPyHScrolledWindow *result = 0 ;
15778 void *argp1 = 0 ;
15779 int res1 = 0 ;
15780 int val2 ;
15781 int ecode2 = 0 ;
15782 wxPoint temp3 ;
15783 wxSize temp4 ;
15784 long val5 ;
15785 int ecode5 = 0 ;
15786 bool temp6 = false ;
15787 PyObject * obj0 = 0 ;
15788 PyObject * obj1 = 0 ;
15789 PyObject * obj2 = 0 ;
15790 PyObject * obj3 = 0 ;
15791 PyObject * obj4 = 0 ;
15792 PyObject * obj5 = 0 ;
15793 char * kwnames[] = {
15794 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15795 };
15796
15797 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15798 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15799 if (!SWIG_IsOK(res1)) {
15800 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
15801 }
15802 arg1 = reinterpret_cast< wxWindow * >(argp1);
15803 if (obj1) {
15804 ecode2 = SWIG_AsVal_int(obj1, &val2);
15805 if (!SWIG_IsOK(ecode2)) {
15806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HScrolledWindow" "', expected argument " "2"" of type '" "int""'");
15807 }
15808 arg2 = static_cast< int >(val2);
15809 }
15810 if (obj2) {
15811 {
15812 arg3 = &temp3;
15813 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15814 }
15815 }
15816 if (obj3) {
15817 {
15818 arg4 = &temp4;
15819 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15820 }
15821 }
15822 if (obj4) {
15823 ecode5 = SWIG_AsVal_long(obj4, &val5);
15824 if (!SWIG_IsOK(ecode5)) {
15825 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HScrolledWindow" "', expected argument " "5"" of type '" "long""'");
15826 }
15827 arg5 = static_cast< long >(val5);
15828 }
15829 if (obj5) {
15830 {
15831 arg6 = wxString_in_helper(obj5);
15832 if (arg6 == NULL) SWIG_fail;
15833 temp6 = true;
15834 }
15835 }
15836 {
15837 if (!wxPyCheckForApp()) SWIG_fail;
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15840 wxPyEndAllowThreads(__tstate);
15841 if (PyErr_Occurred()) SWIG_fail;
15842 }
15843 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_NEW | 0 );
15844 {
15845 if (temp6)
15846 delete arg6;
15847 }
15848 return resultobj;
15849 fail:
15850 {
15851 if (temp6)
15852 delete arg6;
15853 }
15854 return NULL;
15855 }
15856
15857
15858 SWIGINTERN PyObject *_wrap_new_PreHScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15859 PyObject *resultobj = 0;
15860 wxPyHScrolledWindow *result = 0 ;
15861
15862 if (!SWIG_Python_UnpackTuple(args,"new_PreHScrolledWindow",0,0,0)) SWIG_fail;
15863 {
15864 if (!wxPyCheckForApp()) SWIG_fail;
15865 PyThreadState* __tstate = wxPyBeginAllowThreads();
15866 result = (wxPyHScrolledWindow *)new wxPyHScrolledWindow();
15867 wxPyEndAllowThreads(__tstate);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 }
15870 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHScrolledWindow, SWIG_POINTER_OWN | 0 );
15871 return resultobj;
15872 fail:
15873 return NULL;
15874 }
15875
15876
15877 SWIGINTERN PyObject *_wrap_HScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15878 PyObject *resultobj = 0;
15879 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15880 PyObject *arg2 = (PyObject *) 0 ;
15881 PyObject *arg3 = (PyObject *) 0 ;
15882 void *argp1 = 0 ;
15883 int res1 = 0 ;
15884 PyObject * obj0 = 0 ;
15885 PyObject * obj1 = 0 ;
15886 PyObject * obj2 = 0 ;
15887 char * kwnames[] = {
15888 (char *) "self",(char *) "self",(char *) "_class", NULL
15889 };
15890
15891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15893 if (!SWIG_IsOK(res1)) {
15894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15895 }
15896 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15897 arg2 = obj1;
15898 arg3 = obj2;
15899 {
15900 PyThreadState* __tstate = wxPyBeginAllowThreads();
15901 (arg1)->_setCallbackInfo(arg2,arg3);
15902 wxPyEndAllowThreads(__tstate);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 resultobj = SWIG_Py_Void();
15906 return resultobj;
15907 fail:
15908 return NULL;
15909 }
15910
15911
15912 SWIGINTERN PyObject *_wrap_HScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15913 PyObject *resultobj = 0;
15914 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
15915 wxWindow *arg2 = (wxWindow *) 0 ;
15916 int arg3 = (int) wxID_ANY ;
15917 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15918 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15919 wxSize const &arg5_defvalue = wxDefaultSize ;
15920 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15921 long arg6 = (long) 0 ;
15922 wxString const &arg7_defvalue = wxPyPanelNameStr ;
15923 wxString *arg7 = (wxString *) &arg7_defvalue ;
15924 bool result;
15925 void *argp1 = 0 ;
15926 int res1 = 0 ;
15927 void *argp2 = 0 ;
15928 int res2 = 0 ;
15929 int val3 ;
15930 int ecode3 = 0 ;
15931 wxPoint temp4 ;
15932 wxSize temp5 ;
15933 long val6 ;
15934 int ecode6 = 0 ;
15935 bool temp7 = false ;
15936 PyObject * obj0 = 0 ;
15937 PyObject * obj1 = 0 ;
15938 PyObject * obj2 = 0 ;
15939 PyObject * obj3 = 0 ;
15940 PyObject * obj4 = 0 ;
15941 PyObject * obj5 = 0 ;
15942 PyObject * obj6 = 0 ;
15943 char * kwnames[] = {
15944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15945 };
15946
15947 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15948 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
15949 if (!SWIG_IsOK(res1)) {
15950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHScrolledWindow *""'");
15951 }
15952 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
15953 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15954 if (!SWIG_IsOK(res2)) {
15955 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15956 }
15957 arg2 = reinterpret_cast< wxWindow * >(argp2);
15958 if (obj2) {
15959 ecode3 = SWIG_AsVal_int(obj2, &val3);
15960 if (!SWIG_IsOK(ecode3)) {
15961 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
15962 }
15963 arg3 = static_cast< int >(val3);
15964 }
15965 if (obj3) {
15966 {
15967 arg4 = &temp4;
15968 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15969 }
15970 }
15971 if (obj4) {
15972 {
15973 arg5 = &temp5;
15974 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15975 }
15976 }
15977 if (obj5) {
15978 ecode6 = SWIG_AsVal_long(obj5, &val6);
15979 if (!SWIG_IsOK(ecode6)) {
15980 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
15981 }
15982 arg6 = static_cast< long >(val6);
15983 }
15984 if (obj6) {
15985 {
15986 arg7 = wxString_in_helper(obj6);
15987 if (arg7 == NULL) SWIG_fail;
15988 temp7 = true;
15989 }
15990 }
15991 {
15992 PyThreadState* __tstate = wxPyBeginAllowThreads();
15993 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15994 wxPyEndAllowThreads(__tstate);
15995 if (PyErr_Occurred()) SWIG_fail;
15996 }
15997 {
15998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15999 }
16000 {
16001 if (temp7)
16002 delete arg7;
16003 }
16004 return resultobj;
16005 fail:
16006 {
16007 if (temp7)
16008 delete arg7;
16009 }
16010 return NULL;
16011 }
16012
16013
16014 SWIGINTERN PyObject *_wrap_HScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16015 PyObject *resultobj = 0;
16016 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
16017 wxPoint *arg2 = 0 ;
16018 int result;
16019 void *argp1 = 0 ;
16020 int res1 = 0 ;
16021 wxPoint temp2 ;
16022 PyObject * obj0 = 0 ;
16023 PyObject * obj1 = 0 ;
16024 char * kwnames[] = {
16025 (char *) "self",(char *) "pt", NULL
16026 };
16027
16028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
16029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
16030 if (!SWIG_IsOK(res1)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16032 }
16033 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
16034 {
16035 arg2 = &temp2;
16036 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16037 }
16038 {
16039 PyThreadState* __tstate = wxPyBeginAllowThreads();
16040 result = (int)((wxPyHScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
16041 wxPyEndAllowThreads(__tstate);
16042 if (PyErr_Occurred()) SWIG_fail;
16043 }
16044 resultobj = SWIG_From_int(static_cast< int >(result));
16045 return resultobj;
16046 fail:
16047 return NULL;
16048 }
16049
16050
16051 SWIGINTERN PyObject *_wrap_HScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16052 PyObject *resultobj = 0;
16053 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
16054 size_t arg2 ;
16055 size_t arg3 ;
16056 int result;
16057 void *argp1 = 0 ;
16058 int res1 = 0 ;
16059 size_t val2 ;
16060 int ecode2 = 0 ;
16061 size_t val3 ;
16062 int ecode3 = 0 ;
16063 PyObject * obj0 = 0 ;
16064 PyObject * obj1 = 0 ;
16065 PyObject * obj2 = 0 ;
16066 char * kwnames[] = {
16067 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16068 };
16069
16070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
16072 if (!SWIG_IsOK(res1)) {
16073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16074 }
16075 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
16076 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16077 if (!SWIG_IsOK(ecode2)) {
16078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16079 }
16080 arg2 = static_cast< size_t >(val2);
16081 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16082 if (!SWIG_IsOK(ecode3)) {
16083 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16084 }
16085 arg3 = static_cast< size_t >(val3);
16086 {
16087 PyThreadState* __tstate = wxPyBeginAllowThreads();
16088 result = (int)((wxPyHScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3);
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 resultobj = SWIG_From_int(static_cast< int >(result));
16093 return resultobj;
16094 fail:
16095 return NULL;
16096 }
16097
16098
16099 SWIGINTERN PyObject *_wrap_HScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16100 PyObject *resultobj = 0;
16101 wxPyHScrolledWindow *arg1 = (wxPyHScrolledWindow *) 0 ;
16102 int result;
16103 void *argp1 = 0 ;
16104 int res1 = 0 ;
16105 PyObject *swig_obj[1] ;
16106
16107 if (!args) SWIG_fail;
16108 swig_obj[0] = args;
16109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHScrolledWindow, 0 | 0 );
16110 if (!SWIG_IsOK(res1)) {
16111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHScrolledWindow const *""'");
16112 }
16113 arg1 = reinterpret_cast< wxPyHScrolledWindow * >(argp1);
16114 {
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
16116 result = (int)((wxPyHScrolledWindow const *)arg1)->EstimateTotalWidth();
16117 wxPyEndAllowThreads(__tstate);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 }
16120 resultobj = SWIG_From_int(static_cast< int >(result));
16121 return resultobj;
16122 fail:
16123 return NULL;
16124 }
16125
16126
16127 SWIGINTERN PyObject *HScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16128 PyObject *obj;
16129 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16130 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHScrolledWindow, SWIG_NewClientData(obj));
16131 return SWIG_Py_Void();
16132 }
16133
16134 SWIGINTERN PyObject *HScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16135 return SWIG_Python_InitShadowInstance(args);
16136 }
16137
16138 SWIGINTERN PyObject *_wrap_new_HVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16139 PyObject *resultobj = 0;
16140 wxWindow *arg1 = (wxWindow *) 0 ;
16141 int arg2 = (int) wxID_ANY ;
16142 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16143 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16144 wxSize const &arg4_defvalue = wxDefaultSize ;
16145 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16146 long arg5 = (long) 0 ;
16147 wxString const &arg6_defvalue = wxPyPanelNameStr ;
16148 wxString *arg6 = (wxString *) &arg6_defvalue ;
16149 wxPyHVScrolledWindow *result = 0 ;
16150 void *argp1 = 0 ;
16151 int res1 = 0 ;
16152 int val2 ;
16153 int ecode2 = 0 ;
16154 wxPoint temp3 ;
16155 wxSize temp4 ;
16156 long val5 ;
16157 int ecode5 = 0 ;
16158 bool temp6 = false ;
16159 PyObject * obj0 = 0 ;
16160 PyObject * obj1 = 0 ;
16161 PyObject * obj2 = 0 ;
16162 PyObject * obj3 = 0 ;
16163 PyObject * obj4 = 0 ;
16164 PyObject * obj5 = 0 ;
16165 char * kwnames[] = {
16166 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16167 };
16168
16169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HVScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
16170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16171 if (!SWIG_IsOK(res1)) {
16172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HVScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
16173 }
16174 arg1 = reinterpret_cast< wxWindow * >(argp1);
16175 if (obj1) {
16176 ecode2 = SWIG_AsVal_int(obj1, &val2);
16177 if (!SWIG_IsOK(ecode2)) {
16178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HVScrolledWindow" "', expected argument " "2"" of type '" "int""'");
16179 }
16180 arg2 = static_cast< int >(val2);
16181 }
16182 if (obj2) {
16183 {
16184 arg3 = &temp3;
16185 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16186 }
16187 }
16188 if (obj3) {
16189 {
16190 arg4 = &temp4;
16191 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16192 }
16193 }
16194 if (obj4) {
16195 ecode5 = SWIG_AsVal_long(obj4, &val5);
16196 if (!SWIG_IsOK(ecode5)) {
16197 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HVScrolledWindow" "', expected argument " "5"" of type '" "long""'");
16198 }
16199 arg5 = static_cast< long >(val5);
16200 }
16201 if (obj5) {
16202 {
16203 arg6 = wxString_in_helper(obj5);
16204 if (arg6 == NULL) SWIG_fail;
16205 temp6 = true;
16206 }
16207 }
16208 {
16209 if (!wxPyCheckForApp()) SWIG_fail;
16210 PyThreadState* __tstate = wxPyBeginAllowThreads();
16211 result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
16215 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_NEW | 0 );
16216 {
16217 if (temp6)
16218 delete arg6;
16219 }
16220 return resultobj;
16221 fail:
16222 {
16223 if (temp6)
16224 delete arg6;
16225 }
16226 return NULL;
16227 }
16228
16229
16230 SWIGINTERN PyObject *_wrap_new_PreHVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16231 PyObject *resultobj = 0;
16232 wxPyHVScrolledWindow *result = 0 ;
16233
16234 if (!SWIG_Python_UnpackTuple(args,"new_PreHVScrolledWindow",0,0,0)) SWIG_fail;
16235 {
16236 if (!wxPyCheckForApp()) SWIG_fail;
16237 PyThreadState* __tstate = wxPyBeginAllowThreads();
16238 result = (wxPyHVScrolledWindow *)new wxPyHVScrolledWindow();
16239 wxPyEndAllowThreads(__tstate);
16240 if (PyErr_Occurred()) SWIG_fail;
16241 }
16242 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_POINTER_OWN | 0 );
16243 return resultobj;
16244 fail:
16245 return NULL;
16246 }
16247
16248
16249 SWIGINTERN PyObject *_wrap_HVScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj = 0;
16251 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16252 PyObject *arg2 = (PyObject *) 0 ;
16253 PyObject *arg3 = (PyObject *) 0 ;
16254 void *argp1 = 0 ;
16255 int res1 = 0 ;
16256 PyObject * obj0 = 0 ;
16257 PyObject * obj1 = 0 ;
16258 PyObject * obj2 = 0 ;
16259 char * kwnames[] = {
16260 (char *) "self",(char *) "self",(char *) "_class", NULL
16261 };
16262
16263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16265 if (!SWIG_IsOK(res1)) {
16266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16267 }
16268 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16269 arg2 = obj1;
16270 arg3 = obj2;
16271 {
16272 PyThreadState* __tstate = wxPyBeginAllowThreads();
16273 (arg1)->_setCallbackInfo(arg2,arg3);
16274 wxPyEndAllowThreads(__tstate);
16275 if (PyErr_Occurred()) SWIG_fail;
16276 }
16277 resultobj = SWIG_Py_Void();
16278 return resultobj;
16279 fail:
16280 return NULL;
16281 }
16282
16283
16284 SWIGINTERN PyObject *_wrap_HVScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16285 PyObject *resultobj = 0;
16286 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16287 wxWindow *arg2 = (wxWindow *) 0 ;
16288 int arg3 = (int) wxID_ANY ;
16289 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16290 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16291 wxSize const &arg5_defvalue = wxDefaultSize ;
16292 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16293 long arg6 = (long) 0 ;
16294 wxString const &arg7_defvalue = wxPyPanelNameStr ;
16295 wxString *arg7 = (wxString *) &arg7_defvalue ;
16296 bool result;
16297 void *argp1 = 0 ;
16298 int res1 = 0 ;
16299 void *argp2 = 0 ;
16300 int res2 = 0 ;
16301 int val3 ;
16302 int ecode3 = 0 ;
16303 wxPoint temp4 ;
16304 wxSize temp5 ;
16305 long val6 ;
16306 int ecode6 = 0 ;
16307 bool temp7 = false ;
16308 PyObject * obj0 = 0 ;
16309 PyObject * obj1 = 0 ;
16310 PyObject * obj2 = 0 ;
16311 PyObject * obj3 = 0 ;
16312 PyObject * obj4 = 0 ;
16313 PyObject * obj5 = 0 ;
16314 PyObject * obj6 = 0 ;
16315 char * kwnames[] = {
16316 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16317 };
16318
16319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HVScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16321 if (!SWIG_IsOK(res1)) {
16322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow *""'");
16323 }
16324 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16325 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16326 if (!SWIG_IsOK(res2)) {
16327 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HVScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16328 }
16329 arg2 = reinterpret_cast< wxWindow * >(argp2);
16330 if (obj2) {
16331 ecode3 = SWIG_AsVal_int(obj2, &val3);
16332 if (!SWIG_IsOK(ecode3)) {
16333 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
16334 }
16335 arg3 = static_cast< int >(val3);
16336 }
16337 if (obj3) {
16338 {
16339 arg4 = &temp4;
16340 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16341 }
16342 }
16343 if (obj4) {
16344 {
16345 arg5 = &temp5;
16346 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16347 }
16348 }
16349 if (obj5) {
16350 ecode6 = SWIG_AsVal_long(obj5, &val6);
16351 if (!SWIG_IsOK(ecode6)) {
16352 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HVScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
16353 }
16354 arg6 = static_cast< long >(val6);
16355 }
16356 if (obj6) {
16357 {
16358 arg7 = wxString_in_helper(obj6);
16359 if (arg7 == NULL) SWIG_fail;
16360 temp7 = true;
16361 }
16362 }
16363 {
16364 PyThreadState* __tstate = wxPyBeginAllowThreads();
16365 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16366 wxPyEndAllowThreads(__tstate);
16367 if (PyErr_Occurred()) SWIG_fail;
16368 }
16369 {
16370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16371 }
16372 {
16373 if (temp7)
16374 delete arg7;
16375 }
16376 return resultobj;
16377 fail:
16378 {
16379 if (temp7)
16380 delete arg7;
16381 }
16382 return NULL;
16383 }
16384
16385
16386 SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetRowsHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16387 PyObject *resultobj = 0;
16388 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16389 size_t arg2 ;
16390 size_t arg3 ;
16391 int result;
16392 void *argp1 = 0 ;
16393 int res1 = 0 ;
16394 size_t val2 ;
16395 int ecode2 = 0 ;
16396 size_t val3 ;
16397 int ecode3 = 0 ;
16398 PyObject * obj0 = 0 ;
16399 PyObject * obj1 = 0 ;
16400 PyObject * obj2 = 0 ;
16401 char * kwnames[] = {
16402 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
16403 };
16404
16405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetRowsHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16407 if (!SWIG_IsOK(res1)) {
16408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16409 }
16410 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16411 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16412 if (!SWIG_IsOK(ecode2)) {
16413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "2"" of type '" "size_t""'");
16414 }
16415 arg2 = static_cast< size_t >(val2);
16416 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16417 if (!SWIG_IsOK(ecode3)) {
16418 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetRowsHeight" "', expected argument " "3"" of type '" "size_t""'");
16419 }
16420 arg3 = static_cast< size_t >(val3);
16421 {
16422 PyThreadState* __tstate = wxPyBeginAllowThreads();
16423 result = (int)((wxPyHVScrolledWindow const *)arg1)->GetRowsHeight(arg2,arg3);
16424 wxPyEndAllowThreads(__tstate);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 }
16427 resultobj = SWIG_From_int(static_cast< int >(result));
16428 return resultobj;
16429 fail:
16430 return NULL;
16431 }
16432
16433
16434 SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16435 PyObject *resultobj = 0;
16436 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16437 int result;
16438 void *argp1 = 0 ;
16439 int res1 = 0 ;
16440 PyObject *swig_obj[1] ;
16441
16442 if (!args) SWIG_fail;
16443 swig_obj[0] = args;
16444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16445 if (!SWIG_IsOK(res1)) {
16446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalHeight" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16447 }
16448 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalHeight();
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 resultobj = SWIG_From_int(static_cast< int >(result));
16456 return resultobj;
16457 fail:
16458 return NULL;
16459 }
16460
16461
16462 SWIGINTERN PyObject *_wrap_HVScrolledWindow_GetColumnsWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16463 PyObject *resultobj = 0;
16464 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16465 size_t arg2 ;
16466 size_t arg3 ;
16467 int result;
16468 void *argp1 = 0 ;
16469 int res1 = 0 ;
16470 size_t val2 ;
16471 int ecode2 = 0 ;
16472 size_t val3 ;
16473 int ecode3 = 0 ;
16474 PyObject * obj0 = 0 ;
16475 PyObject * obj1 = 0 ;
16476 PyObject * obj2 = 0 ;
16477 char * kwnames[] = {
16478 (char *) "self",(char *) "columnMin",(char *) "columnMax", NULL
16479 };
16480
16481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HVScrolledWindow_GetColumnsWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16483 if (!SWIG_IsOK(res1)) {
16484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16485 }
16486 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16487 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16488 if (!SWIG_IsOK(ecode2)) {
16489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "2"" of type '" "size_t""'");
16490 }
16491 arg2 = static_cast< size_t >(val2);
16492 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
16493 if (!SWIG_IsOK(ecode3)) {
16494 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HVScrolledWindow_GetColumnsWidth" "', expected argument " "3"" of type '" "size_t""'");
16495 }
16496 arg3 = static_cast< size_t >(val3);
16497 {
16498 PyThreadState* __tstate = wxPyBeginAllowThreads();
16499 result = (int)((wxPyHVScrolledWindow const *)arg1)->GetColumnsWidth(arg2,arg3);
16500 wxPyEndAllowThreads(__tstate);
16501 if (PyErr_Occurred()) SWIG_fail;
16502 }
16503 resultobj = SWIG_From_int(static_cast< int >(result));
16504 return resultobj;
16505 fail:
16506 return NULL;
16507 }
16508
16509
16510 SWIGINTERN PyObject *_wrap_HVScrolledWindow_EstimateTotalWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16511 PyObject *resultobj = 0;
16512 wxPyHVScrolledWindow *arg1 = (wxPyHVScrolledWindow *) 0 ;
16513 int result;
16514 void *argp1 = 0 ;
16515 int res1 = 0 ;
16516 PyObject *swig_obj[1] ;
16517
16518 if (!args) SWIG_fail;
16519 swig_obj[0] = args;
16520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHVScrolledWindow, 0 | 0 );
16521 if (!SWIG_IsOK(res1)) {
16522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HVScrolledWindow_EstimateTotalWidth" "', expected argument " "1"" of type '" "wxPyHVScrolledWindow const *""'");
16523 }
16524 arg1 = reinterpret_cast< wxPyHVScrolledWindow * >(argp1);
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 result = (int)((wxPyHVScrolledWindow const *)arg1)->EstimateTotalWidth();
16528 wxPyEndAllowThreads(__tstate);
16529 if (PyErr_Occurred()) SWIG_fail;
16530 }
16531 resultobj = SWIG_From_int(static_cast< int >(result));
16532 return resultobj;
16533 fail:
16534 return NULL;
16535 }
16536
16537
16538 SWIGINTERN PyObject *HVScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16539 PyObject *obj;
16540 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16541 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHVScrolledWindow, SWIG_NewClientData(obj));
16542 return SWIG_Py_Void();
16543 }
16544
16545 SWIGINTERN PyObject *HVScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16546 return SWIG_Python_InitShadowInstance(args);
16547 }
16548
16549 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
16550 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
16551 return 1;
16552 }
16553
16554
16555 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
16556 PyObject *pyobj = 0;
16557
16558 {
16559 #if wxUSE_UNICODE
16560 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
16561 #else
16562 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
16563 #endif
16564 }
16565 return pyobj;
16566 }
16567
16568
16569 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16570 PyObject *resultobj = 0;
16571 wxWindow *arg1 = (wxWindow *) 0 ;
16572 int arg2 = (int) wxID_ANY ;
16573 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16574 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16575 wxSize const &arg4_defvalue = wxDefaultSize ;
16576 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16577 long arg5 = (long) 0 ;
16578 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
16579 wxString *arg6 = (wxString *) &arg6_defvalue ;
16580 wxPyVListBox *result = 0 ;
16581 void *argp1 = 0 ;
16582 int res1 = 0 ;
16583 int val2 ;
16584 int ecode2 = 0 ;
16585 wxPoint temp3 ;
16586 wxSize temp4 ;
16587 long val5 ;
16588 int ecode5 = 0 ;
16589 bool temp6 = false ;
16590 PyObject * obj0 = 0 ;
16591 PyObject * obj1 = 0 ;
16592 PyObject * obj2 = 0 ;
16593 PyObject * obj3 = 0 ;
16594 PyObject * obj4 = 0 ;
16595 PyObject * obj5 = 0 ;
16596 char * kwnames[] = {
16597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16598 };
16599
16600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
16601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16602 if (!SWIG_IsOK(res1)) {
16603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16604 }
16605 arg1 = reinterpret_cast< wxWindow * >(argp1);
16606 if (obj1) {
16607 ecode2 = SWIG_AsVal_int(obj1, &val2);
16608 if (!SWIG_IsOK(ecode2)) {
16609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
16610 }
16611 arg2 = static_cast< int >(val2);
16612 }
16613 if (obj2) {
16614 {
16615 arg3 = &temp3;
16616 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
16617 }
16618 }
16619 if (obj3) {
16620 {
16621 arg4 = &temp4;
16622 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
16623 }
16624 }
16625 if (obj4) {
16626 ecode5 = SWIG_AsVal_long(obj4, &val5);
16627 if (!SWIG_IsOK(ecode5)) {
16628 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
16629 }
16630 arg5 = static_cast< long >(val5);
16631 }
16632 if (obj5) {
16633 {
16634 arg6 = wxString_in_helper(obj5);
16635 if (arg6 == NULL) SWIG_fail;
16636 temp6 = true;
16637 }
16638 }
16639 {
16640 if (!wxPyCheckForApp()) SWIG_fail;
16641 PyThreadState* __tstate = wxPyBeginAllowThreads();
16642 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
16643 wxPyEndAllowThreads(__tstate);
16644 if (PyErr_Occurred()) SWIG_fail;
16645 }
16646 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
16647 {
16648 if (temp6)
16649 delete arg6;
16650 }
16651 return resultobj;
16652 fail:
16653 {
16654 if (temp6)
16655 delete arg6;
16656 }
16657 return NULL;
16658 }
16659
16660
16661 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16662 PyObject *resultobj = 0;
16663 wxPyVListBox *result = 0 ;
16664
16665 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
16666 {
16667 if (!wxPyCheckForApp()) SWIG_fail;
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 result = (wxPyVListBox *)new wxPyVListBox();
16670 wxPyEndAllowThreads(__tstate);
16671 if (PyErr_Occurred()) SWIG_fail;
16672 }
16673 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
16674 return resultobj;
16675 fail:
16676 return NULL;
16677 }
16678
16679
16680 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16681 PyObject *resultobj = 0;
16682 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16683 PyObject *arg2 = (PyObject *) 0 ;
16684 PyObject *arg3 = (PyObject *) 0 ;
16685 void *argp1 = 0 ;
16686 int res1 = 0 ;
16687 PyObject * obj0 = 0 ;
16688 PyObject * obj1 = 0 ;
16689 PyObject * obj2 = 0 ;
16690 char * kwnames[] = {
16691 (char *) "self",(char *) "self",(char *) "_class", NULL
16692 };
16693
16694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16696 if (!SWIG_IsOK(res1)) {
16697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16698 }
16699 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16700 arg2 = obj1;
16701 arg3 = obj2;
16702 {
16703 PyThreadState* __tstate = wxPyBeginAllowThreads();
16704 (arg1)->_setCallbackInfo(arg2,arg3);
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 resultobj = SWIG_Py_Void();
16709 return resultobj;
16710 fail:
16711 return NULL;
16712 }
16713
16714
16715 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj = 0;
16717 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16718 wxWindow *arg2 = (wxWindow *) 0 ;
16719 int arg3 = (int) wxID_ANY ;
16720 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16721 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16722 wxSize const &arg5_defvalue = wxDefaultSize ;
16723 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16724 long arg6 = (long) 0 ;
16725 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
16726 wxString *arg7 = (wxString *) &arg7_defvalue ;
16727 bool result;
16728 void *argp1 = 0 ;
16729 int res1 = 0 ;
16730 void *argp2 = 0 ;
16731 int res2 = 0 ;
16732 int val3 ;
16733 int ecode3 = 0 ;
16734 wxPoint temp4 ;
16735 wxSize temp5 ;
16736 long val6 ;
16737 int ecode6 = 0 ;
16738 bool temp7 = false ;
16739 PyObject * obj0 = 0 ;
16740 PyObject * obj1 = 0 ;
16741 PyObject * obj2 = 0 ;
16742 PyObject * obj3 = 0 ;
16743 PyObject * obj4 = 0 ;
16744 PyObject * obj5 = 0 ;
16745 PyObject * obj6 = 0 ;
16746 char * kwnames[] = {
16747 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16748 };
16749
16750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16752 if (!SWIG_IsOK(res1)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
16754 }
16755 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16756 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16757 if (!SWIG_IsOK(res2)) {
16758 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16759 }
16760 arg2 = reinterpret_cast< wxWindow * >(argp2);
16761 if (obj2) {
16762 ecode3 = SWIG_AsVal_int(obj2, &val3);
16763 if (!SWIG_IsOK(ecode3)) {
16764 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
16765 }
16766 arg3 = static_cast< int >(val3);
16767 }
16768 if (obj3) {
16769 {
16770 arg4 = &temp4;
16771 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16772 }
16773 }
16774 if (obj4) {
16775 {
16776 arg5 = &temp5;
16777 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16778 }
16779 }
16780 if (obj5) {
16781 ecode6 = SWIG_AsVal_long(obj5, &val6);
16782 if (!SWIG_IsOK(ecode6)) {
16783 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
16784 }
16785 arg6 = static_cast< long >(val6);
16786 }
16787 if (obj6) {
16788 {
16789 arg7 = wxString_in_helper(obj6);
16790 if (arg7 == NULL) SWIG_fail;
16791 temp7 = true;
16792 }
16793 }
16794 {
16795 PyThreadState* __tstate = wxPyBeginAllowThreads();
16796 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
16797 wxPyEndAllowThreads(__tstate);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
16800 {
16801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16802 }
16803 {
16804 if (temp7)
16805 delete arg7;
16806 }
16807 return resultobj;
16808 fail:
16809 {
16810 if (temp7)
16811 delete arg7;
16812 }
16813 return NULL;
16814 }
16815
16816
16817 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16818 PyObject *resultobj = 0;
16819 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16820 size_t result;
16821 void *argp1 = 0 ;
16822 int res1 = 0 ;
16823 PyObject *swig_obj[1] ;
16824
16825 if (!args) SWIG_fail;
16826 swig_obj[0] = args;
16827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16828 if (!SWIG_IsOK(res1)) {
16829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16830 }
16831 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
16835 wxPyEndAllowThreads(__tstate);
16836 if (PyErr_Occurred()) SWIG_fail;
16837 }
16838 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
16839 return resultobj;
16840 fail:
16841 return NULL;
16842 }
16843
16844
16845 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16846 PyObject *resultobj = 0;
16847 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16848 bool result;
16849 void *argp1 = 0 ;
16850 int res1 = 0 ;
16851 PyObject *swig_obj[1] ;
16852
16853 if (!args) SWIG_fail;
16854 swig_obj[0] = args;
16855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16856 if (!SWIG_IsOK(res1)) {
16857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16858 }
16859 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16860 {
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
16862 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
16863 wxPyEndAllowThreads(__tstate);
16864 if (PyErr_Occurred()) SWIG_fail;
16865 }
16866 {
16867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16868 }
16869 return resultobj;
16870 fail:
16871 return NULL;
16872 }
16873
16874
16875 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16876 PyObject *resultobj = 0;
16877 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16878 int 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_wxPyVListBox, 0 | 0 );
16886 if (!SWIG_IsOK(res1)) {
16887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16888 }
16889 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16890 {
16891 PyThreadState* __tstate = wxPyBeginAllowThreads();
16892 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 resultobj = SWIG_From_int(static_cast< int >(result));
16897 return resultobj;
16898 fail:
16899 return NULL;
16900 }
16901
16902
16903 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj = 0;
16905 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16906 size_t arg2 ;
16907 bool result;
16908 void *argp1 = 0 ;
16909 int res1 = 0 ;
16910 size_t val2 ;
16911 int ecode2 = 0 ;
16912 PyObject * obj0 = 0 ;
16913 PyObject * obj1 = 0 ;
16914 char * kwnames[] = {
16915 (char *) "self",(char *) "item", NULL
16916 };
16917
16918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
16919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16920 if (!SWIG_IsOK(res1)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16922 }
16923 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16924 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16925 if (!SWIG_IsOK(ecode2)) {
16926 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
16927 }
16928 arg2 = static_cast< size_t >(val2);
16929 {
16930 PyThreadState* __tstate = wxPyBeginAllowThreads();
16931 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 {
16936 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16937 }
16938 return resultobj;
16939 fail:
16940 return NULL;
16941 }
16942
16943
16944 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16945 PyObject *resultobj = 0;
16946 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16947 size_t arg2 ;
16948 bool result;
16949 void *argp1 = 0 ;
16950 int res1 = 0 ;
16951 size_t val2 ;
16952 int ecode2 = 0 ;
16953 PyObject * obj0 = 0 ;
16954 PyObject * obj1 = 0 ;
16955 char * kwnames[] = {
16956 (char *) "self",(char *) "item", NULL
16957 };
16958
16959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
16960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16961 if (!SWIG_IsOK(res1)) {
16962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16963 }
16964 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
16965 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
16966 if (!SWIG_IsOK(ecode2)) {
16967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
16968 }
16969 arg2 = static_cast< size_t >(val2);
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
16973 wxPyEndAllowThreads(__tstate);
16974 if (PyErr_Occurred()) SWIG_fail;
16975 }
16976 {
16977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16978 }
16979 return resultobj;
16980 fail:
16981 return NULL;
16982 }
16983
16984
16985 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16986 PyObject *resultobj = 0;
16987 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
16988 size_t result;
16989 void *argp1 = 0 ;
16990 int res1 = 0 ;
16991 PyObject *swig_obj[1] ;
16992
16993 if (!args) SWIG_fail;
16994 swig_obj[0] = args;
16995 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
16996 if (!SWIG_IsOK(res1)) {
16997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
16998 }
16999 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17000 {
17001 PyThreadState* __tstate = wxPyBeginAllowThreads();
17002 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
17003 wxPyEndAllowThreads(__tstate);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
17007 return resultobj;
17008 fail:
17009 return NULL;
17010 }
17011
17012
17013 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17014 PyObject *resultobj = 0;
17015 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17016 PyObject *result = 0 ;
17017 void *argp1 = 0 ;
17018 int res1 = 0 ;
17019 PyObject *swig_obj[1] ;
17020
17021 if (!args) SWIG_fail;
17022 swig_obj[0] = args;
17023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17024 if (!SWIG_IsOK(res1)) {
17025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17026 }
17027 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 resultobj = result;
17035 return resultobj;
17036 fail:
17037 return NULL;
17038 }
17039
17040
17041 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17042 PyObject *resultobj = 0;
17043 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17044 unsigned long arg2 ;
17045 PyObject *result = 0 ;
17046 void *argp1 = 0 ;
17047 int res1 = 0 ;
17048 unsigned long val2 ;
17049 int ecode2 = 0 ;
17050 PyObject * obj0 = 0 ;
17051 PyObject * obj1 = 0 ;
17052 char * kwnames[] = {
17053 (char *) "self",(char *) "cookie", NULL
17054 };
17055
17056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
17057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17058 if (!SWIG_IsOK(res1)) {
17059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17060 }
17061 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17062 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
17063 if (!SWIG_IsOK(ecode2)) {
17064 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
17065 }
17066 arg2 = static_cast< unsigned long >(val2);
17067 {
17068 PyThreadState* __tstate = wxPyBeginAllowThreads();
17069 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
17070 wxPyEndAllowThreads(__tstate);
17071 if (PyErr_Occurred()) SWIG_fail;
17072 }
17073 resultobj = result;
17074 return resultobj;
17075 fail:
17076 return NULL;
17077 }
17078
17079
17080 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17081 PyObject *resultobj = 0;
17082 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17083 wxPoint result;
17084 void *argp1 = 0 ;
17085 int res1 = 0 ;
17086 PyObject *swig_obj[1] ;
17087
17088 if (!args) SWIG_fail;
17089 swig_obj[0] = args;
17090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17091 if (!SWIG_IsOK(res1)) {
17092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17093 }
17094 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17095 {
17096 PyThreadState* __tstate = wxPyBeginAllowThreads();
17097 result = ((wxPyVListBox const *)arg1)->GetMargins();
17098 wxPyEndAllowThreads(__tstate);
17099 if (PyErr_Occurred()) SWIG_fail;
17100 }
17101 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
17102 return resultobj;
17103 fail:
17104 return NULL;
17105 }
17106
17107
17108 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17109 PyObject *resultobj = 0;
17110 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17111 wxColour *result = 0 ;
17112 void *argp1 = 0 ;
17113 int res1 = 0 ;
17114 PyObject *swig_obj[1] ;
17115
17116 if (!args) SWIG_fail;
17117 swig_obj[0] = args;
17118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17119 if (!SWIG_IsOK(res1)) {
17120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17121 }
17122 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17123 {
17124 PyThreadState* __tstate = wxPyBeginAllowThreads();
17125 {
17126 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
17127 result = (wxColour *) &_result_ref;
17128 }
17129 wxPyEndAllowThreads(__tstate);
17130 if (PyErr_Occurred()) SWIG_fail;
17131 }
17132 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
17133 return resultobj;
17134 fail:
17135 return NULL;
17136 }
17137
17138
17139 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17140 PyObject *resultobj = 0;
17141 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17142 size_t arg2 ;
17143 void *argp1 = 0 ;
17144 int res1 = 0 ;
17145 size_t val2 ;
17146 int ecode2 = 0 ;
17147 PyObject * obj0 = 0 ;
17148 PyObject * obj1 = 0 ;
17149 char * kwnames[] = {
17150 (char *) "self",(char *) "count", NULL
17151 };
17152
17153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
17154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17155 if (!SWIG_IsOK(res1)) {
17156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17157 }
17158 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17159 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17160 if (!SWIG_IsOK(ecode2)) {
17161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17162 }
17163 arg2 = static_cast< size_t >(val2);
17164 {
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 (arg1)->SetItemCount(arg2);
17167 wxPyEndAllowThreads(__tstate);
17168 if (PyErr_Occurred()) SWIG_fail;
17169 }
17170 resultobj = SWIG_Py_Void();
17171 return resultobj;
17172 fail:
17173 return NULL;
17174 }
17175
17176
17177 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17178 PyObject *resultobj = 0;
17179 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17180 void *argp1 = 0 ;
17181 int res1 = 0 ;
17182 PyObject *swig_obj[1] ;
17183
17184 if (!args) SWIG_fail;
17185 swig_obj[0] = args;
17186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17187 if (!SWIG_IsOK(res1)) {
17188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17189 }
17190 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17191 {
17192 PyThreadState* __tstate = wxPyBeginAllowThreads();
17193 (arg1)->Clear();
17194 wxPyEndAllowThreads(__tstate);
17195 if (PyErr_Occurred()) SWIG_fail;
17196 }
17197 resultobj = SWIG_Py_Void();
17198 return resultobj;
17199 fail:
17200 return NULL;
17201 }
17202
17203
17204 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17205 PyObject *resultobj = 0;
17206 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17207 int arg2 ;
17208 void *argp1 = 0 ;
17209 int res1 = 0 ;
17210 int val2 ;
17211 int ecode2 = 0 ;
17212 PyObject * obj0 = 0 ;
17213 PyObject * obj1 = 0 ;
17214 char * kwnames[] = {
17215 (char *) "self",(char *) "selection", NULL
17216 };
17217
17218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
17219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17220 if (!SWIG_IsOK(res1)) {
17221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17222 }
17223 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17224 ecode2 = SWIG_AsVal_int(obj1, &val2);
17225 if (!SWIG_IsOK(ecode2)) {
17226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
17227 }
17228 arg2 = static_cast< int >(val2);
17229 {
17230 PyThreadState* __tstate = wxPyBeginAllowThreads();
17231 (arg1)->SetSelection(arg2);
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 resultobj = SWIG_Py_Void();
17236 return resultobj;
17237 fail:
17238 return NULL;
17239 }
17240
17241
17242 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17243 PyObject *resultobj = 0;
17244 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17245 size_t arg2 ;
17246 bool arg3 = (bool) true ;
17247 bool result;
17248 void *argp1 = 0 ;
17249 int res1 = 0 ;
17250 size_t val2 ;
17251 int ecode2 = 0 ;
17252 bool val3 ;
17253 int ecode3 = 0 ;
17254 PyObject * obj0 = 0 ;
17255 PyObject * obj1 = 0 ;
17256 PyObject * obj2 = 0 ;
17257 char * kwnames[] = {
17258 (char *) "self",(char *) "item",(char *) "select", NULL
17259 };
17260
17261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17263 if (!SWIG_IsOK(res1)) {
17264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17265 }
17266 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17267 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17268 if (!SWIG_IsOK(ecode2)) {
17269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
17270 }
17271 arg2 = static_cast< size_t >(val2);
17272 if (obj2) {
17273 ecode3 = SWIG_AsVal_bool(obj2, &val3);
17274 if (!SWIG_IsOK(ecode3)) {
17275 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
17276 }
17277 arg3 = static_cast< bool >(val3);
17278 }
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 result = (bool)(arg1)->Select(arg2,arg3);
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 {
17286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17287 }
17288 return resultobj;
17289 fail:
17290 return NULL;
17291 }
17292
17293
17294 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17295 PyObject *resultobj = 0;
17296 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17297 size_t arg2 ;
17298 size_t arg3 ;
17299 bool result;
17300 void *argp1 = 0 ;
17301 int res1 = 0 ;
17302 size_t val2 ;
17303 int ecode2 = 0 ;
17304 size_t val3 ;
17305 int ecode3 = 0 ;
17306 PyObject * obj0 = 0 ;
17307 PyObject * obj1 = 0 ;
17308 PyObject * obj2 = 0 ;
17309 char * kwnames[] = {
17310 (char *) "self",(char *) "from",(char *) "to", NULL
17311 };
17312
17313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17315 if (!SWIG_IsOK(res1)) {
17316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17317 }
17318 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17319 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17320 if (!SWIG_IsOK(ecode2)) {
17321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
17322 }
17323 arg2 = static_cast< size_t >(val2);
17324 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
17325 if (!SWIG_IsOK(ecode3)) {
17326 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
17327 }
17328 arg3 = static_cast< size_t >(val3);
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 result = (bool)(arg1)->SelectRange(arg2,arg3);
17332 wxPyEndAllowThreads(__tstate);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 {
17336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17337 }
17338 return resultobj;
17339 fail:
17340 return NULL;
17341 }
17342
17343
17344 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17345 PyObject *resultobj = 0;
17346 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17347 size_t arg2 ;
17348 void *argp1 = 0 ;
17349 int res1 = 0 ;
17350 size_t val2 ;
17351 int ecode2 = 0 ;
17352 PyObject * obj0 = 0 ;
17353 PyObject * obj1 = 0 ;
17354 char * kwnames[] = {
17355 (char *) "self",(char *) "item", NULL
17356 };
17357
17358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
17359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17360 if (!SWIG_IsOK(res1)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17362 }
17363 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17364 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17365 if (!SWIG_IsOK(ecode2)) {
17366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
17367 }
17368 arg2 = static_cast< size_t >(val2);
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 (arg1)->Toggle(arg2);
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 resultobj = SWIG_Py_Void();
17376 return resultobj;
17377 fail:
17378 return NULL;
17379 }
17380
17381
17382 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17383 PyObject *resultobj = 0;
17384 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17385 bool result;
17386 void *argp1 = 0 ;
17387 int res1 = 0 ;
17388 PyObject *swig_obj[1] ;
17389
17390 if (!args) SWIG_fail;
17391 swig_obj[0] = args;
17392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17393 if (!SWIG_IsOK(res1)) {
17394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17395 }
17396 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17397 {
17398 PyThreadState* __tstate = wxPyBeginAllowThreads();
17399 result = (bool)(arg1)->SelectAll();
17400 wxPyEndAllowThreads(__tstate);
17401 if (PyErr_Occurred()) SWIG_fail;
17402 }
17403 {
17404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17405 }
17406 return resultobj;
17407 fail:
17408 return NULL;
17409 }
17410
17411
17412 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17413 PyObject *resultobj = 0;
17414 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17415 bool result;
17416 void *argp1 = 0 ;
17417 int res1 = 0 ;
17418 PyObject *swig_obj[1] ;
17419
17420 if (!args) SWIG_fail;
17421 swig_obj[0] = args;
17422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17423 if (!SWIG_IsOK(res1)) {
17424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17425 }
17426 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17427 {
17428 PyThreadState* __tstate = wxPyBeginAllowThreads();
17429 result = (bool)(arg1)->DeselectAll();
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 {
17434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17435 }
17436 return resultobj;
17437 fail:
17438 return NULL;
17439 }
17440
17441
17442 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17443 PyObject *resultobj = 0;
17444 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17445 wxPoint *arg2 = 0 ;
17446 void *argp1 = 0 ;
17447 int res1 = 0 ;
17448 wxPoint temp2 ;
17449 PyObject * obj0 = 0 ;
17450 PyObject * obj1 = 0 ;
17451 char * kwnames[] = {
17452 (char *) "self",(char *) "pt", NULL
17453 };
17454
17455 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
17456 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17457 if (!SWIG_IsOK(res1)) {
17458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17459 }
17460 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17461 {
17462 arg2 = &temp2;
17463 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17464 }
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 (arg1)->SetMargins((wxPoint const &)*arg2);
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 resultobj = SWIG_Py_Void();
17472 return resultobj;
17473 fail:
17474 return NULL;
17475 }
17476
17477
17478 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17479 PyObject *resultobj = 0;
17480 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17481 int arg2 ;
17482 int arg3 ;
17483 void *argp1 = 0 ;
17484 int res1 = 0 ;
17485 int val2 ;
17486 int ecode2 = 0 ;
17487 int val3 ;
17488 int ecode3 = 0 ;
17489 PyObject * obj0 = 0 ;
17490 PyObject * obj1 = 0 ;
17491 PyObject * obj2 = 0 ;
17492 char * kwnames[] = {
17493 (char *) "self",(char *) "x",(char *) "y", NULL
17494 };
17495
17496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17498 if (!SWIG_IsOK(res1)) {
17499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17500 }
17501 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17502 ecode2 = SWIG_AsVal_int(obj1, &val2);
17503 if (!SWIG_IsOK(ecode2)) {
17504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
17505 }
17506 arg2 = static_cast< int >(val2);
17507 ecode3 = SWIG_AsVal_int(obj2, &val3);
17508 if (!SWIG_IsOK(ecode3)) {
17509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
17510 }
17511 arg3 = static_cast< int >(val3);
17512 {
17513 PyThreadState* __tstate = wxPyBeginAllowThreads();
17514 (arg1)->SetMargins(arg2,arg3);
17515 wxPyEndAllowThreads(__tstate);
17516 if (PyErr_Occurred()) SWIG_fail;
17517 }
17518 resultobj = SWIG_Py_Void();
17519 return resultobj;
17520 fail:
17521 return NULL;
17522 }
17523
17524
17525 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17526 PyObject *resultobj = 0;
17527 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17528 wxColour *arg2 = 0 ;
17529 void *argp1 = 0 ;
17530 int res1 = 0 ;
17531 wxColour temp2 ;
17532 PyObject * obj0 = 0 ;
17533 PyObject * obj1 = 0 ;
17534 char * kwnames[] = {
17535 (char *) "self",(char *) "col", NULL
17536 };
17537
17538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
17539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17540 if (!SWIG_IsOK(res1)) {
17541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17542 }
17543 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17544 {
17545 arg2 = &temp2;
17546 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17547 }
17548 {
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
17551 wxPyEndAllowThreads(__tstate);
17552 if (PyErr_Occurred()) SWIG_fail;
17553 }
17554 resultobj = SWIG_Py_Void();
17555 return resultobj;
17556 fail:
17557 return NULL;
17558 }
17559
17560
17561 SWIGINTERN PyObject *_wrap_VListBox_RefreshSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17562 PyObject *resultobj = 0;
17563 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17564 void *argp1 = 0 ;
17565 int res1 = 0 ;
17566 PyObject *swig_obj[1] ;
17567
17568 if (!args) SWIG_fail;
17569 swig_obj[0] = args;
17570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17571 if (!SWIG_IsOK(res1)) {
17572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
17573 }
17574 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17575 {
17576 PyThreadState* __tstate = wxPyBeginAllowThreads();
17577 (arg1)->RefreshSelected();
17578 wxPyEndAllowThreads(__tstate);
17579 if (PyErr_Occurred()) SWIG_fail;
17580 }
17581 resultobj = SWIG_Py_Void();
17582 return resultobj;
17583 fail:
17584 return NULL;
17585 }
17586
17587
17588 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17589 PyObject *resultobj = 0;
17590 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17591 wxDC *arg2 = 0 ;
17592 wxRect *arg3 = 0 ;
17593 size_t arg4 ;
17594 void *argp1 = 0 ;
17595 int res1 = 0 ;
17596 void *argp2 = 0 ;
17597 int res2 = 0 ;
17598 wxRect temp3 ;
17599 size_t val4 ;
17600 int ecode4 = 0 ;
17601 PyObject * obj0 = 0 ;
17602 PyObject * obj1 = 0 ;
17603 PyObject * obj2 = 0 ;
17604 PyObject * obj3 = 0 ;
17605 char * kwnames[] = {
17606 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17607 };
17608
17609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17611 if (!SWIG_IsOK(res1)) {
17612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17613 }
17614 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17615 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
17616 if (!SWIG_IsOK(res2)) {
17617 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17618 }
17619 if (!argp2) {
17620 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
17621 }
17622 arg2 = reinterpret_cast< wxDC * >(argp2);
17623 {
17624 arg3 = &temp3;
17625 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17626 }
17627 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
17628 if (!SWIG_IsOK(ecode4)) {
17629 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
17630 }
17631 arg4 = static_cast< size_t >(val4);
17632 {
17633 PyThreadState* __tstate = wxPyBeginAllowThreads();
17634 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 resultobj = SWIG_Py_Void();
17639 return resultobj;
17640 fail:
17641 return NULL;
17642 }
17643
17644
17645 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj = 0;
17647 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
17648 wxDC *arg2 = 0 ;
17649 wxRect *arg3 = 0 ;
17650 size_t arg4 ;
17651 void *argp1 = 0 ;
17652 int res1 = 0 ;
17653 void *argp2 = 0 ;
17654 int res2 = 0 ;
17655 wxRect temp3 ;
17656 size_t val4 ;
17657 int ecode4 = 0 ;
17658 PyObject * obj0 = 0 ;
17659 PyObject * obj1 = 0 ;
17660 PyObject * obj2 = 0 ;
17661 PyObject * obj3 = 0 ;
17662 char * kwnames[] = {
17663 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
17664 };
17665
17666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
17667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
17668 if (!SWIG_IsOK(res1)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
17670 }
17671 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
17672 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
17673 if (!SWIG_IsOK(res2)) {
17674 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17675 }
17676 if (!argp2) {
17677 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
17678 }
17679 arg2 = reinterpret_cast< wxDC * >(argp2);
17680 {
17681 arg3 = &temp3;
17682 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
17683 }
17684 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
17685 if (!SWIG_IsOK(ecode4)) {
17686 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
17687 }
17688 arg4 = static_cast< size_t >(val4);
17689 {
17690 PyThreadState* __tstate = wxPyBeginAllowThreads();
17691 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
17692 wxPyEndAllowThreads(__tstate);
17693 if (PyErr_Occurred()) SWIG_fail;
17694 }
17695 resultobj = SWIG_Py_Void();
17696 return resultobj;
17697 fail:
17698 return NULL;
17699 }
17700
17701
17702 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17703 PyObject *obj;
17704 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17705 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
17706 return SWIG_Py_Void();
17707 }
17708
17709 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17710 return SWIG_Python_InitShadowInstance(args);
17711 }
17712
17713 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17714 PyObject *resultobj = 0;
17715 wxWindow *arg1 = (wxWindow *) 0 ;
17716 int arg2 = (int) wxID_ANY ;
17717 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17718 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17719 wxSize const &arg4_defvalue = wxDefaultSize ;
17720 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17721 long arg5 = (long) 0 ;
17722 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
17723 wxString *arg6 = (wxString *) &arg6_defvalue ;
17724 wxPyHtmlListBox *result = 0 ;
17725 void *argp1 = 0 ;
17726 int res1 = 0 ;
17727 int val2 ;
17728 int ecode2 = 0 ;
17729 wxPoint temp3 ;
17730 wxSize temp4 ;
17731 long val5 ;
17732 int ecode5 = 0 ;
17733 bool temp6 = false ;
17734 PyObject * obj0 = 0 ;
17735 PyObject * obj1 = 0 ;
17736 PyObject * obj2 = 0 ;
17737 PyObject * obj3 = 0 ;
17738 PyObject * obj4 = 0 ;
17739 PyObject * obj5 = 0 ;
17740 char * kwnames[] = {
17741 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17742 };
17743
17744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17746 if (!SWIG_IsOK(res1)) {
17747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
17748 }
17749 arg1 = reinterpret_cast< wxWindow * >(argp1);
17750 if (obj1) {
17751 ecode2 = SWIG_AsVal_int(obj1, &val2);
17752 if (!SWIG_IsOK(ecode2)) {
17753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
17754 }
17755 arg2 = static_cast< int >(val2);
17756 }
17757 if (obj2) {
17758 {
17759 arg3 = &temp3;
17760 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17761 }
17762 }
17763 if (obj3) {
17764 {
17765 arg4 = &temp4;
17766 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17767 }
17768 }
17769 if (obj4) {
17770 ecode5 = SWIG_AsVal_long(obj4, &val5);
17771 if (!SWIG_IsOK(ecode5)) {
17772 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
17773 }
17774 arg5 = static_cast< long >(val5);
17775 }
17776 if (obj5) {
17777 {
17778 arg6 = wxString_in_helper(obj5);
17779 if (arg6 == NULL) SWIG_fail;
17780 temp6 = true;
17781 }
17782 }
17783 {
17784 if (!wxPyCheckForApp()) SWIG_fail;
17785 PyThreadState* __tstate = wxPyBeginAllowThreads();
17786 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17787 wxPyEndAllowThreads(__tstate);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 }
17790 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
17791 {
17792 if (temp6)
17793 delete arg6;
17794 }
17795 return resultobj;
17796 fail:
17797 {
17798 if (temp6)
17799 delete arg6;
17800 }
17801 return NULL;
17802 }
17803
17804
17805 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17806 PyObject *resultobj = 0;
17807 wxPyHtmlListBox *result = 0 ;
17808
17809 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
17810 {
17811 if (!wxPyCheckForApp()) SWIG_fail;
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
17814 wxPyEndAllowThreads(__tstate);
17815 if (PyErr_Occurred()) SWIG_fail;
17816 }
17817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
17818 return resultobj;
17819 fail:
17820 return NULL;
17821 }
17822
17823
17824 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17825 PyObject *resultobj = 0;
17826 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17827 PyObject *arg2 = (PyObject *) 0 ;
17828 PyObject *arg3 = (PyObject *) 0 ;
17829 void *argp1 = 0 ;
17830 int res1 = 0 ;
17831 PyObject * obj0 = 0 ;
17832 PyObject * obj1 = 0 ;
17833 PyObject * obj2 = 0 ;
17834 char * kwnames[] = {
17835 (char *) "self",(char *) "self",(char *) "_class", NULL
17836 };
17837
17838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17840 if (!SWIG_IsOK(res1)) {
17841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17842 }
17843 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17844 arg2 = obj1;
17845 arg3 = obj2;
17846 {
17847 PyThreadState* __tstate = wxPyBeginAllowThreads();
17848 (arg1)->_setCallbackInfo(arg2,arg3);
17849 wxPyEndAllowThreads(__tstate);
17850 if (PyErr_Occurred()) SWIG_fail;
17851 }
17852 resultobj = SWIG_Py_Void();
17853 return resultobj;
17854 fail:
17855 return NULL;
17856 }
17857
17858
17859 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17860 PyObject *resultobj = 0;
17861 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17862 wxWindow *arg2 = (wxWindow *) 0 ;
17863 int arg3 = (int) wxID_ANY ;
17864 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17865 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17866 wxSize const &arg5_defvalue = wxDefaultSize ;
17867 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17868 long arg6 = (long) 0 ;
17869 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
17870 wxString *arg7 = (wxString *) &arg7_defvalue ;
17871 bool result;
17872 void *argp1 = 0 ;
17873 int res1 = 0 ;
17874 void *argp2 = 0 ;
17875 int res2 = 0 ;
17876 int val3 ;
17877 int ecode3 = 0 ;
17878 wxPoint temp4 ;
17879 wxSize temp5 ;
17880 long val6 ;
17881 int ecode6 = 0 ;
17882 bool temp7 = false ;
17883 PyObject * obj0 = 0 ;
17884 PyObject * obj1 = 0 ;
17885 PyObject * obj2 = 0 ;
17886 PyObject * obj3 = 0 ;
17887 PyObject * obj4 = 0 ;
17888 PyObject * obj5 = 0 ;
17889 PyObject * obj6 = 0 ;
17890 char * kwnames[] = {
17891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17892 };
17893
17894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17896 if (!SWIG_IsOK(res1)) {
17897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17898 }
17899 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17900 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
17901 if (!SWIG_IsOK(res2)) {
17902 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17903 }
17904 arg2 = reinterpret_cast< wxWindow * >(argp2);
17905 if (obj2) {
17906 ecode3 = SWIG_AsVal_int(obj2, &val3);
17907 if (!SWIG_IsOK(ecode3)) {
17908 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
17909 }
17910 arg3 = static_cast< int >(val3);
17911 }
17912 if (obj3) {
17913 {
17914 arg4 = &temp4;
17915 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17916 }
17917 }
17918 if (obj4) {
17919 {
17920 arg5 = &temp5;
17921 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17922 }
17923 }
17924 if (obj5) {
17925 ecode6 = SWIG_AsVal_long(obj5, &val6);
17926 if (!SWIG_IsOK(ecode6)) {
17927 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
17928 }
17929 arg6 = static_cast< long >(val6);
17930 }
17931 if (obj6) {
17932 {
17933 arg7 = wxString_in_helper(obj6);
17934 if (arg7 == NULL) SWIG_fail;
17935 temp7 = true;
17936 }
17937 }
17938 {
17939 PyThreadState* __tstate = wxPyBeginAllowThreads();
17940 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17941 wxPyEndAllowThreads(__tstate);
17942 if (PyErr_Occurred()) SWIG_fail;
17943 }
17944 {
17945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17946 }
17947 {
17948 if (temp7)
17949 delete arg7;
17950 }
17951 return resultobj;
17952 fail:
17953 {
17954 if (temp7)
17955 delete arg7;
17956 }
17957 return NULL;
17958 }
17959
17960
17961 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17962 PyObject *resultobj = 0;
17963 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
17964 size_t arg2 ;
17965 void *argp1 = 0 ;
17966 int res1 = 0 ;
17967 size_t val2 ;
17968 int ecode2 = 0 ;
17969 PyObject * obj0 = 0 ;
17970 PyObject * obj1 = 0 ;
17971 char * kwnames[] = {
17972 (char *) "self",(char *) "count", NULL
17973 };
17974
17975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
17976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
17977 if (!SWIG_IsOK(res1)) {
17978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
17979 }
17980 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
17981 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
17982 if (!SWIG_IsOK(ecode2)) {
17983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
17984 }
17985 arg2 = static_cast< size_t >(val2);
17986 {
17987 PyThreadState* __tstate = wxPyBeginAllowThreads();
17988 (arg1)->SetItemCount(arg2);
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 resultobj = SWIG_Py_Void();
17993 return resultobj;
17994 fail:
17995 return NULL;
17996 }
17997
17998
17999 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18000 PyObject *resultobj = 0;
18001 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
18002 wxFileSystem *result = 0 ;
18003 void *argp1 = 0 ;
18004 int res1 = 0 ;
18005 PyObject *swig_obj[1] ;
18006
18007 if (!args) SWIG_fail;
18008 swig_obj[0] = args;
18009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
18010 if (!SWIG_IsOK(res1)) {
18011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
18012 }
18013 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 {
18017 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
18018 result = (wxFileSystem *) &_result_ref;
18019 }
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
18024 return resultobj;
18025 fail:
18026 return NULL;
18027 }
18028
18029
18030 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18031 PyObject *resultobj = 0;
18032 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
18033 size_t arg2 ;
18034 wxHtmlLinkInfo *arg3 = 0 ;
18035 void *argp1 = 0 ;
18036 int res1 = 0 ;
18037 size_t val2 ;
18038 int ecode2 = 0 ;
18039 void *argp3 = 0 ;
18040 int res3 = 0 ;
18041 PyObject * obj0 = 0 ;
18042 PyObject * obj1 = 0 ;
18043 PyObject * obj2 = 0 ;
18044 char * kwnames[] = {
18045 (char *) "self",(char *) "n",(char *) "link", NULL
18046 };
18047
18048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
18050 if (!SWIG_IsOK(res1)) {
18051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
18052 }
18053 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
18054 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
18055 if (!SWIG_IsOK(ecode2)) {
18056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
18057 }
18058 arg2 = static_cast< size_t >(val2);
18059 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
18060 if (!SWIG_IsOK(res3)) {
18061 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
18062 }
18063 if (!argp3) {
18064 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
18065 }
18066 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
18067 {
18068 PyThreadState* __tstate = wxPyBeginAllowThreads();
18069 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
18070 wxPyEndAllowThreads(__tstate);
18071 if (PyErr_Occurred()) SWIG_fail;
18072 }
18073 resultobj = SWIG_Py_Void();
18074 return resultobj;
18075 fail:
18076 return NULL;
18077 }
18078
18079
18080 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18081 PyObject *obj;
18082 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18083 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
18084 return SWIG_Py_Void();
18085 }
18086
18087 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18088 return SWIG_Python_InitShadowInstance(args);
18089 }
18090
18091 SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
18092 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
18093 return 1;
18094 }
18095
18096
18097 SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
18098 PyObject *pyobj = 0;
18099
18100 {
18101 #if wxUSE_UNICODE
18102 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
18103 #else
18104 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
18105 #endif
18106 }
18107 return pyobj;
18108 }
18109
18110
18111 SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18112 PyObject *resultobj = 0;
18113 wxWindow *arg1 = (wxWindow *) 0 ;
18114 int arg2 = (int) -1 ;
18115 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18116 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18117 wxSize const &arg4_defvalue = wxDefaultSize ;
18118 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18119 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
18120 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
18121 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
18122 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18123 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18124 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
18125 wxString *arg8 = (wxString *) &arg8_defvalue ;
18126 wxSimpleHtmlListBox *result = 0 ;
18127 void *argp1 = 0 ;
18128 int res1 = 0 ;
18129 int val2 ;
18130 int ecode2 = 0 ;
18131 wxPoint temp3 ;
18132 wxSize temp4 ;
18133 bool temp5 = false ;
18134 long val6 ;
18135 int ecode6 = 0 ;
18136 void *argp7 = 0 ;
18137 int res7 = 0 ;
18138 bool temp8 = false ;
18139 PyObject * obj0 = 0 ;
18140 PyObject * obj1 = 0 ;
18141 PyObject * obj2 = 0 ;
18142 PyObject * obj3 = 0 ;
18143 PyObject * obj4 = 0 ;
18144 PyObject * obj5 = 0 ;
18145 PyObject * obj6 = 0 ;
18146 PyObject * obj7 = 0 ;
18147 char * kwnames[] = {
18148 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18149 };
18150
18151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18153 if (!SWIG_IsOK(res1)) {
18154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
18155 }
18156 arg1 = reinterpret_cast< wxWindow * >(argp1);
18157 if (obj1) {
18158 ecode2 = SWIG_AsVal_int(obj1, &val2);
18159 if (!SWIG_IsOK(ecode2)) {
18160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
18161 }
18162 arg2 = static_cast< int >(val2);
18163 }
18164 if (obj2) {
18165 {
18166 arg3 = &temp3;
18167 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18168 }
18169 }
18170 if (obj3) {
18171 {
18172 arg4 = &temp4;
18173 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18174 }
18175 }
18176 if (obj4) {
18177 {
18178 if (! PySequence_Check(obj4)) {
18179 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
18180 SWIG_fail;
18181 }
18182 arg5 = new wxArrayString;
18183 temp5 = true;
18184 int i, len=PySequence_Length(obj4);
18185 for (i=0; i<len; i++) {
18186 PyObject* item = PySequence_GetItem(obj4, i);
18187 wxString* s = wxString_in_helper(item);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 arg5->Add(*s);
18190 delete s;
18191 Py_DECREF(item);
18192 }
18193 }
18194 }
18195 if (obj5) {
18196 ecode6 = SWIG_AsVal_long(obj5, &val6);
18197 if (!SWIG_IsOK(ecode6)) {
18198 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
18199 }
18200 arg6 = static_cast< long >(val6);
18201 }
18202 if (obj6) {
18203 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
18204 if (!SWIG_IsOK(res7)) {
18205 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18206 }
18207 if (!argp7) {
18208 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
18209 }
18210 arg7 = reinterpret_cast< wxValidator * >(argp7);
18211 }
18212 if (obj7) {
18213 {
18214 arg8 = wxString_in_helper(obj7);
18215 if (arg8 == NULL) SWIG_fail;
18216 temp8 = true;
18217 }
18218 }
18219 {
18220 if (!wxPyCheckForApp()) SWIG_fail;
18221 PyThreadState* __tstate = wxPyBeginAllowThreads();
18222 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
18227 {
18228 if (temp5) delete arg5;
18229 }
18230 {
18231 if (temp8)
18232 delete arg8;
18233 }
18234 return resultobj;
18235 fail:
18236 {
18237 if (temp5) delete arg5;
18238 }
18239 {
18240 if (temp8)
18241 delete arg8;
18242 }
18243 return NULL;
18244 }
18245
18246
18247 SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18248 PyObject *resultobj = 0;
18249 wxSimpleHtmlListBox *result = 0 ;
18250
18251 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
18252 {
18253 if (!wxPyCheckForApp()) SWIG_fail;
18254 PyThreadState* __tstate = wxPyBeginAllowThreads();
18255 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
18260 return resultobj;
18261 fail:
18262 return NULL;
18263 }
18264
18265
18266 SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18267 PyObject *resultobj = 0;
18268 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
18269 wxWindow *arg2 = (wxWindow *) 0 ;
18270 int arg3 = (int) -1 ;
18271 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18272 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18273 wxSize const &arg5_defvalue = wxDefaultSize ;
18274 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18275 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
18276 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
18277 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
18278 wxValidator const &arg8_defvalue = wxDefaultValidator ;
18279 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
18280 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
18281 wxString *arg9 = (wxString *) &arg9_defvalue ;
18282 bool result;
18283 void *argp1 = 0 ;
18284 int res1 = 0 ;
18285 void *argp2 = 0 ;
18286 int res2 = 0 ;
18287 int val3 ;
18288 int ecode3 = 0 ;
18289 wxPoint temp4 ;
18290 wxSize temp5 ;
18291 bool temp6 = false ;
18292 long val7 ;
18293 int ecode7 = 0 ;
18294 void *argp8 = 0 ;
18295 int res8 = 0 ;
18296 bool temp9 = false ;
18297 PyObject * obj0 = 0 ;
18298 PyObject * obj1 = 0 ;
18299 PyObject * obj2 = 0 ;
18300 PyObject * obj3 = 0 ;
18301 PyObject * obj4 = 0 ;
18302 PyObject * obj5 = 0 ;
18303 PyObject * obj6 = 0 ;
18304 PyObject * obj7 = 0 ;
18305 PyObject * obj8 = 0 ;
18306 char * kwnames[] = {
18307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
18308 };
18309
18310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
18311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
18312 if (!SWIG_IsOK(res1)) {
18313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
18314 }
18315 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
18316 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
18317 if (!SWIG_IsOK(res2)) {
18318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18319 }
18320 arg2 = reinterpret_cast< wxWindow * >(argp2);
18321 if (obj2) {
18322 ecode3 = SWIG_AsVal_int(obj2, &val3);
18323 if (!SWIG_IsOK(ecode3)) {
18324 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
18325 }
18326 arg3 = static_cast< int >(val3);
18327 }
18328 if (obj3) {
18329 {
18330 arg4 = &temp4;
18331 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18332 }
18333 }
18334 if (obj4) {
18335 {
18336 arg5 = &temp5;
18337 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18338 }
18339 }
18340 if (obj5) {
18341 {
18342 if (! PySequence_Check(obj5)) {
18343 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
18344 SWIG_fail;
18345 }
18346 arg6 = new wxArrayString;
18347 temp6 = true;
18348 int i, len=PySequence_Length(obj5);
18349 for (i=0; i<len; i++) {
18350 PyObject* item = PySequence_GetItem(obj5, i);
18351 wxString* s = wxString_in_helper(item);
18352 if (PyErr_Occurred()) SWIG_fail;
18353 arg6->Add(*s);
18354 delete s;
18355 Py_DECREF(item);
18356 }
18357 }
18358 }
18359 if (obj6) {
18360 ecode7 = SWIG_AsVal_long(obj6, &val7);
18361 if (!SWIG_IsOK(ecode7)) {
18362 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
18363 }
18364 arg7 = static_cast< long >(val7);
18365 }
18366 if (obj7) {
18367 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
18368 if (!SWIG_IsOK(res8)) {
18369 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18370 }
18371 if (!argp8) {
18372 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18373 }
18374 arg8 = reinterpret_cast< wxValidator * >(argp8);
18375 }
18376 if (obj8) {
18377 {
18378 arg9 = wxString_in_helper(obj8);
18379 if (arg9 == NULL) SWIG_fail;
18380 temp9 = true;
18381 }
18382 }
18383 {
18384 PyThreadState* __tstate = wxPyBeginAllowThreads();
18385 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
18389 {
18390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18391 }
18392 {
18393 if (temp6) delete arg6;
18394 }
18395 {
18396 if (temp9)
18397 delete arg9;
18398 }
18399 return resultobj;
18400 fail:
18401 {
18402 if (temp6) delete arg6;
18403 }
18404 {
18405 if (temp9)
18406 delete arg9;
18407 }
18408 return NULL;
18409 }
18410
18411
18412 SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18413 PyObject *obj;
18414 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18415 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
18416 return SWIG_Py_Void();
18417 }
18418
18419 SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18420 return SWIG_Python_InitShadowInstance(args);
18421 }
18422
18423 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18424 PyObject *resultobj = 0;
18425 wxPyTaskBarIcon *result = 0 ;
18426
18427 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
18428 {
18429 if (!wxPyCheckForApp()) SWIG_fail;
18430 PyThreadState* __tstate = wxPyBeginAllowThreads();
18431 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
18436 return resultobj;
18437 fail:
18438 return NULL;
18439 }
18440
18441
18442 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18443 PyObject *resultobj = 0;
18444 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18445 void *argp1 = 0 ;
18446 int res1 = 0 ;
18447 PyObject *swig_obj[1] ;
18448
18449 if (!args) SWIG_fail;
18450 swig_obj[0] = args;
18451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
18452 if (!SWIG_IsOK(res1)) {
18453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18454 }
18455 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18456 {
18457 PyThreadState* __tstate = wxPyBeginAllowThreads();
18458 delete arg1;
18459
18460 wxPyEndAllowThreads(__tstate);
18461 if (PyErr_Occurred()) SWIG_fail;
18462 }
18463 resultobj = SWIG_Py_Void();
18464 return resultobj;
18465 fail:
18466 return NULL;
18467 }
18468
18469
18470 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18471 PyObject *resultobj = 0;
18472 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18473 PyObject *arg2 = (PyObject *) 0 ;
18474 PyObject *arg3 = (PyObject *) 0 ;
18475 int arg4 = (int) 0 ;
18476 void *argp1 = 0 ;
18477 int res1 = 0 ;
18478 int val4 ;
18479 int ecode4 = 0 ;
18480 PyObject * obj0 = 0 ;
18481 PyObject * obj1 = 0 ;
18482 PyObject * obj2 = 0 ;
18483 PyObject * obj3 = 0 ;
18484 char * kwnames[] = {
18485 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
18486 };
18487
18488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
18489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18490 if (!SWIG_IsOK(res1)) {
18491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18492 }
18493 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18494 arg2 = obj1;
18495 arg3 = obj2;
18496 if (obj3) {
18497 ecode4 = SWIG_AsVal_int(obj3, &val4);
18498 if (!SWIG_IsOK(ecode4)) {
18499 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
18500 }
18501 arg4 = static_cast< int >(val4);
18502 }
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
18506 wxPyEndAllowThreads(__tstate);
18507 if (PyErr_Occurred()) SWIG_fail;
18508 }
18509 resultobj = SWIG_Py_Void();
18510 return resultobj;
18511 fail:
18512 return NULL;
18513 }
18514
18515
18516 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18517 PyObject *resultobj = 0;
18518 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18519 void *argp1 = 0 ;
18520 int res1 = 0 ;
18521 PyObject *swig_obj[1] ;
18522
18523 if (!args) SWIG_fail;
18524 swig_obj[0] = args;
18525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18526 if (!SWIG_IsOK(res1)) {
18527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18528 }
18529 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 wxPyTaskBarIcon_Destroy(arg1);
18533 wxPyEndAllowThreads(__tstate);
18534 if (PyErr_Occurred()) SWIG_fail;
18535 }
18536 resultobj = SWIG_Py_Void();
18537 return resultobj;
18538 fail:
18539 return NULL;
18540 }
18541
18542
18543 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18544 PyObject *resultobj = 0;
18545 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18546 bool result;
18547 void *argp1 = 0 ;
18548 int res1 = 0 ;
18549 PyObject *swig_obj[1] ;
18550
18551 if (!args) SWIG_fail;
18552 swig_obj[0] = args;
18553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18554 if (!SWIG_IsOK(res1)) {
18555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18556 }
18557 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 {
18565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18566 }
18567 return resultobj;
18568 fail:
18569 return NULL;
18570 }
18571
18572
18573 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18574 PyObject *resultobj = 0;
18575 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18576 bool result;
18577 void *argp1 = 0 ;
18578 int res1 = 0 ;
18579 PyObject *swig_obj[1] ;
18580
18581 if (!args) SWIG_fail;
18582 swig_obj[0] = args;
18583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18584 if (!SWIG_IsOK(res1)) {
18585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
18586 }
18587 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
18591 wxPyEndAllowThreads(__tstate);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
18594 {
18595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18596 }
18597 return resultobj;
18598 fail:
18599 return NULL;
18600 }
18601
18602
18603 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18604 PyObject *resultobj = 0;
18605 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18606 wxIcon *arg2 = 0 ;
18607 wxString const &arg3_defvalue = wxPyEmptyString ;
18608 wxString *arg3 = (wxString *) &arg3_defvalue ;
18609 bool result;
18610 void *argp1 = 0 ;
18611 int res1 = 0 ;
18612 void *argp2 = 0 ;
18613 int res2 = 0 ;
18614 bool temp3 = false ;
18615 PyObject * obj0 = 0 ;
18616 PyObject * obj1 = 0 ;
18617 PyObject * obj2 = 0 ;
18618 char * kwnames[] = {
18619 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
18620 };
18621
18622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18624 if (!SWIG_IsOK(res1)) {
18625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18626 }
18627 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18628 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
18629 if (!SWIG_IsOK(res2)) {
18630 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18631 }
18632 if (!argp2) {
18633 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18634 }
18635 arg2 = reinterpret_cast< wxIcon * >(argp2);
18636 if (obj2) {
18637 {
18638 arg3 = wxString_in_helper(obj2);
18639 if (arg3 == NULL) SWIG_fail;
18640 temp3 = true;
18641 }
18642 }
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
18646 wxPyEndAllowThreads(__tstate);
18647 if (PyErr_Occurred()) SWIG_fail;
18648 }
18649 {
18650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18651 }
18652 {
18653 if (temp3)
18654 delete arg3;
18655 }
18656 return resultobj;
18657 fail:
18658 {
18659 if (temp3)
18660 delete arg3;
18661 }
18662 return NULL;
18663 }
18664
18665
18666 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18667 PyObject *resultobj = 0;
18668 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18669 bool result;
18670 void *argp1 = 0 ;
18671 int res1 = 0 ;
18672 PyObject *swig_obj[1] ;
18673
18674 if (!args) SWIG_fail;
18675 swig_obj[0] = args;
18676 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18677 if (!SWIG_IsOK(res1)) {
18678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18679 }
18680 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 result = (bool)(arg1)->RemoveIcon();
18684 wxPyEndAllowThreads(__tstate);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 {
18688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18689 }
18690 return resultobj;
18691 fail:
18692 return NULL;
18693 }
18694
18695
18696 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18697 PyObject *resultobj = 0;
18698 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
18699 wxMenu *arg2 = (wxMenu *) 0 ;
18700 bool result;
18701 void *argp1 = 0 ;
18702 int res1 = 0 ;
18703 void *argp2 = 0 ;
18704 int res2 = 0 ;
18705 PyObject * obj0 = 0 ;
18706 PyObject * obj1 = 0 ;
18707 char * kwnames[] = {
18708 (char *) "self",(char *) "menu", NULL
18709 };
18710
18711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
18712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
18713 if (!SWIG_IsOK(res1)) {
18714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
18715 }
18716 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
18717 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
18718 if (!SWIG_IsOK(res2)) {
18719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
18720 }
18721 arg2 = reinterpret_cast< wxMenu * >(argp2);
18722 {
18723 PyThreadState* __tstate = wxPyBeginAllowThreads();
18724 result = (bool)(arg1)->PopupMenu(arg2);
18725 wxPyEndAllowThreads(__tstate);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 {
18729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18730 }
18731 return resultobj;
18732 fail:
18733 return NULL;
18734 }
18735
18736
18737 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18738 PyObject *obj;
18739 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18740 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
18741 return SWIG_Py_Void();
18742 }
18743
18744 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18745 return SWIG_Python_InitShadowInstance(args);
18746 }
18747
18748 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18749 PyObject *resultobj = 0;
18750 wxEventType arg1 ;
18751 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
18752 wxTaskBarIconEvent *result = 0 ;
18753 int val1 ;
18754 int ecode1 = 0 ;
18755 void *argp2 = 0 ;
18756 int res2 = 0 ;
18757 PyObject * obj0 = 0 ;
18758 PyObject * obj1 = 0 ;
18759 char * kwnames[] = {
18760 (char *) "evtType",(char *) "tbIcon", NULL
18761 };
18762
18763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
18764 ecode1 = SWIG_AsVal_int(obj0, &val1);
18765 if (!SWIG_IsOK(ecode1)) {
18766 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18767 }
18768 arg1 = static_cast< wxEventType >(val1);
18769 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
18770 if (!SWIG_IsOK(res2)) {
18771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
18772 }
18773 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
18774 {
18775 PyThreadState* __tstate = wxPyBeginAllowThreads();
18776 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
18777 wxPyEndAllowThreads(__tstate);
18778 if (PyErr_Occurred()) SWIG_fail;
18779 }
18780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
18781 return resultobj;
18782 fail:
18783 return NULL;
18784 }
18785
18786
18787 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18788 PyObject *obj;
18789 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18790 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
18791 return SWIG_Py_Void();
18792 }
18793
18794 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18795 return SWIG_Python_InitShadowInstance(args);
18796 }
18797
18798 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
18799 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
18800 return 1;
18801 }
18802
18803
18804 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
18805 PyObject *pyobj = 0;
18806
18807 {
18808 #if wxUSE_UNICODE
18809 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
18810 #else
18811 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
18812 #endif
18813 }
18814 return pyobj;
18815 }
18816
18817
18818 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
18819 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
18820 return 1;
18821 }
18822
18823
18824 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
18825 PyObject *pyobj = 0;
18826
18827 {
18828 #if wxUSE_UNICODE
18829 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
18830 #else
18831 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
18832 #endif
18833 }
18834 return pyobj;
18835 }
18836
18837
18838 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
18839 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
18840 return 1;
18841 }
18842
18843
18844 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
18845 PyObject *pyobj = 0;
18846
18847 {
18848 #if wxUSE_UNICODE
18849 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
18850 #else
18851 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
18852 #endif
18853 }
18854 return pyobj;
18855 }
18856
18857
18858 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
18859 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
18860 return 1;
18861 }
18862
18863
18864 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
18865 PyObject *pyobj = 0;
18866
18867 {
18868 #if wxUSE_UNICODE
18869 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
18870 #else
18871 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
18872 #endif
18873 }
18874 return pyobj;
18875 }
18876
18877
18878 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
18879 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
18880 return 1;
18881 }
18882
18883
18884 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
18885 PyObject *pyobj = 0;
18886
18887 {
18888 #if wxUSE_UNICODE
18889 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
18890 #else
18891 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
18892 #endif
18893 }
18894 return pyobj;
18895 }
18896
18897
18898 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
18899 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
18900 return 1;
18901 }
18902
18903
18904 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
18905 PyObject *pyobj = 0;
18906
18907 {
18908 #if wxUSE_UNICODE
18909 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
18910 #else
18911 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
18912 #endif
18913 }
18914 return pyobj;
18915 }
18916
18917
18918 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18919 PyObject *resultobj = 0;
18920 wxColourData *result = 0 ;
18921
18922 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 result = (wxColourData *)new wxColourData();
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
18930 return resultobj;
18931 fail:
18932 return NULL;
18933 }
18934
18935
18936 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18937 PyObject *resultobj = 0;
18938 wxColourData *arg1 = (wxColourData *) 0 ;
18939 void *argp1 = 0 ;
18940 int res1 = 0 ;
18941 PyObject *swig_obj[1] ;
18942
18943 if (!args) SWIG_fail;
18944 swig_obj[0] = args;
18945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
18946 if (!SWIG_IsOK(res1)) {
18947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
18948 }
18949 arg1 = reinterpret_cast< wxColourData * >(argp1);
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 delete arg1;
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 resultobj = SWIG_Py_Void();
18958 return resultobj;
18959 fail:
18960 return NULL;
18961 }
18962
18963
18964 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18965 PyObject *resultobj = 0;
18966 wxColourData *arg1 = (wxColourData *) 0 ;
18967 bool result;
18968 void *argp1 = 0 ;
18969 int res1 = 0 ;
18970 PyObject *swig_obj[1] ;
18971
18972 if (!args) SWIG_fail;
18973 swig_obj[0] = args;
18974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
18975 if (!SWIG_IsOK(res1)) {
18976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
18977 }
18978 arg1 = reinterpret_cast< wxColourData * >(argp1);
18979 {
18980 PyThreadState* __tstate = wxPyBeginAllowThreads();
18981 result = (bool)(arg1)->GetChooseFull();
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 {
18986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18987 }
18988 return resultobj;
18989 fail:
18990 return NULL;
18991 }
18992
18993
18994 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18995 PyObject *resultobj = 0;
18996 wxColourData *arg1 = (wxColourData *) 0 ;
18997 wxColour result;
18998 void *argp1 = 0 ;
18999 int res1 = 0 ;
19000 PyObject *swig_obj[1] ;
19001
19002 if (!args) SWIG_fail;
19003 swig_obj[0] = args;
19004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19005 if (!SWIG_IsOK(res1)) {
19006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19007 }
19008 arg1 = reinterpret_cast< wxColourData * >(argp1);
19009 {
19010 PyThreadState* __tstate = wxPyBeginAllowThreads();
19011 result = (arg1)->GetColour();
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19016 return resultobj;
19017 fail:
19018 return NULL;
19019 }
19020
19021
19022 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19023 PyObject *resultobj = 0;
19024 wxColourData *arg1 = (wxColourData *) 0 ;
19025 int arg2 ;
19026 wxColour result;
19027 void *argp1 = 0 ;
19028 int res1 = 0 ;
19029 int val2 ;
19030 int ecode2 = 0 ;
19031 PyObject * obj0 = 0 ;
19032 PyObject * obj1 = 0 ;
19033 char * kwnames[] = {
19034 (char *) "self",(char *) "i", NULL
19035 };
19036
19037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
19038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19039 if (!SWIG_IsOK(res1)) {
19040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19041 }
19042 arg1 = reinterpret_cast< wxColourData * >(argp1);
19043 ecode2 = SWIG_AsVal_int(obj1, &val2);
19044 if (!SWIG_IsOK(ecode2)) {
19045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
19046 }
19047 arg2 = static_cast< int >(val2);
19048 {
19049 PyThreadState* __tstate = wxPyBeginAllowThreads();
19050 result = (arg1)->GetCustomColour(arg2);
19051 wxPyEndAllowThreads(__tstate);
19052 if (PyErr_Occurred()) SWIG_fail;
19053 }
19054 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19055 return resultobj;
19056 fail:
19057 return NULL;
19058 }
19059
19060
19061 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19062 PyObject *resultobj = 0;
19063 wxColourData *arg1 = (wxColourData *) 0 ;
19064 int arg2 ;
19065 void *argp1 = 0 ;
19066 int res1 = 0 ;
19067 int val2 ;
19068 int ecode2 = 0 ;
19069 PyObject * obj0 = 0 ;
19070 PyObject * obj1 = 0 ;
19071 char * kwnames[] = {
19072 (char *) "self",(char *) "flag", NULL
19073 };
19074
19075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
19076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19077 if (!SWIG_IsOK(res1)) {
19078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
19079 }
19080 arg1 = reinterpret_cast< wxColourData * >(argp1);
19081 ecode2 = SWIG_AsVal_int(obj1, &val2);
19082 if (!SWIG_IsOK(ecode2)) {
19083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
19084 }
19085 arg2 = static_cast< int >(val2);
19086 {
19087 PyThreadState* __tstate = wxPyBeginAllowThreads();
19088 (arg1)->SetChooseFull(arg2);
19089 wxPyEndAllowThreads(__tstate);
19090 if (PyErr_Occurred()) SWIG_fail;
19091 }
19092 resultobj = SWIG_Py_Void();
19093 return resultobj;
19094 fail:
19095 return NULL;
19096 }
19097
19098
19099 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19100 PyObject *resultobj = 0;
19101 wxColourData *arg1 = (wxColourData *) 0 ;
19102 wxColour *arg2 = 0 ;
19103 void *argp1 = 0 ;
19104 int res1 = 0 ;
19105 wxColour temp2 ;
19106 PyObject * obj0 = 0 ;
19107 PyObject * obj1 = 0 ;
19108 char * kwnames[] = {
19109 (char *) "self",(char *) "colour", NULL
19110 };
19111
19112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19114 if (!SWIG_IsOK(res1)) {
19115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19116 }
19117 arg1 = reinterpret_cast< wxColourData * >(argp1);
19118 {
19119 arg2 = &temp2;
19120 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19121 }
19122 {
19123 PyThreadState* __tstate = wxPyBeginAllowThreads();
19124 (arg1)->SetColour((wxColour const &)*arg2);
19125 wxPyEndAllowThreads(__tstate);
19126 if (PyErr_Occurred()) SWIG_fail;
19127 }
19128 resultobj = SWIG_Py_Void();
19129 return resultobj;
19130 fail:
19131 return NULL;
19132 }
19133
19134
19135 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj = 0;
19137 wxColourData *arg1 = (wxColourData *) 0 ;
19138 int arg2 ;
19139 wxColour *arg3 = 0 ;
19140 void *argp1 = 0 ;
19141 int res1 = 0 ;
19142 int val2 ;
19143 int ecode2 = 0 ;
19144 wxColour temp3 ;
19145 PyObject * obj0 = 0 ;
19146 PyObject * obj1 = 0 ;
19147 PyObject * obj2 = 0 ;
19148 char * kwnames[] = {
19149 (char *) "self",(char *) "i",(char *) "colour", NULL
19150 };
19151
19152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
19154 if (!SWIG_IsOK(res1)) {
19155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
19156 }
19157 arg1 = reinterpret_cast< wxColourData * >(argp1);
19158 ecode2 = SWIG_AsVal_int(obj1, &val2);
19159 if (!SWIG_IsOK(ecode2)) {
19160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
19161 }
19162 arg2 = static_cast< int >(val2);
19163 {
19164 arg3 = &temp3;
19165 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19166 }
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
19170 wxPyEndAllowThreads(__tstate);
19171 if (PyErr_Occurred()) SWIG_fail;
19172 }
19173 resultobj = SWIG_Py_Void();
19174 return resultobj;
19175 fail:
19176 return NULL;
19177 }
19178
19179
19180 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19181 PyObject *obj;
19182 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19183 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
19184 return SWIG_Py_Void();
19185 }
19186
19187 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19188 return SWIG_Python_InitShadowInstance(args);
19189 }
19190
19191 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19192 PyObject *resultobj = 0;
19193 wxWindow *arg1 = (wxWindow *) 0 ;
19194 wxColourData *arg2 = (wxColourData *) NULL ;
19195 wxColourDialog *result = 0 ;
19196 void *argp1 = 0 ;
19197 int res1 = 0 ;
19198 void *argp2 = 0 ;
19199 int res2 = 0 ;
19200 PyObject * obj0 = 0 ;
19201 PyObject * obj1 = 0 ;
19202 char * kwnames[] = {
19203 (char *) "parent",(char *) "data", NULL
19204 };
19205
19206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19208 if (!SWIG_IsOK(res1)) {
19209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19210 }
19211 arg1 = reinterpret_cast< wxWindow * >(argp1);
19212 if (obj1) {
19213 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
19214 if (!SWIG_IsOK(res2)) {
19215 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
19216 }
19217 arg2 = reinterpret_cast< wxColourData * >(argp2);
19218 }
19219 {
19220 if (!wxPyCheckForApp()) SWIG_fail;
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
19223 wxPyEndAllowThreads(__tstate);
19224 if (PyErr_Occurred()) SWIG_fail;
19225 }
19226 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
19227 return resultobj;
19228 fail:
19229 return NULL;
19230 }
19231
19232
19233 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19234 PyObject *resultobj = 0;
19235 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
19236 wxColourData *result = 0 ;
19237 void *argp1 = 0 ;
19238 int res1 = 0 ;
19239 PyObject *swig_obj[1] ;
19240
19241 if (!args) SWIG_fail;
19242 swig_obj[0] = args;
19243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
19244 if (!SWIG_IsOK(res1)) {
19245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
19246 }
19247 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
19248 {
19249 PyThreadState* __tstate = wxPyBeginAllowThreads();
19250 {
19251 wxColourData &_result_ref = (arg1)->GetColourData();
19252 result = (wxColourData *) &_result_ref;
19253 }
19254 wxPyEndAllowThreads(__tstate);
19255 if (PyErr_Occurred()) SWIG_fail;
19256 }
19257 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
19258 return resultobj;
19259 fail:
19260 return NULL;
19261 }
19262
19263
19264 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19265 PyObject *obj;
19266 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19267 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
19268 return SWIG_Py_Void();
19269 }
19270
19271 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19272 return SWIG_Python_InitShadowInstance(args);
19273 }
19274
19275 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj = 0;
19277 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
19278 wxColour const &arg2_defvalue = wxNullColour ;
19279 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
19280 wxString const &arg3_defvalue = wxPyEmptyString ;
19281 wxString *arg3 = (wxString *) &arg3_defvalue ;
19282 wxColour result;
19283 void *argp1 = 0 ;
19284 int res1 = 0 ;
19285 wxColour temp2 ;
19286 bool temp3 = false ;
19287 PyObject * obj0 = 0 ;
19288 PyObject * obj1 = 0 ;
19289 PyObject * obj2 = 0 ;
19290 char * kwnames[] = {
19291 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
19292 };
19293
19294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19295 if (obj0) {
19296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19297 if (!SWIG_IsOK(res1)) {
19298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19299 }
19300 arg1 = reinterpret_cast< wxWindow * >(argp1);
19301 }
19302 if (obj1) {
19303 {
19304 arg2 = &temp2;
19305 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19306 }
19307 }
19308 if (obj2) {
19309 {
19310 arg3 = wxString_in_helper(obj2);
19311 if (arg3 == NULL) SWIG_fail;
19312 temp3 = true;
19313 }
19314 }
19315 {
19316 PyThreadState* __tstate = wxPyBeginAllowThreads();
19317 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
19318 wxPyEndAllowThreads(__tstate);
19319 if (PyErr_Occurred()) SWIG_fail;
19320 }
19321 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19322 {
19323 if (temp3)
19324 delete arg3;
19325 }
19326 return resultobj;
19327 fail:
19328 {
19329 if (temp3)
19330 delete arg3;
19331 }
19332 return NULL;
19333 }
19334
19335
19336 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19337 PyObject *resultobj = 0;
19338 wxWindow *arg1 = (wxWindow *) 0 ;
19339 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
19340 wxString *arg2 = (wxString *) &arg2_defvalue ;
19341 wxString const &arg3_defvalue = wxPyEmptyString ;
19342 wxString *arg3 = (wxString *) &arg3_defvalue ;
19343 long arg4 = (long) wxDD_DEFAULT_STYLE ;
19344 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19345 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19346 wxSize const &arg6_defvalue = wxDefaultSize ;
19347 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
19348 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
19349 wxString *arg7 = (wxString *) &arg7_defvalue ;
19350 wxDirDialog *result = 0 ;
19351 void *argp1 = 0 ;
19352 int res1 = 0 ;
19353 bool temp2 = false ;
19354 bool temp3 = false ;
19355 long val4 ;
19356 int ecode4 = 0 ;
19357 wxPoint temp5 ;
19358 wxSize temp6 ;
19359 bool temp7 = false ;
19360 PyObject * obj0 = 0 ;
19361 PyObject * obj1 = 0 ;
19362 PyObject * obj2 = 0 ;
19363 PyObject * obj3 = 0 ;
19364 PyObject * obj4 = 0 ;
19365 PyObject * obj5 = 0 ;
19366 PyObject * obj6 = 0 ;
19367 char * kwnames[] = {
19368 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
19369 };
19370
19371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19373 if (!SWIG_IsOK(res1)) {
19374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19375 }
19376 arg1 = reinterpret_cast< wxWindow * >(argp1);
19377 if (obj1) {
19378 {
19379 arg2 = wxString_in_helper(obj1);
19380 if (arg2 == NULL) SWIG_fail;
19381 temp2 = true;
19382 }
19383 }
19384 if (obj2) {
19385 {
19386 arg3 = wxString_in_helper(obj2);
19387 if (arg3 == NULL) SWIG_fail;
19388 temp3 = true;
19389 }
19390 }
19391 if (obj3) {
19392 ecode4 = SWIG_AsVal_long(obj3, &val4);
19393 if (!SWIG_IsOK(ecode4)) {
19394 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
19395 }
19396 arg4 = static_cast< long >(val4);
19397 }
19398 if (obj4) {
19399 {
19400 arg5 = &temp5;
19401 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19402 }
19403 }
19404 if (obj5) {
19405 {
19406 arg6 = &temp6;
19407 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
19408 }
19409 }
19410 if (obj6) {
19411 {
19412 arg7 = wxString_in_helper(obj6);
19413 if (arg7 == NULL) SWIG_fail;
19414 temp7 = true;
19415 }
19416 }
19417 {
19418 if (!wxPyCheckForApp()) SWIG_fail;
19419 PyThreadState* __tstate = wxPyBeginAllowThreads();
19420 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
19421 wxPyEndAllowThreads(__tstate);
19422 if (PyErr_Occurred()) SWIG_fail;
19423 }
19424 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
19425 {
19426 if (temp2)
19427 delete arg2;
19428 }
19429 {
19430 if (temp3)
19431 delete arg3;
19432 }
19433 {
19434 if (temp7)
19435 delete arg7;
19436 }
19437 return resultobj;
19438 fail:
19439 {
19440 if (temp2)
19441 delete arg2;
19442 }
19443 {
19444 if (temp3)
19445 delete arg3;
19446 }
19447 {
19448 if (temp7)
19449 delete arg7;
19450 }
19451 return NULL;
19452 }
19453
19454
19455 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19456 PyObject *resultobj = 0;
19457 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19458 wxString result;
19459 void *argp1 = 0 ;
19460 int res1 = 0 ;
19461 PyObject *swig_obj[1] ;
19462
19463 if (!args) SWIG_fail;
19464 swig_obj[0] = args;
19465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19466 if (!SWIG_IsOK(res1)) {
19467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19468 }
19469 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19470 {
19471 PyThreadState* __tstate = wxPyBeginAllowThreads();
19472 result = (arg1)->GetPath();
19473 wxPyEndAllowThreads(__tstate);
19474 if (PyErr_Occurred()) SWIG_fail;
19475 }
19476 {
19477 #if wxUSE_UNICODE
19478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19479 #else
19480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19481 #endif
19482 }
19483 return resultobj;
19484 fail:
19485 return NULL;
19486 }
19487
19488
19489 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19490 PyObject *resultobj = 0;
19491 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19492 wxString result;
19493 void *argp1 = 0 ;
19494 int res1 = 0 ;
19495 PyObject *swig_obj[1] ;
19496
19497 if (!args) SWIG_fail;
19498 swig_obj[0] = args;
19499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19500 if (!SWIG_IsOK(res1)) {
19501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19502 }
19503 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 result = (arg1)->GetMessage();
19507 wxPyEndAllowThreads(__tstate);
19508 if (PyErr_Occurred()) SWIG_fail;
19509 }
19510 {
19511 #if wxUSE_UNICODE
19512 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19513 #else
19514 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19515 #endif
19516 }
19517 return resultobj;
19518 fail:
19519 return NULL;
19520 }
19521
19522
19523 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19524 PyObject *resultobj = 0;
19525 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19526 wxString *arg2 = 0 ;
19527 void *argp1 = 0 ;
19528 int res1 = 0 ;
19529 bool temp2 = false ;
19530 PyObject * obj0 = 0 ;
19531 PyObject * obj1 = 0 ;
19532 char * kwnames[] = {
19533 (char *) "self",(char *) "message", NULL
19534 };
19535
19536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19538 if (!SWIG_IsOK(res1)) {
19539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19540 }
19541 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19542 {
19543 arg2 = wxString_in_helper(obj1);
19544 if (arg2 == NULL) SWIG_fail;
19545 temp2 = true;
19546 }
19547 {
19548 PyThreadState* __tstate = wxPyBeginAllowThreads();
19549 (arg1)->SetMessage((wxString const &)*arg2);
19550 wxPyEndAllowThreads(__tstate);
19551 if (PyErr_Occurred()) SWIG_fail;
19552 }
19553 resultobj = SWIG_Py_Void();
19554 {
19555 if (temp2)
19556 delete arg2;
19557 }
19558 return resultobj;
19559 fail:
19560 {
19561 if (temp2)
19562 delete arg2;
19563 }
19564 return NULL;
19565 }
19566
19567
19568 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19569 PyObject *resultobj = 0;
19570 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
19571 wxString *arg2 = 0 ;
19572 void *argp1 = 0 ;
19573 int res1 = 0 ;
19574 bool temp2 = false ;
19575 PyObject * obj0 = 0 ;
19576 PyObject * obj1 = 0 ;
19577 char * kwnames[] = {
19578 (char *) "self",(char *) "path", NULL
19579 };
19580
19581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
19582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
19583 if (!SWIG_IsOK(res1)) {
19584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
19585 }
19586 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
19587 {
19588 arg2 = wxString_in_helper(obj1);
19589 if (arg2 == NULL) SWIG_fail;
19590 temp2 = true;
19591 }
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 (arg1)->SetPath((wxString const &)*arg2);
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 resultobj = SWIG_Py_Void();
19599 {
19600 if (temp2)
19601 delete arg2;
19602 }
19603 return resultobj;
19604 fail:
19605 {
19606 if (temp2)
19607 delete arg2;
19608 }
19609 return NULL;
19610 }
19611
19612
19613 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19614 PyObject *obj;
19615 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19616 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
19617 return SWIG_Py_Void();
19618 }
19619
19620 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19621 return SWIG_Python_InitShadowInstance(args);
19622 }
19623
19624 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19625 PyObject *resultobj = 0;
19626 wxWindow *arg1 = (wxWindow *) 0 ;
19627 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
19628 wxString *arg2 = (wxString *) &arg2_defvalue ;
19629 wxString const &arg3_defvalue = wxPyEmptyString ;
19630 wxString *arg3 = (wxString *) &arg3_defvalue ;
19631 wxString const &arg4_defvalue = wxPyEmptyString ;
19632 wxString *arg4 = (wxString *) &arg4_defvalue ;
19633 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
19634 wxString *arg5 = (wxString *) &arg5_defvalue ;
19635 long arg6 = (long) wxFD_DEFAULT_STYLE ;
19636 wxPoint const &arg7_defvalue = wxDefaultPosition ;
19637 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
19638 wxFileDialog *result = 0 ;
19639 void *argp1 = 0 ;
19640 int res1 = 0 ;
19641 bool temp2 = false ;
19642 bool temp3 = false ;
19643 bool temp4 = false ;
19644 bool temp5 = false ;
19645 long val6 ;
19646 int ecode6 = 0 ;
19647 wxPoint temp7 ;
19648 PyObject * obj0 = 0 ;
19649 PyObject * obj1 = 0 ;
19650 PyObject * obj2 = 0 ;
19651 PyObject * obj3 = 0 ;
19652 PyObject * obj4 = 0 ;
19653 PyObject * obj5 = 0 ;
19654 PyObject * obj6 = 0 ;
19655 char * kwnames[] = {
19656 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
19657 };
19658
19659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
19660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19661 if (!SWIG_IsOK(res1)) {
19662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19663 }
19664 arg1 = reinterpret_cast< wxWindow * >(argp1);
19665 if (obj1) {
19666 {
19667 arg2 = wxString_in_helper(obj1);
19668 if (arg2 == NULL) SWIG_fail;
19669 temp2 = true;
19670 }
19671 }
19672 if (obj2) {
19673 {
19674 arg3 = wxString_in_helper(obj2);
19675 if (arg3 == NULL) SWIG_fail;
19676 temp3 = true;
19677 }
19678 }
19679 if (obj3) {
19680 {
19681 arg4 = wxString_in_helper(obj3);
19682 if (arg4 == NULL) SWIG_fail;
19683 temp4 = true;
19684 }
19685 }
19686 if (obj4) {
19687 {
19688 arg5 = wxString_in_helper(obj4);
19689 if (arg5 == NULL) SWIG_fail;
19690 temp5 = true;
19691 }
19692 }
19693 if (obj5) {
19694 ecode6 = SWIG_AsVal_long(obj5, &val6);
19695 if (!SWIG_IsOK(ecode6)) {
19696 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
19697 }
19698 arg6 = static_cast< long >(val6);
19699 }
19700 if (obj6) {
19701 {
19702 arg7 = &temp7;
19703 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
19704 }
19705 }
19706 {
19707 if (!wxPyCheckForApp()) SWIG_fail;
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
19710 wxPyEndAllowThreads(__tstate);
19711 if (PyErr_Occurred()) SWIG_fail;
19712 }
19713 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
19714 {
19715 if (temp2)
19716 delete arg2;
19717 }
19718 {
19719 if (temp3)
19720 delete arg3;
19721 }
19722 {
19723 if (temp4)
19724 delete arg4;
19725 }
19726 {
19727 if (temp5)
19728 delete arg5;
19729 }
19730 return resultobj;
19731 fail:
19732 {
19733 if (temp2)
19734 delete arg2;
19735 }
19736 {
19737 if (temp3)
19738 delete arg3;
19739 }
19740 {
19741 if (temp4)
19742 delete arg4;
19743 }
19744 {
19745 if (temp5)
19746 delete arg5;
19747 }
19748 return NULL;
19749 }
19750
19751
19752 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19753 PyObject *resultobj = 0;
19754 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19755 wxString *arg2 = 0 ;
19756 void *argp1 = 0 ;
19757 int res1 = 0 ;
19758 bool temp2 = false ;
19759 PyObject * obj0 = 0 ;
19760 PyObject * obj1 = 0 ;
19761 char * kwnames[] = {
19762 (char *) "self",(char *) "message", NULL
19763 };
19764
19765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
19766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19767 if (!SWIG_IsOK(res1)) {
19768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19769 }
19770 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19771 {
19772 arg2 = wxString_in_helper(obj1);
19773 if (arg2 == NULL) SWIG_fail;
19774 temp2 = true;
19775 }
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 (arg1)->SetMessage((wxString const &)*arg2);
19779 wxPyEndAllowThreads(__tstate);
19780 if (PyErr_Occurred()) SWIG_fail;
19781 }
19782 resultobj = SWIG_Py_Void();
19783 {
19784 if (temp2)
19785 delete arg2;
19786 }
19787 return resultobj;
19788 fail:
19789 {
19790 if (temp2)
19791 delete arg2;
19792 }
19793 return NULL;
19794 }
19795
19796
19797 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19798 PyObject *resultobj = 0;
19799 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19800 wxString *arg2 = 0 ;
19801 void *argp1 = 0 ;
19802 int res1 = 0 ;
19803 bool temp2 = false ;
19804 PyObject * obj0 = 0 ;
19805 PyObject * obj1 = 0 ;
19806 char * kwnames[] = {
19807 (char *) "self",(char *) "path", NULL
19808 };
19809
19810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
19811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19812 if (!SWIG_IsOK(res1)) {
19813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19814 }
19815 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19816 {
19817 arg2 = wxString_in_helper(obj1);
19818 if (arg2 == NULL) SWIG_fail;
19819 temp2 = true;
19820 }
19821 {
19822 PyThreadState* __tstate = wxPyBeginAllowThreads();
19823 (arg1)->SetPath((wxString const &)*arg2);
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 resultobj = SWIG_Py_Void();
19828 {
19829 if (temp2)
19830 delete arg2;
19831 }
19832 return resultobj;
19833 fail:
19834 {
19835 if (temp2)
19836 delete arg2;
19837 }
19838 return NULL;
19839 }
19840
19841
19842 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19843 PyObject *resultobj = 0;
19844 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19845 wxString *arg2 = 0 ;
19846 void *argp1 = 0 ;
19847 int res1 = 0 ;
19848 bool temp2 = false ;
19849 PyObject * obj0 = 0 ;
19850 PyObject * obj1 = 0 ;
19851 char * kwnames[] = {
19852 (char *) "self",(char *) "dir", NULL
19853 };
19854
19855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
19856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19857 if (!SWIG_IsOK(res1)) {
19858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19859 }
19860 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19861 {
19862 arg2 = wxString_in_helper(obj1);
19863 if (arg2 == NULL) SWIG_fail;
19864 temp2 = true;
19865 }
19866 {
19867 PyThreadState* __tstate = wxPyBeginAllowThreads();
19868 (arg1)->SetDirectory((wxString const &)*arg2);
19869 wxPyEndAllowThreads(__tstate);
19870 if (PyErr_Occurred()) SWIG_fail;
19871 }
19872 resultobj = SWIG_Py_Void();
19873 {
19874 if (temp2)
19875 delete arg2;
19876 }
19877 return resultobj;
19878 fail:
19879 {
19880 if (temp2)
19881 delete arg2;
19882 }
19883 return NULL;
19884 }
19885
19886
19887 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19888 PyObject *resultobj = 0;
19889 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19890 wxString *arg2 = 0 ;
19891 void *argp1 = 0 ;
19892 int res1 = 0 ;
19893 bool temp2 = false ;
19894 PyObject * obj0 = 0 ;
19895 PyObject * obj1 = 0 ;
19896 char * kwnames[] = {
19897 (char *) "self",(char *) "name", NULL
19898 };
19899
19900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
19901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19902 if (!SWIG_IsOK(res1)) {
19903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19904 }
19905 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19906 {
19907 arg2 = wxString_in_helper(obj1);
19908 if (arg2 == NULL) SWIG_fail;
19909 temp2 = true;
19910 }
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 (arg1)->SetFilename((wxString const &)*arg2);
19914 wxPyEndAllowThreads(__tstate);
19915 if (PyErr_Occurred()) SWIG_fail;
19916 }
19917 resultobj = SWIG_Py_Void();
19918 {
19919 if (temp2)
19920 delete arg2;
19921 }
19922 return resultobj;
19923 fail:
19924 {
19925 if (temp2)
19926 delete arg2;
19927 }
19928 return NULL;
19929 }
19930
19931
19932 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19933 PyObject *resultobj = 0;
19934 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19935 wxString *arg2 = 0 ;
19936 void *argp1 = 0 ;
19937 int res1 = 0 ;
19938 bool temp2 = false ;
19939 PyObject * obj0 = 0 ;
19940 PyObject * obj1 = 0 ;
19941 char * kwnames[] = {
19942 (char *) "self",(char *) "wildCard", NULL
19943 };
19944
19945 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
19946 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19947 if (!SWIG_IsOK(res1)) {
19948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19949 }
19950 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19951 {
19952 arg2 = wxString_in_helper(obj1);
19953 if (arg2 == NULL) SWIG_fail;
19954 temp2 = true;
19955 }
19956 {
19957 PyThreadState* __tstate = wxPyBeginAllowThreads();
19958 (arg1)->SetWildcard((wxString const &)*arg2);
19959 wxPyEndAllowThreads(__tstate);
19960 if (PyErr_Occurred()) SWIG_fail;
19961 }
19962 resultobj = SWIG_Py_Void();
19963 {
19964 if (temp2)
19965 delete arg2;
19966 }
19967 return resultobj;
19968 fail:
19969 {
19970 if (temp2)
19971 delete arg2;
19972 }
19973 return NULL;
19974 }
19975
19976
19977 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19978 PyObject *resultobj = 0;
19979 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
19980 int arg2 ;
19981 void *argp1 = 0 ;
19982 int res1 = 0 ;
19983 int val2 ;
19984 int ecode2 = 0 ;
19985 PyObject * obj0 = 0 ;
19986 PyObject * obj1 = 0 ;
19987 char * kwnames[] = {
19988 (char *) "self",(char *) "filterIndex", NULL
19989 };
19990
19991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
19992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
19993 if (!SWIG_IsOK(res1)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
19995 }
19996 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
19997 ecode2 = SWIG_AsVal_int(obj1, &val2);
19998 if (!SWIG_IsOK(ecode2)) {
19999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
20000 }
20001 arg2 = static_cast< int >(val2);
20002 {
20003 PyThreadState* __tstate = wxPyBeginAllowThreads();
20004 (arg1)->SetFilterIndex(arg2);
20005 wxPyEndAllowThreads(__tstate);
20006 if (PyErr_Occurred()) SWIG_fail;
20007 }
20008 resultobj = SWIG_Py_Void();
20009 return resultobj;
20010 fail:
20011 return NULL;
20012 }
20013
20014
20015 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20016 PyObject *resultobj = 0;
20017 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20018 wxString result;
20019 void *argp1 = 0 ;
20020 int res1 = 0 ;
20021 PyObject *swig_obj[1] ;
20022
20023 if (!args) SWIG_fail;
20024 swig_obj[0] = args;
20025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20026 if (!SWIG_IsOK(res1)) {
20027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20028 }
20029 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20030 {
20031 PyThreadState* __tstate = wxPyBeginAllowThreads();
20032 result = ((wxFileDialog const *)arg1)->GetMessage();
20033 wxPyEndAllowThreads(__tstate);
20034 if (PyErr_Occurred()) SWIG_fail;
20035 }
20036 {
20037 #if wxUSE_UNICODE
20038 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20039 #else
20040 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20041 #endif
20042 }
20043 return resultobj;
20044 fail:
20045 return NULL;
20046 }
20047
20048
20049 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20050 PyObject *resultobj = 0;
20051 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20052 wxString result;
20053 void *argp1 = 0 ;
20054 int res1 = 0 ;
20055 PyObject *swig_obj[1] ;
20056
20057 if (!args) SWIG_fail;
20058 swig_obj[0] = args;
20059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20060 if (!SWIG_IsOK(res1)) {
20061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20062 }
20063 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 result = ((wxFileDialog const *)arg1)->GetPath();
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 {
20071 #if wxUSE_UNICODE
20072 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20073 #else
20074 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20075 #endif
20076 }
20077 return resultobj;
20078 fail:
20079 return NULL;
20080 }
20081
20082
20083 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20084 PyObject *resultobj = 0;
20085 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20086 wxString result;
20087 void *argp1 = 0 ;
20088 int res1 = 0 ;
20089 PyObject *swig_obj[1] ;
20090
20091 if (!args) SWIG_fail;
20092 swig_obj[0] = args;
20093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20094 if (!SWIG_IsOK(res1)) {
20095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20096 }
20097 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20098 {
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 result = ((wxFileDialog const *)arg1)->GetDirectory();
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 {
20105 #if wxUSE_UNICODE
20106 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20107 #else
20108 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20109 #endif
20110 }
20111 return resultobj;
20112 fail:
20113 return NULL;
20114 }
20115
20116
20117 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20118 PyObject *resultobj = 0;
20119 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20120 wxString result;
20121 void *argp1 = 0 ;
20122 int res1 = 0 ;
20123 PyObject *swig_obj[1] ;
20124
20125 if (!args) SWIG_fail;
20126 swig_obj[0] = args;
20127 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20128 if (!SWIG_IsOK(res1)) {
20129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20130 }
20131 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20132 {
20133 PyThreadState* __tstate = wxPyBeginAllowThreads();
20134 result = ((wxFileDialog const *)arg1)->GetFilename();
20135 wxPyEndAllowThreads(__tstate);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 }
20138 {
20139 #if wxUSE_UNICODE
20140 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20141 #else
20142 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20143 #endif
20144 }
20145 return resultobj;
20146 fail:
20147 return NULL;
20148 }
20149
20150
20151 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20152 PyObject *resultobj = 0;
20153 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20154 wxString result;
20155 void *argp1 = 0 ;
20156 int res1 = 0 ;
20157 PyObject *swig_obj[1] ;
20158
20159 if (!args) SWIG_fail;
20160 swig_obj[0] = args;
20161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20162 if (!SWIG_IsOK(res1)) {
20163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20164 }
20165 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20166 {
20167 PyThreadState* __tstate = wxPyBeginAllowThreads();
20168 result = ((wxFileDialog const *)arg1)->GetWildcard();
20169 wxPyEndAllowThreads(__tstate);
20170 if (PyErr_Occurred()) SWIG_fail;
20171 }
20172 {
20173 #if wxUSE_UNICODE
20174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20175 #else
20176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20177 #endif
20178 }
20179 return resultobj;
20180 fail:
20181 return NULL;
20182 }
20183
20184
20185 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20186 PyObject *resultobj = 0;
20187 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20188 int result;
20189 void *argp1 = 0 ;
20190 int res1 = 0 ;
20191 PyObject *swig_obj[1] ;
20192
20193 if (!args) SWIG_fail;
20194 swig_obj[0] = args;
20195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20196 if (!SWIG_IsOK(res1)) {
20197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
20198 }
20199 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20200 {
20201 PyThreadState* __tstate = wxPyBeginAllowThreads();
20202 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
20203 wxPyEndAllowThreads(__tstate);
20204 if (PyErr_Occurred()) SWIG_fail;
20205 }
20206 resultobj = SWIG_From_int(static_cast< int >(result));
20207 return resultobj;
20208 fail:
20209 return NULL;
20210 }
20211
20212
20213 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20214 PyObject *resultobj = 0;
20215 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20216 PyObject *result = 0 ;
20217 void *argp1 = 0 ;
20218 int res1 = 0 ;
20219 PyObject *swig_obj[1] ;
20220
20221 if (!args) SWIG_fail;
20222 swig_obj[0] = args;
20223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20224 if (!SWIG_IsOK(res1)) {
20225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20226 }
20227 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20228 {
20229 PyThreadState* __tstate = wxPyBeginAllowThreads();
20230 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
20231 wxPyEndAllowThreads(__tstate);
20232 if (PyErr_Occurred()) SWIG_fail;
20233 }
20234 resultobj = result;
20235 return resultobj;
20236 fail:
20237 return NULL;
20238 }
20239
20240
20241 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20242 PyObject *resultobj = 0;
20243 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
20244 PyObject *result = 0 ;
20245 void *argp1 = 0 ;
20246 int res1 = 0 ;
20247 PyObject *swig_obj[1] ;
20248
20249 if (!args) SWIG_fail;
20250 swig_obj[0] = args;
20251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
20252 if (!SWIG_IsOK(res1)) {
20253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
20254 }
20255 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
20256 {
20257 PyThreadState* __tstate = wxPyBeginAllowThreads();
20258 result = (PyObject *)wxFileDialog_GetPaths(arg1);
20259 wxPyEndAllowThreads(__tstate);
20260 if (PyErr_Occurred()) SWIG_fail;
20261 }
20262 resultobj = result;
20263 return resultobj;
20264 fail:
20265 return NULL;
20266 }
20267
20268
20269 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20270 PyObject *obj;
20271 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20272 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
20273 return SWIG_Py_Void();
20274 }
20275
20276 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20277 return SWIG_Python_InitShadowInstance(args);
20278 }
20279
20280 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20281 PyObject *resultobj = 0;
20282 wxWindow *arg1 = (wxWindow *) 0 ;
20283 wxString *arg2 = 0 ;
20284 wxString *arg3 = 0 ;
20285 int arg4 = (int) 0 ;
20286 wxString *arg5 = (wxString *) NULL ;
20287 long arg6 = (long) wxCHOICEDLG_STYLE ;
20288 wxPoint const &arg7_defvalue = wxDefaultPosition ;
20289 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
20290 wxMultiChoiceDialog *result = 0 ;
20291 void *argp1 = 0 ;
20292 int res1 = 0 ;
20293 bool temp2 = false ;
20294 bool temp3 = false ;
20295 long val6 ;
20296 int ecode6 = 0 ;
20297 wxPoint temp7 ;
20298 PyObject * obj0 = 0 ;
20299 PyObject * obj1 = 0 ;
20300 PyObject * obj2 = 0 ;
20301 PyObject * obj3 = 0 ;
20302 PyObject * obj4 = 0 ;
20303 PyObject * obj5 = 0 ;
20304 char * kwnames[] = {
20305 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20306 };
20307
20308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20310 if (!SWIG_IsOK(res1)) {
20311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20312 }
20313 arg1 = reinterpret_cast< wxWindow * >(argp1);
20314 {
20315 arg2 = wxString_in_helper(obj1);
20316 if (arg2 == NULL) SWIG_fail;
20317 temp2 = true;
20318 }
20319 {
20320 arg3 = wxString_in_helper(obj2);
20321 if (arg3 == NULL) SWIG_fail;
20322 temp3 = true;
20323 }
20324 if (obj3) {
20325 {
20326 arg4 = PyList_Size(obj3);
20327 arg5 = wxString_LIST_helper(obj3);
20328 if (arg5 == NULL) SWIG_fail;
20329 }
20330 }
20331 if (obj4) {
20332 ecode6 = SWIG_AsVal_long(obj4, &val6);
20333 if (!SWIG_IsOK(ecode6)) {
20334 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20335 }
20336 arg6 = static_cast< long >(val6);
20337 }
20338 if (obj5) {
20339 {
20340 arg7 = &temp7;
20341 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
20342 }
20343 }
20344 {
20345 if (!wxPyCheckForApp()) SWIG_fail;
20346 PyThreadState* __tstate = wxPyBeginAllowThreads();
20347 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
20348 wxPyEndAllowThreads(__tstate);
20349 if (PyErr_Occurred()) SWIG_fail;
20350 }
20351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
20352 {
20353 if (temp2)
20354 delete arg2;
20355 }
20356 {
20357 if (temp3)
20358 delete arg3;
20359 }
20360 {
20361 if (arg5) delete [] arg5;
20362 }
20363 return resultobj;
20364 fail:
20365 {
20366 if (temp2)
20367 delete arg2;
20368 }
20369 {
20370 if (temp3)
20371 delete arg3;
20372 }
20373 {
20374 if (arg5) delete [] arg5;
20375 }
20376 return NULL;
20377 }
20378
20379
20380 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20381 PyObject *resultobj = 0;
20382 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
20383 wxArrayInt *arg2 = 0 ;
20384 void *argp1 = 0 ;
20385 int res1 = 0 ;
20386 bool temp2 = false ;
20387 PyObject * obj0 = 0 ;
20388 PyObject * obj1 = 0 ;
20389 char * kwnames[] = {
20390 (char *) "self",(char *) "selections", NULL
20391 };
20392
20393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
20394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
20395 if (!SWIG_IsOK(res1)) {
20396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20397 }
20398 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
20399 {
20400 if (! PySequence_Check(obj1)) {
20401 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
20402 SWIG_fail;
20403 }
20404 arg2 = new wxArrayInt;
20405 temp2 = true;
20406 int i, len=PySequence_Length(obj1);
20407 for (i=0; i<len; i++) {
20408 PyObject* item = PySequence_GetItem(obj1, i);
20409 PyObject* number = PyNumber_Int(item);
20410 if (!number) {
20411 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
20412 SWIG_fail;
20413 }
20414 arg2->Add(PyInt_AS_LONG(number));
20415 Py_DECREF(item);
20416 Py_DECREF(number);
20417 }
20418 }
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 (arg1)->SetSelections((wxArrayInt const &)*arg2);
20422 wxPyEndAllowThreads(__tstate);
20423 if (PyErr_Occurred()) SWIG_fail;
20424 }
20425 resultobj = SWIG_Py_Void();
20426 {
20427 if (temp2) delete arg2;
20428 }
20429 return resultobj;
20430 fail:
20431 {
20432 if (temp2) delete arg2;
20433 }
20434 return NULL;
20435 }
20436
20437
20438 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20439 PyObject *resultobj = 0;
20440 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
20441 PyObject *result = 0 ;
20442 void *argp1 = 0 ;
20443 int res1 = 0 ;
20444 PyObject *swig_obj[1] ;
20445
20446 if (!args) SWIG_fail;
20447 swig_obj[0] = args;
20448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
20449 if (!SWIG_IsOK(res1)) {
20450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
20451 }
20452 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
20456 wxPyEndAllowThreads(__tstate);
20457 if (PyErr_Occurred()) SWIG_fail;
20458 }
20459 resultobj = result;
20460 return resultobj;
20461 fail:
20462 return NULL;
20463 }
20464
20465
20466 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20467 PyObject *obj;
20468 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20469 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
20470 return SWIG_Py_Void();
20471 }
20472
20473 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20474 return SWIG_Python_InitShadowInstance(args);
20475 }
20476
20477 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20478 PyObject *resultobj = 0;
20479 wxWindow *arg1 = (wxWindow *) 0 ;
20480 wxString *arg2 = 0 ;
20481 wxString *arg3 = 0 ;
20482 int arg4 ;
20483 wxString *arg5 = (wxString *) 0 ;
20484 long arg6 = (long) wxCHOICEDLG_STYLE ;
20485 wxPoint const &arg7_defvalue = wxDefaultPosition ;
20486 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
20487 wxSingleChoiceDialog *result = 0 ;
20488 void *argp1 = 0 ;
20489 int res1 = 0 ;
20490 bool temp2 = false ;
20491 bool temp3 = false ;
20492 long val6 ;
20493 int ecode6 = 0 ;
20494 wxPoint temp7 ;
20495 PyObject * obj0 = 0 ;
20496 PyObject * obj1 = 0 ;
20497 PyObject * obj2 = 0 ;
20498 PyObject * obj3 = 0 ;
20499 PyObject * obj4 = 0 ;
20500 PyObject * obj5 = 0 ;
20501 char * kwnames[] = {
20502 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
20503 };
20504
20505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20507 if (!SWIG_IsOK(res1)) {
20508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20509 }
20510 arg1 = reinterpret_cast< wxWindow * >(argp1);
20511 {
20512 arg2 = wxString_in_helper(obj1);
20513 if (arg2 == NULL) SWIG_fail;
20514 temp2 = true;
20515 }
20516 {
20517 arg3 = wxString_in_helper(obj2);
20518 if (arg3 == NULL) SWIG_fail;
20519 temp3 = true;
20520 }
20521 {
20522 arg4 = PyList_Size(obj3);
20523 arg5 = wxString_LIST_helper(obj3);
20524 if (arg5 == NULL) SWIG_fail;
20525 }
20526 if (obj4) {
20527 ecode6 = SWIG_AsVal_long(obj4, &val6);
20528 if (!SWIG_IsOK(ecode6)) {
20529 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
20530 }
20531 arg6 = static_cast< long >(val6);
20532 }
20533 if (obj5) {
20534 {
20535 arg7 = &temp7;
20536 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
20537 }
20538 }
20539 {
20540 if (!wxPyCheckForApp()) SWIG_fail;
20541 PyThreadState* __tstate = wxPyBeginAllowThreads();
20542 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
20543 wxPyEndAllowThreads(__tstate);
20544 if (PyErr_Occurred()) SWIG_fail;
20545 }
20546 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
20547 {
20548 if (temp2)
20549 delete arg2;
20550 }
20551 {
20552 if (temp3)
20553 delete arg3;
20554 }
20555 {
20556 if (arg5) delete [] arg5;
20557 }
20558 return resultobj;
20559 fail:
20560 {
20561 if (temp2)
20562 delete arg2;
20563 }
20564 {
20565 if (temp3)
20566 delete arg3;
20567 }
20568 {
20569 if (arg5) delete [] arg5;
20570 }
20571 return NULL;
20572 }
20573
20574
20575 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20576 PyObject *resultobj = 0;
20577 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20578 int result;
20579 void *argp1 = 0 ;
20580 int res1 = 0 ;
20581 PyObject *swig_obj[1] ;
20582
20583 if (!args) SWIG_fail;
20584 swig_obj[0] = args;
20585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20586 if (!SWIG_IsOK(res1)) {
20587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20588 }
20589 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20590 {
20591 PyThreadState* __tstate = wxPyBeginAllowThreads();
20592 result = (int)(arg1)->GetSelection();
20593 wxPyEndAllowThreads(__tstate);
20594 if (PyErr_Occurred()) SWIG_fail;
20595 }
20596 resultobj = SWIG_From_int(static_cast< int >(result));
20597 return resultobj;
20598 fail:
20599 return NULL;
20600 }
20601
20602
20603 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20604 PyObject *resultobj = 0;
20605 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20606 wxString result;
20607 void *argp1 = 0 ;
20608 int res1 = 0 ;
20609 PyObject *swig_obj[1] ;
20610
20611 if (!args) SWIG_fail;
20612 swig_obj[0] = args;
20613 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20614 if (!SWIG_IsOK(res1)) {
20615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20616 }
20617 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20618 {
20619 PyThreadState* __tstate = wxPyBeginAllowThreads();
20620 result = (arg1)->GetStringSelection();
20621 wxPyEndAllowThreads(__tstate);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 }
20624 {
20625 #if wxUSE_UNICODE
20626 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20627 #else
20628 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20629 #endif
20630 }
20631 return resultobj;
20632 fail:
20633 return NULL;
20634 }
20635
20636
20637 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20638 PyObject *resultobj = 0;
20639 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
20640 int arg2 ;
20641 void *argp1 = 0 ;
20642 int res1 = 0 ;
20643 int val2 ;
20644 int ecode2 = 0 ;
20645 PyObject * obj0 = 0 ;
20646 PyObject * obj1 = 0 ;
20647 char * kwnames[] = {
20648 (char *) "self",(char *) "sel", NULL
20649 };
20650
20651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
20652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
20653 if (!SWIG_IsOK(res1)) {
20654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
20655 }
20656 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
20657 ecode2 = SWIG_AsVal_int(obj1, &val2);
20658 if (!SWIG_IsOK(ecode2)) {
20659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
20660 }
20661 arg2 = static_cast< int >(val2);
20662 {
20663 PyThreadState* __tstate = wxPyBeginAllowThreads();
20664 (arg1)->SetSelection(arg2);
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 resultobj = SWIG_Py_Void();
20669 return resultobj;
20670 fail:
20671 return NULL;
20672 }
20673
20674
20675 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20676 PyObject *obj;
20677 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20678 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
20679 return SWIG_Py_Void();
20680 }
20681
20682 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20683 return SWIG_Python_InitShadowInstance(args);
20684 }
20685
20686 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20687 PyObject *resultobj = 0;
20688 wxWindow *arg1 = (wxWindow *) 0 ;
20689 wxString *arg2 = 0 ;
20690 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
20691 wxString *arg3 = (wxString *) &arg3_defvalue ;
20692 wxString const &arg4_defvalue = wxPyEmptyString ;
20693 wxString *arg4 = (wxString *) &arg4_defvalue ;
20694 long arg5 = (long) wxTextEntryDialogStyle ;
20695 wxPoint const &arg6_defvalue = wxDefaultPosition ;
20696 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
20697 wxTextEntryDialog *result = 0 ;
20698 void *argp1 = 0 ;
20699 int res1 = 0 ;
20700 bool temp2 = false ;
20701 bool temp3 = false ;
20702 bool temp4 = false ;
20703 long val5 ;
20704 int ecode5 = 0 ;
20705 wxPoint temp6 ;
20706 PyObject * obj0 = 0 ;
20707 PyObject * obj1 = 0 ;
20708 PyObject * obj2 = 0 ;
20709 PyObject * obj3 = 0 ;
20710 PyObject * obj4 = 0 ;
20711 PyObject * obj5 = 0 ;
20712 char * kwnames[] = {
20713 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
20714 };
20715
20716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20718 if (!SWIG_IsOK(res1)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20720 }
20721 arg1 = reinterpret_cast< wxWindow * >(argp1);
20722 {
20723 arg2 = wxString_in_helper(obj1);
20724 if (arg2 == NULL) SWIG_fail;
20725 temp2 = true;
20726 }
20727 if (obj2) {
20728 {
20729 arg3 = wxString_in_helper(obj2);
20730 if (arg3 == NULL) SWIG_fail;
20731 temp3 = true;
20732 }
20733 }
20734 if (obj3) {
20735 {
20736 arg4 = wxString_in_helper(obj3);
20737 if (arg4 == NULL) SWIG_fail;
20738 temp4 = true;
20739 }
20740 }
20741 if (obj4) {
20742 ecode5 = SWIG_AsVal_long(obj4, &val5);
20743 if (!SWIG_IsOK(ecode5)) {
20744 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
20745 }
20746 arg5 = static_cast< long >(val5);
20747 }
20748 if (obj5) {
20749 {
20750 arg6 = &temp6;
20751 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
20752 }
20753 }
20754 {
20755 if (!wxPyCheckForApp()) SWIG_fail;
20756 PyThreadState* __tstate = wxPyBeginAllowThreads();
20757 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
20758 wxPyEndAllowThreads(__tstate);
20759 if (PyErr_Occurred()) SWIG_fail;
20760 }
20761 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
20762 {
20763 if (temp2)
20764 delete arg2;
20765 }
20766 {
20767 if (temp3)
20768 delete arg3;
20769 }
20770 {
20771 if (temp4)
20772 delete arg4;
20773 }
20774 return resultobj;
20775 fail:
20776 {
20777 if (temp2)
20778 delete arg2;
20779 }
20780 {
20781 if (temp3)
20782 delete arg3;
20783 }
20784 {
20785 if (temp4)
20786 delete arg4;
20787 }
20788 return NULL;
20789 }
20790
20791
20792 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20793 PyObject *resultobj = 0;
20794 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
20795 wxString result;
20796 void *argp1 = 0 ;
20797 int res1 = 0 ;
20798 PyObject *swig_obj[1] ;
20799
20800 if (!args) SWIG_fail;
20801 swig_obj[0] = args;
20802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
20803 if (!SWIG_IsOK(res1)) {
20804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20805 }
20806 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 result = (arg1)->GetValue();
20810 wxPyEndAllowThreads(__tstate);
20811 if (PyErr_Occurred()) SWIG_fail;
20812 }
20813 {
20814 #if wxUSE_UNICODE
20815 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20816 #else
20817 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20818 #endif
20819 }
20820 return resultobj;
20821 fail:
20822 return NULL;
20823 }
20824
20825
20826 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20827 PyObject *resultobj = 0;
20828 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
20829 wxString *arg2 = 0 ;
20830 void *argp1 = 0 ;
20831 int res1 = 0 ;
20832 bool temp2 = false ;
20833 PyObject * obj0 = 0 ;
20834 PyObject * obj1 = 0 ;
20835 char * kwnames[] = {
20836 (char *) "self",(char *) "value", NULL
20837 };
20838
20839 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
20840 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
20841 if (!SWIG_IsOK(res1)) {
20842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
20843 }
20844 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
20845 {
20846 arg2 = wxString_in_helper(obj1);
20847 if (arg2 == NULL) SWIG_fail;
20848 temp2 = true;
20849 }
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 (arg1)->SetValue((wxString const &)*arg2);
20853 wxPyEndAllowThreads(__tstate);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 }
20856 resultobj = SWIG_Py_Void();
20857 {
20858 if (temp2)
20859 delete arg2;
20860 }
20861 return resultobj;
20862 fail:
20863 {
20864 if (temp2)
20865 delete arg2;
20866 }
20867 return NULL;
20868 }
20869
20870
20871 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20872 PyObject *obj;
20873 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20874 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
20875 return SWIG_Py_Void();
20876 }
20877
20878 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20879 return SWIG_Python_InitShadowInstance(args);
20880 }
20881
20882 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
20883 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
20884 return 1;
20885 }
20886
20887
20888 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
20889 PyObject *pyobj = 0;
20890
20891 {
20892 #if wxUSE_UNICODE
20893 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
20894 #else
20895 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
20896 #endif
20897 }
20898 return pyobj;
20899 }
20900
20901
20902 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20903 PyObject *resultobj = 0;
20904 wxWindow *arg1 = (wxWindow *) 0 ;
20905 wxString *arg2 = 0 ;
20906 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
20907 wxString *arg3 = (wxString *) &arg3_defvalue ;
20908 wxString const &arg4_defvalue = wxPyEmptyString ;
20909 wxString *arg4 = (wxString *) &arg4_defvalue ;
20910 long arg5 = (long) wxTextEntryDialogStyle ;
20911 wxPoint const &arg6_defvalue = wxDefaultPosition ;
20912 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
20913 wxPasswordEntryDialog *result = 0 ;
20914 void *argp1 = 0 ;
20915 int res1 = 0 ;
20916 bool temp2 = false ;
20917 bool temp3 = false ;
20918 bool temp4 = false ;
20919 long val5 ;
20920 int ecode5 = 0 ;
20921 wxPoint temp6 ;
20922 PyObject * obj0 = 0 ;
20923 PyObject * obj1 = 0 ;
20924 PyObject * obj2 = 0 ;
20925 PyObject * obj3 = 0 ;
20926 PyObject * obj4 = 0 ;
20927 PyObject * obj5 = 0 ;
20928 char * kwnames[] = {
20929 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
20930 };
20931
20932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
20933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20934 if (!SWIG_IsOK(res1)) {
20935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20936 }
20937 arg1 = reinterpret_cast< wxWindow * >(argp1);
20938 {
20939 arg2 = wxString_in_helper(obj1);
20940 if (arg2 == NULL) SWIG_fail;
20941 temp2 = true;
20942 }
20943 if (obj2) {
20944 {
20945 arg3 = wxString_in_helper(obj2);
20946 if (arg3 == NULL) SWIG_fail;
20947 temp3 = true;
20948 }
20949 }
20950 if (obj3) {
20951 {
20952 arg4 = wxString_in_helper(obj3);
20953 if (arg4 == NULL) SWIG_fail;
20954 temp4 = true;
20955 }
20956 }
20957 if (obj4) {
20958 ecode5 = SWIG_AsVal_long(obj4, &val5);
20959 if (!SWIG_IsOK(ecode5)) {
20960 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
20961 }
20962 arg5 = static_cast< long >(val5);
20963 }
20964 if (obj5) {
20965 {
20966 arg6 = &temp6;
20967 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
20968 }
20969 }
20970 {
20971 PyThreadState* __tstate = wxPyBeginAllowThreads();
20972 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
20977 {
20978 if (temp2)
20979 delete arg2;
20980 }
20981 {
20982 if (temp3)
20983 delete arg3;
20984 }
20985 {
20986 if (temp4)
20987 delete arg4;
20988 }
20989 return resultobj;
20990 fail:
20991 {
20992 if (temp2)
20993 delete arg2;
20994 }
20995 {
20996 if (temp3)
20997 delete arg3;
20998 }
20999 {
21000 if (temp4)
21001 delete arg4;
21002 }
21003 return NULL;
21004 }
21005
21006
21007 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21008 PyObject *obj;
21009 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21010 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
21011 return SWIG_Py_Void();
21012 }
21013
21014 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21015 return SWIG_Python_InitShadowInstance(args);
21016 }
21017
21018 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21019 PyObject *resultobj = 0;
21020 wxWindow *arg1 = (wxWindow *) 0 ;
21021 wxString *arg2 = 0 ;
21022 wxString *arg3 = 0 ;
21023 wxString *arg4 = 0 ;
21024 long arg5 ;
21025 long arg6 ;
21026 long arg7 ;
21027 wxPoint const &arg8_defvalue = wxDefaultPosition ;
21028 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
21029 wxNumberEntryDialog *result = 0 ;
21030 void *argp1 = 0 ;
21031 int res1 = 0 ;
21032 bool temp2 = false ;
21033 bool temp3 = false ;
21034 bool temp4 = false ;
21035 long val5 ;
21036 int ecode5 = 0 ;
21037 long val6 ;
21038 int ecode6 = 0 ;
21039 long val7 ;
21040 int ecode7 = 0 ;
21041 wxPoint temp8 ;
21042 PyObject * obj0 = 0 ;
21043 PyObject * obj1 = 0 ;
21044 PyObject * obj2 = 0 ;
21045 PyObject * obj3 = 0 ;
21046 PyObject * obj4 = 0 ;
21047 PyObject * obj5 = 0 ;
21048 PyObject * obj6 = 0 ;
21049 PyObject * obj7 = 0 ;
21050 char * kwnames[] = {
21051 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
21052 };
21053
21054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21056 if (!SWIG_IsOK(res1)) {
21057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21058 }
21059 arg1 = reinterpret_cast< wxWindow * >(argp1);
21060 {
21061 arg2 = wxString_in_helper(obj1);
21062 if (arg2 == NULL) SWIG_fail;
21063 temp2 = true;
21064 }
21065 {
21066 arg3 = wxString_in_helper(obj2);
21067 if (arg3 == NULL) SWIG_fail;
21068 temp3 = true;
21069 }
21070 {
21071 arg4 = wxString_in_helper(obj3);
21072 if (arg4 == NULL) SWIG_fail;
21073 temp4 = true;
21074 }
21075 ecode5 = SWIG_AsVal_long(obj4, &val5);
21076 if (!SWIG_IsOK(ecode5)) {
21077 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
21078 }
21079 arg5 = static_cast< long >(val5);
21080 ecode6 = SWIG_AsVal_long(obj5, &val6);
21081 if (!SWIG_IsOK(ecode6)) {
21082 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
21083 }
21084 arg6 = static_cast< long >(val6);
21085 ecode7 = SWIG_AsVal_long(obj6, &val7);
21086 if (!SWIG_IsOK(ecode7)) {
21087 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
21088 }
21089 arg7 = static_cast< long >(val7);
21090 if (obj7) {
21091 {
21092 arg8 = &temp8;
21093 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
21094 }
21095 }
21096 {
21097 if (!wxPyCheckForApp()) SWIG_fail;
21098 PyThreadState* __tstate = wxPyBeginAllowThreads();
21099 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
21104 {
21105 if (temp2)
21106 delete arg2;
21107 }
21108 {
21109 if (temp3)
21110 delete arg3;
21111 }
21112 {
21113 if (temp4)
21114 delete arg4;
21115 }
21116 return resultobj;
21117 fail:
21118 {
21119 if (temp2)
21120 delete arg2;
21121 }
21122 {
21123 if (temp3)
21124 delete arg3;
21125 }
21126 {
21127 if (temp4)
21128 delete arg4;
21129 }
21130 return NULL;
21131 }
21132
21133
21134 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21135 PyObject *resultobj = 0;
21136 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
21137 long result;
21138 void *argp1 = 0 ;
21139 int res1 = 0 ;
21140 PyObject *swig_obj[1] ;
21141
21142 if (!args) SWIG_fail;
21143 swig_obj[0] = args;
21144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
21145 if (!SWIG_IsOK(res1)) {
21146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
21147 }
21148 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
21149 {
21150 PyThreadState* __tstate = wxPyBeginAllowThreads();
21151 result = (long)(arg1)->GetValue();
21152 wxPyEndAllowThreads(__tstate);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 resultobj = SWIG_From_long(static_cast< long >(result));
21156 return resultobj;
21157 fail:
21158 return NULL;
21159 }
21160
21161
21162 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21163 PyObject *obj;
21164 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21165 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
21166 return SWIG_Py_Void();
21167 }
21168
21169 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21170 return SWIG_Python_InitShadowInstance(args);
21171 }
21172
21173 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21174 PyObject *resultobj = 0;
21175 wxFontData *result = 0 ;
21176
21177 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
21178 {
21179 PyThreadState* __tstate = wxPyBeginAllowThreads();
21180 result = (wxFontData *)new wxFontData();
21181 wxPyEndAllowThreads(__tstate);
21182 if (PyErr_Occurred()) SWIG_fail;
21183 }
21184 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
21185 return resultobj;
21186 fail:
21187 return NULL;
21188 }
21189
21190
21191 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21192 PyObject *resultobj = 0;
21193 wxFontData *arg1 = (wxFontData *) 0 ;
21194 void *argp1 = 0 ;
21195 int res1 = 0 ;
21196 PyObject *swig_obj[1] ;
21197
21198 if (!args) SWIG_fail;
21199 swig_obj[0] = args;
21200 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
21201 if (!SWIG_IsOK(res1)) {
21202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
21203 }
21204 arg1 = reinterpret_cast< wxFontData * >(argp1);
21205 {
21206 PyThreadState* __tstate = wxPyBeginAllowThreads();
21207 delete arg1;
21208
21209 wxPyEndAllowThreads(__tstate);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 }
21212 resultobj = SWIG_Py_Void();
21213 return resultobj;
21214 fail:
21215 return NULL;
21216 }
21217
21218
21219 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21220 PyObject *resultobj = 0;
21221 wxFontData *arg1 = (wxFontData *) 0 ;
21222 bool arg2 ;
21223 void *argp1 = 0 ;
21224 int res1 = 0 ;
21225 bool val2 ;
21226 int ecode2 = 0 ;
21227 PyObject * obj0 = 0 ;
21228 PyObject * obj1 = 0 ;
21229 char * kwnames[] = {
21230 (char *) "self",(char *) "enable", NULL
21231 };
21232
21233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
21234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21235 if (!SWIG_IsOK(res1)) {
21236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21237 }
21238 arg1 = reinterpret_cast< wxFontData * >(argp1);
21239 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21240 if (!SWIG_IsOK(ecode2)) {
21241 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
21242 }
21243 arg2 = static_cast< bool >(val2);
21244 {
21245 PyThreadState* __tstate = wxPyBeginAllowThreads();
21246 (arg1)->EnableEffects(arg2);
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_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21258 PyObject *resultobj = 0;
21259 wxFontData *arg1 = (wxFontData *) 0 ;
21260 bool result;
21261 void *argp1 = 0 ;
21262 int res1 = 0 ;
21263 PyObject *swig_obj[1] ;
21264
21265 if (!args) SWIG_fail;
21266 swig_obj[0] = args;
21267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21268 if (!SWIG_IsOK(res1)) {
21269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21270 }
21271 arg1 = reinterpret_cast< wxFontData * >(argp1);
21272 {
21273 PyThreadState* __tstate = wxPyBeginAllowThreads();
21274 result = (bool)(arg1)->GetAllowSymbols();
21275 wxPyEndAllowThreads(__tstate);
21276 if (PyErr_Occurred()) SWIG_fail;
21277 }
21278 {
21279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21280 }
21281 return resultobj;
21282 fail:
21283 return NULL;
21284 }
21285
21286
21287 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21288 PyObject *resultobj = 0;
21289 wxFontData *arg1 = (wxFontData *) 0 ;
21290 wxColour result;
21291 void *argp1 = 0 ;
21292 int res1 = 0 ;
21293 PyObject *swig_obj[1] ;
21294
21295 if (!args) SWIG_fail;
21296 swig_obj[0] = args;
21297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21298 if (!SWIG_IsOK(res1)) {
21299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21300 }
21301 arg1 = reinterpret_cast< wxFontData * >(argp1);
21302 {
21303 PyThreadState* __tstate = wxPyBeginAllowThreads();
21304 result = (arg1)->GetColour();
21305 wxPyEndAllowThreads(__tstate);
21306 if (PyErr_Occurred()) SWIG_fail;
21307 }
21308 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
21309 return resultobj;
21310 fail:
21311 return NULL;
21312 }
21313
21314
21315 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21316 PyObject *resultobj = 0;
21317 wxFontData *arg1 = (wxFontData *) 0 ;
21318 wxFont result;
21319 void *argp1 = 0 ;
21320 int res1 = 0 ;
21321 PyObject *swig_obj[1] ;
21322
21323 if (!args) SWIG_fail;
21324 swig_obj[0] = args;
21325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21326 if (!SWIG_IsOK(res1)) {
21327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21328 }
21329 arg1 = reinterpret_cast< wxFontData * >(argp1);
21330 {
21331 PyThreadState* __tstate = wxPyBeginAllowThreads();
21332 result = (arg1)->GetChosenFont();
21333 wxPyEndAllowThreads(__tstate);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 }
21336 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21337 return resultobj;
21338 fail:
21339 return NULL;
21340 }
21341
21342
21343 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21344 PyObject *resultobj = 0;
21345 wxFontData *arg1 = (wxFontData *) 0 ;
21346 bool result;
21347 void *argp1 = 0 ;
21348 int res1 = 0 ;
21349 PyObject *swig_obj[1] ;
21350
21351 if (!args) SWIG_fail;
21352 swig_obj[0] = args;
21353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21354 if (!SWIG_IsOK(res1)) {
21355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
21356 }
21357 arg1 = reinterpret_cast< wxFontData * >(argp1);
21358 {
21359 PyThreadState* __tstate = wxPyBeginAllowThreads();
21360 result = (bool)(arg1)->GetEnableEffects();
21361 wxPyEndAllowThreads(__tstate);
21362 if (PyErr_Occurred()) SWIG_fail;
21363 }
21364 {
21365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21366 }
21367 return resultobj;
21368 fail:
21369 return NULL;
21370 }
21371
21372
21373 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21374 PyObject *resultobj = 0;
21375 wxFontData *arg1 = (wxFontData *) 0 ;
21376 wxFont result;
21377 void *argp1 = 0 ;
21378 int res1 = 0 ;
21379 PyObject *swig_obj[1] ;
21380
21381 if (!args) SWIG_fail;
21382 swig_obj[0] = args;
21383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21384 if (!SWIG_IsOK(res1)) {
21385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21386 }
21387 arg1 = reinterpret_cast< wxFontData * >(argp1);
21388 {
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 result = (arg1)->GetInitialFont();
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21395 return resultobj;
21396 fail:
21397 return NULL;
21398 }
21399
21400
21401 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21402 PyObject *resultobj = 0;
21403 wxFontData *arg1 = (wxFontData *) 0 ;
21404 bool result;
21405 void *argp1 = 0 ;
21406 int res1 = 0 ;
21407 PyObject *swig_obj[1] ;
21408
21409 if (!args) SWIG_fail;
21410 swig_obj[0] = args;
21411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21412 if (!SWIG_IsOK(res1)) {
21413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21414 }
21415 arg1 = reinterpret_cast< wxFontData * >(argp1);
21416 {
21417 PyThreadState* __tstate = wxPyBeginAllowThreads();
21418 result = (bool)(arg1)->GetShowHelp();
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 {
21423 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21424 }
21425 return resultobj;
21426 fail:
21427 return NULL;
21428 }
21429
21430
21431 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21432 PyObject *resultobj = 0;
21433 wxFontData *arg1 = (wxFontData *) 0 ;
21434 bool arg2 ;
21435 void *argp1 = 0 ;
21436 int res1 = 0 ;
21437 bool val2 ;
21438 int ecode2 = 0 ;
21439 PyObject * obj0 = 0 ;
21440 PyObject * obj1 = 0 ;
21441 char * kwnames[] = {
21442 (char *) "self",(char *) "allowSymbols", NULL
21443 };
21444
21445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
21446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21447 if (!SWIG_IsOK(res1)) {
21448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
21449 }
21450 arg1 = reinterpret_cast< wxFontData * >(argp1);
21451 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21452 if (!SWIG_IsOK(ecode2)) {
21453 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
21454 }
21455 arg2 = static_cast< bool >(val2);
21456 {
21457 PyThreadState* __tstate = wxPyBeginAllowThreads();
21458 (arg1)->SetAllowSymbols(arg2);
21459 wxPyEndAllowThreads(__tstate);
21460 if (PyErr_Occurred()) SWIG_fail;
21461 }
21462 resultobj = SWIG_Py_Void();
21463 return resultobj;
21464 fail:
21465 return NULL;
21466 }
21467
21468
21469 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21470 PyObject *resultobj = 0;
21471 wxFontData *arg1 = (wxFontData *) 0 ;
21472 wxFont *arg2 = 0 ;
21473 void *argp1 = 0 ;
21474 int res1 = 0 ;
21475 void *argp2 = 0 ;
21476 int res2 = 0 ;
21477 PyObject * obj0 = 0 ;
21478 PyObject * obj1 = 0 ;
21479 char * kwnames[] = {
21480 (char *) "self",(char *) "font", NULL
21481 };
21482
21483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
21484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21485 if (!SWIG_IsOK(res1)) {
21486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21487 }
21488 arg1 = reinterpret_cast< wxFontData * >(argp1);
21489 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21490 if (!SWIG_IsOK(res2)) {
21491 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21492 }
21493 if (!argp2) {
21494 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21495 }
21496 arg2 = reinterpret_cast< wxFont * >(argp2);
21497 {
21498 PyThreadState* __tstate = wxPyBeginAllowThreads();
21499 (arg1)->SetChosenFont((wxFont const &)*arg2);
21500 wxPyEndAllowThreads(__tstate);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
21503 resultobj = SWIG_Py_Void();
21504 return resultobj;
21505 fail:
21506 return NULL;
21507 }
21508
21509
21510 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21511 PyObject *resultobj = 0;
21512 wxFontData *arg1 = (wxFontData *) 0 ;
21513 wxColour *arg2 = 0 ;
21514 void *argp1 = 0 ;
21515 int res1 = 0 ;
21516 wxColour temp2 ;
21517 PyObject * obj0 = 0 ;
21518 PyObject * obj1 = 0 ;
21519 char * kwnames[] = {
21520 (char *) "self",(char *) "colour", NULL
21521 };
21522
21523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
21524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21525 if (!SWIG_IsOK(res1)) {
21526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
21527 }
21528 arg1 = reinterpret_cast< wxFontData * >(argp1);
21529 {
21530 arg2 = &temp2;
21531 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21532 }
21533 {
21534 PyThreadState* __tstate = wxPyBeginAllowThreads();
21535 (arg1)->SetColour((wxColour const &)*arg2);
21536 wxPyEndAllowThreads(__tstate);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 }
21539 resultobj = SWIG_Py_Void();
21540 return resultobj;
21541 fail:
21542 return NULL;
21543 }
21544
21545
21546 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21547 PyObject *resultobj = 0;
21548 wxFontData *arg1 = (wxFontData *) 0 ;
21549 wxFont *arg2 = 0 ;
21550 void *argp1 = 0 ;
21551 int res1 = 0 ;
21552 void *argp2 = 0 ;
21553 int res2 = 0 ;
21554 PyObject * obj0 = 0 ;
21555 PyObject * obj1 = 0 ;
21556 char * kwnames[] = {
21557 (char *) "self",(char *) "font", NULL
21558 };
21559
21560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
21561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21562 if (!SWIG_IsOK(res1)) {
21563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
21564 }
21565 arg1 = reinterpret_cast< wxFontData * >(argp1);
21566 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21567 if (!SWIG_IsOK(res2)) {
21568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21569 }
21570 if (!argp2) {
21571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
21572 }
21573 arg2 = reinterpret_cast< wxFont * >(argp2);
21574 {
21575 PyThreadState* __tstate = wxPyBeginAllowThreads();
21576 (arg1)->SetInitialFont((wxFont const &)*arg2);
21577 wxPyEndAllowThreads(__tstate);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 resultobj = SWIG_Py_Void();
21581 return resultobj;
21582 fail:
21583 return NULL;
21584 }
21585
21586
21587 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21588 PyObject *resultobj = 0;
21589 wxFontData *arg1 = (wxFontData *) 0 ;
21590 int arg2 ;
21591 int arg3 ;
21592 void *argp1 = 0 ;
21593 int res1 = 0 ;
21594 int val2 ;
21595 int ecode2 = 0 ;
21596 int val3 ;
21597 int ecode3 = 0 ;
21598 PyObject * obj0 = 0 ;
21599 PyObject * obj1 = 0 ;
21600 PyObject * obj2 = 0 ;
21601 char * kwnames[] = {
21602 (char *) "self",(char *) "min",(char *) "max", NULL
21603 };
21604
21605 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21606 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21607 if (!SWIG_IsOK(res1)) {
21608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
21609 }
21610 arg1 = reinterpret_cast< wxFontData * >(argp1);
21611 ecode2 = SWIG_AsVal_int(obj1, &val2);
21612 if (!SWIG_IsOK(ecode2)) {
21613 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
21614 }
21615 arg2 = static_cast< int >(val2);
21616 ecode3 = SWIG_AsVal_int(obj2, &val3);
21617 if (!SWIG_IsOK(ecode3)) {
21618 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
21619 }
21620 arg3 = static_cast< int >(val3);
21621 {
21622 PyThreadState* __tstate = wxPyBeginAllowThreads();
21623 (arg1)->SetRange(arg2,arg3);
21624 wxPyEndAllowThreads(__tstate);
21625 if (PyErr_Occurred()) SWIG_fail;
21626 }
21627 resultobj = SWIG_Py_Void();
21628 return resultobj;
21629 fail:
21630 return NULL;
21631 }
21632
21633
21634 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21635 PyObject *resultobj = 0;
21636 wxFontData *arg1 = (wxFontData *) 0 ;
21637 bool arg2 ;
21638 void *argp1 = 0 ;
21639 int res1 = 0 ;
21640 bool val2 ;
21641 int ecode2 = 0 ;
21642 PyObject * obj0 = 0 ;
21643 PyObject * obj1 = 0 ;
21644 char * kwnames[] = {
21645 (char *) "self",(char *) "showHelp", NULL
21646 };
21647
21648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
21649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
21650 if (!SWIG_IsOK(res1)) {
21651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
21652 }
21653 arg1 = reinterpret_cast< wxFontData * >(argp1);
21654 ecode2 = SWIG_AsVal_bool(obj1, &val2);
21655 if (!SWIG_IsOK(ecode2)) {
21656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
21657 }
21658 arg2 = static_cast< bool >(val2);
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 (arg1)->SetShowHelp(arg2);
21662 wxPyEndAllowThreads(__tstate);
21663 if (PyErr_Occurred()) SWIG_fail;
21664 }
21665 resultobj = SWIG_Py_Void();
21666 return resultobj;
21667 fail:
21668 return NULL;
21669 }
21670
21671
21672 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21673 PyObject *obj;
21674 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21675 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
21676 return SWIG_Py_Void();
21677 }
21678
21679 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21680 return SWIG_Python_InitShadowInstance(args);
21681 }
21682
21683 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21684 PyObject *resultobj = 0;
21685 wxWindow *arg1 = (wxWindow *) 0 ;
21686 wxFontData *arg2 = 0 ;
21687 wxFontDialog *result = 0 ;
21688 void *argp1 = 0 ;
21689 int res1 = 0 ;
21690 void *argp2 = 0 ;
21691 int res2 = 0 ;
21692 PyObject * obj0 = 0 ;
21693 PyObject * obj1 = 0 ;
21694 char * kwnames[] = {
21695 (char *) "parent",(char *) "data", NULL
21696 };
21697
21698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
21699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21700 if (!SWIG_IsOK(res1)) {
21701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21702 }
21703 arg1 = reinterpret_cast< wxWindow * >(argp1);
21704 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
21705 if (!SWIG_IsOK(res2)) {
21706 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21707 }
21708 if (!argp2) {
21709 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
21710 }
21711 arg2 = reinterpret_cast< wxFontData * >(argp2);
21712 {
21713 if (!wxPyCheckForApp()) SWIG_fail;
21714 PyThreadState* __tstate = wxPyBeginAllowThreads();
21715 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
21716 wxPyEndAllowThreads(__tstate);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 }
21719 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
21720 return resultobj;
21721 fail:
21722 return NULL;
21723 }
21724
21725
21726 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21727 PyObject *resultobj = 0;
21728 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
21729 wxFontData *result = 0 ;
21730 void *argp1 = 0 ;
21731 int res1 = 0 ;
21732 PyObject *swig_obj[1] ;
21733
21734 if (!args) SWIG_fail;
21735 swig_obj[0] = args;
21736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
21737 if (!SWIG_IsOK(res1)) {
21738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
21739 }
21740 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
21741 {
21742 PyThreadState* __tstate = wxPyBeginAllowThreads();
21743 {
21744 wxFontData &_result_ref = (arg1)->GetFontData();
21745 result = (wxFontData *) &_result_ref;
21746 }
21747 wxPyEndAllowThreads(__tstate);
21748 if (PyErr_Occurred()) SWIG_fail;
21749 }
21750 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
21751 return resultobj;
21752 fail:
21753 return NULL;
21754 }
21755
21756
21757 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21758 PyObject *obj;
21759 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21760 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
21761 return SWIG_Py_Void();
21762 }
21763
21764 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21765 return SWIG_Python_InitShadowInstance(args);
21766 }
21767
21768 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21769 PyObject *resultobj = 0;
21770 wxWindow *arg1 = (wxWindow *) NULL ;
21771 wxFont const &arg2_defvalue = wxNullFont ;
21772 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
21773 wxString const &arg3_defvalue = wxPyEmptyString ;
21774 wxString *arg3 = (wxString *) &arg3_defvalue ;
21775 wxFont result;
21776 void *argp1 = 0 ;
21777 int res1 = 0 ;
21778 void *argp2 = 0 ;
21779 int res2 = 0 ;
21780 bool temp3 = false ;
21781 PyObject * obj0 = 0 ;
21782 PyObject * obj1 = 0 ;
21783 PyObject * obj2 = 0 ;
21784 char * kwnames[] = {
21785 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
21786 };
21787
21788 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21789 if (obj0) {
21790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21791 if (!SWIG_IsOK(res1)) {
21792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
21793 }
21794 arg1 = reinterpret_cast< wxWindow * >(argp1);
21795 }
21796 if (obj1) {
21797 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
21798 if (!SWIG_IsOK(res2)) {
21799 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21800 }
21801 if (!argp2) {
21802 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
21803 }
21804 arg2 = reinterpret_cast< wxFont * >(argp2);
21805 }
21806 if (obj2) {
21807 {
21808 arg3 = wxString_in_helper(obj2);
21809 if (arg3 == NULL) SWIG_fail;
21810 temp3 = true;
21811 }
21812 }
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
21816 wxPyEndAllowThreads(__tstate);
21817 if (PyErr_Occurred()) SWIG_fail;
21818 }
21819 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
21820 {
21821 if (temp3)
21822 delete arg3;
21823 }
21824 return resultobj;
21825 fail:
21826 {
21827 if (temp3)
21828 delete arg3;
21829 }
21830 return NULL;
21831 }
21832
21833
21834 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21835 PyObject *resultobj = 0;
21836 wxWindow *arg1 = (wxWindow *) 0 ;
21837 wxString *arg2 = 0 ;
21838 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
21839 wxString *arg3 = (wxString *) &arg3_defvalue ;
21840 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
21841 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21842 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21843 wxMessageDialog *result = 0 ;
21844 void *argp1 = 0 ;
21845 int res1 = 0 ;
21846 bool temp2 = false ;
21847 bool temp3 = false ;
21848 long val4 ;
21849 int ecode4 = 0 ;
21850 wxPoint temp5 ;
21851 PyObject * obj0 = 0 ;
21852 PyObject * obj1 = 0 ;
21853 PyObject * obj2 = 0 ;
21854 PyObject * obj3 = 0 ;
21855 PyObject * obj4 = 0 ;
21856 char * kwnames[] = {
21857 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
21858 };
21859
21860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21862 if (!SWIG_IsOK(res1)) {
21863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
21864 }
21865 arg1 = reinterpret_cast< wxWindow * >(argp1);
21866 {
21867 arg2 = wxString_in_helper(obj1);
21868 if (arg2 == NULL) SWIG_fail;
21869 temp2 = true;
21870 }
21871 if (obj2) {
21872 {
21873 arg3 = wxString_in_helper(obj2);
21874 if (arg3 == NULL) SWIG_fail;
21875 temp3 = true;
21876 }
21877 }
21878 if (obj3) {
21879 ecode4 = SWIG_AsVal_long(obj3, &val4);
21880 if (!SWIG_IsOK(ecode4)) {
21881 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
21882 }
21883 arg4 = static_cast< long >(val4);
21884 }
21885 if (obj4) {
21886 {
21887 arg5 = &temp5;
21888 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21889 }
21890 }
21891 {
21892 if (!wxPyCheckForApp()) SWIG_fail;
21893 PyThreadState* __tstate = wxPyBeginAllowThreads();
21894 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
21895 wxPyEndAllowThreads(__tstate);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 }
21898 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
21899 {
21900 if (temp2)
21901 delete arg2;
21902 }
21903 {
21904 if (temp3)
21905 delete arg3;
21906 }
21907 return resultobj;
21908 fail:
21909 {
21910 if (temp2)
21911 delete arg2;
21912 }
21913 {
21914 if (temp3)
21915 delete arg3;
21916 }
21917 return NULL;
21918 }
21919
21920
21921 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21922 PyObject *obj;
21923 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21924 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
21925 return SWIG_Py_Void();
21926 }
21927
21928 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21929 return SWIG_Python_InitShadowInstance(args);
21930 }
21931
21932 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21933 PyObject *resultobj = 0;
21934 wxString *arg1 = 0 ;
21935 wxString *arg2 = 0 ;
21936 int arg3 = (int) 100 ;
21937 wxWindow *arg4 = (wxWindow *) NULL ;
21938 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
21939 wxProgressDialog *result = 0 ;
21940 bool temp1 = false ;
21941 bool temp2 = false ;
21942 int val3 ;
21943 int ecode3 = 0 ;
21944 void *argp4 = 0 ;
21945 int res4 = 0 ;
21946 int val5 ;
21947 int ecode5 = 0 ;
21948 PyObject * obj0 = 0 ;
21949 PyObject * obj1 = 0 ;
21950 PyObject * obj2 = 0 ;
21951 PyObject * obj3 = 0 ;
21952 PyObject * obj4 = 0 ;
21953 char * kwnames[] = {
21954 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
21955 };
21956
21957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21958 {
21959 arg1 = wxString_in_helper(obj0);
21960 if (arg1 == NULL) SWIG_fail;
21961 temp1 = true;
21962 }
21963 {
21964 arg2 = wxString_in_helper(obj1);
21965 if (arg2 == NULL) SWIG_fail;
21966 temp2 = true;
21967 }
21968 if (obj2) {
21969 ecode3 = SWIG_AsVal_int(obj2, &val3);
21970 if (!SWIG_IsOK(ecode3)) {
21971 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
21972 }
21973 arg3 = static_cast< int >(val3);
21974 }
21975 if (obj3) {
21976 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
21977 if (!SWIG_IsOK(res4)) {
21978 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
21979 }
21980 arg4 = reinterpret_cast< wxWindow * >(argp4);
21981 }
21982 if (obj4) {
21983 ecode5 = SWIG_AsVal_int(obj4, &val5);
21984 if (!SWIG_IsOK(ecode5)) {
21985 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
21986 }
21987 arg5 = static_cast< int >(val5);
21988 }
21989 {
21990 if (!wxPyCheckForApp()) SWIG_fail;
21991 PyThreadState* __tstate = wxPyBeginAllowThreads();
21992 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
21993 wxPyEndAllowThreads(__tstate);
21994 if (PyErr_Occurred()) SWIG_fail;
21995 }
21996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
21997 {
21998 if (temp1)
21999 delete arg1;
22000 }
22001 {
22002 if (temp2)
22003 delete arg2;
22004 }
22005 return resultobj;
22006 fail:
22007 {
22008 if (temp1)
22009 delete arg1;
22010 }
22011 {
22012 if (temp2)
22013 delete arg2;
22014 }
22015 return NULL;
22016 }
22017
22018
22019 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22020 PyObject *resultobj = 0;
22021 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
22022 int arg2 ;
22023 wxString const &arg3_defvalue = wxPyEmptyString ;
22024 wxString *arg3 = (wxString *) &arg3_defvalue ;
22025 bool *arg4 = (bool *) 0 ;
22026 bool result;
22027 void *argp1 = 0 ;
22028 int res1 = 0 ;
22029 int val2 ;
22030 int ecode2 = 0 ;
22031 bool temp3 = false ;
22032 bool temp4 ;
22033 int res4 = SWIG_TMPOBJ ;
22034 PyObject * obj0 = 0 ;
22035 PyObject * obj1 = 0 ;
22036 PyObject * obj2 = 0 ;
22037 char * kwnames[] = {
22038 (char *) "self",(char *) "value",(char *) "newmsg", NULL
22039 };
22040
22041 arg4 = &temp4;
22042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
22044 if (!SWIG_IsOK(res1)) {
22045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22046 }
22047 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
22048 ecode2 = SWIG_AsVal_int(obj1, &val2);
22049 if (!SWIG_IsOK(ecode2)) {
22050 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
22051 }
22052 arg2 = static_cast< int >(val2);
22053 if (obj2) {
22054 {
22055 arg3 = wxString_in_helper(obj2);
22056 if (arg3 == NULL) SWIG_fail;
22057 temp3 = true;
22058 }
22059 }
22060 {
22061 PyThreadState* __tstate = wxPyBeginAllowThreads();
22062 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
22063 wxPyEndAllowThreads(__tstate);
22064 if (PyErr_Occurred()) SWIG_fail;
22065 }
22066 {
22067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22068 }
22069 if (SWIG_IsTmpObj(res4)) {
22070 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
22071 } else {
22072 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22073 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
22074 }
22075 {
22076 if (temp3)
22077 delete arg3;
22078 }
22079 return resultobj;
22080 fail:
22081 {
22082 if (temp3)
22083 delete arg3;
22084 }
22085 return NULL;
22086 }
22087
22088
22089 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22090 PyObject *resultobj = 0;
22091 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
22092 wxString const &arg2_defvalue = wxPyEmptyString ;
22093 wxString *arg2 = (wxString *) &arg2_defvalue ;
22094 bool *arg3 = (bool *) 0 ;
22095 bool result;
22096 void *argp1 = 0 ;
22097 int res1 = 0 ;
22098 bool temp2 = false ;
22099 bool temp3 ;
22100 int res3 = SWIG_TMPOBJ ;
22101 PyObject * obj0 = 0 ;
22102 PyObject * obj1 = 0 ;
22103 char * kwnames[] = {
22104 (char *) "self",(char *) "newmsg", NULL
22105 };
22106
22107 arg3 = &temp3;
22108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
22109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
22110 if (!SWIG_IsOK(res1)) {
22111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22112 }
22113 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
22114 if (obj1) {
22115 {
22116 arg2 = wxString_in_helper(obj1);
22117 if (arg2 == NULL) SWIG_fail;
22118 temp2 = true;
22119 }
22120 }
22121 {
22122 PyThreadState* __tstate = wxPyBeginAllowThreads();
22123 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 {
22128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22129 }
22130 if (SWIG_IsTmpObj(res3)) {
22131 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
22132 } else {
22133 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22134 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
22135 }
22136 {
22137 if (temp2)
22138 delete arg2;
22139 }
22140 return resultobj;
22141 fail:
22142 {
22143 if (temp2)
22144 delete arg2;
22145 }
22146 return NULL;
22147 }
22148
22149
22150 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22151 PyObject *resultobj = 0;
22152 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
22153 void *argp1 = 0 ;
22154 int res1 = 0 ;
22155 PyObject *swig_obj[1] ;
22156
22157 if (!args) SWIG_fail;
22158 swig_obj[0] = args;
22159 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
22160 if (!SWIG_IsOK(res1)) {
22161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
22162 }
22163 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 (arg1)->Resume();
22167 wxPyEndAllowThreads(__tstate);
22168 if (PyErr_Occurred()) SWIG_fail;
22169 }
22170 resultobj = SWIG_Py_Void();
22171 return resultobj;
22172 fail:
22173 return NULL;
22174 }
22175
22176
22177 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22178 PyObject *obj;
22179 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22180 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
22181 return SWIG_Py_Void();
22182 }
22183
22184 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22185 return SWIG_Python_InitShadowInstance(args);
22186 }
22187
22188 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22189 PyObject *resultobj = 0;
22190 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
22191 int arg2 = (int) 0 ;
22192 wxFindDialogEvent *result = 0 ;
22193 int val1 ;
22194 int ecode1 = 0 ;
22195 int val2 ;
22196 int ecode2 = 0 ;
22197 PyObject * obj0 = 0 ;
22198 PyObject * obj1 = 0 ;
22199 char * kwnames[] = {
22200 (char *) "commandType",(char *) "id", NULL
22201 };
22202
22203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
22204 if (obj0) {
22205 ecode1 = SWIG_AsVal_int(obj0, &val1);
22206 if (!SWIG_IsOK(ecode1)) {
22207 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22208 }
22209 arg1 = static_cast< wxEventType >(val1);
22210 }
22211 if (obj1) {
22212 ecode2 = SWIG_AsVal_int(obj1, &val2);
22213 if (!SWIG_IsOK(ecode2)) {
22214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
22215 }
22216 arg2 = static_cast< int >(val2);
22217 }
22218 {
22219 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
22221 wxPyEndAllowThreads(__tstate);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 }
22224 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
22225 return resultobj;
22226 fail:
22227 return NULL;
22228 }
22229
22230
22231 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22232 PyObject *resultobj = 0;
22233 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22234 int result;
22235 void *argp1 = 0 ;
22236 int res1 = 0 ;
22237 PyObject *swig_obj[1] ;
22238
22239 if (!args) SWIG_fail;
22240 swig_obj[0] = args;
22241 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22242 if (!SWIG_IsOK(res1)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22244 }
22245 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22246 {
22247 PyThreadState* __tstate = wxPyBeginAllowThreads();
22248 result = (int)(arg1)->GetFlags();
22249 wxPyEndAllowThreads(__tstate);
22250 if (PyErr_Occurred()) SWIG_fail;
22251 }
22252 resultobj = SWIG_From_int(static_cast< int >(result));
22253 return resultobj;
22254 fail:
22255 return NULL;
22256 }
22257
22258
22259 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22260 PyObject *resultobj = 0;
22261 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22262 wxString *result = 0 ;
22263 void *argp1 = 0 ;
22264 int res1 = 0 ;
22265 PyObject *swig_obj[1] ;
22266
22267 if (!args) SWIG_fail;
22268 swig_obj[0] = args;
22269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22270 if (!SWIG_IsOK(res1)) {
22271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22272 }
22273 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22274 {
22275 PyThreadState* __tstate = wxPyBeginAllowThreads();
22276 {
22277 wxString const &_result_ref = (arg1)->GetFindString();
22278 result = (wxString *) &_result_ref;
22279 }
22280 wxPyEndAllowThreads(__tstate);
22281 if (PyErr_Occurred()) SWIG_fail;
22282 }
22283 {
22284 #if wxUSE_UNICODE
22285 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22286 #else
22287 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22288 #endif
22289 }
22290 return resultobj;
22291 fail:
22292 return NULL;
22293 }
22294
22295
22296 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22297 PyObject *resultobj = 0;
22298 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22299 wxString *result = 0 ;
22300 void *argp1 = 0 ;
22301 int res1 = 0 ;
22302 PyObject *swig_obj[1] ;
22303
22304 if (!args) SWIG_fail;
22305 swig_obj[0] = args;
22306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22307 if (!SWIG_IsOK(res1)) {
22308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22309 }
22310 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22311 {
22312 PyThreadState* __tstate = wxPyBeginAllowThreads();
22313 {
22314 wxString const &_result_ref = (arg1)->GetReplaceString();
22315 result = (wxString *) &_result_ref;
22316 }
22317 wxPyEndAllowThreads(__tstate);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 }
22320 {
22321 #if wxUSE_UNICODE
22322 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22323 #else
22324 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22325 #endif
22326 }
22327 return resultobj;
22328 fail:
22329 return NULL;
22330 }
22331
22332
22333 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22334 PyObject *resultobj = 0;
22335 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22336 wxFindReplaceDialog *result = 0 ;
22337 void *argp1 = 0 ;
22338 int res1 = 0 ;
22339 PyObject *swig_obj[1] ;
22340
22341 if (!args) SWIG_fail;
22342 swig_obj[0] = args;
22343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22344 if (!SWIG_IsOK(res1)) {
22345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22346 }
22347 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22348 {
22349 PyThreadState* __tstate = wxPyBeginAllowThreads();
22350 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
22351 wxPyEndAllowThreads(__tstate);
22352 if (PyErr_Occurred()) SWIG_fail;
22353 }
22354 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22355 return resultobj;
22356 fail:
22357 return NULL;
22358 }
22359
22360
22361 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22362 PyObject *resultobj = 0;
22363 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22364 int arg2 ;
22365 void *argp1 = 0 ;
22366 int res1 = 0 ;
22367 int val2 ;
22368 int ecode2 = 0 ;
22369 PyObject * obj0 = 0 ;
22370 PyObject * obj1 = 0 ;
22371 char * kwnames[] = {
22372 (char *) "self",(char *) "flags", NULL
22373 };
22374
22375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
22376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22377 if (!SWIG_IsOK(res1)) {
22378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22379 }
22380 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22381 ecode2 = SWIG_AsVal_int(obj1, &val2);
22382 if (!SWIG_IsOK(ecode2)) {
22383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
22384 }
22385 arg2 = static_cast< int >(val2);
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 (arg1)->SetFlags(arg2);
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 resultobj = SWIG_Py_Void();
22393 return resultobj;
22394 fail:
22395 return NULL;
22396 }
22397
22398
22399 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj = 0;
22401 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22402 wxString *arg2 = 0 ;
22403 void *argp1 = 0 ;
22404 int res1 = 0 ;
22405 bool temp2 = false ;
22406 PyObject * obj0 = 0 ;
22407 PyObject * obj1 = 0 ;
22408 char * kwnames[] = {
22409 (char *) "self",(char *) "str", NULL
22410 };
22411
22412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
22413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22414 if (!SWIG_IsOK(res1)) {
22415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22416 }
22417 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22418 {
22419 arg2 = wxString_in_helper(obj1);
22420 if (arg2 == NULL) SWIG_fail;
22421 temp2 = true;
22422 }
22423 {
22424 PyThreadState* __tstate = wxPyBeginAllowThreads();
22425 (arg1)->SetFindString((wxString const &)*arg2);
22426 wxPyEndAllowThreads(__tstate);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 }
22429 resultobj = SWIG_Py_Void();
22430 {
22431 if (temp2)
22432 delete arg2;
22433 }
22434 return resultobj;
22435 fail:
22436 {
22437 if (temp2)
22438 delete arg2;
22439 }
22440 return NULL;
22441 }
22442
22443
22444 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22445 PyObject *resultobj = 0;
22446 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
22447 wxString *arg2 = 0 ;
22448 void *argp1 = 0 ;
22449 int res1 = 0 ;
22450 bool temp2 = false ;
22451 PyObject * obj0 = 0 ;
22452 PyObject * obj1 = 0 ;
22453 char * kwnames[] = {
22454 (char *) "self",(char *) "str", NULL
22455 };
22456
22457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
22458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
22459 if (!SWIG_IsOK(res1)) {
22460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
22461 }
22462 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
22463 {
22464 arg2 = wxString_in_helper(obj1);
22465 if (arg2 == NULL) SWIG_fail;
22466 temp2 = true;
22467 }
22468 {
22469 PyThreadState* __tstate = wxPyBeginAllowThreads();
22470 (arg1)->SetReplaceString((wxString const &)*arg2);
22471 wxPyEndAllowThreads(__tstate);
22472 if (PyErr_Occurred()) SWIG_fail;
22473 }
22474 resultobj = SWIG_Py_Void();
22475 {
22476 if (temp2)
22477 delete arg2;
22478 }
22479 return resultobj;
22480 fail:
22481 {
22482 if (temp2)
22483 delete arg2;
22484 }
22485 return NULL;
22486 }
22487
22488
22489 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22490 PyObject *obj;
22491 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22492 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
22493 return SWIG_Py_Void();
22494 }
22495
22496 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22497 return SWIG_Python_InitShadowInstance(args);
22498 }
22499
22500 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22501 PyObject *resultobj = 0;
22502 int arg1 = (int) 0 ;
22503 wxFindReplaceData *result = 0 ;
22504 int val1 ;
22505 int ecode1 = 0 ;
22506 PyObject * obj0 = 0 ;
22507 char * kwnames[] = {
22508 (char *) "flags", NULL
22509 };
22510
22511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
22512 if (obj0) {
22513 ecode1 = SWIG_AsVal_int(obj0, &val1);
22514 if (!SWIG_IsOK(ecode1)) {
22515 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
22516 }
22517 arg1 = static_cast< int >(val1);
22518 }
22519 {
22520 PyThreadState* __tstate = wxPyBeginAllowThreads();
22521 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
22526 return resultobj;
22527 fail:
22528 return NULL;
22529 }
22530
22531
22532 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22533 PyObject *resultobj = 0;
22534 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22535 void *argp1 = 0 ;
22536 int res1 = 0 ;
22537 PyObject *swig_obj[1] ;
22538
22539 if (!args) SWIG_fail;
22540 swig_obj[0] = args;
22541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
22542 if (!SWIG_IsOK(res1)) {
22543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22544 }
22545 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 delete arg1;
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 resultobj = SWIG_Py_Void();
22554 return resultobj;
22555 fail:
22556 return NULL;
22557 }
22558
22559
22560 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22561 PyObject *resultobj = 0;
22562 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22563 wxString *result = 0 ;
22564 void *argp1 = 0 ;
22565 int res1 = 0 ;
22566 PyObject *swig_obj[1] ;
22567
22568 if (!args) SWIG_fail;
22569 swig_obj[0] = args;
22570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22571 if (!SWIG_IsOK(res1)) {
22572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22573 }
22574 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22575 {
22576 PyThreadState* __tstate = wxPyBeginAllowThreads();
22577 {
22578 wxString const &_result_ref = (arg1)->GetFindString();
22579 result = (wxString *) &_result_ref;
22580 }
22581 wxPyEndAllowThreads(__tstate);
22582 if (PyErr_Occurred()) SWIG_fail;
22583 }
22584 {
22585 #if wxUSE_UNICODE
22586 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22587 #else
22588 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22589 #endif
22590 }
22591 return resultobj;
22592 fail:
22593 return NULL;
22594 }
22595
22596
22597 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22598 PyObject *resultobj = 0;
22599 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22600 wxString *result = 0 ;
22601 void *argp1 = 0 ;
22602 int res1 = 0 ;
22603 PyObject *swig_obj[1] ;
22604
22605 if (!args) SWIG_fail;
22606 swig_obj[0] = args;
22607 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22608 if (!SWIG_IsOK(res1)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22610 }
22611 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22612 {
22613 PyThreadState* __tstate = wxPyBeginAllowThreads();
22614 {
22615 wxString const &_result_ref = (arg1)->GetReplaceString();
22616 result = (wxString *) &_result_ref;
22617 }
22618 wxPyEndAllowThreads(__tstate);
22619 if (PyErr_Occurred()) SWIG_fail;
22620 }
22621 {
22622 #if wxUSE_UNICODE
22623 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
22624 #else
22625 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
22626 #endif
22627 }
22628 return resultobj;
22629 fail:
22630 return NULL;
22631 }
22632
22633
22634 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22635 PyObject *resultobj = 0;
22636 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22637 int result;
22638 void *argp1 = 0 ;
22639 int res1 = 0 ;
22640 PyObject *swig_obj[1] ;
22641
22642 if (!args) SWIG_fail;
22643 swig_obj[0] = args;
22644 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22645 if (!SWIG_IsOK(res1)) {
22646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22647 }
22648 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22649 {
22650 PyThreadState* __tstate = wxPyBeginAllowThreads();
22651 result = (int)(arg1)->GetFlags();
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 resultobj = SWIG_From_int(static_cast< int >(result));
22656 return resultobj;
22657 fail:
22658 return NULL;
22659 }
22660
22661
22662 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj = 0;
22664 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22665 int arg2 ;
22666 void *argp1 = 0 ;
22667 int res1 = 0 ;
22668 int val2 ;
22669 int ecode2 = 0 ;
22670 PyObject * obj0 = 0 ;
22671 PyObject * obj1 = 0 ;
22672 char * kwnames[] = {
22673 (char *) "self",(char *) "flags", NULL
22674 };
22675
22676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
22677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22678 if (!SWIG_IsOK(res1)) {
22679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22680 }
22681 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22682 ecode2 = SWIG_AsVal_int(obj1, &val2);
22683 if (!SWIG_IsOK(ecode2)) {
22684 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
22685 }
22686 arg2 = static_cast< int >(val2);
22687 {
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 (arg1)->SetFlags(arg2);
22690 wxPyEndAllowThreads(__tstate);
22691 if (PyErr_Occurred()) SWIG_fail;
22692 }
22693 resultobj = SWIG_Py_Void();
22694 return resultobj;
22695 fail:
22696 return NULL;
22697 }
22698
22699
22700 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22701 PyObject *resultobj = 0;
22702 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22703 wxString *arg2 = 0 ;
22704 void *argp1 = 0 ;
22705 int res1 = 0 ;
22706 bool temp2 = false ;
22707 PyObject * obj0 = 0 ;
22708 PyObject * obj1 = 0 ;
22709 char * kwnames[] = {
22710 (char *) "self",(char *) "str", NULL
22711 };
22712
22713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
22714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22715 if (!SWIG_IsOK(res1)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22717 }
22718 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22719 {
22720 arg2 = wxString_in_helper(obj1);
22721 if (arg2 == NULL) SWIG_fail;
22722 temp2 = true;
22723 }
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 (arg1)->SetFindString((wxString const &)*arg2);
22727 wxPyEndAllowThreads(__tstate);
22728 if (PyErr_Occurred()) SWIG_fail;
22729 }
22730 resultobj = SWIG_Py_Void();
22731 {
22732 if (temp2)
22733 delete arg2;
22734 }
22735 return resultobj;
22736 fail:
22737 {
22738 if (temp2)
22739 delete arg2;
22740 }
22741 return NULL;
22742 }
22743
22744
22745 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22746 PyObject *resultobj = 0;
22747 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
22748 wxString *arg2 = 0 ;
22749 void *argp1 = 0 ;
22750 int res1 = 0 ;
22751 bool temp2 = false ;
22752 PyObject * obj0 = 0 ;
22753 PyObject * obj1 = 0 ;
22754 char * kwnames[] = {
22755 (char *) "self",(char *) "str", NULL
22756 };
22757
22758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
22759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22760 if (!SWIG_IsOK(res1)) {
22761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
22762 }
22763 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
22764 {
22765 arg2 = wxString_in_helper(obj1);
22766 if (arg2 == NULL) SWIG_fail;
22767 temp2 = true;
22768 }
22769 {
22770 PyThreadState* __tstate = wxPyBeginAllowThreads();
22771 (arg1)->SetReplaceString((wxString const &)*arg2);
22772 wxPyEndAllowThreads(__tstate);
22773 if (PyErr_Occurred()) SWIG_fail;
22774 }
22775 resultobj = SWIG_Py_Void();
22776 {
22777 if (temp2)
22778 delete arg2;
22779 }
22780 return resultobj;
22781 fail:
22782 {
22783 if (temp2)
22784 delete arg2;
22785 }
22786 return NULL;
22787 }
22788
22789
22790 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22791 PyObject *obj;
22792 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22793 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
22794 return SWIG_Py_Void();
22795 }
22796
22797 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22798 return SWIG_Python_InitShadowInstance(args);
22799 }
22800
22801 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22802 PyObject *resultobj = 0;
22803 wxWindow *arg1 = (wxWindow *) 0 ;
22804 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
22805 wxString *arg3 = 0 ;
22806 int arg4 = (int) 0 ;
22807 wxFindReplaceDialog *result = 0 ;
22808 void *argp1 = 0 ;
22809 int res1 = 0 ;
22810 void *argp2 = 0 ;
22811 int res2 = 0 ;
22812 bool temp3 = false ;
22813 int val4 ;
22814 int ecode4 = 0 ;
22815 PyObject * obj0 = 0 ;
22816 PyObject * obj1 = 0 ;
22817 PyObject * obj2 = 0 ;
22818 PyObject * obj3 = 0 ;
22819 char * kwnames[] = {
22820 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22821 };
22822
22823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
22824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22825 if (!SWIG_IsOK(res1)) {
22826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
22827 }
22828 arg1 = reinterpret_cast< wxWindow * >(argp1);
22829 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22830 if (!SWIG_IsOK(res2)) {
22831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
22832 }
22833 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
22834 {
22835 arg3 = wxString_in_helper(obj2);
22836 if (arg3 == NULL) SWIG_fail;
22837 temp3 = true;
22838 }
22839 if (obj3) {
22840 ecode4 = SWIG_AsVal_int(obj3, &val4);
22841 if (!SWIG_IsOK(ecode4)) {
22842 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
22843 }
22844 arg4 = static_cast< int >(val4);
22845 }
22846 {
22847 if (!wxPyCheckForApp()) SWIG_fail;
22848 PyThreadState* __tstate = wxPyBeginAllowThreads();
22849 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
22850 wxPyEndAllowThreads(__tstate);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 }
22853 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
22854 {
22855 if (temp3)
22856 delete arg3;
22857 }
22858 return resultobj;
22859 fail:
22860 {
22861 if (temp3)
22862 delete arg3;
22863 }
22864 return NULL;
22865 }
22866
22867
22868 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22869 PyObject *resultobj = 0;
22870 wxFindReplaceDialog *result = 0 ;
22871
22872 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
22873 {
22874 if (!wxPyCheckForApp()) SWIG_fail;
22875 PyThreadState* __tstate = wxPyBeginAllowThreads();
22876 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
22877 wxPyEndAllowThreads(__tstate);
22878 if (PyErr_Occurred()) SWIG_fail;
22879 }
22880 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
22881 return resultobj;
22882 fail:
22883 return NULL;
22884 }
22885
22886
22887 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22888 PyObject *resultobj = 0;
22889 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22890 wxWindow *arg2 = (wxWindow *) 0 ;
22891 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
22892 wxString *arg4 = 0 ;
22893 int arg5 = (int) 0 ;
22894 bool result;
22895 void *argp1 = 0 ;
22896 int res1 = 0 ;
22897 void *argp2 = 0 ;
22898 int res2 = 0 ;
22899 void *argp3 = 0 ;
22900 int res3 = 0 ;
22901 bool temp4 = false ;
22902 int val5 ;
22903 int ecode5 = 0 ;
22904 PyObject * obj0 = 0 ;
22905 PyObject * obj1 = 0 ;
22906 PyObject * obj2 = 0 ;
22907 PyObject * obj3 = 0 ;
22908 PyObject * obj4 = 0 ;
22909 char * kwnames[] = {
22910 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
22911 };
22912
22913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22915 if (!SWIG_IsOK(res1)) {
22916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22917 }
22918 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22919 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
22920 if (!SWIG_IsOK(res2)) {
22921 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22922 }
22923 arg2 = reinterpret_cast< wxWindow * >(argp2);
22924 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22925 if (!SWIG_IsOK(res3)) {
22926 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
22927 }
22928 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
22929 {
22930 arg4 = wxString_in_helper(obj3);
22931 if (arg4 == NULL) SWIG_fail;
22932 temp4 = true;
22933 }
22934 if (obj4) {
22935 ecode5 = SWIG_AsVal_int(obj4, &val5);
22936 if (!SWIG_IsOK(ecode5)) {
22937 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
22938 }
22939 arg5 = static_cast< int >(val5);
22940 }
22941 {
22942 PyThreadState* __tstate = wxPyBeginAllowThreads();
22943 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
22944 wxPyEndAllowThreads(__tstate);
22945 if (PyErr_Occurred()) SWIG_fail;
22946 }
22947 {
22948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22949 }
22950 {
22951 if (temp4)
22952 delete arg4;
22953 }
22954 return resultobj;
22955 fail:
22956 {
22957 if (temp4)
22958 delete arg4;
22959 }
22960 return NULL;
22961 }
22962
22963
22964 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22965 PyObject *resultobj = 0;
22966 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22967 wxFindReplaceData *result = 0 ;
22968 void *argp1 = 0 ;
22969 int res1 = 0 ;
22970 PyObject *swig_obj[1] ;
22971
22972 if (!args) SWIG_fail;
22973 swig_obj[0] = args;
22974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
22975 if (!SWIG_IsOK(res1)) {
22976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
22977 }
22978 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 result = (wxFindReplaceData *)(arg1)->GetData();
22982 wxPyEndAllowThreads(__tstate);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 }
22985 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
22986 return resultobj;
22987 fail:
22988 return NULL;
22989 }
22990
22991
22992 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22993 PyObject *resultobj = 0;
22994 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
22995 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
22996 void *argp1 = 0 ;
22997 int res1 = 0 ;
22998 void *argp2 = 0 ;
22999 int res2 = 0 ;
23000 PyObject * obj0 = 0 ;
23001 PyObject * obj1 = 0 ;
23002 char * kwnames[] = {
23003 (char *) "self",(char *) "data", NULL
23004 };
23005
23006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
23007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
23008 if (!SWIG_IsOK(res1)) {
23009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
23010 }
23011 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
23012 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
23013 if (!SWIG_IsOK(res2)) {
23014 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
23015 }
23016 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
23017 {
23018 PyThreadState* __tstate = wxPyBeginAllowThreads();
23019 (arg1)->SetData(arg2);
23020 wxPyEndAllowThreads(__tstate);
23021 if (PyErr_Occurred()) SWIG_fail;
23022 }
23023 resultobj = SWIG_Py_Void();
23024 return resultobj;
23025 fail:
23026 return NULL;
23027 }
23028
23029
23030 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23031 PyObject *obj;
23032 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23033 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
23034 return SWIG_Py_Void();
23035 }
23036
23037 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23038 return SWIG_Python_InitShadowInstance(args);
23039 }
23040
23041 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23042 PyObject *resultobj = 0;
23043 wxWindow *arg1 = (wxWindow *) 0 ;
23044 int arg2 = (int) (int)-1 ;
23045 wxString const &arg3_defvalue = wxPyEmptyString ;
23046 wxString *arg3 = (wxString *) &arg3_defvalue ;
23047 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23048 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23049 wxSize const &arg5_defvalue = wxDefaultSize ;
23050 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23051 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
23052 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23053 wxString *arg7 = (wxString *) &arg7_defvalue ;
23054 wxMDIParentFrame *result = 0 ;
23055 void *argp1 = 0 ;
23056 int res1 = 0 ;
23057 int val2 ;
23058 int ecode2 = 0 ;
23059 bool temp3 = false ;
23060 wxPoint temp4 ;
23061 wxSize temp5 ;
23062 long val6 ;
23063 int ecode6 = 0 ;
23064 bool temp7 = false ;
23065 PyObject * obj0 = 0 ;
23066 PyObject * obj1 = 0 ;
23067 PyObject * obj2 = 0 ;
23068 PyObject * obj3 = 0 ;
23069 PyObject * obj4 = 0 ;
23070 PyObject * obj5 = 0 ;
23071 PyObject * obj6 = 0 ;
23072 char * kwnames[] = {
23073 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23074 };
23075
23076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
23077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23078 if (!SWIG_IsOK(res1)) {
23079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
23080 }
23081 arg1 = reinterpret_cast< wxWindow * >(argp1);
23082 if (obj1) {
23083 ecode2 = SWIG_AsVal_int(obj1, &val2);
23084 if (!SWIG_IsOK(ecode2)) {
23085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
23086 }
23087 arg2 = static_cast< int >(val2);
23088 }
23089 if (obj2) {
23090 {
23091 arg3 = wxString_in_helper(obj2);
23092 if (arg3 == NULL) SWIG_fail;
23093 temp3 = true;
23094 }
23095 }
23096 if (obj3) {
23097 {
23098 arg4 = &temp4;
23099 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23100 }
23101 }
23102 if (obj4) {
23103 {
23104 arg5 = &temp5;
23105 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23106 }
23107 }
23108 if (obj5) {
23109 ecode6 = SWIG_AsVal_long(obj5, &val6);
23110 if (!SWIG_IsOK(ecode6)) {
23111 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
23112 }
23113 arg6 = static_cast< long >(val6);
23114 }
23115 if (obj6) {
23116 {
23117 arg7 = wxString_in_helper(obj6);
23118 if (arg7 == NULL) SWIG_fail;
23119 temp7 = true;
23120 }
23121 }
23122 {
23123 if (!wxPyCheckForApp()) SWIG_fail;
23124 PyThreadState* __tstate = wxPyBeginAllowThreads();
23125 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23126 wxPyEndAllowThreads(__tstate);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 }
23129 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
23130 {
23131 if (temp3)
23132 delete arg3;
23133 }
23134 {
23135 if (temp7)
23136 delete arg7;
23137 }
23138 return resultobj;
23139 fail:
23140 {
23141 if (temp3)
23142 delete arg3;
23143 }
23144 {
23145 if (temp7)
23146 delete arg7;
23147 }
23148 return NULL;
23149 }
23150
23151
23152 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23153 PyObject *resultobj = 0;
23154 wxMDIParentFrame *result = 0 ;
23155
23156 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
23157 {
23158 if (!wxPyCheckForApp()) SWIG_fail;
23159 PyThreadState* __tstate = wxPyBeginAllowThreads();
23160 result = (wxMDIParentFrame *)new wxMDIParentFrame();
23161 wxPyEndAllowThreads(__tstate);
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
23165 return resultobj;
23166 fail:
23167 return NULL;
23168 }
23169
23170
23171 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23172 PyObject *resultobj = 0;
23173 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23174 wxWindow *arg2 = (wxWindow *) 0 ;
23175 int arg3 = (int) (int)-1 ;
23176 wxString const &arg4_defvalue = wxPyEmptyString ;
23177 wxString *arg4 = (wxString *) &arg4_defvalue ;
23178 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23179 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23180 wxSize const &arg6_defvalue = wxDefaultSize ;
23181 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23182 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
23183 wxString const &arg8_defvalue = wxPyFrameNameStr ;
23184 wxString *arg8 = (wxString *) &arg8_defvalue ;
23185 bool result;
23186 void *argp1 = 0 ;
23187 int res1 = 0 ;
23188 void *argp2 = 0 ;
23189 int res2 = 0 ;
23190 int val3 ;
23191 int ecode3 = 0 ;
23192 bool temp4 = false ;
23193 wxPoint temp5 ;
23194 wxSize temp6 ;
23195 long val7 ;
23196 int ecode7 = 0 ;
23197 bool temp8 = false ;
23198 PyObject * obj0 = 0 ;
23199 PyObject * obj1 = 0 ;
23200 PyObject * obj2 = 0 ;
23201 PyObject * obj3 = 0 ;
23202 PyObject * obj4 = 0 ;
23203 PyObject * obj5 = 0 ;
23204 PyObject * obj6 = 0 ;
23205 PyObject * obj7 = 0 ;
23206 char * kwnames[] = {
23207 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23208 };
23209
23210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
23211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23212 if (!SWIG_IsOK(res1)) {
23213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23214 }
23215 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23216 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
23217 if (!SWIG_IsOK(res2)) {
23218 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
23219 }
23220 arg2 = reinterpret_cast< wxWindow * >(argp2);
23221 if (obj2) {
23222 ecode3 = SWIG_AsVal_int(obj2, &val3);
23223 if (!SWIG_IsOK(ecode3)) {
23224 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
23225 }
23226 arg3 = static_cast< int >(val3);
23227 }
23228 if (obj3) {
23229 {
23230 arg4 = wxString_in_helper(obj3);
23231 if (arg4 == NULL) SWIG_fail;
23232 temp4 = true;
23233 }
23234 }
23235 if (obj4) {
23236 {
23237 arg5 = &temp5;
23238 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23239 }
23240 }
23241 if (obj5) {
23242 {
23243 arg6 = &temp6;
23244 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23245 }
23246 }
23247 if (obj6) {
23248 ecode7 = SWIG_AsVal_long(obj6, &val7);
23249 if (!SWIG_IsOK(ecode7)) {
23250 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
23251 }
23252 arg7 = static_cast< long >(val7);
23253 }
23254 if (obj7) {
23255 {
23256 arg8 = wxString_in_helper(obj7);
23257 if (arg8 == NULL) SWIG_fail;
23258 temp8 = true;
23259 }
23260 }
23261 {
23262 PyThreadState* __tstate = wxPyBeginAllowThreads();
23263 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
23264 wxPyEndAllowThreads(__tstate);
23265 if (PyErr_Occurred()) SWIG_fail;
23266 }
23267 {
23268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23269 }
23270 {
23271 if (temp4)
23272 delete arg4;
23273 }
23274 {
23275 if (temp8)
23276 delete arg8;
23277 }
23278 return resultobj;
23279 fail:
23280 {
23281 if (temp4)
23282 delete arg4;
23283 }
23284 {
23285 if (temp8)
23286 delete arg8;
23287 }
23288 return NULL;
23289 }
23290
23291
23292 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23293 PyObject *resultobj = 0;
23294 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23295 void *argp1 = 0 ;
23296 int res1 = 0 ;
23297 PyObject *swig_obj[1] ;
23298
23299 if (!args) SWIG_fail;
23300 swig_obj[0] = args;
23301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23302 if (!SWIG_IsOK(res1)) {
23303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23304 }
23305 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23306 {
23307 PyThreadState* __tstate = wxPyBeginAllowThreads();
23308 (arg1)->ActivateNext();
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 resultobj = SWIG_Py_Void();
23313 return resultobj;
23314 fail:
23315 return NULL;
23316 }
23317
23318
23319 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23320 PyObject *resultobj = 0;
23321 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23322 void *argp1 = 0 ;
23323 int res1 = 0 ;
23324 PyObject *swig_obj[1] ;
23325
23326 if (!args) SWIG_fail;
23327 swig_obj[0] = args;
23328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23329 if (!SWIG_IsOK(res1)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23331 }
23332 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 (arg1)->ActivatePrevious();
23336 wxPyEndAllowThreads(__tstate);
23337 if (PyErr_Occurred()) SWIG_fail;
23338 }
23339 resultobj = SWIG_Py_Void();
23340 return resultobj;
23341 fail:
23342 return NULL;
23343 }
23344
23345
23346 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23347 PyObject *resultobj = 0;
23348 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23349 void *argp1 = 0 ;
23350 int res1 = 0 ;
23351 PyObject *swig_obj[1] ;
23352
23353 if (!args) SWIG_fail;
23354 swig_obj[0] = args;
23355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23356 if (!SWIG_IsOK(res1)) {
23357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23358 }
23359 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23360 {
23361 PyThreadState* __tstate = wxPyBeginAllowThreads();
23362 (arg1)->ArrangeIcons();
23363 wxPyEndAllowThreads(__tstate);
23364 if (PyErr_Occurred()) SWIG_fail;
23365 }
23366 resultobj = SWIG_Py_Void();
23367 return resultobj;
23368 fail:
23369 return NULL;
23370 }
23371
23372
23373 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23374 PyObject *resultobj = 0;
23375 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23376 void *argp1 = 0 ;
23377 int res1 = 0 ;
23378 PyObject *swig_obj[1] ;
23379
23380 if (!args) SWIG_fail;
23381 swig_obj[0] = args;
23382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23383 if (!SWIG_IsOK(res1)) {
23384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23385 }
23386 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23387 {
23388 PyThreadState* __tstate = wxPyBeginAllowThreads();
23389 (arg1)->Cascade();
23390 wxPyEndAllowThreads(__tstate);
23391 if (PyErr_Occurred()) SWIG_fail;
23392 }
23393 resultobj = SWIG_Py_Void();
23394 return resultobj;
23395 fail:
23396 return NULL;
23397 }
23398
23399
23400 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23401 PyObject *resultobj = 0;
23402 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23403 wxMDIChildFrame *result = 0 ;
23404 void *argp1 = 0 ;
23405 int res1 = 0 ;
23406 PyObject *swig_obj[1] ;
23407
23408 if (!args) SWIG_fail;
23409 swig_obj[0] = args;
23410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23411 if (!SWIG_IsOK(res1)) {
23412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23413 }
23414 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23415 {
23416 PyThreadState* __tstate = wxPyBeginAllowThreads();
23417 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
23418 wxPyEndAllowThreads(__tstate);
23419 if (PyErr_Occurred()) SWIG_fail;
23420 }
23421 {
23422 resultobj = wxPyMake_wxObject(result, (bool)0);
23423 }
23424 return resultobj;
23425 fail:
23426 return NULL;
23427 }
23428
23429
23430 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23431 PyObject *resultobj = 0;
23432 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23433 wxMDIClientWindow *result = 0 ;
23434 void *argp1 = 0 ;
23435 int res1 = 0 ;
23436 PyObject *swig_obj[1] ;
23437
23438 if (!args) SWIG_fail;
23439 swig_obj[0] = args;
23440 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23441 if (!SWIG_IsOK(res1)) {
23442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23443 }
23444 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23445 {
23446 PyThreadState* __tstate = wxPyBeginAllowThreads();
23447 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
23448 wxPyEndAllowThreads(__tstate);
23449 if (PyErr_Occurred()) SWIG_fail;
23450 }
23451 {
23452 resultobj = wxPyMake_wxObject(result, (bool)0);
23453 }
23454 return resultobj;
23455 fail:
23456 return NULL;
23457 }
23458
23459
23460 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23461 PyObject *resultobj = 0;
23462 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23463 wxMenu *result = 0 ;
23464 void *argp1 = 0 ;
23465 int res1 = 0 ;
23466 PyObject *swig_obj[1] ;
23467
23468 if (!args) SWIG_fail;
23469 swig_obj[0] = args;
23470 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23471 if (!SWIG_IsOK(res1)) {
23472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23473 }
23474 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
23477 result = (wxMenu *)(arg1)->GetWindowMenu();
23478 wxPyEndAllowThreads(__tstate);
23479 if (PyErr_Occurred()) SWIG_fail;
23480 }
23481 {
23482 resultobj = wxPyMake_wxObject(result, 0);
23483 }
23484 return resultobj;
23485 fail:
23486 return NULL;
23487 }
23488
23489
23490 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23491 PyObject *resultobj = 0;
23492 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23493 wxMenu *arg2 = (wxMenu *) 0 ;
23494 void *argp1 = 0 ;
23495 int res1 = 0 ;
23496 void *argp2 = 0 ;
23497 int res2 = 0 ;
23498 PyObject * obj0 = 0 ;
23499 PyObject * obj1 = 0 ;
23500 char * kwnames[] = {
23501 (char *) "self",(char *) "menu", NULL
23502 };
23503
23504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
23505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23506 if (!SWIG_IsOK(res1)) {
23507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23508 }
23509 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23510 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
23511 if (!SWIG_IsOK(res2)) {
23512 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
23513 }
23514 arg2 = reinterpret_cast< wxMenu * >(argp2);
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 (arg1)->SetWindowMenu(arg2);
23518 wxPyEndAllowThreads(__tstate);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 resultobj = SWIG_Py_Void();
23522 return resultobj;
23523 fail:
23524 return NULL;
23525 }
23526
23527
23528 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23529 PyObject *resultobj = 0;
23530 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23531 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
23532 void *argp1 = 0 ;
23533 int res1 = 0 ;
23534 int val2 ;
23535 int ecode2 = 0 ;
23536 PyObject * obj0 = 0 ;
23537 PyObject * obj1 = 0 ;
23538 char * kwnames[] = {
23539 (char *) "self",(char *) "orient", NULL
23540 };
23541
23542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
23543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23544 if (!SWIG_IsOK(res1)) {
23545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23546 }
23547 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23548 if (obj1) {
23549 ecode2 = SWIG_AsVal_int(obj1, &val2);
23550 if (!SWIG_IsOK(ecode2)) {
23551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
23552 }
23553 arg2 = static_cast< wxOrientation >(val2);
23554 }
23555 {
23556 PyThreadState* __tstate = wxPyBeginAllowThreads();
23557 (arg1)->Tile(arg2);
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 resultobj = SWIG_Py_Void();
23562 return resultobj;
23563 fail:
23564 return NULL;
23565 }
23566
23567
23568 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23569 PyObject *obj;
23570 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23571 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
23572 return SWIG_Py_Void();
23573 }
23574
23575 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23576 return SWIG_Python_InitShadowInstance(args);
23577 }
23578
23579 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23580 PyObject *resultobj = 0;
23581 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23582 int arg2 = (int) (int)-1 ;
23583 wxString const &arg3_defvalue = wxPyEmptyString ;
23584 wxString *arg3 = (wxString *) &arg3_defvalue ;
23585 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23586 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23587 wxSize const &arg5_defvalue = wxDefaultSize ;
23588 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23589 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
23590 wxString const &arg7_defvalue = wxPyFrameNameStr ;
23591 wxString *arg7 = (wxString *) &arg7_defvalue ;
23592 wxMDIChildFrame *result = 0 ;
23593 void *argp1 = 0 ;
23594 int res1 = 0 ;
23595 int val2 ;
23596 int ecode2 = 0 ;
23597 bool temp3 = false ;
23598 wxPoint temp4 ;
23599 wxSize temp5 ;
23600 long val6 ;
23601 int ecode6 = 0 ;
23602 bool temp7 = false ;
23603 PyObject * obj0 = 0 ;
23604 PyObject * obj1 = 0 ;
23605 PyObject * obj2 = 0 ;
23606 PyObject * obj3 = 0 ;
23607 PyObject * obj4 = 0 ;
23608 PyObject * obj5 = 0 ;
23609 PyObject * obj6 = 0 ;
23610 char * kwnames[] = {
23611 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23612 };
23613
23614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
23615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23616 if (!SWIG_IsOK(res1)) {
23617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23618 }
23619 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23620 if (obj1) {
23621 ecode2 = SWIG_AsVal_int(obj1, &val2);
23622 if (!SWIG_IsOK(ecode2)) {
23623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
23624 }
23625 arg2 = static_cast< int >(val2);
23626 }
23627 if (obj2) {
23628 {
23629 arg3 = wxString_in_helper(obj2);
23630 if (arg3 == NULL) SWIG_fail;
23631 temp3 = true;
23632 }
23633 }
23634 if (obj3) {
23635 {
23636 arg4 = &temp4;
23637 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23638 }
23639 }
23640 if (obj4) {
23641 {
23642 arg5 = &temp5;
23643 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23644 }
23645 }
23646 if (obj5) {
23647 ecode6 = SWIG_AsVal_long(obj5, &val6);
23648 if (!SWIG_IsOK(ecode6)) {
23649 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
23650 }
23651 arg6 = static_cast< long >(val6);
23652 }
23653 if (obj6) {
23654 {
23655 arg7 = wxString_in_helper(obj6);
23656 if (arg7 == NULL) SWIG_fail;
23657 temp7 = true;
23658 }
23659 }
23660 {
23661 if (!wxPyCheckForApp()) SWIG_fail;
23662 PyThreadState* __tstate = wxPyBeginAllowThreads();
23663 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
23664 wxPyEndAllowThreads(__tstate);
23665 if (PyErr_Occurred()) SWIG_fail;
23666 }
23667 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
23668 {
23669 if (temp3)
23670 delete arg3;
23671 }
23672 {
23673 if (temp7)
23674 delete arg7;
23675 }
23676 return resultobj;
23677 fail:
23678 {
23679 if (temp3)
23680 delete arg3;
23681 }
23682 {
23683 if (temp7)
23684 delete arg7;
23685 }
23686 return NULL;
23687 }
23688
23689
23690 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23691 PyObject *resultobj = 0;
23692 wxMDIChildFrame *result = 0 ;
23693
23694 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
23695 {
23696 if (!wxPyCheckForApp()) SWIG_fail;
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 result = (wxMDIChildFrame *)new wxMDIChildFrame();
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
23703 return resultobj;
23704 fail:
23705 return NULL;
23706 }
23707
23708
23709 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23710 PyObject *resultobj = 0;
23711 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
23712 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
23713 int arg3 = (int) (int)-1 ;
23714 wxString const &arg4_defvalue = wxPyEmptyString ;
23715 wxString *arg4 = (wxString *) &arg4_defvalue ;
23716 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23717 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23718 wxSize const &arg6_defvalue = wxDefaultSize ;
23719 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23720 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
23721 wxString const &arg8_defvalue = wxPyFrameNameStr ;
23722 wxString *arg8 = (wxString *) &arg8_defvalue ;
23723 bool result;
23724 void *argp1 = 0 ;
23725 int res1 = 0 ;
23726 void *argp2 = 0 ;
23727 int res2 = 0 ;
23728 int val3 ;
23729 int ecode3 = 0 ;
23730 bool temp4 = false ;
23731 wxPoint temp5 ;
23732 wxSize temp6 ;
23733 long val7 ;
23734 int ecode7 = 0 ;
23735 bool temp8 = false ;
23736 PyObject * obj0 = 0 ;
23737 PyObject * obj1 = 0 ;
23738 PyObject * obj2 = 0 ;
23739 PyObject * obj3 = 0 ;
23740 PyObject * obj4 = 0 ;
23741 PyObject * obj5 = 0 ;
23742 PyObject * obj6 = 0 ;
23743 PyObject * obj7 = 0 ;
23744 char * kwnames[] = {
23745 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23746 };
23747
23748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
23749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
23750 if (!SWIG_IsOK(res1)) {
23751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23752 }
23753 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
23754 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23755 if (!SWIG_IsOK(res2)) {
23756 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23757 }
23758 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
23759 if (obj2) {
23760 ecode3 = SWIG_AsVal_int(obj2, &val3);
23761 if (!SWIG_IsOK(ecode3)) {
23762 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
23763 }
23764 arg3 = static_cast< int >(val3);
23765 }
23766 if (obj3) {
23767 {
23768 arg4 = wxString_in_helper(obj3);
23769 if (arg4 == NULL) SWIG_fail;
23770 temp4 = true;
23771 }
23772 }
23773 if (obj4) {
23774 {
23775 arg5 = &temp5;
23776 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23777 }
23778 }
23779 if (obj5) {
23780 {
23781 arg6 = &temp6;
23782 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23783 }
23784 }
23785 if (obj6) {
23786 ecode7 = SWIG_AsVal_long(obj6, &val7);
23787 if (!SWIG_IsOK(ecode7)) {
23788 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
23789 }
23790 arg7 = static_cast< long >(val7);
23791 }
23792 if (obj7) {
23793 {
23794 arg8 = wxString_in_helper(obj7);
23795 if (arg8 == NULL) SWIG_fail;
23796 temp8 = true;
23797 }
23798 }
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
23802 wxPyEndAllowThreads(__tstate);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
23805 {
23806 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23807 }
23808 {
23809 if (temp4)
23810 delete arg4;
23811 }
23812 {
23813 if (temp8)
23814 delete arg8;
23815 }
23816 return resultobj;
23817 fail:
23818 {
23819 if (temp4)
23820 delete arg4;
23821 }
23822 {
23823 if (temp8)
23824 delete arg8;
23825 }
23826 return NULL;
23827 }
23828
23829
23830 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23831 PyObject *resultobj = 0;
23832 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
23833 void *argp1 = 0 ;
23834 int res1 = 0 ;
23835 PyObject *swig_obj[1] ;
23836
23837 if (!args) SWIG_fail;
23838 swig_obj[0] = args;
23839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
23840 if (!SWIG_IsOK(res1)) {
23841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
23842 }
23843 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
23844 {
23845 PyThreadState* __tstate = wxPyBeginAllowThreads();
23846 (arg1)->Activate();
23847 wxPyEndAllowThreads(__tstate);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
23850 resultobj = SWIG_Py_Void();
23851 return resultobj;
23852 fail:
23853 return NULL;
23854 }
23855
23856
23857 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23858 PyObject *obj;
23859 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23860 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
23861 return SWIG_Py_Void();
23862 }
23863
23864 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23865 return SWIG_Python_InitShadowInstance(args);
23866 }
23867
23868 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23869 PyObject *resultobj = 0;
23870 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
23871 long arg2 = (long) 0 ;
23872 wxMDIClientWindow *result = 0 ;
23873 void *argp1 = 0 ;
23874 int res1 = 0 ;
23875 long val2 ;
23876 int ecode2 = 0 ;
23877 PyObject * obj0 = 0 ;
23878 PyObject * obj1 = 0 ;
23879 char * kwnames[] = {
23880 (char *) "parent",(char *) "style", NULL
23881 };
23882
23883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
23884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23885 if (!SWIG_IsOK(res1)) {
23886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
23887 }
23888 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
23889 if (obj1) {
23890 ecode2 = SWIG_AsVal_long(obj1, &val2);
23891 if (!SWIG_IsOK(ecode2)) {
23892 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
23893 }
23894 arg2 = static_cast< long >(val2);
23895 }
23896 {
23897 if (!wxPyCheckForApp()) SWIG_fail;
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
23900 wxPyEndAllowThreads(__tstate);
23901 if (PyErr_Occurred()) SWIG_fail;
23902 }
23903 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
23904 return resultobj;
23905 fail:
23906 return NULL;
23907 }
23908
23909
23910 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23911 PyObject *resultobj = 0;
23912 wxMDIClientWindow *result = 0 ;
23913
23914 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
23915 {
23916 if (!wxPyCheckForApp()) SWIG_fail;
23917 PyThreadState* __tstate = wxPyBeginAllowThreads();
23918 result = (wxMDIClientWindow *)new wxMDIClientWindow();
23919 wxPyEndAllowThreads(__tstate);
23920 if (PyErr_Occurred()) SWIG_fail;
23921 }
23922 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
23923 return resultobj;
23924 fail:
23925 return NULL;
23926 }
23927
23928
23929 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23930 PyObject *resultobj = 0;
23931 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
23932 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
23933 long arg3 = (long) 0 ;
23934 bool result;
23935 void *argp1 = 0 ;
23936 int res1 = 0 ;
23937 void *argp2 = 0 ;
23938 int res2 = 0 ;
23939 long val3 ;
23940 int ecode3 = 0 ;
23941 PyObject * obj0 = 0 ;
23942 PyObject * obj1 = 0 ;
23943 PyObject * obj2 = 0 ;
23944 char * kwnames[] = {
23945 (char *) "self",(char *) "parent",(char *) "style", NULL
23946 };
23947
23948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
23950 if (!SWIG_IsOK(res1)) {
23951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
23952 }
23953 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
23954 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
23955 if (!SWIG_IsOK(res2)) {
23956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
23957 }
23958 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
23959 if (obj2) {
23960 ecode3 = SWIG_AsVal_long(obj2, &val3);
23961 if (!SWIG_IsOK(ecode3)) {
23962 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
23963 }
23964 arg3 = static_cast< long >(val3);
23965 }
23966 {
23967 PyThreadState* __tstate = wxPyBeginAllowThreads();
23968 result = (bool)(arg1)->Create(arg2,arg3);
23969 wxPyEndAllowThreads(__tstate);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 {
23973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23974 }
23975 return resultobj;
23976 fail:
23977 return NULL;
23978 }
23979
23980
23981 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23982 PyObject *obj;
23983 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23984 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
23985 return SWIG_Py_Void();
23986 }
23987
23988 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23989 return SWIG_Python_InitShadowInstance(args);
23990 }
23991
23992 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23993 PyObject *resultobj = 0;
23994 wxWindow *arg1 = (wxWindow *) 0 ;
23995 int arg2 = (int) (int)-1 ;
23996 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23997 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23998 wxSize const &arg4_defvalue = wxDefaultSize ;
23999 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24000 long arg5 = (long) 0 ;
24001 wxString const &arg6_defvalue = wxPyPanelNameStr ;
24002 wxString *arg6 = (wxString *) &arg6_defvalue ;
24003 wxPyWindow *result = 0 ;
24004 void *argp1 = 0 ;
24005 int res1 = 0 ;
24006 int val2 ;
24007 int ecode2 = 0 ;
24008 wxPoint temp3 ;
24009 wxSize temp4 ;
24010 long val5 ;
24011 int ecode5 = 0 ;
24012 bool temp6 = false ;
24013 PyObject * obj0 = 0 ;
24014 PyObject * obj1 = 0 ;
24015 PyObject * obj2 = 0 ;
24016 PyObject * obj3 = 0 ;
24017 PyObject * obj4 = 0 ;
24018 PyObject * obj5 = 0 ;
24019 char * kwnames[] = {
24020 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24021 };
24022
24023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
24025 if (!SWIG_IsOK(res1)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
24027 }
24028 arg1 = reinterpret_cast< wxWindow * >(argp1);
24029 if (obj1) {
24030 ecode2 = SWIG_AsVal_int(obj1, &val2);
24031 if (!SWIG_IsOK(ecode2)) {
24032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
24033 }
24034 arg2 = static_cast< int >(val2);
24035 }
24036 if (obj2) {
24037 {
24038 arg3 = &temp3;
24039 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24040 }
24041 }
24042 if (obj3) {
24043 {
24044 arg4 = &temp4;
24045 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24046 }
24047 }
24048 if (obj4) {
24049 ecode5 = SWIG_AsVal_long(obj4, &val5);
24050 if (!SWIG_IsOK(ecode5)) {
24051 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
24052 }
24053 arg5 = static_cast< long >(val5);
24054 }
24055 if (obj5) {
24056 {
24057 arg6 = wxString_in_helper(obj5);
24058 if (arg6 == NULL) SWIG_fail;
24059 temp6 = true;
24060 }
24061 }
24062 {
24063 if (!wxPyCheckForApp()) SWIG_fail;
24064 PyThreadState* __tstate = wxPyBeginAllowThreads();
24065 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
24066 wxPyEndAllowThreads(__tstate);
24067 if (PyErr_Occurred()) SWIG_fail;
24068 }
24069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
24070 {
24071 if (temp6)
24072 delete arg6;
24073 }
24074 return resultobj;
24075 fail:
24076 {
24077 if (temp6)
24078 delete arg6;
24079 }
24080 return NULL;
24081 }
24082
24083
24084 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24085 PyObject *resultobj = 0;
24086 wxPyWindow *result = 0 ;
24087
24088 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
24089 {
24090 if (!wxPyCheckForApp()) SWIG_fail;
24091 PyThreadState* __tstate = wxPyBeginAllowThreads();
24092 result = (wxPyWindow *)new wxPyWindow();
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
24097 return resultobj;
24098 fail:
24099 return NULL;
24100 }
24101
24102
24103 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24104 PyObject *resultobj = 0;
24105 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24106 PyObject *arg2 = (PyObject *) 0 ;
24107 PyObject *arg3 = (PyObject *) 0 ;
24108 void *argp1 = 0 ;
24109 int res1 = 0 ;
24110 PyObject * obj0 = 0 ;
24111 PyObject * obj1 = 0 ;
24112 PyObject * obj2 = 0 ;
24113 char * kwnames[] = {
24114 (char *) "self",(char *) "self",(char *) "_class", NULL
24115 };
24116
24117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24119 if (!SWIG_IsOK(res1)) {
24120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24121 }
24122 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24123 arg2 = obj1;
24124 arg3 = obj2;
24125 {
24126 PyThreadState* __tstate = wxPyBeginAllowThreads();
24127 (arg1)->_setCallbackInfo(arg2,arg3);
24128 wxPyEndAllowThreads(__tstate);
24129 if (PyErr_Occurred()) SWIG_fail;
24130 }
24131 resultobj = SWIG_Py_Void();
24132 return resultobj;
24133 fail:
24134 return NULL;
24135 }
24136
24137
24138 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24139 PyObject *resultobj = 0;
24140 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24141 wxDC *arg2 = (wxDC *) 0 ;
24142 bool result;
24143 void *argp1 = 0 ;
24144 int res1 = 0 ;
24145 void *argp2 = 0 ;
24146 int res2 = 0 ;
24147 PyObject * obj0 = 0 ;
24148 PyObject * obj1 = 0 ;
24149 char * kwnames[] = {
24150 (char *) "self",(char *) "dc", NULL
24151 };
24152
24153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
24154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24155 if (!SWIG_IsOK(res1)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24157 }
24158 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24159 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
24160 if (!SWIG_IsOK(res2)) {
24161 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24162 }
24163 arg2 = reinterpret_cast< wxDC * >(argp2);
24164 {
24165 PyThreadState* __tstate = wxPyBeginAllowThreads();
24166 result = (bool)(arg1)->DoEraseBackground(arg2);
24167 wxPyEndAllowThreads(__tstate);
24168 if (PyErr_Occurred()) SWIG_fail;
24169 }
24170 {
24171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24172 }
24173 return resultobj;
24174 fail:
24175 return NULL;
24176 }
24177
24178
24179 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24180 PyObject *resultobj = 0;
24181 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24182 int arg2 ;
24183 int arg3 ;
24184 int arg4 ;
24185 int arg5 ;
24186 void *argp1 = 0 ;
24187 int res1 = 0 ;
24188 int val2 ;
24189 int ecode2 = 0 ;
24190 int val3 ;
24191 int ecode3 = 0 ;
24192 int val4 ;
24193 int ecode4 = 0 ;
24194 int val5 ;
24195 int ecode5 = 0 ;
24196 PyObject * obj0 = 0 ;
24197 PyObject * obj1 = 0 ;
24198 PyObject * obj2 = 0 ;
24199 PyObject * obj3 = 0 ;
24200 PyObject * obj4 = 0 ;
24201 char * kwnames[] = {
24202 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24203 };
24204
24205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
24206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24207 if (!SWIG_IsOK(res1)) {
24208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24209 }
24210 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24211 ecode2 = SWIG_AsVal_int(obj1, &val2);
24212 if (!SWIG_IsOK(ecode2)) {
24213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24214 }
24215 arg2 = static_cast< int >(val2);
24216 ecode3 = SWIG_AsVal_int(obj2, &val3);
24217 if (!SWIG_IsOK(ecode3)) {
24218 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24219 }
24220 arg3 = static_cast< int >(val3);
24221 ecode4 = SWIG_AsVal_int(obj3, &val4);
24222 if (!SWIG_IsOK(ecode4)) {
24223 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24224 }
24225 arg4 = static_cast< int >(val4);
24226 ecode5 = SWIG_AsVal_int(obj4, &val5);
24227 if (!SWIG_IsOK(ecode5)) {
24228 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24229 }
24230 arg5 = static_cast< int >(val5);
24231 {
24232 PyThreadState* __tstate = wxPyBeginAllowThreads();
24233 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
24234 wxPyEndAllowThreads(__tstate);
24235 if (PyErr_Occurred()) SWIG_fail;
24236 }
24237 resultobj = SWIG_Py_Void();
24238 return resultobj;
24239 fail:
24240 return NULL;
24241 }
24242
24243
24244 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24245 PyObject *resultobj = 0;
24246 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24247 int arg2 ;
24248 int arg3 ;
24249 int arg4 ;
24250 int arg5 ;
24251 int arg6 = (int) wxSIZE_AUTO ;
24252 void *argp1 = 0 ;
24253 int res1 = 0 ;
24254 int val2 ;
24255 int ecode2 = 0 ;
24256 int val3 ;
24257 int ecode3 = 0 ;
24258 int val4 ;
24259 int ecode4 = 0 ;
24260 int val5 ;
24261 int ecode5 = 0 ;
24262 int val6 ;
24263 int ecode6 = 0 ;
24264 PyObject * obj0 = 0 ;
24265 PyObject * obj1 = 0 ;
24266 PyObject * obj2 = 0 ;
24267 PyObject * obj3 = 0 ;
24268 PyObject * obj4 = 0 ;
24269 PyObject * obj5 = 0 ;
24270 char * kwnames[] = {
24271 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24272 };
24273
24274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24276 if (!SWIG_IsOK(res1)) {
24277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24278 }
24279 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24280 ecode2 = SWIG_AsVal_int(obj1, &val2);
24281 if (!SWIG_IsOK(ecode2)) {
24282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24283 }
24284 arg2 = static_cast< int >(val2);
24285 ecode3 = SWIG_AsVal_int(obj2, &val3);
24286 if (!SWIG_IsOK(ecode3)) {
24287 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24288 }
24289 arg3 = static_cast< int >(val3);
24290 ecode4 = SWIG_AsVal_int(obj3, &val4);
24291 if (!SWIG_IsOK(ecode4)) {
24292 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24293 }
24294 arg4 = static_cast< int >(val4);
24295 ecode5 = SWIG_AsVal_int(obj4, &val5);
24296 if (!SWIG_IsOK(ecode5)) {
24297 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24298 }
24299 arg5 = static_cast< int >(val5);
24300 if (obj5) {
24301 ecode6 = SWIG_AsVal_int(obj5, &val6);
24302 if (!SWIG_IsOK(ecode6)) {
24303 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24304 }
24305 arg6 = static_cast< int >(val6);
24306 }
24307 {
24308 PyThreadState* __tstate = wxPyBeginAllowThreads();
24309 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
24310 wxPyEndAllowThreads(__tstate);
24311 if (PyErr_Occurred()) SWIG_fail;
24312 }
24313 resultobj = SWIG_Py_Void();
24314 return resultobj;
24315 fail:
24316 return NULL;
24317 }
24318
24319
24320 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24321 PyObject *resultobj = 0;
24322 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24323 int arg2 ;
24324 int arg3 ;
24325 void *argp1 = 0 ;
24326 int res1 = 0 ;
24327 int val2 ;
24328 int ecode2 = 0 ;
24329 int val3 ;
24330 int ecode3 = 0 ;
24331 PyObject * obj0 = 0 ;
24332 PyObject * obj1 = 0 ;
24333 PyObject * obj2 = 0 ;
24334 char * kwnames[] = {
24335 (char *) "self",(char *) "width",(char *) "height", NULL
24336 };
24337
24338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24340 if (!SWIG_IsOK(res1)) {
24341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24342 }
24343 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24344 ecode2 = SWIG_AsVal_int(obj1, &val2);
24345 if (!SWIG_IsOK(ecode2)) {
24346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
24347 }
24348 arg2 = static_cast< int >(val2);
24349 ecode3 = SWIG_AsVal_int(obj2, &val3);
24350 if (!SWIG_IsOK(ecode3)) {
24351 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
24352 }
24353 arg3 = static_cast< int >(val3);
24354 {
24355 PyThreadState* __tstate = wxPyBeginAllowThreads();
24356 (arg1)->DoSetClientSize(arg2,arg3);
24357 wxPyEndAllowThreads(__tstate);
24358 if (PyErr_Occurred()) SWIG_fail;
24359 }
24360 resultobj = SWIG_Py_Void();
24361 return resultobj;
24362 fail:
24363 return NULL;
24364 }
24365
24366
24367 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24368 PyObject *resultobj = 0;
24369 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24370 int arg2 ;
24371 int arg3 ;
24372 void *argp1 = 0 ;
24373 int res1 = 0 ;
24374 int val2 ;
24375 int ecode2 = 0 ;
24376 int val3 ;
24377 int ecode3 = 0 ;
24378 PyObject * obj0 = 0 ;
24379 PyObject * obj1 = 0 ;
24380 PyObject * obj2 = 0 ;
24381 char * kwnames[] = {
24382 (char *) "self",(char *) "x",(char *) "y", NULL
24383 };
24384
24385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24387 if (!SWIG_IsOK(res1)) {
24388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24389 }
24390 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24391 ecode2 = SWIG_AsVal_int(obj1, &val2);
24392 if (!SWIG_IsOK(ecode2)) {
24393 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
24394 }
24395 arg2 = static_cast< int >(val2);
24396 ecode3 = SWIG_AsVal_int(obj2, &val3);
24397 if (!SWIG_IsOK(ecode3)) {
24398 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
24399 }
24400 arg3 = static_cast< int >(val3);
24401 {
24402 PyThreadState* __tstate = wxPyBeginAllowThreads();
24403 (arg1)->DoSetVirtualSize(arg2,arg3);
24404 wxPyEndAllowThreads(__tstate);
24405 if (PyErr_Occurred()) SWIG_fail;
24406 }
24407 resultobj = SWIG_Py_Void();
24408 return resultobj;
24409 fail:
24410 return NULL;
24411 }
24412
24413
24414 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24415 PyObject *resultobj = 0;
24416 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24417 int *arg2 = (int *) 0 ;
24418 int *arg3 = (int *) 0 ;
24419 void *argp1 = 0 ;
24420 int res1 = 0 ;
24421 int temp2 ;
24422 int res2 = SWIG_TMPOBJ ;
24423 int temp3 ;
24424 int res3 = SWIG_TMPOBJ ;
24425 PyObject *swig_obj[1] ;
24426
24427 arg2 = &temp2;
24428 arg3 = &temp3;
24429 if (!args) SWIG_fail;
24430 swig_obj[0] = args;
24431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24432 if (!SWIG_IsOK(res1)) {
24433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24434 }
24435 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24436 {
24437 PyThreadState* __tstate = wxPyBeginAllowThreads();
24438 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 resultobj = SWIG_Py_Void();
24443 if (SWIG_IsTmpObj(res2)) {
24444 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24445 } else {
24446 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24447 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24448 }
24449 if (SWIG_IsTmpObj(res3)) {
24450 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24451 } else {
24452 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24453 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24454 }
24455 return resultobj;
24456 fail:
24457 return NULL;
24458 }
24459
24460
24461 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24462 PyObject *resultobj = 0;
24463 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24464 int *arg2 = (int *) 0 ;
24465 int *arg3 = (int *) 0 ;
24466 void *argp1 = 0 ;
24467 int res1 = 0 ;
24468 int temp2 ;
24469 int res2 = SWIG_TMPOBJ ;
24470 int temp3 ;
24471 int res3 = SWIG_TMPOBJ ;
24472 PyObject *swig_obj[1] ;
24473
24474 arg2 = &temp2;
24475 arg3 = &temp3;
24476 if (!args) SWIG_fail;
24477 swig_obj[0] = args;
24478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24479 if (!SWIG_IsOK(res1)) {
24480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24481 }
24482 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24483 {
24484 PyThreadState* __tstate = wxPyBeginAllowThreads();
24485 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
24486 wxPyEndAllowThreads(__tstate);
24487 if (PyErr_Occurred()) SWIG_fail;
24488 }
24489 resultobj = SWIG_Py_Void();
24490 if (SWIG_IsTmpObj(res2)) {
24491 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24492 } else {
24493 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24494 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24495 }
24496 if (SWIG_IsTmpObj(res3)) {
24497 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24498 } else {
24499 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24500 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24501 }
24502 return resultobj;
24503 fail:
24504 return NULL;
24505 }
24506
24507
24508 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24509 PyObject *resultobj = 0;
24510 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24511 int *arg2 = (int *) 0 ;
24512 int *arg3 = (int *) 0 ;
24513 void *argp1 = 0 ;
24514 int res1 = 0 ;
24515 int temp2 ;
24516 int res2 = SWIG_TMPOBJ ;
24517 int temp3 ;
24518 int res3 = SWIG_TMPOBJ ;
24519 PyObject *swig_obj[1] ;
24520
24521 arg2 = &temp2;
24522 arg3 = &temp3;
24523 if (!args) SWIG_fail;
24524 swig_obj[0] = args;
24525 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24526 if (!SWIG_IsOK(res1)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24528 }
24529 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24530 {
24531 PyThreadState* __tstate = wxPyBeginAllowThreads();
24532 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
24533 wxPyEndAllowThreads(__tstate);
24534 if (PyErr_Occurred()) SWIG_fail;
24535 }
24536 resultobj = SWIG_Py_Void();
24537 if (SWIG_IsTmpObj(res2)) {
24538 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
24539 } else {
24540 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24541 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
24542 }
24543 if (SWIG_IsTmpObj(res3)) {
24544 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
24545 } else {
24546 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
24547 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
24548 }
24549 return resultobj;
24550 fail:
24551 return NULL;
24552 }
24553
24554
24555 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24556 PyObject *resultobj = 0;
24557 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24558 wxSize result;
24559 void *argp1 = 0 ;
24560 int res1 = 0 ;
24561 PyObject *swig_obj[1] ;
24562
24563 if (!args) SWIG_fail;
24564 swig_obj[0] = args;
24565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24566 if (!SWIG_IsOK(res1)) {
24567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24568 }
24569 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24570 {
24571 PyThreadState* __tstate = wxPyBeginAllowThreads();
24572 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
24573 wxPyEndAllowThreads(__tstate);
24574 if (PyErr_Occurred()) SWIG_fail;
24575 }
24576 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24577 return resultobj;
24578 fail:
24579 return NULL;
24580 }
24581
24582
24583 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24584 PyObject *resultobj = 0;
24585 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24586 wxSize result;
24587 void *argp1 = 0 ;
24588 int res1 = 0 ;
24589 PyObject *swig_obj[1] ;
24590
24591 if (!args) SWIG_fail;
24592 swig_obj[0] = args;
24593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24594 if (!SWIG_IsOK(res1)) {
24595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
24596 }
24597 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24598 {
24599 PyThreadState* __tstate = wxPyBeginAllowThreads();
24600 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
24601 wxPyEndAllowThreads(__tstate);
24602 if (PyErr_Occurred()) SWIG_fail;
24603 }
24604 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
24605 return resultobj;
24606 fail:
24607 return NULL;
24608 }
24609
24610
24611 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24612 PyObject *resultobj = 0;
24613 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24614 SwigValueWrapper<wxVisualAttributes > result;
24615 void *argp1 = 0 ;
24616 int res1 = 0 ;
24617 PyObject *swig_obj[1] ;
24618
24619 if (!args) SWIG_fail;
24620 swig_obj[0] = args;
24621 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24622 if (!SWIG_IsOK(res1)) {
24623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24624 }
24625 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 result = (arg1)->GetDefaultAttributes();
24629 wxPyEndAllowThreads(__tstate);
24630 if (PyErr_Occurred()) SWIG_fail;
24631 }
24632 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
24633 return resultobj;
24634 fail:
24635 return NULL;
24636 }
24637
24638
24639 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24640 PyObject *resultobj = 0;
24641 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
24642 void *argp1 = 0 ;
24643 int res1 = 0 ;
24644 PyObject *swig_obj[1] ;
24645
24646 if (!args) SWIG_fail;
24647 swig_obj[0] = args;
24648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
24649 if (!SWIG_IsOK(res1)) {
24650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
24651 }
24652 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 (arg1)->OnInternalIdle();
24656 wxPyEndAllowThreads(__tstate);
24657 if (PyErr_Occurred()) SWIG_fail;
24658 }
24659 resultobj = SWIG_Py_Void();
24660 return resultobj;
24661 fail:
24662 return NULL;
24663 }
24664
24665
24666 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24667 PyObject *obj;
24668 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24669 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
24670 return SWIG_Py_Void();
24671 }
24672
24673 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24674 return SWIG_Python_InitShadowInstance(args);
24675 }
24676
24677 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24678 PyObject *resultobj = 0;
24679 wxWindow *arg1 = (wxWindow *) 0 ;
24680 int arg2 = (int) (int)-1 ;
24681 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24682 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24683 wxSize const &arg4_defvalue = wxDefaultSize ;
24684 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24685 long arg5 = (long) 0 ;
24686 wxString const &arg6_defvalue = wxPyPanelNameStr ;
24687 wxString *arg6 = (wxString *) &arg6_defvalue ;
24688 wxPyPanel *result = 0 ;
24689 void *argp1 = 0 ;
24690 int res1 = 0 ;
24691 int val2 ;
24692 int ecode2 = 0 ;
24693 wxPoint temp3 ;
24694 wxSize temp4 ;
24695 long val5 ;
24696 int ecode5 = 0 ;
24697 bool temp6 = false ;
24698 PyObject * obj0 = 0 ;
24699 PyObject * obj1 = 0 ;
24700 PyObject * obj2 = 0 ;
24701 PyObject * obj3 = 0 ;
24702 PyObject * obj4 = 0 ;
24703 PyObject * obj5 = 0 ;
24704 char * kwnames[] = {
24705 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
24706 };
24707
24708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
24710 if (!SWIG_IsOK(res1)) {
24711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
24712 }
24713 arg1 = reinterpret_cast< wxWindow * >(argp1);
24714 if (obj1) {
24715 ecode2 = SWIG_AsVal_int(obj1, &val2);
24716 if (!SWIG_IsOK(ecode2)) {
24717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
24718 }
24719 arg2 = static_cast< int >(val2);
24720 }
24721 if (obj2) {
24722 {
24723 arg3 = &temp3;
24724 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24725 }
24726 }
24727 if (obj3) {
24728 {
24729 arg4 = &temp4;
24730 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24731 }
24732 }
24733 if (obj4) {
24734 ecode5 = SWIG_AsVal_long(obj4, &val5);
24735 if (!SWIG_IsOK(ecode5)) {
24736 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
24737 }
24738 arg5 = static_cast< long >(val5);
24739 }
24740 if (obj5) {
24741 {
24742 arg6 = wxString_in_helper(obj5);
24743 if (arg6 == NULL) SWIG_fail;
24744 temp6 = true;
24745 }
24746 }
24747 {
24748 if (!wxPyCheckForApp()) SWIG_fail;
24749 PyThreadState* __tstate = wxPyBeginAllowThreads();
24750 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
24751 wxPyEndAllowThreads(__tstate);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
24754 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
24755 {
24756 if (temp6)
24757 delete arg6;
24758 }
24759 return resultobj;
24760 fail:
24761 {
24762 if (temp6)
24763 delete arg6;
24764 }
24765 return NULL;
24766 }
24767
24768
24769 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24770 PyObject *resultobj = 0;
24771 wxPyPanel *result = 0 ;
24772
24773 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
24774 {
24775 if (!wxPyCheckForApp()) SWIG_fail;
24776 PyThreadState* __tstate = wxPyBeginAllowThreads();
24777 result = (wxPyPanel *)new wxPyPanel();
24778 wxPyEndAllowThreads(__tstate);
24779 if (PyErr_Occurred()) SWIG_fail;
24780 }
24781 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
24782 return resultobj;
24783 fail:
24784 return NULL;
24785 }
24786
24787
24788 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24789 PyObject *resultobj = 0;
24790 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24791 PyObject *arg2 = (PyObject *) 0 ;
24792 PyObject *arg3 = (PyObject *) 0 ;
24793 void *argp1 = 0 ;
24794 int res1 = 0 ;
24795 PyObject * obj0 = 0 ;
24796 PyObject * obj1 = 0 ;
24797 PyObject * obj2 = 0 ;
24798 char * kwnames[] = {
24799 (char *) "self",(char *) "self",(char *) "_class", NULL
24800 };
24801
24802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
24803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24804 if (!SWIG_IsOK(res1)) {
24805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24806 }
24807 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24808 arg2 = obj1;
24809 arg3 = obj2;
24810 {
24811 PyThreadState* __tstate = wxPyBeginAllowThreads();
24812 (arg1)->_setCallbackInfo(arg2,arg3);
24813 wxPyEndAllowThreads(__tstate);
24814 if (PyErr_Occurred()) SWIG_fail;
24815 }
24816 resultobj = SWIG_Py_Void();
24817 return resultobj;
24818 fail:
24819 return NULL;
24820 }
24821
24822
24823 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24824 PyObject *resultobj = 0;
24825 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24826 wxDC *arg2 = (wxDC *) 0 ;
24827 bool result;
24828 void *argp1 = 0 ;
24829 int res1 = 0 ;
24830 void *argp2 = 0 ;
24831 int res2 = 0 ;
24832 PyObject * obj0 = 0 ;
24833 PyObject * obj1 = 0 ;
24834 char * kwnames[] = {
24835 (char *) "self",(char *) "dc", NULL
24836 };
24837
24838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
24839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24840 if (!SWIG_IsOK(res1)) {
24841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24842 }
24843 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24844 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
24845 if (!SWIG_IsOK(res2)) {
24846 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
24847 }
24848 arg2 = reinterpret_cast< wxDC * >(argp2);
24849 {
24850 PyThreadState* __tstate = wxPyBeginAllowThreads();
24851 result = (bool)(arg1)->DoEraseBackground(arg2);
24852 wxPyEndAllowThreads(__tstate);
24853 if (PyErr_Occurred()) SWIG_fail;
24854 }
24855 {
24856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24857 }
24858 return resultobj;
24859 fail:
24860 return NULL;
24861 }
24862
24863
24864 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24865 PyObject *resultobj = 0;
24866 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24867 int arg2 ;
24868 int arg3 ;
24869 int arg4 ;
24870 int arg5 ;
24871 void *argp1 = 0 ;
24872 int res1 = 0 ;
24873 int val2 ;
24874 int ecode2 = 0 ;
24875 int val3 ;
24876 int ecode3 = 0 ;
24877 int val4 ;
24878 int ecode4 = 0 ;
24879 int val5 ;
24880 int ecode5 = 0 ;
24881 PyObject * obj0 = 0 ;
24882 PyObject * obj1 = 0 ;
24883 PyObject * obj2 = 0 ;
24884 PyObject * obj3 = 0 ;
24885 PyObject * obj4 = 0 ;
24886 char * kwnames[] = {
24887 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24888 };
24889
24890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
24891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24892 if (!SWIG_IsOK(res1)) {
24893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24894 }
24895 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24896 ecode2 = SWIG_AsVal_int(obj1, &val2);
24897 if (!SWIG_IsOK(ecode2)) {
24898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
24899 }
24900 arg2 = static_cast< int >(val2);
24901 ecode3 = SWIG_AsVal_int(obj2, &val3);
24902 if (!SWIG_IsOK(ecode3)) {
24903 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
24904 }
24905 arg3 = static_cast< int >(val3);
24906 ecode4 = SWIG_AsVal_int(obj3, &val4);
24907 if (!SWIG_IsOK(ecode4)) {
24908 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
24909 }
24910 arg4 = static_cast< int >(val4);
24911 ecode5 = SWIG_AsVal_int(obj4, &val5);
24912 if (!SWIG_IsOK(ecode5)) {
24913 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
24914 }
24915 arg5 = static_cast< int >(val5);
24916 {
24917 PyThreadState* __tstate = wxPyBeginAllowThreads();
24918 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
24919 wxPyEndAllowThreads(__tstate);
24920 if (PyErr_Occurred()) SWIG_fail;
24921 }
24922 resultobj = SWIG_Py_Void();
24923 return resultobj;
24924 fail:
24925 return NULL;
24926 }
24927
24928
24929 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24930 PyObject *resultobj = 0;
24931 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
24932 int arg2 ;
24933 int arg3 ;
24934 int arg4 ;
24935 int arg5 ;
24936 int arg6 = (int) wxSIZE_AUTO ;
24937 void *argp1 = 0 ;
24938 int res1 = 0 ;
24939 int val2 ;
24940 int ecode2 = 0 ;
24941 int val3 ;
24942 int ecode3 = 0 ;
24943 int val4 ;
24944 int ecode4 = 0 ;
24945 int val5 ;
24946 int ecode5 = 0 ;
24947 int val6 ;
24948 int ecode6 = 0 ;
24949 PyObject * obj0 = 0 ;
24950 PyObject * obj1 = 0 ;
24951 PyObject * obj2 = 0 ;
24952 PyObject * obj3 = 0 ;
24953 PyObject * obj4 = 0 ;
24954 PyObject * obj5 = 0 ;
24955 char * kwnames[] = {
24956 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24957 };
24958
24959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
24960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
24961 if (!SWIG_IsOK(res1)) {
24962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
24963 }
24964 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
24965 ecode2 = SWIG_AsVal_int(obj1, &val2);
24966 if (!SWIG_IsOK(ecode2)) {
24967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
24968 }
24969 arg2 = static_cast< int >(val2);
24970 ecode3 = SWIG_AsVal_int(obj2, &val3);
24971 if (!SWIG_IsOK(ecode3)) {
24972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
24973 }
24974 arg3 = static_cast< int >(val3);
24975 ecode4 = SWIG_AsVal_int(obj3, &val4);
24976 if (!SWIG_IsOK(ecode4)) {
24977 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
24978 }
24979 arg4 = static_cast< int >(val4);
24980 ecode5 = SWIG_AsVal_int(obj4, &val5);
24981 if (!SWIG_IsOK(ecode5)) {
24982 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
24983 }
24984 arg5 = static_cast< int >(val5);
24985 if (obj5) {
24986 ecode6 = SWIG_AsVal_int(obj5, &val6);
24987 if (!SWIG_IsOK(ecode6)) {
24988 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
24989 }
24990 arg6 = static_cast< int >(val6);
24991 }
24992 {
24993 PyThreadState* __tstate = wxPyBeginAllowThreads();
24994 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
24995 wxPyEndAllowThreads(__tstate);
24996 if (PyErr_Occurred()) SWIG_fail;
24997 }
24998 resultobj = SWIG_Py_Void();
24999 return resultobj;
25000 fail:
25001 return NULL;
25002 }
25003
25004
25005 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25006 PyObject *resultobj = 0;
25007 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25008 int arg2 ;
25009 int arg3 ;
25010 void *argp1 = 0 ;
25011 int res1 = 0 ;
25012 int val2 ;
25013 int ecode2 = 0 ;
25014 int val3 ;
25015 int ecode3 = 0 ;
25016 PyObject * obj0 = 0 ;
25017 PyObject * obj1 = 0 ;
25018 PyObject * obj2 = 0 ;
25019 char * kwnames[] = {
25020 (char *) "self",(char *) "width",(char *) "height", NULL
25021 };
25022
25023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25025 if (!SWIG_IsOK(res1)) {
25026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25027 }
25028 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25029 ecode2 = SWIG_AsVal_int(obj1, &val2);
25030 if (!SWIG_IsOK(ecode2)) {
25031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25032 }
25033 arg2 = static_cast< int >(val2);
25034 ecode3 = SWIG_AsVal_int(obj2, &val3);
25035 if (!SWIG_IsOK(ecode3)) {
25036 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25037 }
25038 arg3 = static_cast< int >(val3);
25039 {
25040 PyThreadState* __tstate = wxPyBeginAllowThreads();
25041 (arg1)->DoSetClientSize(arg2,arg3);
25042 wxPyEndAllowThreads(__tstate);
25043 if (PyErr_Occurred()) SWIG_fail;
25044 }
25045 resultobj = SWIG_Py_Void();
25046 return resultobj;
25047 fail:
25048 return NULL;
25049 }
25050
25051
25052 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25053 PyObject *resultobj = 0;
25054 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25055 int arg2 ;
25056 int arg3 ;
25057 void *argp1 = 0 ;
25058 int res1 = 0 ;
25059 int val2 ;
25060 int ecode2 = 0 ;
25061 int val3 ;
25062 int ecode3 = 0 ;
25063 PyObject * obj0 = 0 ;
25064 PyObject * obj1 = 0 ;
25065 PyObject * obj2 = 0 ;
25066 char * kwnames[] = {
25067 (char *) "self",(char *) "x",(char *) "y", NULL
25068 };
25069
25070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25072 if (!SWIG_IsOK(res1)) {
25073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25074 }
25075 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25076 ecode2 = SWIG_AsVal_int(obj1, &val2);
25077 if (!SWIG_IsOK(ecode2)) {
25078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25079 }
25080 arg2 = static_cast< int >(val2);
25081 ecode3 = SWIG_AsVal_int(obj2, &val3);
25082 if (!SWIG_IsOK(ecode3)) {
25083 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25084 }
25085 arg3 = static_cast< int >(val3);
25086 {
25087 PyThreadState* __tstate = wxPyBeginAllowThreads();
25088 (arg1)->DoSetVirtualSize(arg2,arg3);
25089 wxPyEndAllowThreads(__tstate);
25090 if (PyErr_Occurred()) SWIG_fail;
25091 }
25092 resultobj = SWIG_Py_Void();
25093 return resultobj;
25094 fail:
25095 return NULL;
25096 }
25097
25098
25099 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25100 PyObject *resultobj = 0;
25101 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25102 int *arg2 = (int *) 0 ;
25103 int *arg3 = (int *) 0 ;
25104 void *argp1 = 0 ;
25105 int res1 = 0 ;
25106 int temp2 ;
25107 int res2 = SWIG_TMPOBJ ;
25108 int temp3 ;
25109 int res3 = SWIG_TMPOBJ ;
25110 PyObject *swig_obj[1] ;
25111
25112 arg2 = &temp2;
25113 arg3 = &temp3;
25114 if (!args) SWIG_fail;
25115 swig_obj[0] = args;
25116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25117 if (!SWIG_IsOK(res1)) {
25118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25119 }
25120 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25121 {
25122 PyThreadState* __tstate = wxPyBeginAllowThreads();
25123 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
25124 wxPyEndAllowThreads(__tstate);
25125 if (PyErr_Occurred()) SWIG_fail;
25126 }
25127 resultobj = SWIG_Py_Void();
25128 if (SWIG_IsTmpObj(res2)) {
25129 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25130 } else {
25131 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25132 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25133 }
25134 if (SWIG_IsTmpObj(res3)) {
25135 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25136 } else {
25137 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25138 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25139 }
25140 return resultobj;
25141 fail:
25142 return NULL;
25143 }
25144
25145
25146 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25147 PyObject *resultobj = 0;
25148 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25149 int *arg2 = (int *) 0 ;
25150 int *arg3 = (int *) 0 ;
25151 void *argp1 = 0 ;
25152 int res1 = 0 ;
25153 int temp2 ;
25154 int res2 = SWIG_TMPOBJ ;
25155 int temp3 ;
25156 int res3 = SWIG_TMPOBJ ;
25157 PyObject *swig_obj[1] ;
25158
25159 arg2 = &temp2;
25160 arg3 = &temp3;
25161 if (!args) SWIG_fail;
25162 swig_obj[0] = args;
25163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25164 if (!SWIG_IsOK(res1)) {
25165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25166 }
25167 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25168 {
25169 PyThreadState* __tstate = wxPyBeginAllowThreads();
25170 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
25171 wxPyEndAllowThreads(__tstate);
25172 if (PyErr_Occurred()) SWIG_fail;
25173 }
25174 resultobj = SWIG_Py_Void();
25175 if (SWIG_IsTmpObj(res2)) {
25176 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25177 } else {
25178 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25179 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25180 }
25181 if (SWIG_IsTmpObj(res3)) {
25182 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25183 } else {
25184 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25185 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25186 }
25187 return resultobj;
25188 fail:
25189 return NULL;
25190 }
25191
25192
25193 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25194 PyObject *resultobj = 0;
25195 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25196 int *arg2 = (int *) 0 ;
25197 int *arg3 = (int *) 0 ;
25198 void *argp1 = 0 ;
25199 int res1 = 0 ;
25200 int temp2 ;
25201 int res2 = SWIG_TMPOBJ ;
25202 int temp3 ;
25203 int res3 = SWIG_TMPOBJ ;
25204 PyObject *swig_obj[1] ;
25205
25206 arg2 = &temp2;
25207 arg3 = &temp3;
25208 if (!args) SWIG_fail;
25209 swig_obj[0] = args;
25210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25211 if (!SWIG_IsOK(res1)) {
25212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25213 }
25214 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25215 {
25216 PyThreadState* __tstate = wxPyBeginAllowThreads();
25217 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
25218 wxPyEndAllowThreads(__tstate);
25219 if (PyErr_Occurred()) SWIG_fail;
25220 }
25221 resultobj = SWIG_Py_Void();
25222 if (SWIG_IsTmpObj(res2)) {
25223 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25224 } else {
25225 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25226 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25227 }
25228 if (SWIG_IsTmpObj(res3)) {
25229 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25230 } else {
25231 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25232 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25233 }
25234 return resultobj;
25235 fail:
25236 return NULL;
25237 }
25238
25239
25240 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25241 PyObject *resultobj = 0;
25242 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25243 wxSize result;
25244 void *argp1 = 0 ;
25245 int res1 = 0 ;
25246 PyObject *swig_obj[1] ;
25247
25248 if (!args) SWIG_fail;
25249 swig_obj[0] = args;
25250 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25251 if (!SWIG_IsOK(res1)) {
25252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25253 }
25254 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25255 {
25256 PyThreadState* __tstate = wxPyBeginAllowThreads();
25257 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
25258 wxPyEndAllowThreads(__tstate);
25259 if (PyErr_Occurred()) SWIG_fail;
25260 }
25261 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25262 return resultobj;
25263 fail:
25264 return NULL;
25265 }
25266
25267
25268 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25269 PyObject *resultobj = 0;
25270 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25271 wxSize result;
25272 void *argp1 = 0 ;
25273 int res1 = 0 ;
25274 PyObject *swig_obj[1] ;
25275
25276 if (!args) SWIG_fail;
25277 swig_obj[0] = args;
25278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25279 if (!SWIG_IsOK(res1)) {
25280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
25281 }
25282 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25283 {
25284 PyThreadState* __tstate = wxPyBeginAllowThreads();
25285 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
25286 wxPyEndAllowThreads(__tstate);
25287 if (PyErr_Occurred()) SWIG_fail;
25288 }
25289 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25290 return resultobj;
25291 fail:
25292 return NULL;
25293 }
25294
25295
25296 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25297 PyObject *resultobj = 0;
25298 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25299 SwigValueWrapper<wxVisualAttributes > result;
25300 void *argp1 = 0 ;
25301 int res1 = 0 ;
25302 PyObject *swig_obj[1] ;
25303
25304 if (!args) SWIG_fail;
25305 swig_obj[0] = args;
25306 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25307 if (!SWIG_IsOK(res1)) {
25308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25309 }
25310 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25311 {
25312 PyThreadState* __tstate = wxPyBeginAllowThreads();
25313 result = (arg1)->GetDefaultAttributes();
25314 wxPyEndAllowThreads(__tstate);
25315 if (PyErr_Occurred()) SWIG_fail;
25316 }
25317 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
25318 return resultobj;
25319 fail:
25320 return NULL;
25321 }
25322
25323
25324 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25325 PyObject *resultobj = 0;
25326 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
25327 void *argp1 = 0 ;
25328 int res1 = 0 ;
25329 PyObject *swig_obj[1] ;
25330
25331 if (!args) SWIG_fail;
25332 swig_obj[0] = args;
25333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
25334 if (!SWIG_IsOK(res1)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
25336 }
25337 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
25338 {
25339 PyThreadState* __tstate = wxPyBeginAllowThreads();
25340 (arg1)->OnInternalIdle();
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 resultobj = SWIG_Py_Void();
25345 return resultobj;
25346 fail:
25347 return NULL;
25348 }
25349
25350
25351 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25352 PyObject *obj;
25353 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25354 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
25355 return SWIG_Py_Void();
25356 }
25357
25358 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25359 return SWIG_Python_InitShadowInstance(args);
25360 }
25361
25362 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25363 PyObject *resultobj = 0;
25364 wxWindow *arg1 = (wxWindow *) 0 ;
25365 int arg2 = (int) (int)-1 ;
25366 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25367 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25368 wxSize const &arg4_defvalue = wxDefaultSize ;
25369 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25370 long arg5 = (long) 0 ;
25371 wxString const &arg6_defvalue = wxPyPanelNameStr ;
25372 wxString *arg6 = (wxString *) &arg6_defvalue ;
25373 wxPyScrolledWindow *result = 0 ;
25374 void *argp1 = 0 ;
25375 int res1 = 0 ;
25376 int val2 ;
25377 int ecode2 = 0 ;
25378 wxPoint temp3 ;
25379 wxSize temp4 ;
25380 long val5 ;
25381 int ecode5 = 0 ;
25382 bool temp6 = false ;
25383 PyObject * obj0 = 0 ;
25384 PyObject * obj1 = 0 ;
25385 PyObject * obj2 = 0 ;
25386 PyObject * obj3 = 0 ;
25387 PyObject * obj4 = 0 ;
25388 PyObject * obj5 = 0 ;
25389 char * kwnames[] = {
25390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25391 };
25392
25393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25395 if (!SWIG_IsOK(res1)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
25397 }
25398 arg1 = reinterpret_cast< wxWindow * >(argp1);
25399 if (obj1) {
25400 ecode2 = SWIG_AsVal_int(obj1, &val2);
25401 if (!SWIG_IsOK(ecode2)) {
25402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
25403 }
25404 arg2 = static_cast< int >(val2);
25405 }
25406 if (obj2) {
25407 {
25408 arg3 = &temp3;
25409 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25410 }
25411 }
25412 if (obj3) {
25413 {
25414 arg4 = &temp4;
25415 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25416 }
25417 }
25418 if (obj4) {
25419 ecode5 = SWIG_AsVal_long(obj4, &val5);
25420 if (!SWIG_IsOK(ecode5)) {
25421 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
25422 }
25423 arg5 = static_cast< long >(val5);
25424 }
25425 if (obj5) {
25426 {
25427 arg6 = wxString_in_helper(obj5);
25428 if (arg6 == NULL) SWIG_fail;
25429 temp6 = true;
25430 }
25431 }
25432 {
25433 if (!wxPyCheckForApp()) SWIG_fail;
25434 PyThreadState* __tstate = wxPyBeginAllowThreads();
25435 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
25436 wxPyEndAllowThreads(__tstate);
25437 if (PyErr_Occurred()) SWIG_fail;
25438 }
25439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
25440 {
25441 if (temp6)
25442 delete arg6;
25443 }
25444 return resultobj;
25445 fail:
25446 {
25447 if (temp6)
25448 delete arg6;
25449 }
25450 return NULL;
25451 }
25452
25453
25454 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25455 PyObject *resultobj = 0;
25456 wxPyScrolledWindow *result = 0 ;
25457
25458 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
25459 {
25460 if (!wxPyCheckForApp()) SWIG_fail;
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
25463 wxPyEndAllowThreads(__tstate);
25464 if (PyErr_Occurred()) SWIG_fail;
25465 }
25466 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
25467 return resultobj;
25468 fail:
25469 return NULL;
25470 }
25471
25472
25473 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25474 PyObject *resultobj = 0;
25475 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25476 PyObject *arg2 = (PyObject *) 0 ;
25477 PyObject *arg3 = (PyObject *) 0 ;
25478 void *argp1 = 0 ;
25479 int res1 = 0 ;
25480 PyObject * obj0 = 0 ;
25481 PyObject * obj1 = 0 ;
25482 PyObject * obj2 = 0 ;
25483 char * kwnames[] = {
25484 (char *) "self",(char *) "self",(char *) "_class", NULL
25485 };
25486
25487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25489 if (!SWIG_IsOK(res1)) {
25490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25491 }
25492 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25493 arg2 = obj1;
25494 arg3 = obj2;
25495 {
25496 PyThreadState* __tstate = wxPyBeginAllowThreads();
25497 (arg1)->_setCallbackInfo(arg2,arg3);
25498 wxPyEndAllowThreads(__tstate);
25499 if (PyErr_Occurred()) SWIG_fail;
25500 }
25501 resultobj = SWIG_Py_Void();
25502 return resultobj;
25503 fail:
25504 return NULL;
25505 }
25506
25507
25508 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25509 PyObject *resultobj = 0;
25510 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25511 wxDC *arg2 = (wxDC *) 0 ;
25512 bool result;
25513 void *argp1 = 0 ;
25514 int res1 = 0 ;
25515 void *argp2 = 0 ;
25516 int res2 = 0 ;
25517 PyObject * obj0 = 0 ;
25518 PyObject * obj1 = 0 ;
25519 char * kwnames[] = {
25520 (char *) "self",(char *) "dc", NULL
25521 };
25522
25523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
25524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25525 if (!SWIG_IsOK(res1)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25527 }
25528 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25529 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
25530 if (!SWIG_IsOK(res2)) {
25531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
25532 }
25533 arg2 = reinterpret_cast< wxDC * >(argp2);
25534 {
25535 PyThreadState* __tstate = wxPyBeginAllowThreads();
25536 result = (bool)(arg1)->DoEraseBackground(arg2);
25537 wxPyEndAllowThreads(__tstate);
25538 if (PyErr_Occurred()) SWIG_fail;
25539 }
25540 {
25541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25542 }
25543 return resultobj;
25544 fail:
25545 return NULL;
25546 }
25547
25548
25549 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25550 PyObject *resultobj = 0;
25551 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25552 int arg2 ;
25553 int arg3 ;
25554 int arg4 ;
25555 int arg5 ;
25556 void *argp1 = 0 ;
25557 int res1 = 0 ;
25558 int val2 ;
25559 int ecode2 = 0 ;
25560 int val3 ;
25561 int ecode3 = 0 ;
25562 int val4 ;
25563 int ecode4 = 0 ;
25564 int val5 ;
25565 int ecode5 = 0 ;
25566 PyObject * obj0 = 0 ;
25567 PyObject * obj1 = 0 ;
25568 PyObject * obj2 = 0 ;
25569 PyObject * obj3 = 0 ;
25570 PyObject * obj4 = 0 ;
25571 char * kwnames[] = {
25572 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25573 };
25574
25575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
25576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25577 if (!SWIG_IsOK(res1)) {
25578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25579 }
25580 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25581 ecode2 = SWIG_AsVal_int(obj1, &val2);
25582 if (!SWIG_IsOK(ecode2)) {
25583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
25584 }
25585 arg2 = static_cast< int >(val2);
25586 ecode3 = SWIG_AsVal_int(obj2, &val3);
25587 if (!SWIG_IsOK(ecode3)) {
25588 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
25589 }
25590 arg3 = static_cast< int >(val3);
25591 ecode4 = SWIG_AsVal_int(obj3, &val4);
25592 if (!SWIG_IsOK(ecode4)) {
25593 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
25594 }
25595 arg4 = static_cast< int >(val4);
25596 ecode5 = SWIG_AsVal_int(obj4, &val5);
25597 if (!SWIG_IsOK(ecode5)) {
25598 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
25599 }
25600 arg5 = static_cast< int >(val5);
25601 {
25602 PyThreadState* __tstate = wxPyBeginAllowThreads();
25603 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 resultobj = SWIG_Py_Void();
25608 return resultobj;
25609 fail:
25610 return NULL;
25611 }
25612
25613
25614 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25615 PyObject *resultobj = 0;
25616 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25617 int arg2 ;
25618 int arg3 ;
25619 int arg4 ;
25620 int arg5 ;
25621 int arg6 = (int) wxSIZE_AUTO ;
25622 void *argp1 = 0 ;
25623 int res1 = 0 ;
25624 int val2 ;
25625 int ecode2 = 0 ;
25626 int val3 ;
25627 int ecode3 = 0 ;
25628 int val4 ;
25629 int ecode4 = 0 ;
25630 int val5 ;
25631 int ecode5 = 0 ;
25632 int val6 ;
25633 int ecode6 = 0 ;
25634 PyObject * obj0 = 0 ;
25635 PyObject * obj1 = 0 ;
25636 PyObject * obj2 = 0 ;
25637 PyObject * obj3 = 0 ;
25638 PyObject * obj4 = 0 ;
25639 PyObject * obj5 = 0 ;
25640 char * kwnames[] = {
25641 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25642 };
25643
25644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
25645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25646 if (!SWIG_IsOK(res1)) {
25647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25648 }
25649 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25650 ecode2 = SWIG_AsVal_int(obj1, &val2);
25651 if (!SWIG_IsOK(ecode2)) {
25652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
25653 }
25654 arg2 = static_cast< int >(val2);
25655 ecode3 = SWIG_AsVal_int(obj2, &val3);
25656 if (!SWIG_IsOK(ecode3)) {
25657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
25658 }
25659 arg3 = static_cast< int >(val3);
25660 ecode4 = SWIG_AsVal_int(obj3, &val4);
25661 if (!SWIG_IsOK(ecode4)) {
25662 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
25663 }
25664 arg4 = static_cast< int >(val4);
25665 ecode5 = SWIG_AsVal_int(obj4, &val5);
25666 if (!SWIG_IsOK(ecode5)) {
25667 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
25668 }
25669 arg5 = static_cast< int >(val5);
25670 if (obj5) {
25671 ecode6 = SWIG_AsVal_int(obj5, &val6);
25672 if (!SWIG_IsOK(ecode6)) {
25673 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
25674 }
25675 arg6 = static_cast< int >(val6);
25676 }
25677 {
25678 PyThreadState* __tstate = wxPyBeginAllowThreads();
25679 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
25680 wxPyEndAllowThreads(__tstate);
25681 if (PyErr_Occurred()) SWIG_fail;
25682 }
25683 resultobj = SWIG_Py_Void();
25684 return resultobj;
25685 fail:
25686 return NULL;
25687 }
25688
25689
25690 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25691 PyObject *resultobj = 0;
25692 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25693 int arg2 ;
25694 int arg3 ;
25695 void *argp1 = 0 ;
25696 int res1 = 0 ;
25697 int val2 ;
25698 int ecode2 = 0 ;
25699 int val3 ;
25700 int ecode3 = 0 ;
25701 PyObject * obj0 = 0 ;
25702 PyObject * obj1 = 0 ;
25703 PyObject * obj2 = 0 ;
25704 char * kwnames[] = {
25705 (char *) "self",(char *) "width",(char *) "height", NULL
25706 };
25707
25708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25710 if (!SWIG_IsOK(res1)) {
25711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25712 }
25713 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25714 ecode2 = SWIG_AsVal_int(obj1, &val2);
25715 if (!SWIG_IsOK(ecode2)) {
25716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
25717 }
25718 arg2 = static_cast< int >(val2);
25719 ecode3 = SWIG_AsVal_int(obj2, &val3);
25720 if (!SWIG_IsOK(ecode3)) {
25721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
25722 }
25723 arg3 = static_cast< int >(val3);
25724 {
25725 PyThreadState* __tstate = wxPyBeginAllowThreads();
25726 (arg1)->DoSetClientSize(arg2,arg3);
25727 wxPyEndAllowThreads(__tstate);
25728 if (PyErr_Occurred()) SWIG_fail;
25729 }
25730 resultobj = SWIG_Py_Void();
25731 return resultobj;
25732 fail:
25733 return NULL;
25734 }
25735
25736
25737 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25738 PyObject *resultobj = 0;
25739 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25740 int arg2 ;
25741 int arg3 ;
25742 void *argp1 = 0 ;
25743 int res1 = 0 ;
25744 int val2 ;
25745 int ecode2 = 0 ;
25746 int val3 ;
25747 int ecode3 = 0 ;
25748 PyObject * obj0 = 0 ;
25749 PyObject * obj1 = 0 ;
25750 PyObject * obj2 = 0 ;
25751 char * kwnames[] = {
25752 (char *) "self",(char *) "x",(char *) "y", NULL
25753 };
25754
25755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
25756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25757 if (!SWIG_IsOK(res1)) {
25758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25759 }
25760 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25761 ecode2 = SWIG_AsVal_int(obj1, &val2);
25762 if (!SWIG_IsOK(ecode2)) {
25763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
25764 }
25765 arg2 = static_cast< int >(val2);
25766 ecode3 = SWIG_AsVal_int(obj2, &val3);
25767 if (!SWIG_IsOK(ecode3)) {
25768 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
25769 }
25770 arg3 = static_cast< int >(val3);
25771 {
25772 PyThreadState* __tstate = wxPyBeginAllowThreads();
25773 (arg1)->DoSetVirtualSize(arg2,arg3);
25774 wxPyEndAllowThreads(__tstate);
25775 if (PyErr_Occurred()) SWIG_fail;
25776 }
25777 resultobj = SWIG_Py_Void();
25778 return resultobj;
25779 fail:
25780 return NULL;
25781 }
25782
25783
25784 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25785 PyObject *resultobj = 0;
25786 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25787 int *arg2 = (int *) 0 ;
25788 int *arg3 = (int *) 0 ;
25789 void *argp1 = 0 ;
25790 int res1 = 0 ;
25791 int temp2 ;
25792 int res2 = SWIG_TMPOBJ ;
25793 int temp3 ;
25794 int res3 = SWIG_TMPOBJ ;
25795 PyObject *swig_obj[1] ;
25796
25797 arg2 = &temp2;
25798 arg3 = &temp3;
25799 if (!args) SWIG_fail;
25800 swig_obj[0] = args;
25801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25802 if (!SWIG_IsOK(res1)) {
25803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25804 }
25805 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25806 {
25807 PyThreadState* __tstate = wxPyBeginAllowThreads();
25808 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
25809 wxPyEndAllowThreads(__tstate);
25810 if (PyErr_Occurred()) SWIG_fail;
25811 }
25812 resultobj = SWIG_Py_Void();
25813 if (SWIG_IsTmpObj(res2)) {
25814 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25815 } else {
25816 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25817 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25818 }
25819 if (SWIG_IsTmpObj(res3)) {
25820 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25821 } else {
25822 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25823 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25824 }
25825 return resultobj;
25826 fail:
25827 return NULL;
25828 }
25829
25830
25831 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25832 PyObject *resultobj = 0;
25833 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25834 int *arg2 = (int *) 0 ;
25835 int *arg3 = (int *) 0 ;
25836 void *argp1 = 0 ;
25837 int res1 = 0 ;
25838 int temp2 ;
25839 int res2 = SWIG_TMPOBJ ;
25840 int temp3 ;
25841 int res3 = SWIG_TMPOBJ ;
25842 PyObject *swig_obj[1] ;
25843
25844 arg2 = &temp2;
25845 arg3 = &temp3;
25846 if (!args) SWIG_fail;
25847 swig_obj[0] = args;
25848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25849 if (!SWIG_IsOK(res1)) {
25850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25851 }
25852 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25853 {
25854 PyThreadState* __tstate = wxPyBeginAllowThreads();
25855 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
25856 wxPyEndAllowThreads(__tstate);
25857 if (PyErr_Occurred()) SWIG_fail;
25858 }
25859 resultobj = SWIG_Py_Void();
25860 if (SWIG_IsTmpObj(res2)) {
25861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25862 } else {
25863 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25865 }
25866 if (SWIG_IsTmpObj(res3)) {
25867 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25868 } else {
25869 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25870 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25871 }
25872 return resultobj;
25873 fail:
25874 return NULL;
25875 }
25876
25877
25878 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25879 PyObject *resultobj = 0;
25880 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25881 int *arg2 = (int *) 0 ;
25882 int *arg3 = (int *) 0 ;
25883 void *argp1 = 0 ;
25884 int res1 = 0 ;
25885 int temp2 ;
25886 int res2 = SWIG_TMPOBJ ;
25887 int temp3 ;
25888 int res3 = SWIG_TMPOBJ ;
25889 PyObject *swig_obj[1] ;
25890
25891 arg2 = &temp2;
25892 arg3 = &temp3;
25893 if (!args) SWIG_fail;
25894 swig_obj[0] = args;
25895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25896 if (!SWIG_IsOK(res1)) {
25897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25898 }
25899 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25900 {
25901 PyThreadState* __tstate = wxPyBeginAllowThreads();
25902 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 resultobj = SWIG_Py_Void();
25907 if (SWIG_IsTmpObj(res2)) {
25908 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
25909 } else {
25910 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25911 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
25912 }
25913 if (SWIG_IsTmpObj(res3)) {
25914 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
25915 } else {
25916 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
25917 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
25918 }
25919 return resultobj;
25920 fail:
25921 return NULL;
25922 }
25923
25924
25925 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25926 PyObject *resultobj = 0;
25927 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25928 wxSize result;
25929 void *argp1 = 0 ;
25930 int res1 = 0 ;
25931 PyObject *swig_obj[1] ;
25932
25933 if (!args) SWIG_fail;
25934 swig_obj[0] = args;
25935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25936 if (!SWIG_IsOK(res1)) {
25937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25938 }
25939 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25940 {
25941 PyThreadState* __tstate = wxPyBeginAllowThreads();
25942 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
25943 wxPyEndAllowThreads(__tstate);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 }
25946 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25947 return resultobj;
25948 fail:
25949 return NULL;
25950 }
25951
25952
25953 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25954 PyObject *resultobj = 0;
25955 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25956 wxSize result;
25957 void *argp1 = 0 ;
25958 int res1 = 0 ;
25959 PyObject *swig_obj[1] ;
25960
25961 if (!args) SWIG_fail;
25962 swig_obj[0] = args;
25963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25964 if (!SWIG_IsOK(res1)) {
25965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
25966 }
25967 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25968 {
25969 PyThreadState* __tstate = wxPyBeginAllowThreads();
25970 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
25971 wxPyEndAllowThreads(__tstate);
25972 if (PyErr_Occurred()) SWIG_fail;
25973 }
25974 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25975 return resultobj;
25976 fail:
25977 return NULL;
25978 }
25979
25980
25981 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25982 PyObject *resultobj = 0;
25983 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
25984 SwigValueWrapper<wxVisualAttributes > result;
25985 void *argp1 = 0 ;
25986 int res1 = 0 ;
25987 PyObject *swig_obj[1] ;
25988
25989 if (!args) SWIG_fail;
25990 swig_obj[0] = args;
25991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
25992 if (!SWIG_IsOK(res1)) {
25993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
25994 }
25995 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
25996 {
25997 PyThreadState* __tstate = wxPyBeginAllowThreads();
25998 result = (arg1)->GetDefaultAttributes();
25999 wxPyEndAllowThreads(__tstate);
26000 if (PyErr_Occurred()) SWIG_fail;
26001 }
26002 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
26003 return resultobj;
26004 fail:
26005 return NULL;
26006 }
26007
26008
26009 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26010 PyObject *resultobj = 0;
26011 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
26012 void *argp1 = 0 ;
26013 int res1 = 0 ;
26014 PyObject *swig_obj[1] ;
26015
26016 if (!args) SWIG_fail;
26017 swig_obj[0] = args;
26018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
26019 if (!SWIG_IsOK(res1)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
26021 }
26022 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
26023 {
26024 PyThreadState* __tstate = wxPyBeginAllowThreads();
26025 (arg1)->OnInternalIdle();
26026 wxPyEndAllowThreads(__tstate);
26027 if (PyErr_Occurred()) SWIG_fail;
26028 }
26029 resultobj = SWIG_Py_Void();
26030 return resultobj;
26031 fail:
26032 return NULL;
26033 }
26034
26035
26036 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26037 PyObject *obj;
26038 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26039 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
26040 return SWIG_Py_Void();
26041 }
26042
26043 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26044 return SWIG_Python_InitShadowInstance(args);
26045 }
26046
26047 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
26048 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
26049 return 1;
26050 }
26051
26052
26053 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
26054 PyObject *pyobj = 0;
26055
26056 {
26057 #if wxUSE_UNICODE
26058 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
26059 #else
26060 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
26061 #endif
26062 }
26063 return pyobj;
26064 }
26065
26066
26067 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
26068 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
26069 return 1;
26070 }
26071
26072
26073 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
26074 PyObject *pyobj = 0;
26075
26076 {
26077 #if wxUSE_UNICODE
26078 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
26079 #else
26080 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
26081 #endif
26082 }
26083 return pyobj;
26084 }
26085
26086
26087 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26088 PyObject *resultobj = 0;
26089 wxPrintData *result = 0 ;
26090
26091 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26092 {
26093 PyThreadState* __tstate = wxPyBeginAllowThreads();
26094 result = (wxPrintData *)new wxPrintData();
26095 wxPyEndAllowThreads(__tstate);
26096 if (PyErr_Occurred()) SWIG_fail;
26097 }
26098 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
26099 return resultobj;
26100 fail:
26101 return NULL;
26102 }
26103
26104
26105 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26106 PyObject *resultobj = 0;
26107 wxPrintData *arg1 = 0 ;
26108 wxPrintData *result = 0 ;
26109 void *argp1 = 0 ;
26110 int res1 = 0 ;
26111
26112 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26114 if (!SWIG_IsOK(res1)) {
26115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26116 }
26117 if (!argp1) {
26118 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26119 }
26120 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26121 {
26122 PyThreadState* __tstate = wxPyBeginAllowThreads();
26123 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
26124 wxPyEndAllowThreads(__tstate);
26125 if (PyErr_Occurred()) SWIG_fail;
26126 }
26127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
26128 return resultobj;
26129 fail:
26130 return NULL;
26131 }
26132
26133
26134 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
26135 int argc;
26136 PyObject *argv[2];
26137
26138 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
26139 --argc;
26140 if (argc == 0) {
26141 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
26142 }
26143 if (argc == 1) {
26144 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
26145 }
26146
26147 fail:
26148 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
26149 return NULL;
26150 }
26151
26152
26153 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26154 PyObject *resultobj = 0;
26155 wxPrintData *arg1 = (wxPrintData *) 0 ;
26156 void *argp1 = 0 ;
26157 int res1 = 0 ;
26158 PyObject *swig_obj[1] ;
26159
26160 if (!args) SWIG_fail;
26161 swig_obj[0] = args;
26162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
26163 if (!SWIG_IsOK(res1)) {
26164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
26165 }
26166 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26167 {
26168 PyThreadState* __tstate = wxPyBeginAllowThreads();
26169 delete arg1;
26170
26171 wxPyEndAllowThreads(__tstate);
26172 if (PyErr_Occurred()) SWIG_fail;
26173 }
26174 resultobj = SWIG_Py_Void();
26175 return resultobj;
26176 fail:
26177 return NULL;
26178 }
26179
26180
26181 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26182 PyObject *resultobj = 0;
26183 wxPrintData *arg1 = (wxPrintData *) 0 ;
26184 int result;
26185 void *argp1 = 0 ;
26186 int res1 = 0 ;
26187 PyObject *swig_obj[1] ;
26188
26189 if (!args) SWIG_fail;
26190 swig_obj[0] = args;
26191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26192 if (!SWIG_IsOK(res1)) {
26193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26194 }
26195 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26196 {
26197 PyThreadState* __tstate = wxPyBeginAllowThreads();
26198 result = (int)(arg1)->GetNoCopies();
26199 wxPyEndAllowThreads(__tstate);
26200 if (PyErr_Occurred()) SWIG_fail;
26201 }
26202 resultobj = SWIG_From_int(static_cast< int >(result));
26203 return resultobj;
26204 fail:
26205 return NULL;
26206 }
26207
26208
26209 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26210 PyObject *resultobj = 0;
26211 wxPrintData *arg1 = (wxPrintData *) 0 ;
26212 bool result;
26213 void *argp1 = 0 ;
26214 int res1 = 0 ;
26215 PyObject *swig_obj[1] ;
26216
26217 if (!args) SWIG_fail;
26218 swig_obj[0] = args;
26219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26220 if (!SWIG_IsOK(res1)) {
26221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26222 }
26223 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26224 {
26225 PyThreadState* __tstate = wxPyBeginAllowThreads();
26226 result = (bool)(arg1)->GetCollate();
26227 wxPyEndAllowThreads(__tstate);
26228 if (PyErr_Occurred()) SWIG_fail;
26229 }
26230 {
26231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26232 }
26233 return resultobj;
26234 fail:
26235 return NULL;
26236 }
26237
26238
26239 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26240 PyObject *resultobj = 0;
26241 wxPrintData *arg1 = (wxPrintData *) 0 ;
26242 int result;
26243 void *argp1 = 0 ;
26244 int res1 = 0 ;
26245 PyObject *swig_obj[1] ;
26246
26247 if (!args) SWIG_fail;
26248 swig_obj[0] = args;
26249 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26250 if (!SWIG_IsOK(res1)) {
26251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26252 }
26253 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26254 {
26255 PyThreadState* __tstate = wxPyBeginAllowThreads();
26256 result = (int)(arg1)->GetOrientation();
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 resultobj = SWIG_From_int(static_cast< int >(result));
26261 return resultobj;
26262 fail:
26263 return NULL;
26264 }
26265
26266
26267 SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26268 PyObject *resultobj = 0;
26269 wxPrintData *arg1 = (wxPrintData *) 0 ;
26270 bool result;
26271 void *argp1 = 0 ;
26272 int res1 = 0 ;
26273 PyObject *swig_obj[1] ;
26274
26275 if (!args) SWIG_fail;
26276 swig_obj[0] = args;
26277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26278 if (!SWIG_IsOK(res1)) {
26279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26280 }
26281 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26282 {
26283 PyThreadState* __tstate = wxPyBeginAllowThreads();
26284 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
26285 wxPyEndAllowThreads(__tstate);
26286 if (PyErr_Occurred()) SWIG_fail;
26287 }
26288 {
26289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26290 }
26291 return resultobj;
26292 fail:
26293 return NULL;
26294 }
26295
26296
26297 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26298 PyObject *resultobj = 0;
26299 wxPrintData *arg1 = (wxPrintData *) 0 ;
26300 bool result;
26301 void *argp1 = 0 ;
26302 int res1 = 0 ;
26303 PyObject *swig_obj[1] ;
26304
26305 if (!args) SWIG_fail;
26306 swig_obj[0] = args;
26307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26308 if (!SWIG_IsOK(res1)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
26310 }
26311 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26312 {
26313 PyThreadState* __tstate = wxPyBeginAllowThreads();
26314 result = (bool)(arg1)->IsOk();
26315 wxPyEndAllowThreads(__tstate);
26316 if (PyErr_Occurred()) SWIG_fail;
26317 }
26318 {
26319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26320 }
26321 return resultobj;
26322 fail:
26323 return NULL;
26324 }
26325
26326
26327 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26328 PyObject *resultobj = 0;
26329 wxPrintData *arg1 = (wxPrintData *) 0 ;
26330 wxString *result = 0 ;
26331 void *argp1 = 0 ;
26332 int res1 = 0 ;
26333 PyObject *swig_obj[1] ;
26334
26335 if (!args) SWIG_fail;
26336 swig_obj[0] = args;
26337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26338 if (!SWIG_IsOK(res1)) {
26339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26340 }
26341 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26342 {
26343 PyThreadState* __tstate = wxPyBeginAllowThreads();
26344 {
26345 wxString const &_result_ref = (arg1)->GetPrinterName();
26346 result = (wxString *) &_result_ref;
26347 }
26348 wxPyEndAllowThreads(__tstate);
26349 if (PyErr_Occurred()) SWIG_fail;
26350 }
26351 {
26352 #if wxUSE_UNICODE
26353 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
26354 #else
26355 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
26356 #endif
26357 }
26358 return resultobj;
26359 fail:
26360 return NULL;
26361 }
26362
26363
26364 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26365 PyObject *resultobj = 0;
26366 wxPrintData *arg1 = (wxPrintData *) 0 ;
26367 bool result;
26368 void *argp1 = 0 ;
26369 int res1 = 0 ;
26370 PyObject *swig_obj[1] ;
26371
26372 if (!args) SWIG_fail;
26373 swig_obj[0] = args;
26374 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26375 if (!SWIG_IsOK(res1)) {
26376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26377 }
26378 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26379 {
26380 PyThreadState* __tstate = wxPyBeginAllowThreads();
26381 result = (bool)(arg1)->GetColour();
26382 wxPyEndAllowThreads(__tstate);
26383 if (PyErr_Occurred()) SWIG_fail;
26384 }
26385 {
26386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26387 }
26388 return resultobj;
26389 fail:
26390 return NULL;
26391 }
26392
26393
26394 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26395 PyObject *resultobj = 0;
26396 wxPrintData *arg1 = (wxPrintData *) 0 ;
26397 wxDuplexMode result;
26398 void *argp1 = 0 ;
26399 int res1 = 0 ;
26400 PyObject *swig_obj[1] ;
26401
26402 if (!args) SWIG_fail;
26403 swig_obj[0] = args;
26404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26405 if (!SWIG_IsOK(res1)) {
26406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26407 }
26408 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26409 {
26410 PyThreadState* __tstate = wxPyBeginAllowThreads();
26411 result = (wxDuplexMode)(arg1)->GetDuplex();
26412 wxPyEndAllowThreads(__tstate);
26413 if (PyErr_Occurred()) SWIG_fail;
26414 }
26415 resultobj = SWIG_From_int(static_cast< int >(result));
26416 return resultobj;
26417 fail:
26418 return NULL;
26419 }
26420
26421
26422 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26423 PyObject *resultobj = 0;
26424 wxPrintData *arg1 = (wxPrintData *) 0 ;
26425 wxPaperSize result;
26426 void *argp1 = 0 ;
26427 int res1 = 0 ;
26428 PyObject *swig_obj[1] ;
26429
26430 if (!args) SWIG_fail;
26431 swig_obj[0] = args;
26432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26433 if (!SWIG_IsOK(res1)) {
26434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26435 }
26436 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26437 {
26438 PyThreadState* __tstate = wxPyBeginAllowThreads();
26439 result = (wxPaperSize)(arg1)->GetPaperId();
26440 wxPyEndAllowThreads(__tstate);
26441 if (PyErr_Occurred()) SWIG_fail;
26442 }
26443 resultobj = SWIG_From_int(static_cast< int >(result));
26444 return resultobj;
26445 fail:
26446 return NULL;
26447 }
26448
26449
26450 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26451 PyObject *resultobj = 0;
26452 wxPrintData *arg1 = (wxPrintData *) 0 ;
26453 wxSize *result = 0 ;
26454 void *argp1 = 0 ;
26455 int res1 = 0 ;
26456 PyObject *swig_obj[1] ;
26457
26458 if (!args) SWIG_fail;
26459 swig_obj[0] = args;
26460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26461 if (!SWIG_IsOK(res1)) {
26462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26463 }
26464 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26465 {
26466 PyThreadState* __tstate = wxPyBeginAllowThreads();
26467 {
26468 wxSize const &_result_ref = (arg1)->GetPaperSize();
26469 result = (wxSize *) &_result_ref;
26470 }
26471 wxPyEndAllowThreads(__tstate);
26472 if (PyErr_Occurred()) SWIG_fail;
26473 }
26474 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
26475 return resultobj;
26476 fail:
26477 return NULL;
26478 }
26479
26480
26481 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26482 PyObject *resultobj = 0;
26483 wxPrintData *arg1 = (wxPrintData *) 0 ;
26484 int result;
26485 void *argp1 = 0 ;
26486 int res1 = 0 ;
26487 PyObject *swig_obj[1] ;
26488
26489 if (!args) SWIG_fail;
26490 swig_obj[0] = args;
26491 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26492 if (!SWIG_IsOK(res1)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26494 }
26495 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26496 {
26497 PyThreadState* __tstate = wxPyBeginAllowThreads();
26498 result = (int)(arg1)->GetQuality();
26499 wxPyEndAllowThreads(__tstate);
26500 if (PyErr_Occurred()) SWIG_fail;
26501 }
26502 resultobj = SWIG_From_int(static_cast< int >(result));
26503 return resultobj;
26504 fail:
26505 return NULL;
26506 }
26507
26508
26509 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26510 PyObject *resultobj = 0;
26511 wxPrintData *arg1 = (wxPrintData *) 0 ;
26512 wxPrintBin result;
26513 void *argp1 = 0 ;
26514 int res1 = 0 ;
26515 PyObject *swig_obj[1] ;
26516
26517 if (!args) SWIG_fail;
26518 swig_obj[0] = args;
26519 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26520 if (!SWIG_IsOK(res1)) {
26521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26522 }
26523 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26524 {
26525 PyThreadState* __tstate = wxPyBeginAllowThreads();
26526 result = (wxPrintBin)(arg1)->GetBin();
26527 wxPyEndAllowThreads(__tstate);
26528 if (PyErr_Occurred()) SWIG_fail;
26529 }
26530 resultobj = SWIG_From_int(static_cast< int >(result));
26531 return resultobj;
26532 fail:
26533 return NULL;
26534 }
26535
26536
26537 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26538 PyObject *resultobj = 0;
26539 wxPrintData *arg1 = (wxPrintData *) 0 ;
26540 wxPrintMode result;
26541 void *argp1 = 0 ;
26542 int res1 = 0 ;
26543 PyObject *swig_obj[1] ;
26544
26545 if (!args) SWIG_fail;
26546 swig_obj[0] = args;
26547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26548 if (!SWIG_IsOK(res1)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26550 }
26551 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26552 {
26553 PyThreadState* __tstate = wxPyBeginAllowThreads();
26554 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
26555 wxPyEndAllowThreads(__tstate);
26556 if (PyErr_Occurred()) SWIG_fail;
26557 }
26558 resultobj = SWIG_From_int(static_cast< int >(result));
26559 return resultobj;
26560 fail:
26561 return NULL;
26562 }
26563
26564
26565 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26566 PyObject *resultobj = 0;
26567 wxPrintData *arg1 = (wxPrintData *) 0 ;
26568 int result;
26569 void *argp1 = 0 ;
26570 int res1 = 0 ;
26571 PyObject *swig_obj[1] ;
26572
26573 if (!args) SWIG_fail;
26574 swig_obj[0] = args;
26575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26576 if (!SWIG_IsOK(res1)) {
26577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
26578 }
26579 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26580 {
26581 PyThreadState* __tstate = wxPyBeginAllowThreads();
26582 result = (int)((wxPrintData const *)arg1)->GetMedia();
26583 wxPyEndAllowThreads(__tstate);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 }
26586 resultobj = SWIG_From_int(static_cast< int >(result));
26587 return resultobj;
26588 fail:
26589 return NULL;
26590 }
26591
26592
26593 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26594 PyObject *resultobj = 0;
26595 wxPrintData *arg1 = (wxPrintData *) 0 ;
26596 int arg2 ;
26597 void *argp1 = 0 ;
26598 int res1 = 0 ;
26599 int val2 ;
26600 int ecode2 = 0 ;
26601 PyObject * obj0 = 0 ;
26602 PyObject * obj1 = 0 ;
26603 char * kwnames[] = {
26604 (char *) "self",(char *) "v", NULL
26605 };
26606
26607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26609 if (!SWIG_IsOK(res1)) {
26610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
26611 }
26612 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26613 ecode2 = SWIG_AsVal_int(obj1, &val2);
26614 if (!SWIG_IsOK(ecode2)) {
26615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26616 }
26617 arg2 = static_cast< int >(val2);
26618 {
26619 PyThreadState* __tstate = wxPyBeginAllowThreads();
26620 (arg1)->SetNoCopies(arg2);
26621 wxPyEndAllowThreads(__tstate);
26622 if (PyErr_Occurred()) SWIG_fail;
26623 }
26624 resultobj = SWIG_Py_Void();
26625 return resultobj;
26626 fail:
26627 return NULL;
26628 }
26629
26630
26631 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26632 PyObject *resultobj = 0;
26633 wxPrintData *arg1 = (wxPrintData *) 0 ;
26634 bool arg2 ;
26635 void *argp1 = 0 ;
26636 int res1 = 0 ;
26637 bool val2 ;
26638 int ecode2 = 0 ;
26639 PyObject * obj0 = 0 ;
26640 PyObject * obj1 = 0 ;
26641 char * kwnames[] = {
26642 (char *) "self",(char *) "flag", NULL
26643 };
26644
26645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26647 if (!SWIG_IsOK(res1)) {
26648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
26649 }
26650 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26651 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26652 if (!SWIG_IsOK(ecode2)) {
26653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26654 }
26655 arg2 = static_cast< bool >(val2);
26656 {
26657 PyThreadState* __tstate = wxPyBeginAllowThreads();
26658 (arg1)->SetCollate(arg2);
26659 wxPyEndAllowThreads(__tstate);
26660 if (PyErr_Occurred()) SWIG_fail;
26661 }
26662 resultobj = SWIG_Py_Void();
26663 return resultobj;
26664 fail:
26665 return NULL;
26666 }
26667
26668
26669 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26670 PyObject *resultobj = 0;
26671 wxPrintData *arg1 = (wxPrintData *) 0 ;
26672 int arg2 ;
26673 void *argp1 = 0 ;
26674 int res1 = 0 ;
26675 int val2 ;
26676 int ecode2 = 0 ;
26677 PyObject * obj0 = 0 ;
26678 PyObject * obj1 = 0 ;
26679 char * kwnames[] = {
26680 (char *) "self",(char *) "orient", NULL
26681 };
26682
26683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
26684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26685 if (!SWIG_IsOK(res1)) {
26686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
26687 }
26688 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26689 ecode2 = SWIG_AsVal_int(obj1, &val2);
26690 if (!SWIG_IsOK(ecode2)) {
26691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
26692 }
26693 arg2 = static_cast< int >(val2);
26694 {
26695 PyThreadState* __tstate = wxPyBeginAllowThreads();
26696 (arg1)->SetOrientation(arg2);
26697 wxPyEndAllowThreads(__tstate);
26698 if (PyErr_Occurred()) SWIG_fail;
26699 }
26700 resultobj = SWIG_Py_Void();
26701 return resultobj;
26702 fail:
26703 return NULL;
26704 }
26705
26706
26707 SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26708 PyObject *resultobj = 0;
26709 wxPrintData *arg1 = (wxPrintData *) 0 ;
26710 bool arg2 ;
26711 void *argp1 = 0 ;
26712 int res1 = 0 ;
26713 bool val2 ;
26714 int ecode2 = 0 ;
26715 PyObject * obj0 = 0 ;
26716 PyObject * obj1 = 0 ;
26717 char * kwnames[] = {
26718 (char *) "self",(char *) "reversed", NULL
26719 };
26720
26721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
26722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26723 if (!SWIG_IsOK(res1)) {
26724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
26725 }
26726 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26727 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26728 if (!SWIG_IsOK(ecode2)) {
26729 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
26730 }
26731 arg2 = static_cast< bool >(val2);
26732 {
26733 PyThreadState* __tstate = wxPyBeginAllowThreads();
26734 (arg1)->SetOrientationReversed(arg2);
26735 wxPyEndAllowThreads(__tstate);
26736 if (PyErr_Occurred()) SWIG_fail;
26737 }
26738 resultobj = SWIG_Py_Void();
26739 return resultobj;
26740 fail:
26741 return NULL;
26742 }
26743
26744
26745 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26746 PyObject *resultobj = 0;
26747 wxPrintData *arg1 = (wxPrintData *) 0 ;
26748 wxString *arg2 = 0 ;
26749 void *argp1 = 0 ;
26750 int res1 = 0 ;
26751 bool temp2 = false ;
26752 PyObject * obj0 = 0 ;
26753 PyObject * obj1 = 0 ;
26754 char * kwnames[] = {
26755 (char *) "self",(char *) "name", NULL
26756 };
26757
26758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
26759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26760 if (!SWIG_IsOK(res1)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
26762 }
26763 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26764 {
26765 arg2 = wxString_in_helper(obj1);
26766 if (arg2 == NULL) SWIG_fail;
26767 temp2 = true;
26768 }
26769 {
26770 PyThreadState* __tstate = wxPyBeginAllowThreads();
26771 (arg1)->SetPrinterName((wxString const &)*arg2);
26772 wxPyEndAllowThreads(__tstate);
26773 if (PyErr_Occurred()) SWIG_fail;
26774 }
26775 resultobj = SWIG_Py_Void();
26776 {
26777 if (temp2)
26778 delete arg2;
26779 }
26780 return resultobj;
26781 fail:
26782 {
26783 if (temp2)
26784 delete arg2;
26785 }
26786 return NULL;
26787 }
26788
26789
26790 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26791 PyObject *resultobj = 0;
26792 wxPrintData *arg1 = (wxPrintData *) 0 ;
26793 bool arg2 ;
26794 void *argp1 = 0 ;
26795 int res1 = 0 ;
26796 bool val2 ;
26797 int ecode2 = 0 ;
26798 PyObject * obj0 = 0 ;
26799 PyObject * obj1 = 0 ;
26800 char * kwnames[] = {
26801 (char *) "self",(char *) "colour", NULL
26802 };
26803
26804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
26805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26806 if (!SWIG_IsOK(res1)) {
26807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
26808 }
26809 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26810 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26811 if (!SWIG_IsOK(ecode2)) {
26812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
26813 }
26814 arg2 = static_cast< bool >(val2);
26815 {
26816 PyThreadState* __tstate = wxPyBeginAllowThreads();
26817 (arg1)->SetColour(arg2);
26818 wxPyEndAllowThreads(__tstate);
26819 if (PyErr_Occurred()) SWIG_fail;
26820 }
26821 resultobj = SWIG_Py_Void();
26822 return resultobj;
26823 fail:
26824 return NULL;
26825 }
26826
26827
26828 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26829 PyObject *resultobj = 0;
26830 wxPrintData *arg1 = (wxPrintData *) 0 ;
26831 wxDuplexMode arg2 ;
26832 void *argp1 = 0 ;
26833 int res1 = 0 ;
26834 int val2 ;
26835 int ecode2 = 0 ;
26836 PyObject * obj0 = 0 ;
26837 PyObject * obj1 = 0 ;
26838 char * kwnames[] = {
26839 (char *) "self",(char *) "duplex", NULL
26840 };
26841
26842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
26843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26844 if (!SWIG_IsOK(res1)) {
26845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
26846 }
26847 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26848 ecode2 = SWIG_AsVal_int(obj1, &val2);
26849 if (!SWIG_IsOK(ecode2)) {
26850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
26851 }
26852 arg2 = static_cast< wxDuplexMode >(val2);
26853 {
26854 PyThreadState* __tstate = wxPyBeginAllowThreads();
26855 (arg1)->SetDuplex(arg2);
26856 wxPyEndAllowThreads(__tstate);
26857 if (PyErr_Occurred()) SWIG_fail;
26858 }
26859 resultobj = SWIG_Py_Void();
26860 return resultobj;
26861 fail:
26862 return NULL;
26863 }
26864
26865
26866 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26867 PyObject *resultobj = 0;
26868 wxPrintData *arg1 = (wxPrintData *) 0 ;
26869 wxPaperSize arg2 ;
26870 void *argp1 = 0 ;
26871 int res1 = 0 ;
26872 int val2 ;
26873 int ecode2 = 0 ;
26874 PyObject * obj0 = 0 ;
26875 PyObject * obj1 = 0 ;
26876 char * kwnames[] = {
26877 (char *) "self",(char *) "sizeId", NULL
26878 };
26879
26880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
26881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26882 if (!SWIG_IsOK(res1)) {
26883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
26884 }
26885 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26886 ecode2 = SWIG_AsVal_int(obj1, &val2);
26887 if (!SWIG_IsOK(ecode2)) {
26888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
26889 }
26890 arg2 = static_cast< wxPaperSize >(val2);
26891 {
26892 PyThreadState* __tstate = wxPyBeginAllowThreads();
26893 (arg1)->SetPaperId(arg2);
26894 wxPyEndAllowThreads(__tstate);
26895 if (PyErr_Occurred()) SWIG_fail;
26896 }
26897 resultobj = SWIG_Py_Void();
26898 return resultobj;
26899 fail:
26900 return NULL;
26901 }
26902
26903
26904 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26905 PyObject *resultobj = 0;
26906 wxPrintData *arg1 = (wxPrintData *) 0 ;
26907 wxSize *arg2 = 0 ;
26908 void *argp1 = 0 ;
26909 int res1 = 0 ;
26910 wxSize temp2 ;
26911 PyObject * obj0 = 0 ;
26912 PyObject * obj1 = 0 ;
26913 char * kwnames[] = {
26914 (char *) "self",(char *) "sz", NULL
26915 };
26916
26917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
26918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26919 if (!SWIG_IsOK(res1)) {
26920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
26921 }
26922 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26923 {
26924 arg2 = &temp2;
26925 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26926 }
26927 {
26928 PyThreadState* __tstate = wxPyBeginAllowThreads();
26929 (arg1)->SetPaperSize((wxSize const &)*arg2);
26930 wxPyEndAllowThreads(__tstate);
26931 if (PyErr_Occurred()) SWIG_fail;
26932 }
26933 resultobj = SWIG_Py_Void();
26934 return resultobj;
26935 fail:
26936 return NULL;
26937 }
26938
26939
26940 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26941 PyObject *resultobj = 0;
26942 wxPrintData *arg1 = (wxPrintData *) 0 ;
26943 int arg2 ;
26944 void *argp1 = 0 ;
26945 int res1 = 0 ;
26946 int val2 ;
26947 int ecode2 = 0 ;
26948 PyObject * obj0 = 0 ;
26949 PyObject * obj1 = 0 ;
26950 char * kwnames[] = {
26951 (char *) "self",(char *) "quality", NULL
26952 };
26953
26954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
26955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26956 if (!SWIG_IsOK(res1)) {
26957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
26958 }
26959 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26960 ecode2 = SWIG_AsVal_int(obj1, &val2);
26961 if (!SWIG_IsOK(ecode2)) {
26962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
26963 }
26964 arg2 = static_cast< int >(val2);
26965 {
26966 PyThreadState* __tstate = wxPyBeginAllowThreads();
26967 (arg1)->SetQuality(arg2);
26968 wxPyEndAllowThreads(__tstate);
26969 if (PyErr_Occurred()) SWIG_fail;
26970 }
26971 resultobj = SWIG_Py_Void();
26972 return resultobj;
26973 fail:
26974 return NULL;
26975 }
26976
26977
26978 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26979 PyObject *resultobj = 0;
26980 wxPrintData *arg1 = (wxPrintData *) 0 ;
26981 wxPrintBin arg2 ;
26982 void *argp1 = 0 ;
26983 int res1 = 0 ;
26984 int val2 ;
26985 int ecode2 = 0 ;
26986 PyObject * obj0 = 0 ;
26987 PyObject * obj1 = 0 ;
26988 char * kwnames[] = {
26989 (char *) "self",(char *) "bin", NULL
26990 };
26991
26992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
26993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
26994 if (!SWIG_IsOK(res1)) {
26995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
26996 }
26997 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26998 ecode2 = SWIG_AsVal_int(obj1, &val2);
26999 if (!SWIG_IsOK(ecode2)) {
27000 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
27001 }
27002 arg2 = static_cast< wxPrintBin >(val2);
27003 {
27004 PyThreadState* __tstate = wxPyBeginAllowThreads();
27005 (arg1)->SetBin(arg2);
27006 wxPyEndAllowThreads(__tstate);
27007 if (PyErr_Occurred()) SWIG_fail;
27008 }
27009 resultobj = SWIG_Py_Void();
27010 return resultobj;
27011 fail:
27012 return NULL;
27013 }
27014
27015
27016 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27017 PyObject *resultobj = 0;
27018 wxPrintData *arg1 = (wxPrintData *) 0 ;
27019 wxPrintMode arg2 ;
27020 void *argp1 = 0 ;
27021 int res1 = 0 ;
27022 int val2 ;
27023 int ecode2 = 0 ;
27024 PyObject * obj0 = 0 ;
27025 PyObject * obj1 = 0 ;
27026 char * kwnames[] = {
27027 (char *) "self",(char *) "printMode", NULL
27028 };
27029
27030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
27031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27032 if (!SWIG_IsOK(res1)) {
27033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
27034 }
27035 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27036 ecode2 = SWIG_AsVal_int(obj1, &val2);
27037 if (!SWIG_IsOK(ecode2)) {
27038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
27039 }
27040 arg2 = static_cast< wxPrintMode >(val2);
27041 {
27042 PyThreadState* __tstate = wxPyBeginAllowThreads();
27043 (arg1)->SetPrintMode(arg2);
27044 wxPyEndAllowThreads(__tstate);
27045 if (PyErr_Occurred()) SWIG_fail;
27046 }
27047 resultobj = SWIG_Py_Void();
27048 return resultobj;
27049 fail:
27050 return NULL;
27051 }
27052
27053
27054 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27055 PyObject *resultobj = 0;
27056 wxPrintData *arg1 = (wxPrintData *) 0 ;
27057 int arg2 ;
27058 void *argp1 = 0 ;
27059 int res1 = 0 ;
27060 int val2 ;
27061 int ecode2 = 0 ;
27062 PyObject * obj0 = 0 ;
27063 PyObject * obj1 = 0 ;
27064 char * kwnames[] = {
27065 (char *) "self",(char *) "media", NULL
27066 };
27067
27068 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
27069 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27070 if (!SWIG_IsOK(res1)) {
27071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
27072 }
27073 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27074 ecode2 = SWIG_AsVal_int(obj1, &val2);
27075 if (!SWIG_IsOK(ecode2)) {
27076 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
27077 }
27078 arg2 = static_cast< int >(val2);
27079 {
27080 PyThreadState* __tstate = wxPyBeginAllowThreads();
27081 (arg1)->SetMedia(arg2);
27082 wxPyEndAllowThreads(__tstate);
27083 if (PyErr_Occurred()) SWIG_fail;
27084 }
27085 resultobj = SWIG_Py_Void();
27086 return resultobj;
27087 fail:
27088 return NULL;
27089 }
27090
27091
27092 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27093 PyObject *resultobj = 0;
27094 wxPrintData *arg1 = (wxPrintData *) 0 ;
27095 wxString result;
27096 void *argp1 = 0 ;
27097 int res1 = 0 ;
27098 PyObject *swig_obj[1] ;
27099
27100 if (!args) SWIG_fail;
27101 swig_obj[0] = args;
27102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27103 if (!SWIG_IsOK(res1)) {
27104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
27105 }
27106 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27107 {
27108 PyThreadState* __tstate = wxPyBeginAllowThreads();
27109 result = ((wxPrintData const *)arg1)->GetFilename();
27110 wxPyEndAllowThreads(__tstate);
27111 if (PyErr_Occurred()) SWIG_fail;
27112 }
27113 {
27114 #if wxUSE_UNICODE
27115 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27116 #else
27117 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27118 #endif
27119 }
27120 return resultobj;
27121 fail:
27122 return NULL;
27123 }
27124
27125
27126 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27127 PyObject *resultobj = 0;
27128 wxPrintData *arg1 = (wxPrintData *) 0 ;
27129 wxString *arg2 = 0 ;
27130 void *argp1 = 0 ;
27131 int res1 = 0 ;
27132 bool temp2 = false ;
27133 PyObject * obj0 = 0 ;
27134 PyObject * obj1 = 0 ;
27135 char * kwnames[] = {
27136 (char *) "self",(char *) "filename", NULL
27137 };
27138
27139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
27140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27141 if (!SWIG_IsOK(res1)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
27143 }
27144 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27145 {
27146 arg2 = wxString_in_helper(obj1);
27147 if (arg2 == NULL) SWIG_fail;
27148 temp2 = true;
27149 }
27150 {
27151 PyThreadState* __tstate = wxPyBeginAllowThreads();
27152 (arg1)->SetFilename((wxString const &)*arg2);
27153 wxPyEndAllowThreads(__tstate);
27154 if (PyErr_Occurred()) SWIG_fail;
27155 }
27156 resultobj = SWIG_Py_Void();
27157 {
27158 if (temp2)
27159 delete arg2;
27160 }
27161 return resultobj;
27162 fail:
27163 {
27164 if (temp2)
27165 delete arg2;
27166 }
27167 return NULL;
27168 }
27169
27170
27171 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27172 PyObject *resultobj = 0;
27173 wxPrintData *arg1 = (wxPrintData *) 0 ;
27174 PyObject *result = 0 ;
27175 void *argp1 = 0 ;
27176 int res1 = 0 ;
27177 PyObject *swig_obj[1] ;
27178
27179 if (!args) SWIG_fail;
27180 swig_obj[0] = args;
27181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27182 if (!SWIG_IsOK(res1)) {
27183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27184 }
27185 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27186 {
27187 PyThreadState* __tstate = wxPyBeginAllowThreads();
27188 result = (PyObject *)wxPrintData_GetPrivData(arg1);
27189 wxPyEndAllowThreads(__tstate);
27190 if (PyErr_Occurred()) SWIG_fail;
27191 }
27192 resultobj = result;
27193 return resultobj;
27194 fail:
27195 return NULL;
27196 }
27197
27198
27199 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27200 PyObject *resultobj = 0;
27201 wxPrintData *arg1 = (wxPrintData *) 0 ;
27202 PyObject *arg2 = (PyObject *) 0 ;
27203 void *argp1 = 0 ;
27204 int res1 = 0 ;
27205 PyObject * obj0 = 0 ;
27206 PyObject * obj1 = 0 ;
27207 char * kwnames[] = {
27208 (char *) "self",(char *) "data", NULL
27209 };
27210
27211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
27212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
27213 if (!SWIG_IsOK(res1)) {
27214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
27215 }
27216 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27217 arg2 = obj1;
27218 {
27219 PyThreadState* __tstate = wxPyBeginAllowThreads();
27220 wxPrintData_SetPrivData(arg1,arg2);
27221 wxPyEndAllowThreads(__tstate);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 resultobj = SWIG_Py_Void();
27225 return resultobj;
27226 fail:
27227 return NULL;
27228 }
27229
27230
27231 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27232 PyObject *obj;
27233 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27234 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
27235 return SWIG_Py_Void();
27236 }
27237
27238 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27239 return SWIG_Python_InitShadowInstance(args);
27240 }
27241
27242 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
27243 PyObject *resultobj = 0;
27244 wxPageSetupDialogData *result = 0 ;
27245
27246 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
27247 {
27248 PyThreadState* __tstate = wxPyBeginAllowThreads();
27249 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
27250 wxPyEndAllowThreads(__tstate);
27251 if (PyErr_Occurred()) SWIG_fail;
27252 }
27253 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27254 return resultobj;
27255 fail:
27256 return NULL;
27257 }
27258
27259
27260 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27261 PyObject *resultobj = 0;
27262 wxPageSetupDialogData *arg1 = 0 ;
27263 wxPageSetupDialogData *result = 0 ;
27264 void *argp1 = 0 ;
27265 int res1 = 0 ;
27266
27267 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
27268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27269 if (!SWIG_IsOK(res1)) {
27270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27271 }
27272 if (!argp1) {
27273 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
27274 }
27275 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27276 {
27277 PyThreadState* __tstate = wxPyBeginAllowThreads();
27278 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
27279 wxPyEndAllowThreads(__tstate);
27280 if (PyErr_Occurred()) SWIG_fail;
27281 }
27282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27283 return resultobj;
27284 fail:
27285 return NULL;
27286 }
27287
27288
27289 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
27290 PyObject *resultobj = 0;
27291 wxPrintData *arg1 = 0 ;
27292 wxPageSetupDialogData *result = 0 ;
27293 void *argp1 = 0 ;
27294 int res1 = 0 ;
27295
27296 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
27297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
27298 if (!SWIG_IsOK(res1)) {
27299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27300 }
27301 if (!argp1) {
27302 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
27303 }
27304 arg1 = reinterpret_cast< wxPrintData * >(argp1);
27305 {
27306 PyThreadState* __tstate = wxPyBeginAllowThreads();
27307 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
27308 wxPyEndAllowThreads(__tstate);
27309 if (PyErr_Occurred()) SWIG_fail;
27310 }
27311 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
27312 return resultobj;
27313 fail:
27314 return NULL;
27315 }
27316
27317
27318 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
27319 int argc;
27320 PyObject *argv[2];
27321
27322 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
27323 --argc;
27324 if (argc == 0) {
27325 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
27326 }
27327 if (argc == 1) {
27328 int _v = 0;
27329 {
27330 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
27331 _v = SWIG_CheckState(res);
27332 }
27333 if (!_v) goto check_2;
27334 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
27335 }
27336 check_2:
27337
27338 if (argc == 1) {
27339 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
27340 }
27341
27342 fail:
27343 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
27344 return NULL;
27345 }
27346
27347
27348 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27349 PyObject *resultobj = 0;
27350 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27351 void *argp1 = 0 ;
27352 int res1 = 0 ;
27353 PyObject *swig_obj[1] ;
27354
27355 if (!args) SWIG_fail;
27356 swig_obj[0] = args;
27357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
27358 if (!SWIG_IsOK(res1)) {
27359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27360 }
27361 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27362 {
27363 PyThreadState* __tstate = wxPyBeginAllowThreads();
27364 delete arg1;
27365
27366 wxPyEndAllowThreads(__tstate);
27367 if (PyErr_Occurred()) SWIG_fail;
27368 }
27369 resultobj = SWIG_Py_Void();
27370 return resultobj;
27371 fail:
27372 return NULL;
27373 }
27374
27375
27376 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27377 PyObject *resultobj = 0;
27378 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27379 bool arg2 ;
27380 void *argp1 = 0 ;
27381 int res1 = 0 ;
27382 bool val2 ;
27383 int ecode2 = 0 ;
27384 PyObject * obj0 = 0 ;
27385 PyObject * obj1 = 0 ;
27386 char * kwnames[] = {
27387 (char *) "self",(char *) "flag", NULL
27388 };
27389
27390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27392 if (!SWIG_IsOK(res1)) {
27393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27394 }
27395 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27396 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27397 if (!SWIG_IsOK(ecode2)) {
27398 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27399 }
27400 arg2 = static_cast< bool >(val2);
27401 {
27402 PyThreadState* __tstate = wxPyBeginAllowThreads();
27403 (arg1)->EnableHelp(arg2);
27404 wxPyEndAllowThreads(__tstate);
27405 if (PyErr_Occurred()) SWIG_fail;
27406 }
27407 resultobj = SWIG_Py_Void();
27408 return resultobj;
27409 fail:
27410 return NULL;
27411 }
27412
27413
27414 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27415 PyObject *resultobj = 0;
27416 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27417 bool arg2 ;
27418 void *argp1 = 0 ;
27419 int res1 = 0 ;
27420 bool val2 ;
27421 int ecode2 = 0 ;
27422 PyObject * obj0 = 0 ;
27423 PyObject * obj1 = 0 ;
27424 char * kwnames[] = {
27425 (char *) "self",(char *) "flag", NULL
27426 };
27427
27428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
27429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27430 if (!SWIG_IsOK(res1)) {
27431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27432 }
27433 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27434 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27435 if (!SWIG_IsOK(ecode2)) {
27436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
27437 }
27438 arg2 = static_cast< bool >(val2);
27439 {
27440 PyThreadState* __tstate = wxPyBeginAllowThreads();
27441 (arg1)->EnableMargins(arg2);
27442 wxPyEndAllowThreads(__tstate);
27443 if (PyErr_Occurred()) SWIG_fail;
27444 }
27445 resultobj = SWIG_Py_Void();
27446 return resultobj;
27447 fail:
27448 return NULL;
27449 }
27450
27451
27452 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27453 PyObject *resultobj = 0;
27454 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27455 bool arg2 ;
27456 void *argp1 = 0 ;
27457 int res1 = 0 ;
27458 bool val2 ;
27459 int ecode2 = 0 ;
27460 PyObject * obj0 = 0 ;
27461 PyObject * obj1 = 0 ;
27462 char * kwnames[] = {
27463 (char *) "self",(char *) "flag", NULL
27464 };
27465
27466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
27467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27468 if (!SWIG_IsOK(res1)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27470 }
27471 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27472 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27473 if (!SWIG_IsOK(ecode2)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
27475 }
27476 arg2 = static_cast< bool >(val2);
27477 {
27478 PyThreadState* __tstate = wxPyBeginAllowThreads();
27479 (arg1)->EnableOrientation(arg2);
27480 wxPyEndAllowThreads(__tstate);
27481 if (PyErr_Occurred()) SWIG_fail;
27482 }
27483 resultobj = SWIG_Py_Void();
27484 return resultobj;
27485 fail:
27486 return NULL;
27487 }
27488
27489
27490 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27491 PyObject *resultobj = 0;
27492 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27493 bool arg2 ;
27494 void *argp1 = 0 ;
27495 int res1 = 0 ;
27496 bool val2 ;
27497 int ecode2 = 0 ;
27498 PyObject * obj0 = 0 ;
27499 PyObject * obj1 = 0 ;
27500 char * kwnames[] = {
27501 (char *) "self",(char *) "flag", NULL
27502 };
27503
27504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
27505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27506 if (!SWIG_IsOK(res1)) {
27507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27508 }
27509 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27510 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27511 if (!SWIG_IsOK(ecode2)) {
27512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
27513 }
27514 arg2 = static_cast< bool >(val2);
27515 {
27516 PyThreadState* __tstate = wxPyBeginAllowThreads();
27517 (arg1)->EnablePaper(arg2);
27518 wxPyEndAllowThreads(__tstate);
27519 if (PyErr_Occurred()) SWIG_fail;
27520 }
27521 resultobj = SWIG_Py_Void();
27522 return resultobj;
27523 fail:
27524 return NULL;
27525 }
27526
27527
27528 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27529 PyObject *resultobj = 0;
27530 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27531 bool arg2 ;
27532 void *argp1 = 0 ;
27533 int res1 = 0 ;
27534 bool val2 ;
27535 int ecode2 = 0 ;
27536 PyObject * obj0 = 0 ;
27537 PyObject * obj1 = 0 ;
27538 char * kwnames[] = {
27539 (char *) "self",(char *) "flag", NULL
27540 };
27541
27542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
27543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27544 if (!SWIG_IsOK(res1)) {
27545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27546 }
27547 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27548 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27549 if (!SWIG_IsOK(ecode2)) {
27550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
27551 }
27552 arg2 = static_cast< bool >(val2);
27553 {
27554 PyThreadState* __tstate = wxPyBeginAllowThreads();
27555 (arg1)->EnablePrinter(arg2);
27556 wxPyEndAllowThreads(__tstate);
27557 if (PyErr_Occurred()) SWIG_fail;
27558 }
27559 resultobj = SWIG_Py_Void();
27560 return resultobj;
27561 fail:
27562 return NULL;
27563 }
27564
27565
27566 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27567 PyObject *resultobj = 0;
27568 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27569 bool result;
27570 void *argp1 = 0 ;
27571 int res1 = 0 ;
27572 PyObject *swig_obj[1] ;
27573
27574 if (!args) SWIG_fail;
27575 swig_obj[0] = args;
27576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27577 if (!SWIG_IsOK(res1)) {
27578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27579 }
27580 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27581 {
27582 PyThreadState* __tstate = wxPyBeginAllowThreads();
27583 result = (bool)(arg1)->GetDefaultMinMargins();
27584 wxPyEndAllowThreads(__tstate);
27585 if (PyErr_Occurred()) SWIG_fail;
27586 }
27587 {
27588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27589 }
27590 return resultobj;
27591 fail:
27592 return NULL;
27593 }
27594
27595
27596 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27597 PyObject *resultobj = 0;
27598 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27599 bool result;
27600 void *argp1 = 0 ;
27601 int res1 = 0 ;
27602 PyObject *swig_obj[1] ;
27603
27604 if (!args) SWIG_fail;
27605 swig_obj[0] = args;
27606 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27607 if (!SWIG_IsOK(res1)) {
27608 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27609 }
27610 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27611 {
27612 PyThreadState* __tstate = wxPyBeginAllowThreads();
27613 result = (bool)(arg1)->GetEnableMargins();
27614 wxPyEndAllowThreads(__tstate);
27615 if (PyErr_Occurred()) SWIG_fail;
27616 }
27617 {
27618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27619 }
27620 return resultobj;
27621 fail:
27622 return NULL;
27623 }
27624
27625
27626 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27627 PyObject *resultobj = 0;
27628 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27629 bool result;
27630 void *argp1 = 0 ;
27631 int res1 = 0 ;
27632 PyObject *swig_obj[1] ;
27633
27634 if (!args) SWIG_fail;
27635 swig_obj[0] = args;
27636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27637 if (!SWIG_IsOK(res1)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27639 }
27640 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27641 {
27642 PyThreadState* __tstate = wxPyBeginAllowThreads();
27643 result = (bool)(arg1)->GetEnableOrientation();
27644 wxPyEndAllowThreads(__tstate);
27645 if (PyErr_Occurred()) SWIG_fail;
27646 }
27647 {
27648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27649 }
27650 return resultobj;
27651 fail:
27652 return NULL;
27653 }
27654
27655
27656 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27657 PyObject *resultobj = 0;
27658 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27659 bool result;
27660 void *argp1 = 0 ;
27661 int res1 = 0 ;
27662 PyObject *swig_obj[1] ;
27663
27664 if (!args) SWIG_fail;
27665 swig_obj[0] = args;
27666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27667 if (!SWIG_IsOK(res1)) {
27668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27669 }
27670 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27671 {
27672 PyThreadState* __tstate = wxPyBeginAllowThreads();
27673 result = (bool)(arg1)->GetEnablePaper();
27674 wxPyEndAllowThreads(__tstate);
27675 if (PyErr_Occurred()) SWIG_fail;
27676 }
27677 {
27678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27679 }
27680 return resultobj;
27681 fail:
27682 return NULL;
27683 }
27684
27685
27686 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27687 PyObject *resultobj = 0;
27688 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27689 bool result;
27690 void *argp1 = 0 ;
27691 int res1 = 0 ;
27692 PyObject *swig_obj[1] ;
27693
27694 if (!args) SWIG_fail;
27695 swig_obj[0] = args;
27696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27697 if (!SWIG_IsOK(res1)) {
27698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27699 }
27700 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27701 {
27702 PyThreadState* __tstate = wxPyBeginAllowThreads();
27703 result = (bool)(arg1)->GetEnablePrinter();
27704 wxPyEndAllowThreads(__tstate);
27705 if (PyErr_Occurred()) SWIG_fail;
27706 }
27707 {
27708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27709 }
27710 return resultobj;
27711 fail:
27712 return NULL;
27713 }
27714
27715
27716 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27717 PyObject *resultobj = 0;
27718 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27719 bool result;
27720 void *argp1 = 0 ;
27721 int res1 = 0 ;
27722 PyObject *swig_obj[1] ;
27723
27724 if (!args) SWIG_fail;
27725 swig_obj[0] = args;
27726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27727 if (!SWIG_IsOK(res1)) {
27728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27729 }
27730 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27731 {
27732 PyThreadState* __tstate = wxPyBeginAllowThreads();
27733 result = (bool)(arg1)->GetEnableHelp();
27734 wxPyEndAllowThreads(__tstate);
27735 if (PyErr_Occurred()) SWIG_fail;
27736 }
27737 {
27738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27739 }
27740 return resultobj;
27741 fail:
27742 return NULL;
27743 }
27744
27745
27746 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27747 PyObject *resultobj = 0;
27748 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27749 bool result;
27750 void *argp1 = 0 ;
27751 int res1 = 0 ;
27752 PyObject *swig_obj[1] ;
27753
27754 if (!args) SWIG_fail;
27755 swig_obj[0] = args;
27756 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27757 if (!SWIG_IsOK(res1)) {
27758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27759 }
27760 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27761 {
27762 PyThreadState* __tstate = wxPyBeginAllowThreads();
27763 result = (bool)(arg1)->GetDefaultInfo();
27764 wxPyEndAllowThreads(__tstate);
27765 if (PyErr_Occurred()) SWIG_fail;
27766 }
27767 {
27768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27769 }
27770 return resultobj;
27771 fail:
27772 return NULL;
27773 }
27774
27775
27776 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27777 PyObject *resultobj = 0;
27778 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27779 wxPoint result;
27780 void *argp1 = 0 ;
27781 int res1 = 0 ;
27782 PyObject *swig_obj[1] ;
27783
27784 if (!args) SWIG_fail;
27785 swig_obj[0] = args;
27786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27787 if (!SWIG_IsOK(res1)) {
27788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27789 }
27790 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27791 {
27792 PyThreadState* __tstate = wxPyBeginAllowThreads();
27793 result = (arg1)->GetMarginTopLeft();
27794 wxPyEndAllowThreads(__tstate);
27795 if (PyErr_Occurred()) SWIG_fail;
27796 }
27797 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27798 return resultobj;
27799 fail:
27800 return NULL;
27801 }
27802
27803
27804 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27805 PyObject *resultobj = 0;
27806 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27807 wxPoint result;
27808 void *argp1 = 0 ;
27809 int res1 = 0 ;
27810 PyObject *swig_obj[1] ;
27811
27812 if (!args) SWIG_fail;
27813 swig_obj[0] = args;
27814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27815 if (!SWIG_IsOK(res1)) {
27816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27817 }
27818 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27819 {
27820 PyThreadState* __tstate = wxPyBeginAllowThreads();
27821 result = (arg1)->GetMarginBottomRight();
27822 wxPyEndAllowThreads(__tstate);
27823 if (PyErr_Occurred()) SWIG_fail;
27824 }
27825 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27826 return resultobj;
27827 fail:
27828 return NULL;
27829 }
27830
27831
27832 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27833 PyObject *resultobj = 0;
27834 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27835 wxPoint result;
27836 void *argp1 = 0 ;
27837 int res1 = 0 ;
27838 PyObject *swig_obj[1] ;
27839
27840 if (!args) SWIG_fail;
27841 swig_obj[0] = args;
27842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27843 if (!SWIG_IsOK(res1)) {
27844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27845 }
27846 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27847 {
27848 PyThreadState* __tstate = wxPyBeginAllowThreads();
27849 result = (arg1)->GetMinMarginTopLeft();
27850 wxPyEndAllowThreads(__tstate);
27851 if (PyErr_Occurred()) SWIG_fail;
27852 }
27853 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27854 return resultobj;
27855 fail:
27856 return NULL;
27857 }
27858
27859
27860 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27861 PyObject *resultobj = 0;
27862 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27863 wxPoint result;
27864 void *argp1 = 0 ;
27865 int res1 = 0 ;
27866 PyObject *swig_obj[1] ;
27867
27868 if (!args) SWIG_fail;
27869 swig_obj[0] = args;
27870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27871 if (!SWIG_IsOK(res1)) {
27872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27873 }
27874 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27875 {
27876 PyThreadState* __tstate = wxPyBeginAllowThreads();
27877 result = (arg1)->GetMinMarginBottomRight();
27878 wxPyEndAllowThreads(__tstate);
27879 if (PyErr_Occurred()) SWIG_fail;
27880 }
27881 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
27882 return resultobj;
27883 fail:
27884 return NULL;
27885 }
27886
27887
27888 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27889 PyObject *resultobj = 0;
27890 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27891 wxPaperSize result;
27892 void *argp1 = 0 ;
27893 int res1 = 0 ;
27894 PyObject *swig_obj[1] ;
27895
27896 if (!args) SWIG_fail;
27897 swig_obj[0] = args;
27898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27899 if (!SWIG_IsOK(res1)) {
27900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27901 }
27902 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27903 {
27904 PyThreadState* __tstate = wxPyBeginAllowThreads();
27905 result = (wxPaperSize)(arg1)->GetPaperId();
27906 wxPyEndAllowThreads(__tstate);
27907 if (PyErr_Occurred()) SWIG_fail;
27908 }
27909 resultobj = SWIG_From_int(static_cast< int >(result));
27910 return resultobj;
27911 fail:
27912 return NULL;
27913 }
27914
27915
27916 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27917 PyObject *resultobj = 0;
27918 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27919 wxSize result;
27920 void *argp1 = 0 ;
27921 int res1 = 0 ;
27922 PyObject *swig_obj[1] ;
27923
27924 if (!args) SWIG_fail;
27925 swig_obj[0] = args;
27926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27927 if (!SWIG_IsOK(res1)) {
27928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27929 }
27930 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27931 {
27932 PyThreadState* __tstate = wxPyBeginAllowThreads();
27933 result = (arg1)->GetPaperSize();
27934 wxPyEndAllowThreads(__tstate);
27935 if (PyErr_Occurred()) SWIG_fail;
27936 }
27937 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
27938 return resultobj;
27939 fail:
27940 return NULL;
27941 }
27942
27943
27944 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27945 PyObject *resultobj = 0;
27946 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27947 wxPrintData *result = 0 ;
27948 void *argp1 = 0 ;
27949 int res1 = 0 ;
27950 PyObject *swig_obj[1] ;
27951
27952 if (!args) SWIG_fail;
27953 swig_obj[0] = args;
27954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27955 if (!SWIG_IsOK(res1)) {
27956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27957 }
27958 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27959 {
27960 PyThreadState* __tstate = wxPyBeginAllowThreads();
27961 {
27962 wxPrintData &_result_ref = (arg1)->GetPrintData();
27963 result = (wxPrintData *) &_result_ref;
27964 }
27965 wxPyEndAllowThreads(__tstate);
27966 if (PyErr_Occurred()) SWIG_fail;
27967 }
27968 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27969 return resultobj;
27970 fail:
27971 return NULL;
27972 }
27973
27974
27975 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27976 PyObject *resultobj = 0;
27977 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
27978 bool result;
27979 void *argp1 = 0 ;
27980 int res1 = 0 ;
27981 PyObject *swig_obj[1] ;
27982
27983 if (!args) SWIG_fail;
27984 swig_obj[0] = args;
27985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
27986 if (!SWIG_IsOK(res1)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
27988 }
27989 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
27990 {
27991 PyThreadState* __tstate = wxPyBeginAllowThreads();
27992 result = (bool)(arg1)->IsOk();
27993 wxPyEndAllowThreads(__tstate);
27994 if (PyErr_Occurred()) SWIG_fail;
27995 }
27996 {
27997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27998 }
27999 return resultobj;
28000 fail:
28001 return NULL;
28002 }
28003
28004
28005 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28006 PyObject *resultobj = 0;
28007 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28008 bool arg2 ;
28009 void *argp1 = 0 ;
28010 int res1 = 0 ;
28011 bool val2 ;
28012 int ecode2 = 0 ;
28013 PyObject * obj0 = 0 ;
28014 PyObject * obj1 = 0 ;
28015 char * kwnames[] = {
28016 (char *) "self",(char *) "flag", NULL
28017 };
28018
28019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
28020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28021 if (!SWIG_IsOK(res1)) {
28022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28023 }
28024 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28025 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28026 if (!SWIG_IsOK(ecode2)) {
28027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
28028 }
28029 arg2 = static_cast< bool >(val2);
28030 {
28031 PyThreadState* __tstate = wxPyBeginAllowThreads();
28032 (arg1)->SetDefaultInfo(arg2);
28033 wxPyEndAllowThreads(__tstate);
28034 if (PyErr_Occurred()) SWIG_fail;
28035 }
28036 resultobj = SWIG_Py_Void();
28037 return resultobj;
28038 fail:
28039 return NULL;
28040 }
28041
28042
28043 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28044 PyObject *resultobj = 0;
28045 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28046 bool arg2 ;
28047 void *argp1 = 0 ;
28048 int res1 = 0 ;
28049 bool val2 ;
28050 int ecode2 = 0 ;
28051 PyObject * obj0 = 0 ;
28052 PyObject * obj1 = 0 ;
28053 char * kwnames[] = {
28054 (char *) "self",(char *) "flag", NULL
28055 };
28056
28057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28059 if (!SWIG_IsOK(res1)) {
28060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28061 }
28062 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28063 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28064 if (!SWIG_IsOK(ecode2)) {
28065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
28066 }
28067 arg2 = static_cast< bool >(val2);
28068 {
28069 PyThreadState* __tstate = wxPyBeginAllowThreads();
28070 (arg1)->SetDefaultMinMargins(arg2);
28071 wxPyEndAllowThreads(__tstate);
28072 if (PyErr_Occurred()) SWIG_fail;
28073 }
28074 resultobj = SWIG_Py_Void();
28075 return resultobj;
28076 fail:
28077 return NULL;
28078 }
28079
28080
28081 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28082 PyObject *resultobj = 0;
28083 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28084 wxPoint *arg2 = 0 ;
28085 void *argp1 = 0 ;
28086 int res1 = 0 ;
28087 wxPoint temp2 ;
28088 PyObject * obj0 = 0 ;
28089 PyObject * obj1 = 0 ;
28090 char * kwnames[] = {
28091 (char *) "self",(char *) "pt", NULL
28092 };
28093
28094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
28095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28096 if (!SWIG_IsOK(res1)) {
28097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28098 }
28099 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28100 {
28101 arg2 = &temp2;
28102 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28103 }
28104 {
28105 PyThreadState* __tstate = wxPyBeginAllowThreads();
28106 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
28107 wxPyEndAllowThreads(__tstate);
28108 if (PyErr_Occurred()) SWIG_fail;
28109 }
28110 resultobj = SWIG_Py_Void();
28111 return resultobj;
28112 fail:
28113 return NULL;
28114 }
28115
28116
28117 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28118 PyObject *resultobj = 0;
28119 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28120 wxPoint *arg2 = 0 ;
28121 void *argp1 = 0 ;
28122 int res1 = 0 ;
28123 wxPoint temp2 ;
28124 PyObject * obj0 = 0 ;
28125 PyObject * obj1 = 0 ;
28126 char * kwnames[] = {
28127 (char *) "self",(char *) "pt", NULL
28128 };
28129
28130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
28131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28132 if (!SWIG_IsOK(res1)) {
28133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28134 }
28135 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28136 {
28137 arg2 = &temp2;
28138 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28139 }
28140 {
28141 PyThreadState* __tstate = wxPyBeginAllowThreads();
28142 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
28143 wxPyEndAllowThreads(__tstate);
28144 if (PyErr_Occurred()) SWIG_fail;
28145 }
28146 resultobj = SWIG_Py_Void();
28147 return resultobj;
28148 fail:
28149 return NULL;
28150 }
28151
28152
28153 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28154 PyObject *resultobj = 0;
28155 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28156 wxPoint *arg2 = 0 ;
28157 void *argp1 = 0 ;
28158 int res1 = 0 ;
28159 wxPoint temp2 ;
28160 PyObject * obj0 = 0 ;
28161 PyObject * obj1 = 0 ;
28162 char * kwnames[] = {
28163 (char *) "self",(char *) "pt", NULL
28164 };
28165
28166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
28167 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28168 if (!SWIG_IsOK(res1)) {
28169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28170 }
28171 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28172 {
28173 arg2 = &temp2;
28174 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28175 }
28176 {
28177 PyThreadState* __tstate = wxPyBeginAllowThreads();
28178 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
28179 wxPyEndAllowThreads(__tstate);
28180 if (PyErr_Occurred()) SWIG_fail;
28181 }
28182 resultobj = SWIG_Py_Void();
28183 return resultobj;
28184 fail:
28185 return NULL;
28186 }
28187
28188
28189 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28190 PyObject *resultobj = 0;
28191 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28192 wxPoint *arg2 = 0 ;
28193 void *argp1 = 0 ;
28194 int res1 = 0 ;
28195 wxPoint temp2 ;
28196 PyObject * obj0 = 0 ;
28197 PyObject * obj1 = 0 ;
28198 char * kwnames[] = {
28199 (char *) "self",(char *) "pt", NULL
28200 };
28201
28202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
28203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28204 if (!SWIG_IsOK(res1)) {
28205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28206 }
28207 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28208 {
28209 arg2 = &temp2;
28210 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28211 }
28212 {
28213 PyThreadState* __tstate = wxPyBeginAllowThreads();
28214 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
28215 wxPyEndAllowThreads(__tstate);
28216 if (PyErr_Occurred()) SWIG_fail;
28217 }
28218 resultobj = SWIG_Py_Void();
28219 return resultobj;
28220 fail:
28221 return NULL;
28222 }
28223
28224
28225 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28226 PyObject *resultobj = 0;
28227 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28228 wxPaperSize arg2 ;
28229 void *argp1 = 0 ;
28230 int res1 = 0 ;
28231 int val2 ;
28232 int ecode2 = 0 ;
28233 PyObject * obj0 = 0 ;
28234 PyObject * obj1 = 0 ;
28235 char * kwnames[] = {
28236 (char *) "self",(char *) "id", NULL
28237 };
28238
28239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
28240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28241 if (!SWIG_IsOK(res1)) {
28242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28243 }
28244 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28245 ecode2 = SWIG_AsVal_int(obj1, &val2);
28246 if (!SWIG_IsOK(ecode2)) {
28247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
28248 }
28249 arg2 = static_cast< wxPaperSize >(val2);
28250 {
28251 PyThreadState* __tstate = wxPyBeginAllowThreads();
28252 (arg1)->SetPaperId(arg2);
28253 wxPyEndAllowThreads(__tstate);
28254 if (PyErr_Occurred()) SWIG_fail;
28255 }
28256 resultobj = SWIG_Py_Void();
28257 return resultobj;
28258 fail:
28259 return NULL;
28260 }
28261
28262
28263 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28264 PyObject *resultobj = 0;
28265 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28266 wxSize *arg2 = 0 ;
28267 void *argp1 = 0 ;
28268 int res1 = 0 ;
28269 wxSize temp2 ;
28270 PyObject * obj0 = 0 ;
28271 PyObject * obj1 = 0 ;
28272 char * kwnames[] = {
28273 (char *) "self",(char *) "size", NULL
28274 };
28275
28276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
28277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28278 if (!SWIG_IsOK(res1)) {
28279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28280 }
28281 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28282 {
28283 arg2 = &temp2;
28284 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28285 }
28286 {
28287 PyThreadState* __tstate = wxPyBeginAllowThreads();
28288 (arg1)->SetPaperSize((wxSize const &)*arg2);
28289 wxPyEndAllowThreads(__tstate);
28290 if (PyErr_Occurred()) SWIG_fail;
28291 }
28292 resultobj = SWIG_Py_Void();
28293 return resultobj;
28294 fail:
28295 return NULL;
28296 }
28297
28298
28299 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28300 PyObject *resultobj = 0;
28301 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28302 wxPrintData *arg2 = 0 ;
28303 void *argp1 = 0 ;
28304 int res1 = 0 ;
28305 void *argp2 = 0 ;
28306 int res2 = 0 ;
28307 PyObject * obj0 = 0 ;
28308 PyObject * obj1 = 0 ;
28309 char * kwnames[] = {
28310 (char *) "self",(char *) "printData", NULL
28311 };
28312
28313 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
28314 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28315 if (!SWIG_IsOK(res1)) {
28316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28317 }
28318 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28319 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
28320 if (!SWIG_IsOK(res2)) {
28321 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28322 }
28323 if (!argp2) {
28324 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
28325 }
28326 arg2 = reinterpret_cast< wxPrintData * >(argp2);
28327 {
28328 PyThreadState* __tstate = wxPyBeginAllowThreads();
28329 (arg1)->SetPrintData((wxPrintData const &)*arg2);
28330 wxPyEndAllowThreads(__tstate);
28331 if (PyErr_Occurred()) SWIG_fail;
28332 }
28333 resultobj = SWIG_Py_Void();
28334 return resultobj;
28335 fail:
28336 return NULL;
28337 }
28338
28339
28340 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28341 PyObject *resultobj = 0;
28342 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28343 void *argp1 = 0 ;
28344 int res1 = 0 ;
28345 PyObject *swig_obj[1] ;
28346
28347 if (!args) SWIG_fail;
28348 swig_obj[0] = args;
28349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28350 if (!SWIG_IsOK(res1)) {
28351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28352 }
28353 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28354 {
28355 PyThreadState* __tstate = wxPyBeginAllowThreads();
28356 (arg1)->CalculateIdFromPaperSize();
28357 wxPyEndAllowThreads(__tstate);
28358 if (PyErr_Occurred()) SWIG_fail;
28359 }
28360 resultobj = SWIG_Py_Void();
28361 return resultobj;
28362 fail:
28363 return NULL;
28364 }
28365
28366
28367 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28368 PyObject *resultobj = 0;
28369 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
28370 void *argp1 = 0 ;
28371 int res1 = 0 ;
28372 PyObject *swig_obj[1] ;
28373
28374 if (!args) SWIG_fail;
28375 swig_obj[0] = args;
28376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28377 if (!SWIG_IsOK(res1)) {
28378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
28379 }
28380 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
28381 {
28382 PyThreadState* __tstate = wxPyBeginAllowThreads();
28383 (arg1)->CalculatePaperSizeFromId();
28384 wxPyEndAllowThreads(__tstate);
28385 if (PyErr_Occurred()) SWIG_fail;
28386 }
28387 resultobj = SWIG_Py_Void();
28388 return resultobj;
28389 fail:
28390 return NULL;
28391 }
28392
28393
28394 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28395 PyObject *obj;
28396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28397 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
28398 return SWIG_Py_Void();
28399 }
28400
28401 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28402 return SWIG_Python_InitShadowInstance(args);
28403 }
28404
28405 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28406 PyObject *resultobj = 0;
28407 wxWindow *arg1 = (wxWindow *) 0 ;
28408 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
28409 wxPageSetupDialog *result = 0 ;
28410 void *argp1 = 0 ;
28411 int res1 = 0 ;
28412 void *argp2 = 0 ;
28413 int res2 = 0 ;
28414 PyObject * obj0 = 0 ;
28415 PyObject * obj1 = 0 ;
28416 char * kwnames[] = {
28417 (char *) "parent",(char *) "data", NULL
28418 };
28419
28420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
28421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
28422 if (!SWIG_IsOK(res1)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
28424 }
28425 arg1 = reinterpret_cast< wxWindow * >(argp1);
28426 if (obj1) {
28427 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28428 if (!SWIG_IsOK(res2)) {
28429 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
28430 }
28431 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28432 }
28433 {
28434 if (!wxPyCheckForApp()) SWIG_fail;
28435 PyThreadState* __tstate = wxPyBeginAllowThreads();
28436 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
28437 wxPyEndAllowThreads(__tstate);
28438 if (PyErr_Occurred()) SWIG_fail;
28439 }
28440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
28441 return resultobj;
28442 fail:
28443 return NULL;
28444 }
28445
28446
28447 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28448 PyObject *resultobj = 0;
28449 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28450 void *argp1 = 0 ;
28451 int res1 = 0 ;
28452 PyObject *swig_obj[1] ;
28453
28454 if (!args) SWIG_fail;
28455 swig_obj[0] = args;
28456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
28457 if (!SWIG_IsOK(res1)) {
28458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28459 }
28460 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28461 {
28462 PyThreadState* __tstate = wxPyBeginAllowThreads();
28463 delete arg1;
28464
28465 wxPyEndAllowThreads(__tstate);
28466 if (PyErr_Occurred()) SWIG_fail;
28467 }
28468 resultobj = SWIG_Py_Void();
28469 return resultobj;
28470 fail:
28471 return NULL;
28472 }
28473
28474
28475 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28476 PyObject *resultobj = 0;
28477 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28478 wxPageSetupDialogData *result = 0 ;
28479 void *argp1 = 0 ;
28480 int res1 = 0 ;
28481 PyObject *swig_obj[1] ;
28482
28483 if (!args) SWIG_fail;
28484 swig_obj[0] = args;
28485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28486 if (!SWIG_IsOK(res1)) {
28487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28488 }
28489 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28490 {
28491 PyThreadState* __tstate = wxPyBeginAllowThreads();
28492 {
28493 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
28494 result = (wxPageSetupDialogData *) &_result_ref;
28495 }
28496 wxPyEndAllowThreads(__tstate);
28497 if (PyErr_Occurred()) SWIG_fail;
28498 }
28499 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28500 return resultobj;
28501 fail:
28502 return NULL;
28503 }
28504
28505
28506 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28507 PyObject *resultobj = 0;
28508 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28509 wxPageSetupDialogData *result = 0 ;
28510 void *argp1 = 0 ;
28511 int res1 = 0 ;
28512 PyObject *swig_obj[1] ;
28513
28514 if (!args) SWIG_fail;
28515 swig_obj[0] = args;
28516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28517 if (!SWIG_IsOK(res1)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28519 }
28520 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28521 {
28522 PyThreadState* __tstate = wxPyBeginAllowThreads();
28523 {
28524 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
28525 result = (wxPageSetupDialogData *) &_result_ref;
28526 }
28527 wxPyEndAllowThreads(__tstate);
28528 if (PyErr_Occurred()) SWIG_fail;
28529 }
28530 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
28531 return resultobj;
28532 fail:
28533 return NULL;
28534 }
28535
28536
28537 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28538 PyObject *resultobj = 0;
28539 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
28540 int result;
28541 void *argp1 = 0 ;
28542 int res1 = 0 ;
28543 PyObject *swig_obj[1] ;
28544
28545 if (!args) SWIG_fail;
28546 swig_obj[0] = args;
28547 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
28548 if (!SWIG_IsOK(res1)) {
28549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
28550 }
28551 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
28552 {
28553 PyThreadState* __tstate = wxPyBeginAllowThreads();
28554 result = (int)(arg1)->ShowModal();
28555 wxPyEndAllowThreads(__tstate);
28556 if (PyErr_Occurred()) SWIG_fail;
28557 }
28558 resultobj = SWIG_From_int(static_cast< int >(result));
28559 return resultobj;
28560 fail:
28561 return NULL;
28562 }
28563
28564
28565 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28566 PyObject *obj;
28567 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28568 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
28569 return SWIG_Py_Void();
28570 }
28571
28572 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28573 return SWIG_Python_InitShadowInstance(args);
28574 }
28575
28576 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
28577 PyObject *resultobj = 0;
28578 wxPrintDialogData *result = 0 ;
28579
28580 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
28581 {
28582 PyThreadState* __tstate = wxPyBeginAllowThreads();
28583 result = (wxPrintDialogData *)new wxPrintDialogData();
28584 wxPyEndAllowThreads(__tstate);
28585 if (PyErr_Occurred()) SWIG_fail;
28586 }
28587 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28588 return resultobj;
28589 fail:
28590 return NULL;
28591 }
28592
28593
28594 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28595 PyObject *resultobj = 0;
28596 wxPrintData *arg1 = 0 ;
28597 wxPrintDialogData *result = 0 ;
28598 void *argp1 = 0 ;
28599 int res1 = 0 ;
28600
28601 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
28602 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
28603 if (!SWIG_IsOK(res1)) {
28604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28605 }
28606 if (!argp1) {
28607 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
28608 }
28609 arg1 = reinterpret_cast< wxPrintData * >(argp1);
28610 {
28611 PyThreadState* __tstate = wxPyBeginAllowThreads();
28612 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
28613 wxPyEndAllowThreads(__tstate);
28614 if (PyErr_Occurred()) SWIG_fail;
28615 }
28616 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28617 return resultobj;
28618 fail:
28619 return NULL;
28620 }
28621
28622
28623 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
28624 PyObject *resultobj = 0;
28625 wxPrintDialogData *arg1 = 0 ;
28626 wxPrintDialogData *result = 0 ;
28627 void *argp1 = 0 ;
28628 int res1 = 0 ;
28629
28630 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
28631 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
28632 if (!SWIG_IsOK(res1)) {
28633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28634 }
28635 if (!argp1) {
28636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
28637 }
28638 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28639 {
28640 PyThreadState* __tstate = wxPyBeginAllowThreads();
28641 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
28642 wxPyEndAllowThreads(__tstate);
28643 if (PyErr_Occurred()) SWIG_fail;
28644 }
28645 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
28646 return resultobj;
28647 fail:
28648 return NULL;
28649 }
28650
28651
28652 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
28653 int argc;
28654 PyObject *argv[2];
28655
28656 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
28657 --argc;
28658 if (argc == 0) {
28659 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
28660 }
28661 if (argc == 1) {
28662 int _v = 0;
28663 {
28664 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
28665 _v = SWIG_CheckState(res);
28666 }
28667 if (!_v) goto check_2;
28668 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
28669 }
28670 check_2:
28671
28672 if (argc == 1) {
28673 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
28674 }
28675
28676 fail:
28677 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
28678 return NULL;
28679 }
28680
28681
28682 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28683 PyObject *resultobj = 0;
28684 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28685 void *argp1 = 0 ;
28686 int res1 = 0 ;
28687 PyObject *swig_obj[1] ;
28688
28689 if (!args) SWIG_fail;
28690 swig_obj[0] = args;
28691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
28692 if (!SWIG_IsOK(res1)) {
28693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28694 }
28695 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28696 {
28697 PyThreadState* __tstate = wxPyBeginAllowThreads();
28698 delete arg1;
28699
28700 wxPyEndAllowThreads(__tstate);
28701 if (PyErr_Occurred()) SWIG_fail;
28702 }
28703 resultobj = SWIG_Py_Void();
28704 return resultobj;
28705 fail:
28706 return NULL;
28707 }
28708
28709
28710 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28711 PyObject *resultobj = 0;
28712 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28713 int result;
28714 void *argp1 = 0 ;
28715 int res1 = 0 ;
28716 PyObject *swig_obj[1] ;
28717
28718 if (!args) SWIG_fail;
28719 swig_obj[0] = args;
28720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28721 if (!SWIG_IsOK(res1)) {
28722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28723 }
28724 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28725 {
28726 PyThreadState* __tstate = wxPyBeginAllowThreads();
28727 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
28728 wxPyEndAllowThreads(__tstate);
28729 if (PyErr_Occurred()) SWIG_fail;
28730 }
28731 resultobj = SWIG_From_int(static_cast< int >(result));
28732 return resultobj;
28733 fail:
28734 return NULL;
28735 }
28736
28737
28738 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28739 PyObject *resultobj = 0;
28740 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28741 int result;
28742 void *argp1 = 0 ;
28743 int res1 = 0 ;
28744 PyObject *swig_obj[1] ;
28745
28746 if (!args) SWIG_fail;
28747 swig_obj[0] = args;
28748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28749 if (!SWIG_IsOK(res1)) {
28750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28751 }
28752 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28753 {
28754 PyThreadState* __tstate = wxPyBeginAllowThreads();
28755 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
28756 wxPyEndAllowThreads(__tstate);
28757 if (PyErr_Occurred()) SWIG_fail;
28758 }
28759 resultobj = SWIG_From_int(static_cast< int >(result));
28760 return resultobj;
28761 fail:
28762 return NULL;
28763 }
28764
28765
28766 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28767 PyObject *resultobj = 0;
28768 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28769 int result;
28770 void *argp1 = 0 ;
28771 int res1 = 0 ;
28772 PyObject *swig_obj[1] ;
28773
28774 if (!args) SWIG_fail;
28775 swig_obj[0] = args;
28776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28777 if (!SWIG_IsOK(res1)) {
28778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28779 }
28780 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28781 {
28782 PyThreadState* __tstate = wxPyBeginAllowThreads();
28783 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
28784 wxPyEndAllowThreads(__tstate);
28785 if (PyErr_Occurred()) SWIG_fail;
28786 }
28787 resultobj = SWIG_From_int(static_cast< int >(result));
28788 return resultobj;
28789 fail:
28790 return NULL;
28791 }
28792
28793
28794 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28795 PyObject *resultobj = 0;
28796 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28797 int result;
28798 void *argp1 = 0 ;
28799 int res1 = 0 ;
28800 PyObject *swig_obj[1] ;
28801
28802 if (!args) SWIG_fail;
28803 swig_obj[0] = args;
28804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28805 if (!SWIG_IsOK(res1)) {
28806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28807 }
28808 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28809 {
28810 PyThreadState* __tstate = wxPyBeginAllowThreads();
28811 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
28812 wxPyEndAllowThreads(__tstate);
28813 if (PyErr_Occurred()) SWIG_fail;
28814 }
28815 resultobj = SWIG_From_int(static_cast< int >(result));
28816 return resultobj;
28817 fail:
28818 return NULL;
28819 }
28820
28821
28822 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28823 PyObject *resultobj = 0;
28824 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28825 int result;
28826 void *argp1 = 0 ;
28827 int res1 = 0 ;
28828 PyObject *swig_obj[1] ;
28829
28830 if (!args) SWIG_fail;
28831 swig_obj[0] = args;
28832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28833 if (!SWIG_IsOK(res1)) {
28834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28835 }
28836 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28837 {
28838 PyThreadState* __tstate = wxPyBeginAllowThreads();
28839 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
28840 wxPyEndAllowThreads(__tstate);
28841 if (PyErr_Occurred()) SWIG_fail;
28842 }
28843 resultobj = SWIG_From_int(static_cast< int >(result));
28844 return resultobj;
28845 fail:
28846 return NULL;
28847 }
28848
28849
28850 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28851 PyObject *resultobj = 0;
28852 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28853 bool result;
28854 void *argp1 = 0 ;
28855 int res1 = 0 ;
28856 PyObject *swig_obj[1] ;
28857
28858 if (!args) SWIG_fail;
28859 swig_obj[0] = args;
28860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28861 if (!SWIG_IsOK(res1)) {
28862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28863 }
28864 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28865 {
28866 PyThreadState* __tstate = wxPyBeginAllowThreads();
28867 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
28868 wxPyEndAllowThreads(__tstate);
28869 if (PyErr_Occurred()) SWIG_fail;
28870 }
28871 {
28872 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28873 }
28874 return resultobj;
28875 fail:
28876 return NULL;
28877 }
28878
28879
28880 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28881 PyObject *resultobj = 0;
28882 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28883 bool result;
28884 void *argp1 = 0 ;
28885 int res1 = 0 ;
28886 PyObject *swig_obj[1] ;
28887
28888 if (!args) SWIG_fail;
28889 swig_obj[0] = args;
28890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28891 if (!SWIG_IsOK(res1)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28893 }
28894 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28895 {
28896 PyThreadState* __tstate = wxPyBeginAllowThreads();
28897 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
28898 wxPyEndAllowThreads(__tstate);
28899 if (PyErr_Occurred()) SWIG_fail;
28900 }
28901 {
28902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28903 }
28904 return resultobj;
28905 fail:
28906 return NULL;
28907 }
28908
28909
28910 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28911 PyObject *resultobj = 0;
28912 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28913 bool result;
28914 void *argp1 = 0 ;
28915 int res1 = 0 ;
28916 PyObject *swig_obj[1] ;
28917
28918 if (!args) SWIG_fail;
28919 swig_obj[0] = args;
28920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28921 if (!SWIG_IsOK(res1)) {
28922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28923 }
28924 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28925 {
28926 PyThreadState* __tstate = wxPyBeginAllowThreads();
28927 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
28928 wxPyEndAllowThreads(__tstate);
28929 if (PyErr_Occurred()) SWIG_fail;
28930 }
28931 {
28932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28933 }
28934 return resultobj;
28935 fail:
28936 return NULL;
28937 }
28938
28939
28940 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28941 PyObject *resultobj = 0;
28942 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28943 bool result;
28944 void *argp1 = 0 ;
28945 int res1 = 0 ;
28946 PyObject *swig_obj[1] ;
28947
28948 if (!args) SWIG_fail;
28949 swig_obj[0] = args;
28950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28951 if (!SWIG_IsOK(res1)) {
28952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
28953 }
28954 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28955 {
28956 PyThreadState* __tstate = wxPyBeginAllowThreads();
28957 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
28958 wxPyEndAllowThreads(__tstate);
28959 if (PyErr_Occurred()) SWIG_fail;
28960 }
28961 {
28962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28963 }
28964 return resultobj;
28965 fail:
28966 return NULL;
28967 }
28968
28969
28970 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28971 PyObject *resultobj = 0;
28972 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
28973 int arg2 ;
28974 void *argp1 = 0 ;
28975 int res1 = 0 ;
28976 int val2 ;
28977 int ecode2 = 0 ;
28978 PyObject * obj0 = 0 ;
28979 PyObject * obj1 = 0 ;
28980 char * kwnames[] = {
28981 (char *) "self",(char *) "v", NULL
28982 };
28983
28984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
28985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
28986 if (!SWIG_IsOK(res1)) {
28987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
28988 }
28989 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
28990 ecode2 = SWIG_AsVal_int(obj1, &val2);
28991 if (!SWIG_IsOK(ecode2)) {
28992 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
28993 }
28994 arg2 = static_cast< int >(val2);
28995 {
28996 PyThreadState* __tstate = wxPyBeginAllowThreads();
28997 (arg1)->SetFromPage(arg2);
28998 wxPyEndAllowThreads(__tstate);
28999 if (PyErr_Occurred()) SWIG_fail;
29000 }
29001 resultobj = SWIG_Py_Void();
29002 return resultobj;
29003 fail:
29004 return NULL;
29005 }
29006
29007
29008 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29009 PyObject *resultobj = 0;
29010 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29011 int arg2 ;
29012 void *argp1 = 0 ;
29013 int res1 = 0 ;
29014 int val2 ;
29015 int ecode2 = 0 ;
29016 PyObject * obj0 = 0 ;
29017 PyObject * obj1 = 0 ;
29018 char * kwnames[] = {
29019 (char *) "self",(char *) "v", NULL
29020 };
29021
29022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
29023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29024 if (!SWIG_IsOK(res1)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29026 }
29027 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29028 ecode2 = SWIG_AsVal_int(obj1, &val2);
29029 if (!SWIG_IsOK(ecode2)) {
29030 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
29031 }
29032 arg2 = static_cast< int >(val2);
29033 {
29034 PyThreadState* __tstate = wxPyBeginAllowThreads();
29035 (arg1)->SetToPage(arg2);
29036 wxPyEndAllowThreads(__tstate);
29037 if (PyErr_Occurred()) SWIG_fail;
29038 }
29039 resultobj = SWIG_Py_Void();
29040 return resultobj;
29041 fail:
29042 return NULL;
29043 }
29044
29045
29046 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29047 PyObject *resultobj = 0;
29048 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29049 int arg2 ;
29050 void *argp1 = 0 ;
29051 int res1 = 0 ;
29052 int val2 ;
29053 int ecode2 = 0 ;
29054 PyObject * obj0 = 0 ;
29055 PyObject * obj1 = 0 ;
29056 char * kwnames[] = {
29057 (char *) "self",(char *) "v", NULL
29058 };
29059
29060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
29061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29062 if (!SWIG_IsOK(res1)) {
29063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29064 }
29065 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29066 ecode2 = SWIG_AsVal_int(obj1, &val2);
29067 if (!SWIG_IsOK(ecode2)) {
29068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
29069 }
29070 arg2 = static_cast< int >(val2);
29071 {
29072 PyThreadState* __tstate = wxPyBeginAllowThreads();
29073 (arg1)->SetMinPage(arg2);
29074 wxPyEndAllowThreads(__tstate);
29075 if (PyErr_Occurred()) SWIG_fail;
29076 }
29077 resultobj = SWIG_Py_Void();
29078 return resultobj;
29079 fail:
29080 return NULL;
29081 }
29082
29083
29084 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29085 PyObject *resultobj = 0;
29086 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29087 int arg2 ;
29088 void *argp1 = 0 ;
29089 int res1 = 0 ;
29090 int val2 ;
29091 int ecode2 = 0 ;
29092 PyObject * obj0 = 0 ;
29093 PyObject * obj1 = 0 ;
29094 char * kwnames[] = {
29095 (char *) "self",(char *) "v", NULL
29096 };
29097
29098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
29099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29100 if (!SWIG_IsOK(res1)) {
29101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29102 }
29103 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29104 ecode2 = SWIG_AsVal_int(obj1, &val2);
29105 if (!SWIG_IsOK(ecode2)) {
29106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
29107 }
29108 arg2 = static_cast< int >(val2);
29109 {
29110 PyThreadState* __tstate = wxPyBeginAllowThreads();
29111 (arg1)->SetMaxPage(arg2);
29112 wxPyEndAllowThreads(__tstate);
29113 if (PyErr_Occurred()) SWIG_fail;
29114 }
29115 resultobj = SWIG_Py_Void();
29116 return resultobj;
29117 fail:
29118 return NULL;
29119 }
29120
29121
29122 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29123 PyObject *resultobj = 0;
29124 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29125 int arg2 ;
29126 void *argp1 = 0 ;
29127 int res1 = 0 ;
29128 int val2 ;
29129 int ecode2 = 0 ;
29130 PyObject * obj0 = 0 ;
29131 PyObject * obj1 = 0 ;
29132 char * kwnames[] = {
29133 (char *) "self",(char *) "v", NULL
29134 };
29135
29136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
29137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29138 if (!SWIG_IsOK(res1)) {
29139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29140 }
29141 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29142 ecode2 = SWIG_AsVal_int(obj1, &val2);
29143 if (!SWIG_IsOK(ecode2)) {
29144 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
29145 }
29146 arg2 = static_cast< int >(val2);
29147 {
29148 PyThreadState* __tstate = wxPyBeginAllowThreads();
29149 (arg1)->SetNoCopies(arg2);
29150 wxPyEndAllowThreads(__tstate);
29151 if (PyErr_Occurred()) SWIG_fail;
29152 }
29153 resultobj = SWIG_Py_Void();
29154 return resultobj;
29155 fail:
29156 return NULL;
29157 }
29158
29159
29160 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29161 PyObject *resultobj = 0;
29162 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29163 bool arg2 ;
29164 void *argp1 = 0 ;
29165 int res1 = 0 ;
29166 bool val2 ;
29167 int ecode2 = 0 ;
29168 PyObject * obj0 = 0 ;
29169 PyObject * obj1 = 0 ;
29170 char * kwnames[] = {
29171 (char *) "self",(char *) "flag", NULL
29172 };
29173
29174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
29175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29176 if (!SWIG_IsOK(res1)) {
29177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29178 }
29179 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29180 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29181 if (!SWIG_IsOK(ecode2)) {
29182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
29183 }
29184 arg2 = static_cast< bool >(val2);
29185 {
29186 PyThreadState* __tstate = wxPyBeginAllowThreads();
29187 (arg1)->SetAllPages(arg2);
29188 wxPyEndAllowThreads(__tstate);
29189 if (PyErr_Occurred()) SWIG_fail;
29190 }
29191 resultobj = SWIG_Py_Void();
29192 return resultobj;
29193 fail:
29194 return NULL;
29195 }
29196
29197
29198 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29199 PyObject *resultobj = 0;
29200 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29201 bool arg2 ;
29202 void *argp1 = 0 ;
29203 int res1 = 0 ;
29204 bool val2 ;
29205 int ecode2 = 0 ;
29206 PyObject * obj0 = 0 ;
29207 PyObject * obj1 = 0 ;
29208 char * kwnames[] = {
29209 (char *) "self",(char *) "flag", NULL
29210 };
29211
29212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
29213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29214 if (!SWIG_IsOK(res1)) {
29215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29216 }
29217 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29218 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29219 if (!SWIG_IsOK(ecode2)) {
29220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
29221 }
29222 arg2 = static_cast< bool >(val2);
29223 {
29224 PyThreadState* __tstate = wxPyBeginAllowThreads();
29225 (arg1)->SetSelection(arg2);
29226 wxPyEndAllowThreads(__tstate);
29227 if (PyErr_Occurred()) SWIG_fail;
29228 }
29229 resultobj = SWIG_Py_Void();
29230 return resultobj;
29231 fail:
29232 return NULL;
29233 }
29234
29235
29236 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29237 PyObject *resultobj = 0;
29238 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29239 bool arg2 ;
29240 void *argp1 = 0 ;
29241 int res1 = 0 ;
29242 bool val2 ;
29243 int ecode2 = 0 ;
29244 PyObject * obj0 = 0 ;
29245 PyObject * obj1 = 0 ;
29246 char * kwnames[] = {
29247 (char *) "self",(char *) "flag", NULL
29248 };
29249
29250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
29251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29252 if (!SWIG_IsOK(res1)) {
29253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29254 }
29255 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29256 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29257 if (!SWIG_IsOK(ecode2)) {
29258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
29259 }
29260 arg2 = static_cast< bool >(val2);
29261 {
29262 PyThreadState* __tstate = wxPyBeginAllowThreads();
29263 (arg1)->SetCollate(arg2);
29264 wxPyEndAllowThreads(__tstate);
29265 if (PyErr_Occurred()) SWIG_fail;
29266 }
29267 resultobj = SWIG_Py_Void();
29268 return resultobj;
29269 fail:
29270 return NULL;
29271 }
29272
29273
29274 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29275 PyObject *resultobj = 0;
29276 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29277 bool arg2 ;
29278 void *argp1 = 0 ;
29279 int res1 = 0 ;
29280 bool val2 ;
29281 int ecode2 = 0 ;
29282 PyObject * obj0 = 0 ;
29283 PyObject * obj1 = 0 ;
29284 char * kwnames[] = {
29285 (char *) "self",(char *) "flag", NULL
29286 };
29287
29288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
29289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29290 if (!SWIG_IsOK(res1)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29292 }
29293 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29294 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29295 if (!SWIG_IsOK(ecode2)) {
29296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
29297 }
29298 arg2 = static_cast< bool >(val2);
29299 {
29300 PyThreadState* __tstate = wxPyBeginAllowThreads();
29301 (arg1)->SetPrintToFile(arg2);
29302 wxPyEndAllowThreads(__tstate);
29303 if (PyErr_Occurred()) SWIG_fail;
29304 }
29305 resultobj = SWIG_Py_Void();
29306 return resultobj;
29307 fail:
29308 return NULL;
29309 }
29310
29311
29312 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29313 PyObject *resultobj = 0;
29314 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29315 bool arg2 ;
29316 void *argp1 = 0 ;
29317 int res1 = 0 ;
29318 bool val2 ;
29319 int ecode2 = 0 ;
29320 PyObject * obj0 = 0 ;
29321 PyObject * obj1 = 0 ;
29322 char * kwnames[] = {
29323 (char *) "self",(char *) "flag", NULL
29324 };
29325
29326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
29327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29328 if (!SWIG_IsOK(res1)) {
29329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29330 }
29331 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29332 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29333 if (!SWIG_IsOK(ecode2)) {
29334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
29335 }
29336 arg2 = static_cast< bool >(val2);
29337 {
29338 PyThreadState* __tstate = wxPyBeginAllowThreads();
29339 (arg1)->EnablePrintToFile(arg2);
29340 wxPyEndAllowThreads(__tstate);
29341 if (PyErr_Occurred()) SWIG_fail;
29342 }
29343 resultobj = SWIG_Py_Void();
29344 return resultobj;
29345 fail:
29346 return NULL;
29347 }
29348
29349
29350 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29351 PyObject *resultobj = 0;
29352 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29353 bool arg2 ;
29354 void *argp1 = 0 ;
29355 int res1 = 0 ;
29356 bool val2 ;
29357 int ecode2 = 0 ;
29358 PyObject * obj0 = 0 ;
29359 PyObject * obj1 = 0 ;
29360 char * kwnames[] = {
29361 (char *) "self",(char *) "flag", NULL
29362 };
29363
29364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
29365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29366 if (!SWIG_IsOK(res1)) {
29367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29368 }
29369 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29370 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29371 if (!SWIG_IsOK(ecode2)) {
29372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
29373 }
29374 arg2 = static_cast< bool >(val2);
29375 {
29376 PyThreadState* __tstate = wxPyBeginAllowThreads();
29377 (arg1)->EnableSelection(arg2);
29378 wxPyEndAllowThreads(__tstate);
29379 if (PyErr_Occurred()) SWIG_fail;
29380 }
29381 resultobj = SWIG_Py_Void();
29382 return resultobj;
29383 fail:
29384 return NULL;
29385 }
29386
29387
29388 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29389 PyObject *resultobj = 0;
29390 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29391 bool arg2 ;
29392 void *argp1 = 0 ;
29393 int res1 = 0 ;
29394 bool val2 ;
29395 int ecode2 = 0 ;
29396 PyObject * obj0 = 0 ;
29397 PyObject * obj1 = 0 ;
29398 char * kwnames[] = {
29399 (char *) "self",(char *) "flag", NULL
29400 };
29401
29402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
29403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29404 if (!SWIG_IsOK(res1)) {
29405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29406 }
29407 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29408 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29409 if (!SWIG_IsOK(ecode2)) {
29410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
29411 }
29412 arg2 = static_cast< bool >(val2);
29413 {
29414 PyThreadState* __tstate = wxPyBeginAllowThreads();
29415 (arg1)->EnablePageNumbers(arg2);
29416 wxPyEndAllowThreads(__tstate);
29417 if (PyErr_Occurred()) SWIG_fail;
29418 }
29419 resultobj = SWIG_Py_Void();
29420 return resultobj;
29421 fail:
29422 return NULL;
29423 }
29424
29425
29426 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29427 PyObject *resultobj = 0;
29428 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29429 bool arg2 ;
29430 void *argp1 = 0 ;
29431 int res1 = 0 ;
29432 bool val2 ;
29433 int ecode2 = 0 ;
29434 PyObject * obj0 = 0 ;
29435 PyObject * obj1 = 0 ;
29436 char * kwnames[] = {
29437 (char *) "self",(char *) "flag", NULL
29438 };
29439
29440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
29441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29442 if (!SWIG_IsOK(res1)) {
29443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29444 }
29445 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29446 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29447 if (!SWIG_IsOK(ecode2)) {
29448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
29449 }
29450 arg2 = static_cast< bool >(val2);
29451 {
29452 PyThreadState* __tstate = wxPyBeginAllowThreads();
29453 (arg1)->EnableHelp(arg2);
29454 wxPyEndAllowThreads(__tstate);
29455 if (PyErr_Occurred()) SWIG_fail;
29456 }
29457 resultobj = SWIG_Py_Void();
29458 return resultobj;
29459 fail:
29460 return NULL;
29461 }
29462
29463
29464 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29465 PyObject *resultobj = 0;
29466 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29467 bool result;
29468 void *argp1 = 0 ;
29469 int res1 = 0 ;
29470 PyObject *swig_obj[1] ;
29471
29472 if (!args) SWIG_fail;
29473 swig_obj[0] = args;
29474 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29475 if (!SWIG_IsOK(res1)) {
29476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29477 }
29478 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29479 {
29480 PyThreadState* __tstate = wxPyBeginAllowThreads();
29481 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
29482 wxPyEndAllowThreads(__tstate);
29483 if (PyErr_Occurred()) SWIG_fail;
29484 }
29485 {
29486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29487 }
29488 return resultobj;
29489 fail:
29490 return NULL;
29491 }
29492
29493
29494 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29495 PyObject *resultobj = 0;
29496 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29497 bool result;
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_wxPrintDialogData, 0 | 0 );
29505 if (!SWIG_IsOK(res1)) {
29506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29507 }
29508 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29509 {
29510 PyThreadState* __tstate = wxPyBeginAllowThreads();
29511 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
29512 wxPyEndAllowThreads(__tstate);
29513 if (PyErr_Occurred()) SWIG_fail;
29514 }
29515 {
29516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29517 }
29518 return resultobj;
29519 fail:
29520 return NULL;
29521 }
29522
29523
29524 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29525 PyObject *resultobj = 0;
29526 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29527 bool result;
29528 void *argp1 = 0 ;
29529 int res1 = 0 ;
29530 PyObject *swig_obj[1] ;
29531
29532 if (!args) SWIG_fail;
29533 swig_obj[0] = args;
29534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29535 if (!SWIG_IsOK(res1)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29537 }
29538 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29539 {
29540 PyThreadState* __tstate = wxPyBeginAllowThreads();
29541 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
29542 wxPyEndAllowThreads(__tstate);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 }
29545 {
29546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29547 }
29548 return resultobj;
29549 fail:
29550 return NULL;
29551 }
29552
29553
29554 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29555 PyObject *resultobj = 0;
29556 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29557 bool result;
29558 void *argp1 = 0 ;
29559 int res1 = 0 ;
29560 PyObject *swig_obj[1] ;
29561
29562 if (!args) SWIG_fail;
29563 swig_obj[0] = args;
29564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29565 if (!SWIG_IsOK(res1)) {
29566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29567 }
29568 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29569 {
29570 PyThreadState* __tstate = wxPyBeginAllowThreads();
29571 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
29572 wxPyEndAllowThreads(__tstate);
29573 if (PyErr_Occurred()) SWIG_fail;
29574 }
29575 {
29576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29577 }
29578 return resultobj;
29579 fail:
29580 return NULL;
29581 }
29582
29583
29584 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29585 PyObject *resultobj = 0;
29586 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29587 bool result;
29588 void *argp1 = 0 ;
29589 int res1 = 0 ;
29590 PyObject *swig_obj[1] ;
29591
29592 if (!args) SWIG_fail;
29593 swig_obj[0] = args;
29594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29595 if (!SWIG_IsOK(res1)) {
29596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
29597 }
29598 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29599 {
29600 PyThreadState* __tstate = wxPyBeginAllowThreads();
29601 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
29602 wxPyEndAllowThreads(__tstate);
29603 if (PyErr_Occurred()) SWIG_fail;
29604 }
29605 {
29606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29607 }
29608 return resultobj;
29609 fail:
29610 return NULL;
29611 }
29612
29613
29614 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29615 PyObject *resultobj = 0;
29616 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29617 wxPrintData *result = 0 ;
29618 void *argp1 = 0 ;
29619 int res1 = 0 ;
29620 PyObject *swig_obj[1] ;
29621
29622 if (!args) SWIG_fail;
29623 swig_obj[0] = args;
29624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29625 if (!SWIG_IsOK(res1)) {
29626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29627 }
29628 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29629 {
29630 PyThreadState* __tstate = wxPyBeginAllowThreads();
29631 {
29632 wxPrintData &_result_ref = (arg1)->GetPrintData();
29633 result = (wxPrintData *) &_result_ref;
29634 }
29635 wxPyEndAllowThreads(__tstate);
29636 if (PyErr_Occurred()) SWIG_fail;
29637 }
29638 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
29639 return resultobj;
29640 fail:
29641 return NULL;
29642 }
29643
29644
29645 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29646 PyObject *resultobj = 0;
29647 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
29648 wxPrintData *arg2 = 0 ;
29649 void *argp1 = 0 ;
29650 int res1 = 0 ;
29651 void *argp2 = 0 ;
29652 int res2 = 0 ;
29653 PyObject * obj0 = 0 ;
29654 PyObject * obj1 = 0 ;
29655 char * kwnames[] = {
29656 (char *) "self",(char *) "printData", NULL
29657 };
29658
29659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
29660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29661 if (!SWIG_IsOK(res1)) {
29662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29663 }
29664 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29665 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
29666 if (!SWIG_IsOK(res2)) {
29667 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29668 }
29669 if (!argp2) {
29670 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
29671 }
29672 arg2 = reinterpret_cast< wxPrintData * >(argp2);
29673 {
29674 PyThreadState* __tstate = wxPyBeginAllowThreads();
29675 (arg1)->SetPrintData((wxPrintData const &)*arg2);
29676 wxPyEndAllowThreads(__tstate);
29677 if (PyErr_Occurred()) SWIG_fail;
29678 }
29679 resultobj = SWIG_Py_Void();
29680 return resultobj;
29681 fail:
29682 return NULL;
29683 }
29684
29685
29686 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29687 PyObject *obj;
29688 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29689 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
29690 return SWIG_Py_Void();
29691 }
29692
29693 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29694 return SWIG_Python_InitShadowInstance(args);
29695 }
29696
29697 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29698 PyObject *resultobj = 0;
29699 wxWindow *arg1 = (wxWindow *) 0 ;
29700 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
29701 wxPrintDialog *result = 0 ;
29702 void *argp1 = 0 ;
29703 int res1 = 0 ;
29704 void *argp2 = 0 ;
29705 int res2 = 0 ;
29706 PyObject * obj0 = 0 ;
29707 PyObject * obj1 = 0 ;
29708 char * kwnames[] = {
29709 (char *) "parent",(char *) "data", NULL
29710 };
29711
29712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
29713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
29714 if (!SWIG_IsOK(res1)) {
29715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
29716 }
29717 arg1 = reinterpret_cast< wxWindow * >(argp1);
29718 if (obj1) {
29719 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29720 if (!SWIG_IsOK(res2)) {
29721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
29722 }
29723 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
29724 }
29725 {
29726 if (!wxPyCheckForApp()) SWIG_fail;
29727 PyThreadState* __tstate = wxPyBeginAllowThreads();
29728 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
29729 wxPyEndAllowThreads(__tstate);
29730 if (PyErr_Occurred()) SWIG_fail;
29731 }
29732 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
29733 return resultobj;
29734 fail:
29735 return NULL;
29736 }
29737
29738
29739 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29740 PyObject *resultobj = 0;
29741 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29742 void *argp1 = 0 ;
29743 int res1 = 0 ;
29744 PyObject *swig_obj[1] ;
29745
29746 if (!args) SWIG_fail;
29747 swig_obj[0] = args;
29748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
29749 if (!SWIG_IsOK(res1)) {
29750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29751 }
29752 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29753 {
29754 PyThreadState* __tstate = wxPyBeginAllowThreads();
29755 delete arg1;
29756
29757 wxPyEndAllowThreads(__tstate);
29758 if (PyErr_Occurred()) SWIG_fail;
29759 }
29760 resultobj = SWIG_Py_Void();
29761 return resultobj;
29762 fail:
29763 return NULL;
29764 }
29765
29766
29767 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29768 PyObject *resultobj = 0;
29769 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29770 int result;
29771 void *argp1 = 0 ;
29772 int res1 = 0 ;
29773 PyObject *swig_obj[1] ;
29774
29775 if (!args) SWIG_fail;
29776 swig_obj[0] = args;
29777 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29778 if (!SWIG_IsOK(res1)) {
29779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29780 }
29781 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29782 {
29783 PyThreadState* __tstate = wxPyBeginAllowThreads();
29784 result = (int)(arg1)->ShowModal();
29785 wxPyEndAllowThreads(__tstate);
29786 if (PyErr_Occurred()) SWIG_fail;
29787 }
29788 resultobj = SWIG_From_int(static_cast< int >(result));
29789 return resultobj;
29790 fail:
29791 return NULL;
29792 }
29793
29794
29795 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29796 PyObject *resultobj = 0;
29797 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29798 wxPrintDialogData *result = 0 ;
29799 void *argp1 = 0 ;
29800 int res1 = 0 ;
29801 PyObject *swig_obj[1] ;
29802
29803 if (!args) SWIG_fail;
29804 swig_obj[0] = args;
29805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29806 if (!SWIG_IsOK(res1)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29808 }
29809 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29810 {
29811 PyThreadState* __tstate = wxPyBeginAllowThreads();
29812 {
29813 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29814 result = (wxPrintDialogData *) &_result_ref;
29815 }
29816 wxPyEndAllowThreads(__tstate);
29817 if (PyErr_Occurred()) SWIG_fail;
29818 }
29819 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29820 return resultobj;
29821 fail:
29822 return NULL;
29823 }
29824
29825
29826 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29827 PyObject *resultobj = 0;
29828 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29829 wxPrintData *result = 0 ;
29830 void *argp1 = 0 ;
29831 int res1 = 0 ;
29832 PyObject *swig_obj[1] ;
29833
29834 if (!args) SWIG_fail;
29835 swig_obj[0] = args;
29836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29837 if (!SWIG_IsOK(res1)) {
29838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29839 }
29840 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29841 {
29842 PyThreadState* __tstate = wxPyBeginAllowThreads();
29843 {
29844 wxPrintData &_result_ref = (arg1)->GetPrintData();
29845 result = (wxPrintData *) &_result_ref;
29846 }
29847 wxPyEndAllowThreads(__tstate);
29848 if (PyErr_Occurred()) SWIG_fail;
29849 }
29850 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
29851 return resultobj;
29852 fail:
29853 return NULL;
29854 }
29855
29856
29857 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29858 PyObject *resultobj = 0;
29859 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
29860 wxDC *result = 0 ;
29861 void *argp1 = 0 ;
29862 int res1 = 0 ;
29863 PyObject *swig_obj[1] ;
29864
29865 if (!args) SWIG_fail;
29866 swig_obj[0] = args;
29867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
29868 if (!SWIG_IsOK(res1)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
29870 }
29871 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
29872 {
29873 PyThreadState* __tstate = wxPyBeginAllowThreads();
29874 result = (wxDC *)(arg1)->GetPrintDC();
29875 wxPyEndAllowThreads(__tstate);
29876 if (PyErr_Occurred()) SWIG_fail;
29877 }
29878 {
29879 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
29880 }
29881 return resultobj;
29882 fail:
29883 return NULL;
29884 }
29885
29886
29887 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29888 PyObject *obj;
29889 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29890 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
29891 return SWIG_Py_Void();
29892 }
29893
29894 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29895 return SWIG_Python_InitShadowInstance(args);
29896 }
29897
29898 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29899 PyObject *resultobj = 0;
29900 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
29901 wxPrinter *result = 0 ;
29902 void *argp1 = 0 ;
29903 int res1 = 0 ;
29904 PyObject * obj0 = 0 ;
29905 char * kwnames[] = {
29906 (char *) "data", NULL
29907 };
29908
29909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
29910 if (obj0) {
29911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29912 if (!SWIG_IsOK(res1)) {
29913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
29914 }
29915 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
29916 }
29917 {
29918 if (!wxPyCheckForApp()) SWIG_fail;
29919 PyThreadState* __tstate = wxPyBeginAllowThreads();
29920 result = (wxPrinter *)new wxPrinter(arg1);
29921 wxPyEndAllowThreads(__tstate);
29922 if (PyErr_Occurred()) SWIG_fail;
29923 }
29924 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
29925 return resultobj;
29926 fail:
29927 return NULL;
29928 }
29929
29930
29931 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29932 PyObject *resultobj = 0;
29933 wxPrinter *arg1 = (wxPrinter *) 0 ;
29934 void *argp1 = 0 ;
29935 int res1 = 0 ;
29936 PyObject *swig_obj[1] ;
29937
29938 if (!args) SWIG_fail;
29939 swig_obj[0] = args;
29940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
29941 if (!SWIG_IsOK(res1)) {
29942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
29943 }
29944 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29945 {
29946 PyThreadState* __tstate = wxPyBeginAllowThreads();
29947 delete arg1;
29948
29949 wxPyEndAllowThreads(__tstate);
29950 if (PyErr_Occurred()) SWIG_fail;
29951 }
29952 resultobj = SWIG_Py_Void();
29953 return resultobj;
29954 fail:
29955 return NULL;
29956 }
29957
29958
29959 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29960 PyObject *resultobj = 0;
29961 wxPrinter *arg1 = (wxPrinter *) 0 ;
29962 wxWindow *arg2 = (wxWindow *) 0 ;
29963 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
29964 wxWindow *result = 0 ;
29965 void *argp1 = 0 ;
29966 int res1 = 0 ;
29967 void *argp2 = 0 ;
29968 int res2 = 0 ;
29969 void *argp3 = 0 ;
29970 int res3 = 0 ;
29971 PyObject * obj0 = 0 ;
29972 PyObject * obj1 = 0 ;
29973 PyObject * obj2 = 0 ;
29974 char * kwnames[] = {
29975 (char *) "self",(char *) "parent",(char *) "printout", NULL
29976 };
29977
29978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
29980 if (!SWIG_IsOK(res1)) {
29981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
29982 }
29983 arg1 = reinterpret_cast< wxPrinter * >(argp1);
29984 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29985 if (!SWIG_IsOK(res2)) {
29986 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
29987 }
29988 arg2 = reinterpret_cast< wxWindow * >(argp2);
29989 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29990 if (!SWIG_IsOK(res3)) {
29991 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
29992 }
29993 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
29997 wxPyEndAllowThreads(__tstate);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
30000 {
30001 resultobj = wxPyMake_wxObject(result, 0);
30002 }
30003 return resultobj;
30004 fail:
30005 return NULL;
30006 }
30007
30008
30009 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30010 PyObject *resultobj = 0;
30011 wxPrinter *arg1 = (wxPrinter *) 0 ;
30012 wxWindow *arg2 = (wxWindow *) 0 ;
30013 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
30014 wxString *arg4 = 0 ;
30015 void *argp1 = 0 ;
30016 int res1 = 0 ;
30017 void *argp2 = 0 ;
30018 int res2 = 0 ;
30019 void *argp3 = 0 ;
30020 int res3 = 0 ;
30021 bool temp4 = false ;
30022 PyObject * obj0 = 0 ;
30023 PyObject * obj1 = 0 ;
30024 PyObject * obj2 = 0 ;
30025 PyObject * obj3 = 0 ;
30026 char * kwnames[] = {
30027 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
30028 };
30029
30030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30032 if (!SWIG_IsOK(res1)) {
30033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
30034 }
30035 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30036 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
30037 if (!SWIG_IsOK(res2)) {
30038 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
30039 }
30040 arg2 = reinterpret_cast< wxWindow * >(argp2);
30041 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30042 if (!SWIG_IsOK(res3)) {
30043 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
30044 }
30045 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
30046 {
30047 arg4 = wxString_in_helper(obj3);
30048 if (arg4 == NULL) SWIG_fail;
30049 temp4 = true;
30050 }
30051 {
30052 PyThreadState* __tstate = wxPyBeginAllowThreads();
30053 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
30054 wxPyEndAllowThreads(__tstate);
30055 if (PyErr_Occurred()) SWIG_fail;
30056 }
30057 resultobj = SWIG_Py_Void();
30058 {
30059 if (temp4)
30060 delete arg4;
30061 }
30062 return resultobj;
30063 fail:
30064 {
30065 if (temp4)
30066 delete arg4;
30067 }
30068 return NULL;
30069 }
30070
30071
30072 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30073 PyObject *resultobj = 0;
30074 wxPrinter *arg1 = (wxPrinter *) 0 ;
30075 wxWindow *arg2 = (wxWindow *) 0 ;
30076 bool result;
30077 void *argp1 = 0 ;
30078 int res1 = 0 ;
30079 void *argp2 = 0 ;
30080 int res2 = 0 ;
30081 PyObject * obj0 = 0 ;
30082 PyObject * obj1 = 0 ;
30083 char * kwnames[] = {
30084 (char *) "self",(char *) "parent", NULL
30085 };
30086
30087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
30088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30089 if (!SWIG_IsOK(res1)) {
30090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
30091 }
30092 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30093 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
30094 if (!SWIG_IsOK(res2)) {
30095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
30096 }
30097 arg2 = reinterpret_cast< wxWindow * >(argp2);
30098 {
30099 PyThreadState* __tstate = wxPyBeginAllowThreads();
30100 result = (bool)(arg1)->Setup(arg2);
30101 wxPyEndAllowThreads(__tstate);
30102 if (PyErr_Occurred()) SWIG_fail;
30103 }
30104 {
30105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30106 }
30107 return resultobj;
30108 fail:
30109 return NULL;
30110 }
30111
30112
30113 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30114 PyObject *resultobj = 0;
30115 wxPrinter *arg1 = (wxPrinter *) 0 ;
30116 wxWindow *arg2 = (wxWindow *) 0 ;
30117 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
30118 bool arg4 = (bool) true ;
30119 bool result;
30120 void *argp1 = 0 ;
30121 int res1 = 0 ;
30122 void *argp2 = 0 ;
30123 int res2 = 0 ;
30124 void *argp3 = 0 ;
30125 int res3 = 0 ;
30126 bool val4 ;
30127 int ecode4 = 0 ;
30128 PyObject * obj0 = 0 ;
30129 PyObject * obj1 = 0 ;
30130 PyObject * obj2 = 0 ;
30131 PyObject * obj3 = 0 ;
30132 char * kwnames[] = {
30133 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
30134 };
30135
30136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
30137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30138 if (!SWIG_IsOK(res1)) {
30139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
30140 }
30141 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30142 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
30143 if (!SWIG_IsOK(res2)) {
30144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
30145 }
30146 arg2 = reinterpret_cast< wxWindow * >(argp2);
30147 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30148 if (!SWIG_IsOK(res3)) {
30149 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
30150 }
30151 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
30152 if (obj3) {
30153 ecode4 = SWIG_AsVal_bool(obj3, &val4);
30154 if (!SWIG_IsOK(ecode4)) {
30155 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
30156 }
30157 arg4 = static_cast< bool >(val4);
30158 }
30159 {
30160 PyThreadState* __tstate = wxPyBeginAllowThreads();
30161 result = (bool)(arg1)->Print(arg2,arg3,arg4);
30162 wxPyEndAllowThreads(__tstate);
30163 if (PyErr_Occurred()) SWIG_fail;
30164 }
30165 {
30166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30167 }
30168 return resultobj;
30169 fail:
30170 return NULL;
30171 }
30172
30173
30174 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30175 PyObject *resultobj = 0;
30176 wxPrinter *arg1 = (wxPrinter *) 0 ;
30177 wxWindow *arg2 = (wxWindow *) 0 ;
30178 wxDC *result = 0 ;
30179 void *argp1 = 0 ;
30180 int res1 = 0 ;
30181 void *argp2 = 0 ;
30182 int res2 = 0 ;
30183 PyObject * obj0 = 0 ;
30184 PyObject * obj1 = 0 ;
30185 char * kwnames[] = {
30186 (char *) "self",(char *) "parent", NULL
30187 };
30188
30189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
30190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30191 if (!SWIG_IsOK(res1)) {
30192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
30193 }
30194 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30195 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
30196 if (!SWIG_IsOK(res2)) {
30197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
30198 }
30199 arg2 = reinterpret_cast< wxWindow * >(argp2);
30200 {
30201 PyThreadState* __tstate = wxPyBeginAllowThreads();
30202 result = (wxDC *)(arg1)->PrintDialog(arg2);
30203 wxPyEndAllowThreads(__tstate);
30204 if (PyErr_Occurred()) SWIG_fail;
30205 }
30206 {
30207 resultobj = wxPyMake_wxObject(result, (bool)0);
30208 }
30209 return resultobj;
30210 fail:
30211 return NULL;
30212 }
30213
30214
30215 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30216 PyObject *resultobj = 0;
30217 wxPrinter *arg1 = (wxPrinter *) 0 ;
30218 wxPrintDialogData *result = 0 ;
30219 void *argp1 = 0 ;
30220 int res1 = 0 ;
30221 PyObject *swig_obj[1] ;
30222
30223 if (!args) SWIG_fail;
30224 swig_obj[0] = args;
30225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30226 if (!SWIG_IsOK(res1)) {
30227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
30228 }
30229 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30230 {
30231 PyThreadState* __tstate = wxPyBeginAllowThreads();
30232 {
30233 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
30234 result = (wxPrintDialogData *) &_result_ref;
30235 }
30236 wxPyEndAllowThreads(__tstate);
30237 if (PyErr_Occurred()) SWIG_fail;
30238 }
30239 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30240 return resultobj;
30241 fail:
30242 return NULL;
30243 }
30244
30245
30246 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30247 PyObject *resultobj = 0;
30248 wxPrinter *arg1 = (wxPrinter *) 0 ;
30249 bool result;
30250 void *argp1 = 0 ;
30251 int res1 = 0 ;
30252 PyObject *swig_obj[1] ;
30253
30254 if (!args) SWIG_fail;
30255 swig_obj[0] = args;
30256 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
30257 if (!SWIG_IsOK(res1)) {
30258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
30259 }
30260 arg1 = reinterpret_cast< wxPrinter * >(argp1);
30261 {
30262 PyThreadState* __tstate = wxPyBeginAllowThreads();
30263 result = (bool)(arg1)->GetAbort();
30264 wxPyEndAllowThreads(__tstate);
30265 if (PyErr_Occurred()) SWIG_fail;
30266 }
30267 {
30268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30269 }
30270 return resultobj;
30271 fail:
30272 return NULL;
30273 }
30274
30275
30276 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30277 PyObject *resultobj = 0;
30278 wxPrinterError result;
30279
30280 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
30281 {
30282 PyThreadState* __tstate = wxPyBeginAllowThreads();
30283 result = (wxPrinterError)wxPrinter::GetLastError();
30284 wxPyEndAllowThreads(__tstate);
30285 if (PyErr_Occurred()) SWIG_fail;
30286 }
30287 resultobj = SWIG_From_int(static_cast< int >(result));
30288 return resultobj;
30289 fail:
30290 return NULL;
30291 }
30292
30293
30294 SWIGINTERN PyObject *Printer_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_wxPrinter, SWIG_NewClientData(obj));
30298 return SWIG_Py_Void();
30299 }
30300
30301 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30302 return SWIG_Python_InitShadowInstance(args);
30303 }
30304
30305 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30306 PyObject *resultobj = 0;
30307 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
30308 wxString *arg1 = (wxString *) &arg1_defvalue ;
30309 wxPyPrintout *result = 0 ;
30310 bool temp1 = false ;
30311 PyObject * obj0 = 0 ;
30312 char * kwnames[] = {
30313 (char *) "title", NULL
30314 };
30315
30316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
30317 if (obj0) {
30318 {
30319 arg1 = wxString_in_helper(obj0);
30320 if (arg1 == NULL) SWIG_fail;
30321 temp1 = true;
30322 }
30323 }
30324 {
30325 if (!wxPyCheckForApp()) SWIG_fail;
30326 PyThreadState* __tstate = wxPyBeginAllowThreads();
30327 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
30328 wxPyEndAllowThreads(__tstate);
30329 if (PyErr_Occurred()) SWIG_fail;
30330 }
30331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
30332 {
30333 if (temp1)
30334 delete arg1;
30335 }
30336 return resultobj;
30337 fail:
30338 {
30339 if (temp1)
30340 delete arg1;
30341 }
30342 return NULL;
30343 }
30344
30345
30346 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30347 PyObject *resultobj = 0;
30348 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30349 void *argp1 = 0 ;
30350 int res1 = 0 ;
30351 PyObject *swig_obj[1] ;
30352
30353 if (!args) SWIG_fail;
30354 swig_obj[0] = args;
30355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30356 if (!SWIG_IsOK(res1)) {
30357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30358 }
30359 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30360 {
30361 PyThreadState* __tstate = wxPyBeginAllowThreads();
30362 delete arg1;
30363
30364 wxPyEndAllowThreads(__tstate);
30365 if (PyErr_Occurred()) SWIG_fail;
30366 }
30367 resultobj = SWIG_Py_Void();
30368 return resultobj;
30369 fail:
30370 return NULL;
30371 }
30372
30373
30374 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30375 PyObject *resultobj = 0;
30376 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30377 PyObject *arg2 = (PyObject *) 0 ;
30378 PyObject *arg3 = (PyObject *) 0 ;
30379 void *argp1 = 0 ;
30380 int res1 = 0 ;
30381 PyObject * obj0 = 0 ;
30382 PyObject * obj1 = 0 ;
30383 PyObject * obj2 = 0 ;
30384 char * kwnames[] = {
30385 (char *) "self",(char *) "self",(char *) "_class", NULL
30386 };
30387
30388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30390 if (!SWIG_IsOK(res1)) {
30391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30392 }
30393 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30394 arg2 = obj1;
30395 arg3 = obj2;
30396 {
30397 PyThreadState* __tstate = wxPyBeginAllowThreads();
30398 (arg1)->_setCallbackInfo(arg2,arg3);
30399 wxPyEndAllowThreads(__tstate);
30400 if (PyErr_Occurred()) SWIG_fail;
30401 }
30402 resultobj = SWIG_Py_Void();
30403 return resultobj;
30404 fail:
30405 return NULL;
30406 }
30407
30408
30409 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30410 PyObject *resultobj = 0;
30411 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30412 wxString result;
30413 void *argp1 = 0 ;
30414 int res1 = 0 ;
30415 PyObject *swig_obj[1] ;
30416
30417 if (!args) SWIG_fail;
30418 swig_obj[0] = args;
30419 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30420 if (!SWIG_IsOK(res1)) {
30421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30422 }
30423 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30424 {
30425 PyThreadState* __tstate = wxPyBeginAllowThreads();
30426 result = ((wxPyPrintout const *)arg1)->GetTitle();
30427 wxPyEndAllowThreads(__tstate);
30428 if (PyErr_Occurred()) SWIG_fail;
30429 }
30430 {
30431 #if wxUSE_UNICODE
30432 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30433 #else
30434 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30435 #endif
30436 }
30437 return resultobj;
30438 fail:
30439 return NULL;
30440 }
30441
30442
30443 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30444 PyObject *resultobj = 0;
30445 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30446 wxDC *result = 0 ;
30447 void *argp1 = 0 ;
30448 int res1 = 0 ;
30449 PyObject *swig_obj[1] ;
30450
30451 if (!args) SWIG_fail;
30452 swig_obj[0] = args;
30453 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30454 if (!SWIG_IsOK(res1)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30456 }
30457 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30458 {
30459 PyThreadState* __tstate = wxPyBeginAllowThreads();
30460 result = (wxDC *)(arg1)->GetDC();
30461 wxPyEndAllowThreads(__tstate);
30462 if (PyErr_Occurred()) SWIG_fail;
30463 }
30464 {
30465 resultobj = wxPyMake_wxObject(result, (bool)0);
30466 }
30467 return resultobj;
30468 fail:
30469 return NULL;
30470 }
30471
30472
30473 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30474 PyObject *resultobj = 0;
30475 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30476 wxDC *arg2 = (wxDC *) 0 ;
30477 void *argp1 = 0 ;
30478 int res1 = 0 ;
30479 void *argp2 = 0 ;
30480 int res2 = 0 ;
30481 PyObject * obj0 = 0 ;
30482 PyObject * obj1 = 0 ;
30483 char * kwnames[] = {
30484 (char *) "self",(char *) "dc", NULL
30485 };
30486
30487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
30488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30489 if (!SWIG_IsOK(res1)) {
30490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30491 }
30492 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30493 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
30494 if (!SWIG_IsOK(res2)) {
30495 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
30496 }
30497 arg2 = reinterpret_cast< wxDC * >(argp2);
30498 {
30499 PyThreadState* __tstate = wxPyBeginAllowThreads();
30500 (arg1)->SetDC(arg2);
30501 wxPyEndAllowThreads(__tstate);
30502 if (PyErr_Occurred()) SWIG_fail;
30503 }
30504 resultobj = SWIG_Py_Void();
30505 return resultobj;
30506 fail:
30507 return NULL;
30508 }
30509
30510
30511 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30512 PyObject *resultobj = 0;
30513 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30514 wxSize *arg2 = 0 ;
30515 void *argp1 = 0 ;
30516 int res1 = 0 ;
30517 wxSize temp2 ;
30518 PyObject * obj0 = 0 ;
30519 PyObject * obj1 = 0 ;
30520 char * kwnames[] = {
30521 (char *) "self",(char *) "imageSize", NULL
30522 };
30523
30524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
30525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30526 if (!SWIG_IsOK(res1)) {
30527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30528 }
30529 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30530 {
30531 arg2 = &temp2;
30532 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30533 }
30534 {
30535 PyThreadState* __tstate = wxPyBeginAllowThreads();
30536 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
30537 wxPyEndAllowThreads(__tstate);
30538 if (PyErr_Occurred()) SWIG_fail;
30539 }
30540 resultobj = SWIG_Py_Void();
30541 return resultobj;
30542 fail:
30543 return NULL;
30544 }
30545
30546
30547 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30548 PyObject *resultobj = 0;
30549 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30550 wxSize *arg2 = 0 ;
30551 void *argp1 = 0 ;
30552 int res1 = 0 ;
30553 wxSize temp2 ;
30554 PyObject * obj0 = 0 ;
30555 PyObject * obj1 = 0 ;
30556 char * kwnames[] = {
30557 (char *) "self",(char *) "imageSize", NULL
30558 };
30559
30560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
30561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30562 if (!SWIG_IsOK(res1)) {
30563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30564 }
30565 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30566 {
30567 arg2 = &temp2;
30568 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30569 }
30570 {
30571 PyThreadState* __tstate = wxPyBeginAllowThreads();
30572 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
30573 wxPyEndAllowThreads(__tstate);
30574 if (PyErr_Occurred()) SWIG_fail;
30575 }
30576 resultobj = SWIG_Py_Void();
30577 return resultobj;
30578 fail:
30579 return NULL;
30580 }
30581
30582
30583 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30584 PyObject *resultobj = 0;
30585 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30586 wxSize *arg2 = 0 ;
30587 wxPageSetupDialogData *arg3 = 0 ;
30588 void *argp1 = 0 ;
30589 int res1 = 0 ;
30590 wxSize temp2 ;
30591 void *argp3 = 0 ;
30592 int res3 = 0 ;
30593 PyObject * obj0 = 0 ;
30594 PyObject * obj1 = 0 ;
30595 PyObject * obj2 = 0 ;
30596 char * kwnames[] = {
30597 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
30598 };
30599
30600 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30601 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30602 if (!SWIG_IsOK(res1)) {
30603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30604 }
30605 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30606 {
30607 arg2 = &temp2;
30608 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
30609 }
30610 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30611 if (!SWIG_IsOK(res3)) {
30612 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30613 }
30614 if (!argp3) {
30615 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
30616 }
30617 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
30618 {
30619 PyThreadState* __tstate = wxPyBeginAllowThreads();
30620 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
30621 wxPyEndAllowThreads(__tstate);
30622 if (PyErr_Occurred()) SWIG_fail;
30623 }
30624 resultobj = SWIG_Py_Void();
30625 return resultobj;
30626 fail:
30627 return NULL;
30628 }
30629
30630
30631 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30632 PyObject *resultobj = 0;
30633 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30634 void *argp1 = 0 ;
30635 int res1 = 0 ;
30636 PyObject *swig_obj[1] ;
30637
30638 if (!args) SWIG_fail;
30639 swig_obj[0] = args;
30640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30641 if (!SWIG_IsOK(res1)) {
30642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30643 }
30644 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30645 {
30646 PyThreadState* __tstate = wxPyBeginAllowThreads();
30647 (arg1)->MapScreenSizeToPaper();
30648 wxPyEndAllowThreads(__tstate);
30649 if (PyErr_Occurred()) SWIG_fail;
30650 }
30651 resultobj = SWIG_Py_Void();
30652 return resultobj;
30653 fail:
30654 return NULL;
30655 }
30656
30657
30658 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30659 PyObject *resultobj = 0;
30660 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30661 void *argp1 = 0 ;
30662 int res1 = 0 ;
30663 PyObject *swig_obj[1] ;
30664
30665 if (!args) SWIG_fail;
30666 swig_obj[0] = args;
30667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30668 if (!SWIG_IsOK(res1)) {
30669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30670 }
30671 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30672 {
30673 PyThreadState* __tstate = wxPyBeginAllowThreads();
30674 (arg1)->MapScreenSizeToPage();
30675 wxPyEndAllowThreads(__tstate);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 }
30678 resultobj = SWIG_Py_Void();
30679 return resultobj;
30680 fail:
30681 return NULL;
30682 }
30683
30684
30685 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30686 PyObject *resultobj = 0;
30687 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30688 wxPageSetupDialogData *arg2 = 0 ;
30689 void *argp1 = 0 ;
30690 int res1 = 0 ;
30691 void *argp2 = 0 ;
30692 int res2 = 0 ;
30693 PyObject * obj0 = 0 ;
30694 PyObject * obj1 = 0 ;
30695 char * kwnames[] = {
30696 (char *) "self",(char *) "pageSetupData", NULL
30697 };
30698
30699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
30700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30701 if (!SWIG_IsOK(res1)) {
30702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30703 }
30704 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30705 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30706 if (!SWIG_IsOK(res2)) {
30707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30708 }
30709 if (!argp2) {
30710 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30711 }
30712 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
30713 {
30714 PyThreadState* __tstate = wxPyBeginAllowThreads();
30715 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
30716 wxPyEndAllowThreads(__tstate);
30717 if (PyErr_Occurred()) SWIG_fail;
30718 }
30719 resultobj = SWIG_Py_Void();
30720 return resultobj;
30721 fail:
30722 return NULL;
30723 }
30724
30725
30726 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30727 PyObject *resultobj = 0;
30728 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30729 void *argp1 = 0 ;
30730 int res1 = 0 ;
30731 PyObject *swig_obj[1] ;
30732
30733 if (!args) SWIG_fail;
30734 swig_obj[0] = args;
30735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30736 if (!SWIG_IsOK(res1)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30738 }
30739 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30740 {
30741 PyThreadState* __tstate = wxPyBeginAllowThreads();
30742 (arg1)->MapScreenSizeToDevice();
30743 wxPyEndAllowThreads(__tstate);
30744 if (PyErr_Occurred()) SWIG_fail;
30745 }
30746 resultobj = SWIG_Py_Void();
30747 return resultobj;
30748 fail:
30749 return NULL;
30750 }
30751
30752
30753 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30754 PyObject *resultobj = 0;
30755 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30756 wxRect result;
30757 void *argp1 = 0 ;
30758 int res1 = 0 ;
30759 PyObject *swig_obj[1] ;
30760
30761 if (!args) SWIG_fail;
30762 swig_obj[0] = args;
30763 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30764 if (!SWIG_IsOK(res1)) {
30765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30766 }
30767 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30768 {
30769 PyThreadState* __tstate = wxPyBeginAllowThreads();
30770 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
30771 wxPyEndAllowThreads(__tstate);
30772 if (PyErr_Occurred()) SWIG_fail;
30773 }
30774 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30775 return resultobj;
30776 fail:
30777 return NULL;
30778 }
30779
30780
30781 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30782 PyObject *resultobj = 0;
30783 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30784 wxRect result;
30785 void *argp1 = 0 ;
30786 int res1 = 0 ;
30787 PyObject *swig_obj[1] ;
30788
30789 if (!args) SWIG_fail;
30790 swig_obj[0] = args;
30791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30792 if (!SWIG_IsOK(res1)) {
30793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30794 }
30795 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30796 {
30797 PyThreadState* __tstate = wxPyBeginAllowThreads();
30798 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
30799 wxPyEndAllowThreads(__tstate);
30800 if (PyErr_Occurred()) SWIG_fail;
30801 }
30802 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30803 return resultobj;
30804 fail:
30805 return NULL;
30806 }
30807
30808
30809 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30810 PyObject *resultobj = 0;
30811 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30812 wxPageSetupDialogData *arg2 = 0 ;
30813 wxRect result;
30814 void *argp1 = 0 ;
30815 int res1 = 0 ;
30816 void *argp2 = 0 ;
30817 int res2 = 0 ;
30818 PyObject * obj0 = 0 ;
30819 PyObject * obj1 = 0 ;
30820 char * kwnames[] = {
30821 (char *) "self",(char *) "pageSetupData", NULL
30822 };
30823
30824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
30825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30826 if (!SWIG_IsOK(res1)) {
30827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
30828 }
30829 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30830 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
30831 if (!SWIG_IsOK(res2)) {
30832 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30833 }
30834 if (!argp2) {
30835 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
30836 }
30837 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
30838 {
30839 PyThreadState* __tstate = wxPyBeginAllowThreads();
30840 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
30841 wxPyEndAllowThreads(__tstate);
30842 if (PyErr_Occurred()) SWIG_fail;
30843 }
30844 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
30845 return resultobj;
30846 fail:
30847 return NULL;
30848 }
30849
30850
30851 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30852 PyObject *resultobj = 0;
30853 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30854 int arg2 ;
30855 int arg3 ;
30856 void *argp1 = 0 ;
30857 int res1 = 0 ;
30858 int val2 ;
30859 int ecode2 = 0 ;
30860 int val3 ;
30861 int ecode3 = 0 ;
30862 PyObject * obj0 = 0 ;
30863 PyObject * obj1 = 0 ;
30864 PyObject * obj2 = 0 ;
30865 char * kwnames[] = {
30866 (char *) "self",(char *) "x",(char *) "y", NULL
30867 };
30868
30869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30871 if (!SWIG_IsOK(res1)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30873 }
30874 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30875 ecode2 = SWIG_AsVal_int(obj1, &val2);
30876 if (!SWIG_IsOK(ecode2)) {
30877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30878 }
30879 arg2 = static_cast< int >(val2);
30880 ecode3 = SWIG_AsVal_int(obj2, &val3);
30881 if (!SWIG_IsOK(ecode3)) {
30882 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30883 }
30884 arg3 = static_cast< int >(val3);
30885 {
30886 PyThreadState* __tstate = wxPyBeginAllowThreads();
30887 (arg1)->SetLogicalOrigin(arg2,arg3);
30888 wxPyEndAllowThreads(__tstate);
30889 if (PyErr_Occurred()) SWIG_fail;
30890 }
30891 resultobj = SWIG_Py_Void();
30892 return resultobj;
30893 fail:
30894 return NULL;
30895 }
30896
30897
30898 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30899 PyObject *resultobj = 0;
30900 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30901 int arg2 ;
30902 int arg3 ;
30903 void *argp1 = 0 ;
30904 int res1 = 0 ;
30905 int val2 ;
30906 int ecode2 = 0 ;
30907 int val3 ;
30908 int ecode3 = 0 ;
30909 PyObject * obj0 = 0 ;
30910 PyObject * obj1 = 0 ;
30911 PyObject * obj2 = 0 ;
30912 char * kwnames[] = {
30913 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
30914 };
30915
30916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30918 if (!SWIG_IsOK(res1)) {
30919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30920 }
30921 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30922 ecode2 = SWIG_AsVal_int(obj1, &val2);
30923 if (!SWIG_IsOK(ecode2)) {
30924 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
30925 }
30926 arg2 = static_cast< int >(val2);
30927 ecode3 = SWIG_AsVal_int(obj2, &val3);
30928 if (!SWIG_IsOK(ecode3)) {
30929 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
30930 }
30931 arg3 = static_cast< int >(val3);
30932 {
30933 PyThreadState* __tstate = wxPyBeginAllowThreads();
30934 (arg1)->OffsetLogicalOrigin(arg2,arg3);
30935 wxPyEndAllowThreads(__tstate);
30936 if (PyErr_Occurred()) SWIG_fail;
30937 }
30938 resultobj = SWIG_Py_Void();
30939 return resultobj;
30940 fail:
30941 return NULL;
30942 }
30943
30944
30945 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30946 PyObject *resultobj = 0;
30947 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30948 int arg2 ;
30949 int arg3 ;
30950 void *argp1 = 0 ;
30951 int res1 = 0 ;
30952 int val2 ;
30953 int ecode2 = 0 ;
30954 int val3 ;
30955 int ecode3 = 0 ;
30956 PyObject * obj0 = 0 ;
30957 PyObject * obj1 = 0 ;
30958 PyObject * obj2 = 0 ;
30959 char * kwnames[] = {
30960 (char *) "self",(char *) "w",(char *) "h", NULL
30961 };
30962
30963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
30965 if (!SWIG_IsOK(res1)) {
30966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30967 }
30968 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
30969 ecode2 = SWIG_AsVal_int(obj1, &val2);
30970 if (!SWIG_IsOK(ecode2)) {
30971 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
30972 }
30973 arg2 = static_cast< int >(val2);
30974 ecode3 = SWIG_AsVal_int(obj2, &val3);
30975 if (!SWIG_IsOK(ecode3)) {
30976 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
30977 }
30978 arg3 = static_cast< int >(val3);
30979 {
30980 PyThreadState* __tstate = wxPyBeginAllowThreads();
30981 (arg1)->SetPageSizePixels(arg2,arg3);
30982 wxPyEndAllowThreads(__tstate);
30983 if (PyErr_Occurred()) SWIG_fail;
30984 }
30985 resultobj = SWIG_Py_Void();
30986 return resultobj;
30987 fail:
30988 return NULL;
30989 }
30990
30991
30992 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30993 PyObject *resultobj = 0;
30994 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30995 int *arg2 = (int *) 0 ;
30996 int *arg3 = (int *) 0 ;
30997 void *argp1 = 0 ;
30998 int res1 = 0 ;
30999 int temp2 ;
31000 int res2 = SWIG_TMPOBJ ;
31001 int temp3 ;
31002 int res3 = SWIG_TMPOBJ ;
31003 PyObject *swig_obj[1] ;
31004
31005 arg2 = &temp2;
31006 arg3 = &temp3;
31007 if (!args) SWIG_fail;
31008 swig_obj[0] = args;
31009 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31010 if (!SWIG_IsOK(res1)) {
31011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31012 }
31013 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31014 {
31015 PyThreadState* __tstate = wxPyBeginAllowThreads();
31016 (arg1)->GetPageSizePixels(arg2,arg3);
31017 wxPyEndAllowThreads(__tstate);
31018 if (PyErr_Occurred()) SWIG_fail;
31019 }
31020 resultobj = SWIG_Py_Void();
31021 if (SWIG_IsTmpObj(res2)) {
31022 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31023 } else {
31024 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31025 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31026 }
31027 if (SWIG_IsTmpObj(res3)) {
31028 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31029 } else {
31030 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31031 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31032 }
31033 return resultobj;
31034 fail:
31035 return NULL;
31036 }
31037
31038
31039 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31040 PyObject *resultobj = 0;
31041 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31042 int arg2 ;
31043 int arg3 ;
31044 void *argp1 = 0 ;
31045 int res1 = 0 ;
31046 int val2 ;
31047 int ecode2 = 0 ;
31048 int val3 ;
31049 int ecode3 = 0 ;
31050 PyObject * obj0 = 0 ;
31051 PyObject * obj1 = 0 ;
31052 PyObject * obj2 = 0 ;
31053 char * kwnames[] = {
31054 (char *) "self",(char *) "w",(char *) "h", NULL
31055 };
31056
31057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31059 if (!SWIG_IsOK(res1)) {
31060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31061 }
31062 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31063 ecode2 = SWIG_AsVal_int(obj1, &val2);
31064 if (!SWIG_IsOK(ecode2)) {
31065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
31066 }
31067 arg2 = static_cast< int >(val2);
31068 ecode3 = SWIG_AsVal_int(obj2, &val3);
31069 if (!SWIG_IsOK(ecode3)) {
31070 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
31071 }
31072 arg3 = static_cast< int >(val3);
31073 {
31074 PyThreadState* __tstate = wxPyBeginAllowThreads();
31075 (arg1)->SetPageSizeMM(arg2,arg3);
31076 wxPyEndAllowThreads(__tstate);
31077 if (PyErr_Occurred()) SWIG_fail;
31078 }
31079 resultobj = SWIG_Py_Void();
31080 return resultobj;
31081 fail:
31082 return NULL;
31083 }
31084
31085
31086 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31087 PyObject *resultobj = 0;
31088 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31089 int *arg2 = (int *) 0 ;
31090 int *arg3 = (int *) 0 ;
31091 void *argp1 = 0 ;
31092 int res1 = 0 ;
31093 int temp2 ;
31094 int res2 = SWIG_TMPOBJ ;
31095 int temp3 ;
31096 int res3 = SWIG_TMPOBJ ;
31097 PyObject *swig_obj[1] ;
31098
31099 arg2 = &temp2;
31100 arg3 = &temp3;
31101 if (!args) SWIG_fail;
31102 swig_obj[0] = args;
31103 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31104 if (!SWIG_IsOK(res1)) {
31105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31106 }
31107 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31108 {
31109 PyThreadState* __tstate = wxPyBeginAllowThreads();
31110 (arg1)->GetPageSizeMM(arg2,arg3);
31111 wxPyEndAllowThreads(__tstate);
31112 if (PyErr_Occurred()) SWIG_fail;
31113 }
31114 resultobj = SWIG_Py_Void();
31115 if (SWIG_IsTmpObj(res2)) {
31116 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31117 } else {
31118 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31119 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31120 }
31121 if (SWIG_IsTmpObj(res3)) {
31122 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31123 } else {
31124 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31125 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31126 }
31127 return resultobj;
31128 fail:
31129 return NULL;
31130 }
31131
31132
31133 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31134 PyObject *resultobj = 0;
31135 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31136 int arg2 ;
31137 int arg3 ;
31138 void *argp1 = 0 ;
31139 int res1 = 0 ;
31140 int val2 ;
31141 int ecode2 = 0 ;
31142 int val3 ;
31143 int ecode3 = 0 ;
31144 PyObject * obj0 = 0 ;
31145 PyObject * obj1 = 0 ;
31146 PyObject * obj2 = 0 ;
31147 char * kwnames[] = {
31148 (char *) "self",(char *) "x",(char *) "y", NULL
31149 };
31150
31151 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31152 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31153 if (!SWIG_IsOK(res1)) {
31154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31155 }
31156 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31157 ecode2 = SWIG_AsVal_int(obj1, &val2);
31158 if (!SWIG_IsOK(ecode2)) {
31159 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
31160 }
31161 arg2 = static_cast< int >(val2);
31162 ecode3 = SWIG_AsVal_int(obj2, &val3);
31163 if (!SWIG_IsOK(ecode3)) {
31164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
31165 }
31166 arg3 = static_cast< int >(val3);
31167 {
31168 PyThreadState* __tstate = wxPyBeginAllowThreads();
31169 (arg1)->SetPPIScreen(arg2,arg3);
31170 wxPyEndAllowThreads(__tstate);
31171 if (PyErr_Occurred()) SWIG_fail;
31172 }
31173 resultobj = SWIG_Py_Void();
31174 return resultobj;
31175 fail:
31176 return NULL;
31177 }
31178
31179
31180 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31181 PyObject *resultobj = 0;
31182 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31183 int *arg2 = (int *) 0 ;
31184 int *arg3 = (int *) 0 ;
31185 void *argp1 = 0 ;
31186 int res1 = 0 ;
31187 int temp2 ;
31188 int res2 = SWIG_TMPOBJ ;
31189 int temp3 ;
31190 int res3 = SWIG_TMPOBJ ;
31191 PyObject *swig_obj[1] ;
31192
31193 arg2 = &temp2;
31194 arg3 = &temp3;
31195 if (!args) SWIG_fail;
31196 swig_obj[0] = args;
31197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31198 if (!SWIG_IsOK(res1)) {
31199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31200 }
31201 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31202 {
31203 PyThreadState* __tstate = wxPyBeginAllowThreads();
31204 (arg1)->GetPPIScreen(arg2,arg3);
31205 wxPyEndAllowThreads(__tstate);
31206 if (PyErr_Occurred()) SWIG_fail;
31207 }
31208 resultobj = SWIG_Py_Void();
31209 if (SWIG_IsTmpObj(res2)) {
31210 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31211 } else {
31212 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31213 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31214 }
31215 if (SWIG_IsTmpObj(res3)) {
31216 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31217 } else {
31218 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31219 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31220 }
31221 return resultobj;
31222 fail:
31223 return NULL;
31224 }
31225
31226
31227 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31228 PyObject *resultobj = 0;
31229 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31230 int arg2 ;
31231 int arg3 ;
31232 void *argp1 = 0 ;
31233 int res1 = 0 ;
31234 int val2 ;
31235 int ecode2 = 0 ;
31236 int val3 ;
31237 int ecode3 = 0 ;
31238 PyObject * obj0 = 0 ;
31239 PyObject * obj1 = 0 ;
31240 PyObject * obj2 = 0 ;
31241 char * kwnames[] = {
31242 (char *) "self",(char *) "x",(char *) "y", NULL
31243 };
31244
31245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31247 if (!SWIG_IsOK(res1)) {
31248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31249 }
31250 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31251 ecode2 = SWIG_AsVal_int(obj1, &val2);
31252 if (!SWIG_IsOK(ecode2)) {
31253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
31254 }
31255 arg2 = static_cast< int >(val2);
31256 ecode3 = SWIG_AsVal_int(obj2, &val3);
31257 if (!SWIG_IsOK(ecode3)) {
31258 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
31259 }
31260 arg3 = static_cast< int >(val3);
31261 {
31262 PyThreadState* __tstate = wxPyBeginAllowThreads();
31263 (arg1)->SetPPIPrinter(arg2,arg3);
31264 wxPyEndAllowThreads(__tstate);
31265 if (PyErr_Occurred()) SWIG_fail;
31266 }
31267 resultobj = SWIG_Py_Void();
31268 return resultobj;
31269 fail:
31270 return NULL;
31271 }
31272
31273
31274 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31275 PyObject *resultobj = 0;
31276 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31277 int *arg2 = (int *) 0 ;
31278 int *arg3 = (int *) 0 ;
31279 void *argp1 = 0 ;
31280 int res1 = 0 ;
31281 int temp2 ;
31282 int res2 = SWIG_TMPOBJ ;
31283 int temp3 ;
31284 int res3 = SWIG_TMPOBJ ;
31285 PyObject *swig_obj[1] ;
31286
31287 arg2 = &temp2;
31288 arg3 = &temp3;
31289 if (!args) SWIG_fail;
31290 swig_obj[0] = args;
31291 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31292 if (!SWIG_IsOK(res1)) {
31293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31294 }
31295 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31296 {
31297 PyThreadState* __tstate = wxPyBeginAllowThreads();
31298 (arg1)->GetPPIPrinter(arg2,arg3);
31299 wxPyEndAllowThreads(__tstate);
31300 if (PyErr_Occurred()) SWIG_fail;
31301 }
31302 resultobj = SWIG_Py_Void();
31303 if (SWIG_IsTmpObj(res2)) {
31304 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31305 } else {
31306 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31307 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31308 }
31309 if (SWIG_IsTmpObj(res3)) {
31310 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31311 } else {
31312 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31313 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31314 }
31315 return resultobj;
31316 fail:
31317 return NULL;
31318 }
31319
31320
31321 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31322 PyObject *resultobj = 0;
31323 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31324 wxRect *arg2 = 0 ;
31325 void *argp1 = 0 ;
31326 int res1 = 0 ;
31327 wxRect temp2 ;
31328 PyObject * obj0 = 0 ;
31329 PyObject * obj1 = 0 ;
31330 char * kwnames[] = {
31331 (char *) "self",(char *) "paperRectPixels", NULL
31332 };
31333
31334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
31335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31336 if (!SWIG_IsOK(res1)) {
31337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31338 }
31339 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31340 {
31341 arg2 = &temp2;
31342 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
31343 }
31344 {
31345 PyThreadState* __tstate = wxPyBeginAllowThreads();
31346 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
31347 wxPyEndAllowThreads(__tstate);
31348 if (PyErr_Occurred()) SWIG_fail;
31349 }
31350 resultobj = SWIG_Py_Void();
31351 return resultobj;
31352 fail:
31353 return NULL;
31354 }
31355
31356
31357 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31358 PyObject *resultobj = 0;
31359 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31360 wxRect result;
31361 void *argp1 = 0 ;
31362 int res1 = 0 ;
31363 PyObject *swig_obj[1] ;
31364
31365 if (!args) SWIG_fail;
31366 swig_obj[0] = args;
31367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31368 if (!SWIG_IsOK(res1)) {
31369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
31370 }
31371 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31372 {
31373 PyThreadState* __tstate = wxPyBeginAllowThreads();
31374 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
31375 wxPyEndAllowThreads(__tstate);
31376 if (PyErr_Occurred()) SWIG_fail;
31377 }
31378 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
31379 return resultobj;
31380 fail:
31381 return NULL;
31382 }
31383
31384
31385 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31386 PyObject *resultobj = 0;
31387 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31388 bool result;
31389 void *argp1 = 0 ;
31390 int res1 = 0 ;
31391 PyObject *swig_obj[1] ;
31392
31393 if (!args) SWIG_fail;
31394 swig_obj[0] = args;
31395 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31396 if (!SWIG_IsOK(res1)) {
31397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31398 }
31399 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31400 {
31401 PyThreadState* __tstate = wxPyBeginAllowThreads();
31402 result = (bool)(arg1)->IsPreview();
31403 wxPyEndAllowThreads(__tstate);
31404 if (PyErr_Occurred()) SWIG_fail;
31405 }
31406 {
31407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31408 }
31409 return resultobj;
31410 fail:
31411 return NULL;
31412 }
31413
31414
31415 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31416 PyObject *resultobj = 0;
31417 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31418 bool arg2 ;
31419 void *argp1 = 0 ;
31420 int res1 = 0 ;
31421 bool val2 ;
31422 int ecode2 = 0 ;
31423 PyObject * obj0 = 0 ;
31424 PyObject * obj1 = 0 ;
31425 char * kwnames[] = {
31426 (char *) "self",(char *) "p", NULL
31427 };
31428
31429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31431 if (!SWIG_IsOK(res1)) {
31432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31433 }
31434 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31435 ecode2 = SWIG_AsVal_bool(obj1, &val2);
31436 if (!SWIG_IsOK(ecode2)) {
31437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
31438 }
31439 arg2 = static_cast< bool >(val2);
31440 {
31441 PyThreadState* __tstate = wxPyBeginAllowThreads();
31442 (arg1)->SetIsPreview(arg2);
31443 wxPyEndAllowThreads(__tstate);
31444 if (PyErr_Occurred()) SWIG_fail;
31445 }
31446 resultobj = SWIG_Py_Void();
31447 return resultobj;
31448 fail:
31449 return NULL;
31450 }
31451
31452
31453 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31454 PyObject *resultobj = 0;
31455 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31456 int arg2 ;
31457 int arg3 ;
31458 bool result;
31459 void *argp1 = 0 ;
31460 int res1 = 0 ;
31461 int val2 ;
31462 int ecode2 = 0 ;
31463 int val3 ;
31464 int ecode3 = 0 ;
31465 PyObject * obj0 = 0 ;
31466 PyObject * obj1 = 0 ;
31467 PyObject * obj2 = 0 ;
31468 char * kwnames[] = {
31469 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
31470 };
31471
31472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31474 if (!SWIG_IsOK(res1)) {
31475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31476 }
31477 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31478 ecode2 = SWIG_AsVal_int(obj1, &val2);
31479 if (!SWIG_IsOK(ecode2)) {
31480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
31481 }
31482 arg2 = static_cast< int >(val2);
31483 ecode3 = SWIG_AsVal_int(obj2, &val3);
31484 if (!SWIG_IsOK(ecode3)) {
31485 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
31486 }
31487 arg3 = static_cast< int >(val3);
31488 {
31489 PyThreadState* __tstate = wxPyBeginAllowThreads();
31490 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
31491 wxPyEndAllowThreads(__tstate);
31492 if (PyErr_Occurred()) SWIG_fail;
31493 }
31494 {
31495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31496 }
31497 return resultobj;
31498 fail:
31499 return NULL;
31500 }
31501
31502
31503 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31504 PyObject *resultobj = 0;
31505 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31506 void *argp1 = 0 ;
31507 int res1 = 0 ;
31508 PyObject *swig_obj[1] ;
31509
31510 if (!args) SWIG_fail;
31511 swig_obj[0] = args;
31512 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31513 if (!SWIG_IsOK(res1)) {
31514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31515 }
31516 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31517 {
31518 PyThreadState* __tstate = wxPyBeginAllowThreads();
31519 (arg1)->OnEndDocument();
31520 wxPyEndAllowThreads(__tstate);
31521 if (PyErr_Occurred()) SWIG_fail;
31522 }
31523 resultobj = SWIG_Py_Void();
31524 return resultobj;
31525 fail:
31526 return NULL;
31527 }
31528
31529
31530 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31531 PyObject *resultobj = 0;
31532 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31533 void *argp1 = 0 ;
31534 int res1 = 0 ;
31535 PyObject *swig_obj[1] ;
31536
31537 if (!args) SWIG_fail;
31538 swig_obj[0] = args;
31539 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31540 if (!SWIG_IsOK(res1)) {
31541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31542 }
31543 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31544 {
31545 PyThreadState* __tstate = wxPyBeginAllowThreads();
31546 (arg1)->OnBeginPrinting();
31547 wxPyEndAllowThreads(__tstate);
31548 if (PyErr_Occurred()) SWIG_fail;
31549 }
31550 resultobj = SWIG_Py_Void();
31551 return resultobj;
31552 fail:
31553 return NULL;
31554 }
31555
31556
31557 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31558 PyObject *resultobj = 0;
31559 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31560 void *argp1 = 0 ;
31561 int res1 = 0 ;
31562 PyObject *swig_obj[1] ;
31563
31564 if (!args) SWIG_fail;
31565 swig_obj[0] = args;
31566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31567 if (!SWIG_IsOK(res1)) {
31568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31569 }
31570 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31571 {
31572 PyThreadState* __tstate = wxPyBeginAllowThreads();
31573 (arg1)->OnEndPrinting();
31574 wxPyEndAllowThreads(__tstate);
31575 if (PyErr_Occurred()) SWIG_fail;
31576 }
31577 resultobj = SWIG_Py_Void();
31578 return resultobj;
31579 fail:
31580 return NULL;
31581 }
31582
31583
31584 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31585 PyObject *resultobj = 0;
31586 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31587 void *argp1 = 0 ;
31588 int res1 = 0 ;
31589 PyObject *swig_obj[1] ;
31590
31591 if (!args) SWIG_fail;
31592 swig_obj[0] = args;
31593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31594 if (!SWIG_IsOK(res1)) {
31595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31596 }
31597 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31598 {
31599 PyThreadState* __tstate = wxPyBeginAllowThreads();
31600 (arg1)->OnPreparePrinting();
31601 wxPyEndAllowThreads(__tstate);
31602 if (PyErr_Occurred()) SWIG_fail;
31603 }
31604 resultobj = SWIG_Py_Void();
31605 return resultobj;
31606 fail:
31607 return NULL;
31608 }
31609
31610
31611 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31612 PyObject *resultobj = 0;
31613 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31614 int arg2 ;
31615 bool result;
31616 void *argp1 = 0 ;
31617 int res1 = 0 ;
31618 int val2 ;
31619 int ecode2 = 0 ;
31620 PyObject * obj0 = 0 ;
31621 PyObject * obj1 = 0 ;
31622 char * kwnames[] = {
31623 (char *) "self",(char *) "page", NULL
31624 };
31625
31626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
31627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31628 if (!SWIG_IsOK(res1)) {
31629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31630 }
31631 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31632 ecode2 = SWIG_AsVal_int(obj1, &val2);
31633 if (!SWIG_IsOK(ecode2)) {
31634 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
31635 }
31636 arg2 = static_cast< int >(val2);
31637 {
31638 PyThreadState* __tstate = wxPyBeginAllowThreads();
31639 result = (bool)(arg1)->HasPage(arg2);
31640 wxPyEndAllowThreads(__tstate);
31641 if (PyErr_Occurred()) SWIG_fail;
31642 }
31643 {
31644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31645 }
31646 return resultobj;
31647 fail:
31648 return NULL;
31649 }
31650
31651
31652 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31653 PyObject *resultobj = 0;
31654 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31655 int *arg2 = (int *) 0 ;
31656 int *arg3 = (int *) 0 ;
31657 int *arg4 = (int *) 0 ;
31658 int *arg5 = (int *) 0 ;
31659 void *argp1 = 0 ;
31660 int res1 = 0 ;
31661 int temp2 ;
31662 int res2 = SWIG_TMPOBJ ;
31663 int temp3 ;
31664 int res3 = SWIG_TMPOBJ ;
31665 int temp4 ;
31666 int res4 = SWIG_TMPOBJ ;
31667 int temp5 ;
31668 int res5 = SWIG_TMPOBJ ;
31669 PyObject *swig_obj[1] ;
31670
31671 arg2 = &temp2;
31672 arg3 = &temp3;
31673 arg4 = &temp4;
31674 arg5 = &temp5;
31675 if (!args) SWIG_fail;
31676 swig_obj[0] = args;
31677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
31678 if (!SWIG_IsOK(res1)) {
31679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31680 }
31681 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
31682 {
31683 PyThreadState* __tstate = wxPyBeginAllowThreads();
31684 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
31685 wxPyEndAllowThreads(__tstate);
31686 if (PyErr_Occurred()) SWIG_fail;
31687 }
31688 resultobj = SWIG_Py_Void();
31689 if (SWIG_IsTmpObj(res2)) {
31690 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
31691 } else {
31692 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31693 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
31694 }
31695 if (SWIG_IsTmpObj(res3)) {
31696 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
31697 } else {
31698 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31699 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
31700 }
31701 if (SWIG_IsTmpObj(res4)) {
31702 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
31703 } else {
31704 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31705 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
31706 }
31707 if (SWIG_IsTmpObj(res5)) {
31708 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
31709 } else {
31710 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
31711 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
31712 }
31713 return resultobj;
31714 fail:
31715 return NULL;
31716 }
31717
31718
31719 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31720 PyObject *obj;
31721 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31722 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
31723 return SWIG_Py_Void();
31724 }
31725
31726 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31727 return SWIG_Python_InitShadowInstance(args);
31728 }
31729
31730 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31731 PyObject *resultobj = 0;
31732 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31733 wxWindow *arg2 = (wxWindow *) 0 ;
31734 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31735 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31736 wxSize const &arg4_defvalue = wxDefaultSize ;
31737 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31738 long arg5 = (long) 0 ;
31739 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
31740 wxString *arg6 = (wxString *) &arg6_defvalue ;
31741 wxPreviewCanvas *result = 0 ;
31742 void *argp1 = 0 ;
31743 int res1 = 0 ;
31744 void *argp2 = 0 ;
31745 int res2 = 0 ;
31746 wxPoint temp3 ;
31747 wxSize temp4 ;
31748 long val5 ;
31749 int ecode5 = 0 ;
31750 bool temp6 = false ;
31751 PyObject * obj0 = 0 ;
31752 PyObject * obj1 = 0 ;
31753 PyObject * obj2 = 0 ;
31754 PyObject * obj3 = 0 ;
31755 PyObject * obj4 = 0 ;
31756 PyObject * obj5 = 0 ;
31757 char * kwnames[] = {
31758 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31759 };
31760
31761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
31762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31763 if (!SWIG_IsOK(res1)) {
31764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31765 }
31766 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31767 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
31768 if (!SWIG_IsOK(res2)) {
31769 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
31770 }
31771 arg2 = reinterpret_cast< wxWindow * >(argp2);
31772 if (obj2) {
31773 {
31774 arg3 = &temp3;
31775 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31776 }
31777 }
31778 if (obj3) {
31779 {
31780 arg4 = &temp4;
31781 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31782 }
31783 }
31784 if (obj4) {
31785 ecode5 = SWIG_AsVal_long(obj4, &val5);
31786 if (!SWIG_IsOK(ecode5)) {
31787 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
31788 }
31789 arg5 = static_cast< long >(val5);
31790 }
31791 if (obj5) {
31792 {
31793 arg6 = wxString_in_helper(obj5);
31794 if (arg6 == NULL) SWIG_fail;
31795 temp6 = true;
31796 }
31797 }
31798 {
31799 if (!wxPyCheckForApp()) SWIG_fail;
31800 PyThreadState* __tstate = wxPyBeginAllowThreads();
31801 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
31802 wxPyEndAllowThreads(__tstate);
31803 if (PyErr_Occurred()) SWIG_fail;
31804 }
31805 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
31806 {
31807 if (temp6)
31808 delete arg6;
31809 }
31810 return resultobj;
31811 fail:
31812 {
31813 if (temp6)
31814 delete arg6;
31815 }
31816 return NULL;
31817 }
31818
31819
31820 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31821 PyObject *obj;
31822 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31823 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
31824 return SWIG_Py_Void();
31825 }
31826
31827 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31828 return SWIG_Python_InitShadowInstance(args);
31829 }
31830
31831 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31832 PyObject *resultobj = 0;
31833 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31834 wxFrame *arg2 = (wxFrame *) 0 ;
31835 wxString *arg3 = 0 ;
31836 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31837 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31838 wxSize const &arg5_defvalue = wxDefaultSize ;
31839 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31840 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31841 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31842 wxString *arg7 = (wxString *) &arg7_defvalue ;
31843 wxPreviewFrame *result = 0 ;
31844 int res1 = 0 ;
31845 void *argp2 = 0 ;
31846 int res2 = 0 ;
31847 bool temp3 = false ;
31848 wxPoint temp4 ;
31849 wxSize temp5 ;
31850 long val6 ;
31851 int ecode6 = 0 ;
31852 bool temp7 = false ;
31853 PyObject * obj0 = 0 ;
31854 PyObject * obj1 = 0 ;
31855 PyObject * obj2 = 0 ;
31856 PyObject * obj3 = 0 ;
31857 PyObject * obj4 = 0 ;
31858 PyObject * obj5 = 0 ;
31859 PyObject * obj6 = 0 ;
31860 char * kwnames[] = {
31861 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31862 };
31863
31864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31865 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31866 if (!SWIG_IsOK(res1)) {
31867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31868 }
31869 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31870 if (!SWIG_IsOK(res2)) {
31871 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31872 }
31873 arg2 = reinterpret_cast< wxFrame * >(argp2);
31874 {
31875 arg3 = wxString_in_helper(obj2);
31876 if (arg3 == NULL) SWIG_fail;
31877 temp3 = true;
31878 }
31879 if (obj3) {
31880 {
31881 arg4 = &temp4;
31882 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31883 }
31884 }
31885 if (obj4) {
31886 {
31887 arg5 = &temp5;
31888 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31889 }
31890 }
31891 if (obj5) {
31892 ecode6 = SWIG_AsVal_long(obj5, &val6);
31893 if (!SWIG_IsOK(ecode6)) {
31894 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
31895 }
31896 arg6 = static_cast< long >(val6);
31897 }
31898 if (obj6) {
31899 {
31900 arg7 = wxString_in_helper(obj6);
31901 if (arg7 == NULL) SWIG_fail;
31902 temp7 = true;
31903 }
31904 }
31905 {
31906 if (!wxPyCheckForApp()) SWIG_fail;
31907 PyThreadState* __tstate = wxPyBeginAllowThreads();
31908 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31909 wxPyEndAllowThreads(__tstate);
31910 if (PyErr_Occurred()) SWIG_fail;
31911 }
31912 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
31913 {
31914 if (temp3)
31915 delete arg3;
31916 }
31917 {
31918 if (temp7)
31919 delete arg7;
31920 }
31921 return resultobj;
31922 fail:
31923 {
31924 if (temp3)
31925 delete arg3;
31926 }
31927 {
31928 if (temp7)
31929 delete arg7;
31930 }
31931 return NULL;
31932 }
31933
31934
31935 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31936 PyObject *resultobj = 0;
31937 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31938 void *argp1 = 0 ;
31939 int res1 = 0 ;
31940 PyObject *swig_obj[1] ;
31941
31942 if (!args) SWIG_fail;
31943 swig_obj[0] = args;
31944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31945 if (!SWIG_IsOK(res1)) {
31946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31947 }
31948 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31949 {
31950 PyThreadState* __tstate = wxPyBeginAllowThreads();
31951 (arg1)->Initialize();
31952 wxPyEndAllowThreads(__tstate);
31953 if (PyErr_Occurred()) SWIG_fail;
31954 }
31955 resultobj = SWIG_Py_Void();
31956 return resultobj;
31957 fail:
31958 return NULL;
31959 }
31960
31961
31962 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31963 PyObject *resultobj = 0;
31964 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31965 void *argp1 = 0 ;
31966 int res1 = 0 ;
31967 PyObject *swig_obj[1] ;
31968
31969 if (!args) SWIG_fail;
31970 swig_obj[0] = args;
31971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31972 if (!SWIG_IsOK(res1)) {
31973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
31974 }
31975 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
31976 {
31977 PyThreadState* __tstate = wxPyBeginAllowThreads();
31978 (arg1)->CreateControlBar();
31979 wxPyEndAllowThreads(__tstate);
31980 if (PyErr_Occurred()) SWIG_fail;
31981 }
31982 resultobj = SWIG_Py_Void();
31983 return resultobj;
31984 fail:
31985 return NULL;
31986 }
31987
31988
31989 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31990 PyObject *resultobj = 0;
31991 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
31992 void *argp1 = 0 ;
31993 int res1 = 0 ;
31994 PyObject *swig_obj[1] ;
31995
31996 if (!args) SWIG_fail;
31997 swig_obj[0] = args;
31998 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
31999 if (!SWIG_IsOK(res1)) {
32000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
32001 }
32002 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
32003 {
32004 PyThreadState* __tstate = wxPyBeginAllowThreads();
32005 (arg1)->CreateCanvas();
32006 wxPyEndAllowThreads(__tstate);
32007 if (PyErr_Occurred()) SWIG_fail;
32008 }
32009 resultobj = SWIG_Py_Void();
32010 return resultobj;
32011 fail:
32012 return NULL;
32013 }
32014
32015
32016 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32017 PyObject *resultobj = 0;
32018 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
32019 wxPreviewControlBar *result = 0 ;
32020 void *argp1 = 0 ;
32021 int res1 = 0 ;
32022 PyObject *swig_obj[1] ;
32023
32024 if (!args) SWIG_fail;
32025 swig_obj[0] = args;
32026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
32027 if (!SWIG_IsOK(res1)) {
32028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
32029 }
32030 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
32031 {
32032 PyThreadState* __tstate = wxPyBeginAllowThreads();
32033 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
32034 wxPyEndAllowThreads(__tstate);
32035 if (PyErr_Occurred()) SWIG_fail;
32036 }
32037 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32038 return resultobj;
32039 fail:
32040 return NULL;
32041 }
32042
32043
32044 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32045 PyObject *obj;
32046 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32047 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
32048 return SWIG_Py_Void();
32049 }
32050
32051 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32052 return SWIG_Python_InitShadowInstance(args);
32053 }
32054
32055 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32056 PyObject *resultobj = 0;
32057 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32058 long arg2 ;
32059 wxWindow *arg3 = (wxWindow *) 0 ;
32060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32062 wxSize const &arg5_defvalue = wxDefaultSize ;
32063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32064 long arg6 = (long) wxTAB_TRAVERSAL ;
32065 wxString const &arg7_defvalue = wxPyPanelNameStr ;
32066 wxString *arg7 = (wxString *) &arg7_defvalue ;
32067 wxPreviewControlBar *result = 0 ;
32068 void *argp1 = 0 ;
32069 int res1 = 0 ;
32070 long val2 ;
32071 int ecode2 = 0 ;
32072 void *argp3 = 0 ;
32073 int res3 = 0 ;
32074 wxPoint temp4 ;
32075 wxSize temp5 ;
32076 long val6 ;
32077 int ecode6 = 0 ;
32078 bool temp7 = false ;
32079 PyObject * obj0 = 0 ;
32080 PyObject * obj1 = 0 ;
32081 PyObject * obj2 = 0 ;
32082 PyObject * obj3 = 0 ;
32083 PyObject * obj4 = 0 ;
32084 PyObject * obj5 = 0 ;
32085 PyObject * obj6 = 0 ;
32086 char * kwnames[] = {
32087 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
32088 };
32089
32090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
32091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32092 if (!SWIG_IsOK(res1)) {
32093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32094 }
32095 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32096 ecode2 = SWIG_AsVal_long(obj1, &val2);
32097 if (!SWIG_IsOK(ecode2)) {
32098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
32099 }
32100 arg2 = static_cast< long >(val2);
32101 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
32102 if (!SWIG_IsOK(res3)) {
32103 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
32104 }
32105 arg3 = reinterpret_cast< wxWindow * >(argp3);
32106 if (obj3) {
32107 {
32108 arg4 = &temp4;
32109 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32110 }
32111 }
32112 if (obj4) {
32113 {
32114 arg5 = &temp5;
32115 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32116 }
32117 }
32118 if (obj5) {
32119 ecode6 = SWIG_AsVal_long(obj5, &val6);
32120 if (!SWIG_IsOK(ecode6)) {
32121 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
32122 }
32123 arg6 = static_cast< long >(val6);
32124 }
32125 if (obj6) {
32126 {
32127 arg7 = wxString_in_helper(obj6);
32128 if (arg7 == NULL) SWIG_fail;
32129 temp7 = true;
32130 }
32131 }
32132 {
32133 if (!wxPyCheckForApp()) SWIG_fail;
32134 PyThreadState* __tstate = wxPyBeginAllowThreads();
32135 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
32136 wxPyEndAllowThreads(__tstate);
32137 if (PyErr_Occurred()) SWIG_fail;
32138 }
32139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
32140 {
32141 if (temp7)
32142 delete arg7;
32143 }
32144 return resultobj;
32145 fail:
32146 {
32147 if (temp7)
32148 delete arg7;
32149 }
32150 return NULL;
32151 }
32152
32153
32154 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32155 PyObject *resultobj = 0;
32156 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32157 int result;
32158 void *argp1 = 0 ;
32159 int res1 = 0 ;
32160 PyObject *swig_obj[1] ;
32161
32162 if (!args) SWIG_fail;
32163 swig_obj[0] = args;
32164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32165 if (!SWIG_IsOK(res1)) {
32166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32167 }
32168 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32169 {
32170 PyThreadState* __tstate = wxPyBeginAllowThreads();
32171 result = (int)(arg1)->GetZoomControl();
32172 wxPyEndAllowThreads(__tstate);
32173 if (PyErr_Occurred()) SWIG_fail;
32174 }
32175 resultobj = SWIG_From_int(static_cast< int >(result));
32176 return resultobj;
32177 fail:
32178 return NULL;
32179 }
32180
32181
32182 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32183 PyObject *resultobj = 0;
32184 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32185 int arg2 ;
32186 void *argp1 = 0 ;
32187 int res1 = 0 ;
32188 int val2 ;
32189 int ecode2 = 0 ;
32190 PyObject * obj0 = 0 ;
32191 PyObject * obj1 = 0 ;
32192 char * kwnames[] = {
32193 (char *) "self",(char *) "zoom", NULL
32194 };
32195
32196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
32197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32198 if (!SWIG_IsOK(res1)) {
32199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32200 }
32201 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32202 ecode2 = SWIG_AsVal_int(obj1, &val2);
32203 if (!SWIG_IsOK(ecode2)) {
32204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
32205 }
32206 arg2 = static_cast< int >(val2);
32207 {
32208 PyThreadState* __tstate = wxPyBeginAllowThreads();
32209 (arg1)->SetZoomControl(arg2);
32210 wxPyEndAllowThreads(__tstate);
32211 if (PyErr_Occurred()) SWIG_fail;
32212 }
32213 resultobj = SWIG_Py_Void();
32214 return resultobj;
32215 fail:
32216 return NULL;
32217 }
32218
32219
32220 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32221 PyObject *resultobj = 0;
32222 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32223 wxPrintPreview *result = 0 ;
32224 void *argp1 = 0 ;
32225 int res1 = 0 ;
32226 PyObject *swig_obj[1] ;
32227
32228 if (!args) SWIG_fail;
32229 swig_obj[0] = args;
32230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32231 if (!SWIG_IsOK(res1)) {
32232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32233 }
32234 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32235 {
32236 PyThreadState* __tstate = wxPyBeginAllowThreads();
32237 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
32238 wxPyEndAllowThreads(__tstate);
32239 if (PyErr_Occurred()) SWIG_fail;
32240 }
32241 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32242 return resultobj;
32243 fail:
32244 return NULL;
32245 }
32246
32247
32248 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32249 PyObject *resultobj = 0;
32250 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32251 void *argp1 = 0 ;
32252 int res1 = 0 ;
32253 PyObject *swig_obj[1] ;
32254
32255 if (!args) SWIG_fail;
32256 swig_obj[0] = args;
32257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32258 if (!SWIG_IsOK(res1)) {
32259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32260 }
32261 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32262 {
32263 PyThreadState* __tstate = wxPyBeginAllowThreads();
32264 (arg1)->OnNext();
32265 wxPyEndAllowThreads(__tstate);
32266 if (PyErr_Occurred()) SWIG_fail;
32267 }
32268 resultobj = SWIG_Py_Void();
32269 return resultobj;
32270 fail:
32271 return NULL;
32272 }
32273
32274
32275 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32276 PyObject *resultobj = 0;
32277 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32278 void *argp1 = 0 ;
32279 int res1 = 0 ;
32280 PyObject *swig_obj[1] ;
32281
32282 if (!args) SWIG_fail;
32283 swig_obj[0] = args;
32284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32285 if (!SWIG_IsOK(res1)) {
32286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32287 }
32288 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32289 {
32290 PyThreadState* __tstate = wxPyBeginAllowThreads();
32291 (arg1)->OnPrevious();
32292 wxPyEndAllowThreads(__tstate);
32293 if (PyErr_Occurred()) SWIG_fail;
32294 }
32295 resultobj = SWIG_Py_Void();
32296 return resultobj;
32297 fail:
32298 return NULL;
32299 }
32300
32301
32302 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32303 PyObject *resultobj = 0;
32304 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32305 void *argp1 = 0 ;
32306 int res1 = 0 ;
32307 PyObject *swig_obj[1] ;
32308
32309 if (!args) SWIG_fail;
32310 swig_obj[0] = args;
32311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32312 if (!SWIG_IsOK(res1)) {
32313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32314 }
32315 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32316 {
32317 PyThreadState* __tstate = wxPyBeginAllowThreads();
32318 (arg1)->OnFirst();
32319 wxPyEndAllowThreads(__tstate);
32320 if (PyErr_Occurred()) SWIG_fail;
32321 }
32322 resultobj = SWIG_Py_Void();
32323 return resultobj;
32324 fail:
32325 return NULL;
32326 }
32327
32328
32329 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32330 PyObject *resultobj = 0;
32331 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32332 void *argp1 = 0 ;
32333 int res1 = 0 ;
32334 PyObject *swig_obj[1] ;
32335
32336 if (!args) SWIG_fail;
32337 swig_obj[0] = args;
32338 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32339 if (!SWIG_IsOK(res1)) {
32340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32341 }
32342 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32343 {
32344 PyThreadState* __tstate = wxPyBeginAllowThreads();
32345 (arg1)->OnLast();
32346 wxPyEndAllowThreads(__tstate);
32347 if (PyErr_Occurred()) SWIG_fail;
32348 }
32349 resultobj = SWIG_Py_Void();
32350 return resultobj;
32351 fail:
32352 return NULL;
32353 }
32354
32355
32356 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32357 PyObject *resultobj = 0;
32358 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
32359 void *argp1 = 0 ;
32360 int res1 = 0 ;
32361 PyObject *swig_obj[1] ;
32362
32363 if (!args) SWIG_fail;
32364 swig_obj[0] = args;
32365 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
32366 if (!SWIG_IsOK(res1)) {
32367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
32368 }
32369 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
32370 {
32371 PyThreadState* __tstate = wxPyBeginAllowThreads();
32372 (arg1)->OnGoto();
32373 wxPyEndAllowThreads(__tstate);
32374 if (PyErr_Occurred()) SWIG_fail;
32375 }
32376 resultobj = SWIG_Py_Void();
32377 return resultobj;
32378 fail:
32379 return NULL;
32380 }
32381
32382
32383 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32384 PyObject *obj;
32385 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
32386 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
32387 return SWIG_Py_Void();
32388 }
32389
32390 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32391 return SWIG_Python_InitShadowInstance(args);
32392 }
32393
32394 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
32395 PyObject *resultobj = 0;
32396 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
32397 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32398 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
32399 wxPrintPreview *result = 0 ;
32400 int res1 = 0 ;
32401 int res2 = 0 ;
32402 void *argp3 = 0 ;
32403 int res3 = 0 ;
32404
32405 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
32406 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32407 if (!SWIG_IsOK(res1)) {
32408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32409 }
32410 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32411 if (!SWIG_IsOK(res2)) {
32412 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32413 }
32414 if (swig_obj[2]) {
32415 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
32416 if (!SWIG_IsOK(res3)) {
32417 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
32418 }
32419 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
32420 }
32421 {
32422 if (!wxPyCheckForApp()) SWIG_fail;
32423 PyThreadState* __tstate = wxPyBeginAllowThreads();
32424 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
32425 wxPyEndAllowThreads(__tstate);
32426 if (PyErr_Occurred()) SWIG_fail;
32427 }
32428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
32429 return resultobj;
32430 fail:
32431 return NULL;
32432 }
32433
32434
32435 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
32436 PyObject *resultobj = 0;
32437 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
32438 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32439 wxPrintData *arg3 = (wxPrintData *) 0 ;
32440 wxPrintPreview *result = 0 ;
32441 int res1 = 0 ;
32442 int res2 = 0 ;
32443 void *argp3 = 0 ;
32444 int res3 = 0 ;
32445
32446 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
32447 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32448 if (!SWIG_IsOK(res1)) {
32449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
32450 }
32451 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32452 if (!SWIG_IsOK(res2)) {
32453 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32454 }
32455 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
32456 if (!SWIG_IsOK(res3)) {
32457 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
32458 }
32459 arg3 = reinterpret_cast< wxPrintData * >(argp3);
32460 {
32461 if (!wxPyCheckForApp()) SWIG_fail;
32462 PyThreadState* __tstate = wxPyBeginAllowThreads();
32463 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
32464 wxPyEndAllowThreads(__tstate);
32465 if (PyErr_Occurred()) SWIG_fail;
32466 }
32467 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
32468 return resultobj;
32469 fail:
32470 return NULL;
32471 }
32472
32473
32474 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
32475 int argc;
32476 PyObject *argv[4];
32477
32478 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
32479 --argc;
32480 if ((argc >= 2) && (argc <= 3)) {
32481 int _v = 0;
32482 if (argc > 2) {
32483 {
32484 void *vptr = 0;
32485 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
32486 _v = SWIG_CheckState(res);
32487 }
32488 if (!_v) goto check_1;
32489 }
32490 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
32491 }
32492 check_1:
32493
32494 if (argc == 3) {
32495 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
32496 }
32497
32498 fail:
32499 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
32500 return NULL;
32501 }
32502
32503
32504 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32505 PyObject *resultobj = 0;
32506 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32507 void *argp1 = 0 ;
32508 int res1 = 0 ;
32509 PyObject *swig_obj[1] ;
32510
32511 if (!args) SWIG_fail;
32512 swig_obj[0] = args;
32513 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
32514 if (!SWIG_IsOK(res1)) {
32515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32516 }
32517 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32518 {
32519 PyThreadState* __tstate = wxPyBeginAllowThreads();
32520 delete arg1;
32521
32522 wxPyEndAllowThreads(__tstate);
32523 if (PyErr_Occurred()) SWIG_fail;
32524 }
32525 resultobj = SWIG_Py_Void();
32526 return resultobj;
32527 fail:
32528 return NULL;
32529 }
32530
32531
32532 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32533 PyObject *resultobj = 0;
32534 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32535 int arg2 ;
32536 bool result;
32537 void *argp1 = 0 ;
32538 int res1 = 0 ;
32539 int val2 ;
32540 int ecode2 = 0 ;
32541 PyObject * obj0 = 0 ;
32542 PyObject * obj1 = 0 ;
32543 char * kwnames[] = {
32544 (char *) "self",(char *) "pageNum", NULL
32545 };
32546
32547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
32548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32549 if (!SWIG_IsOK(res1)) {
32550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32551 }
32552 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32553 ecode2 = SWIG_AsVal_int(obj1, &val2);
32554 if (!SWIG_IsOK(ecode2)) {
32555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
32556 }
32557 arg2 = static_cast< int >(val2);
32558 {
32559 PyThreadState* __tstate = wxPyBeginAllowThreads();
32560 result = (bool)(arg1)->SetCurrentPage(arg2);
32561 wxPyEndAllowThreads(__tstate);
32562 if (PyErr_Occurred()) SWIG_fail;
32563 }
32564 {
32565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32566 }
32567 return resultobj;
32568 fail:
32569 return NULL;
32570 }
32571
32572
32573 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32574 PyObject *resultobj = 0;
32575 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32576 int result;
32577 void *argp1 = 0 ;
32578 int res1 = 0 ;
32579 PyObject *swig_obj[1] ;
32580
32581 if (!args) SWIG_fail;
32582 swig_obj[0] = args;
32583 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32584 if (!SWIG_IsOK(res1)) {
32585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32586 }
32587 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32588 {
32589 PyThreadState* __tstate = wxPyBeginAllowThreads();
32590 result = (int)(arg1)->GetCurrentPage();
32591 wxPyEndAllowThreads(__tstate);
32592 if (PyErr_Occurred()) SWIG_fail;
32593 }
32594 resultobj = SWIG_From_int(static_cast< int >(result));
32595 return resultobj;
32596 fail:
32597 return NULL;
32598 }
32599
32600
32601 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32602 PyObject *resultobj = 0;
32603 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32604 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
32605 void *argp1 = 0 ;
32606 int res1 = 0 ;
32607 int res2 = 0 ;
32608 PyObject * obj0 = 0 ;
32609 PyObject * obj1 = 0 ;
32610 char * kwnames[] = {
32611 (char *) "self",(char *) "printout", NULL
32612 };
32613
32614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
32615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32616 if (!SWIG_IsOK(res1)) {
32617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32618 }
32619 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32620 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
32621 if (!SWIG_IsOK(res2)) {
32622 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
32623 }
32624 {
32625 PyThreadState* __tstate = wxPyBeginAllowThreads();
32626 (arg1)->SetPrintout(arg2);
32627 wxPyEndAllowThreads(__tstate);
32628 if (PyErr_Occurred()) SWIG_fail;
32629 }
32630 resultobj = SWIG_Py_Void();
32631 return resultobj;
32632 fail:
32633 return NULL;
32634 }
32635
32636
32637 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32638 PyObject *resultobj = 0;
32639 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32640 wxPyPrintout *result = 0 ;
32641 void *argp1 = 0 ;
32642 int res1 = 0 ;
32643 PyObject *swig_obj[1] ;
32644
32645 if (!args) SWIG_fail;
32646 swig_obj[0] = args;
32647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32648 if (!SWIG_IsOK(res1)) {
32649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32650 }
32651 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32652 {
32653 PyThreadState* __tstate = wxPyBeginAllowThreads();
32654 result = (wxPyPrintout *)(arg1)->GetPrintout();
32655 wxPyEndAllowThreads(__tstate);
32656 if (PyErr_Occurred()) SWIG_fail;
32657 }
32658 {
32659 resultobj = wxPyMake_wxObject(result, 0);
32660 }
32661 return resultobj;
32662 fail:
32663 return NULL;
32664 }
32665
32666
32667 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32668 PyObject *resultobj = 0;
32669 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32670 wxPyPrintout *result = 0 ;
32671 void *argp1 = 0 ;
32672 int res1 = 0 ;
32673 PyObject *swig_obj[1] ;
32674
32675 if (!args) SWIG_fail;
32676 swig_obj[0] = args;
32677 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32678 if (!SWIG_IsOK(res1)) {
32679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32680 }
32681 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32682 {
32683 PyThreadState* __tstate = wxPyBeginAllowThreads();
32684 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
32685 wxPyEndAllowThreads(__tstate);
32686 if (PyErr_Occurred()) SWIG_fail;
32687 }
32688 {
32689 resultobj = wxPyMake_wxObject(result, 0);
32690 }
32691 return resultobj;
32692 fail:
32693 return NULL;
32694 }
32695
32696
32697 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32698 PyObject *resultobj = 0;
32699 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32700 wxFrame *arg2 = (wxFrame *) 0 ;
32701 void *argp1 = 0 ;
32702 int res1 = 0 ;
32703 void *argp2 = 0 ;
32704 int res2 = 0 ;
32705 PyObject * obj0 = 0 ;
32706 PyObject * obj1 = 0 ;
32707 char * kwnames[] = {
32708 (char *) "self",(char *) "frame", NULL
32709 };
32710
32711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
32712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32713 if (!SWIG_IsOK(res1)) {
32714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32715 }
32716 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32717 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
32718 if (!SWIG_IsOK(res2)) {
32719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
32720 }
32721 arg2 = reinterpret_cast< wxFrame * >(argp2);
32722 {
32723 PyThreadState* __tstate = wxPyBeginAllowThreads();
32724 (arg1)->SetFrame(arg2);
32725 wxPyEndAllowThreads(__tstate);
32726 if (PyErr_Occurred()) SWIG_fail;
32727 }
32728 resultobj = SWIG_Py_Void();
32729 return resultobj;
32730 fail:
32731 return NULL;
32732 }
32733
32734
32735 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32736 PyObject *resultobj = 0;
32737 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32738 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32739 void *argp1 = 0 ;
32740 int res1 = 0 ;
32741 void *argp2 = 0 ;
32742 int res2 = 0 ;
32743 PyObject * obj0 = 0 ;
32744 PyObject * obj1 = 0 ;
32745 char * kwnames[] = {
32746 (char *) "self",(char *) "canvas", NULL
32747 };
32748
32749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
32750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32751 if (!SWIG_IsOK(res1)) {
32752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32753 }
32754 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32755 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32756 if (!SWIG_IsOK(res2)) {
32757 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32758 }
32759 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32760 {
32761 PyThreadState* __tstate = wxPyBeginAllowThreads();
32762 (arg1)->SetCanvas(arg2);
32763 wxPyEndAllowThreads(__tstate);
32764 if (PyErr_Occurred()) SWIG_fail;
32765 }
32766 resultobj = SWIG_Py_Void();
32767 return resultobj;
32768 fail:
32769 return NULL;
32770 }
32771
32772
32773 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32774 PyObject *resultobj = 0;
32775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32776 wxFrame *result = 0 ;
32777 void *argp1 = 0 ;
32778 int res1 = 0 ;
32779 PyObject *swig_obj[1] ;
32780
32781 if (!args) SWIG_fail;
32782 swig_obj[0] = args;
32783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32784 if (!SWIG_IsOK(res1)) {
32785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32786 }
32787 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32788 {
32789 PyThreadState* __tstate = wxPyBeginAllowThreads();
32790 result = (wxFrame *)(arg1)->GetFrame();
32791 wxPyEndAllowThreads(__tstate);
32792 if (PyErr_Occurred()) SWIG_fail;
32793 }
32794 {
32795 resultobj = wxPyMake_wxObject(result, 0);
32796 }
32797 return resultobj;
32798 fail:
32799 return NULL;
32800 }
32801
32802
32803 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
32804 PyObject *resultobj = 0;
32805 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32806 wxPreviewCanvas *result = 0 ;
32807 void *argp1 = 0 ;
32808 int res1 = 0 ;
32809 PyObject *swig_obj[1] ;
32810
32811 if (!args) SWIG_fail;
32812 swig_obj[0] = args;
32813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32814 if (!SWIG_IsOK(res1)) {
32815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32816 }
32817 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32818 {
32819 PyThreadState* __tstate = wxPyBeginAllowThreads();
32820 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
32821 wxPyEndAllowThreads(__tstate);
32822 if (PyErr_Occurred()) SWIG_fail;
32823 }
32824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32825 return resultobj;
32826 fail:
32827 return NULL;
32828 }
32829
32830
32831 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32832 PyObject *resultobj = 0;
32833 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32834 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32835 wxDC *arg3 = 0 ;
32836 bool result;
32837 void *argp1 = 0 ;
32838 int res1 = 0 ;
32839 void *argp2 = 0 ;
32840 int res2 = 0 ;
32841 void *argp3 = 0 ;
32842 int res3 = 0 ;
32843 PyObject * obj0 = 0 ;
32844 PyObject * obj1 = 0 ;
32845 PyObject * obj2 = 0 ;
32846 char * kwnames[] = {
32847 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32848 };
32849
32850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32852 if (!SWIG_IsOK(res1)) {
32853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32854 }
32855 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32856 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32857 if (!SWIG_IsOK(res2)) {
32858 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32859 }
32860 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32861 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
32862 if (!SWIG_IsOK(res3)) {
32863 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32864 }
32865 if (!argp3) {
32866 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
32867 }
32868 arg3 = reinterpret_cast< wxDC * >(argp3);
32869 {
32870 PyThreadState* __tstate = wxPyBeginAllowThreads();
32871 result = (bool)(arg1)->PaintPage(arg2,*arg3);
32872 wxPyEndAllowThreads(__tstate);
32873 if (PyErr_Occurred()) SWIG_fail;
32874 }
32875 {
32876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32877 }
32878 return resultobj;
32879 fail:
32880 return NULL;
32881 }
32882
32883
32884 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32885 PyObject *resultobj = 0;
32886 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32887 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32888 wxDC *arg3 = 0 ;
32889 bool result;
32890 void *argp1 = 0 ;
32891 int res1 = 0 ;
32892 void *argp2 = 0 ;
32893 int res2 = 0 ;
32894 void *argp3 = 0 ;
32895 int res3 = 0 ;
32896 PyObject * obj0 = 0 ;
32897 PyObject * obj1 = 0 ;
32898 PyObject * obj2 = 0 ;
32899 char * kwnames[] = {
32900 (char *) "self",(char *) "canvas",(char *) "dc", NULL
32901 };
32902
32903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
32904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32905 if (!SWIG_IsOK(res1)) {
32906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32907 }
32908 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32909 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32910 if (!SWIG_IsOK(res2)) {
32911 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
32912 }
32913 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
32914 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
32915 if (!SWIG_IsOK(res3)) {
32916 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32917 }
32918 if (!argp3) {
32919 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
32920 }
32921 arg3 = reinterpret_cast< wxDC * >(argp3);
32922 {
32923 PyThreadState* __tstate = wxPyBeginAllowThreads();
32924 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
32925 wxPyEndAllowThreads(__tstate);
32926 if (PyErr_Occurred()) SWIG_fail;
32927 }
32928 {
32929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32930 }
32931 return resultobj;
32932 fail:
32933 return NULL;
32934 }
32935
32936
32937 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32938 PyObject *resultobj = 0;
32939 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32940 int arg2 ;
32941 bool result;
32942 void *argp1 = 0 ;
32943 int res1 = 0 ;
32944 int val2 ;
32945 int ecode2 = 0 ;
32946 PyObject * obj0 = 0 ;
32947 PyObject * obj1 = 0 ;
32948 char * kwnames[] = {
32949 (char *) "self",(char *) "pageNum", NULL
32950 };
32951
32952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
32953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32954 if (!SWIG_IsOK(res1)) {
32955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32956 }
32957 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32958 ecode2 = SWIG_AsVal_int(obj1, &val2);
32959 if (!SWIG_IsOK(ecode2)) {
32960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
32961 }
32962 arg2 = static_cast< int >(val2);
32963 {
32964 PyThreadState* __tstate = wxPyBeginAllowThreads();
32965 result = (bool)(arg1)->RenderPage(arg2);
32966 wxPyEndAllowThreads(__tstate);
32967 if (PyErr_Occurred()) SWIG_fail;
32968 }
32969 {
32970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32971 }
32972 return resultobj;
32973 fail:
32974 return NULL;
32975 }
32976
32977
32978 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
32979 PyObject *resultobj = 0;
32980 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
32981 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
32982 void *argp1 = 0 ;
32983 int res1 = 0 ;
32984 void *argp2 = 0 ;
32985 int res2 = 0 ;
32986 PyObject * obj0 = 0 ;
32987 PyObject * obj1 = 0 ;
32988 char * kwnames[] = {
32989 (char *) "self",(char *) "canvas", NULL
32990 };
32991
32992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
32993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
32994 if (!SWIG_IsOK(res1)) {
32995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
32996 }
32997 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
32998 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
32999 if (!SWIG_IsOK(res2)) {
33000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33001 }
33002 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
33003 {
33004 PyThreadState* __tstate = wxPyBeginAllowThreads();
33005 (arg1)->AdjustScrollbars(arg2);
33006 wxPyEndAllowThreads(__tstate);
33007 if (PyErr_Occurred()) SWIG_fail;
33008 }
33009 resultobj = SWIG_Py_Void();
33010 return resultobj;
33011 fail:
33012 return NULL;
33013 }
33014
33015
33016 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33017 PyObject *resultobj = 0;
33018 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33019 wxPrintDialogData *result = 0 ;
33020 void *argp1 = 0 ;
33021 int res1 = 0 ;
33022 PyObject *swig_obj[1] ;
33023
33024 if (!args) SWIG_fail;
33025 swig_obj[0] = args;
33026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33027 if (!SWIG_IsOK(res1)) {
33028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33029 }
33030 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33031 {
33032 PyThreadState* __tstate = wxPyBeginAllowThreads();
33033 {
33034 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
33035 result = (wxPrintDialogData *) &_result_ref;
33036 }
33037 wxPyEndAllowThreads(__tstate);
33038 if (PyErr_Occurred()) SWIG_fail;
33039 }
33040 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
33041 return resultobj;
33042 fail:
33043 return NULL;
33044 }
33045
33046
33047 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33048 PyObject *resultobj = 0;
33049 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33050 int arg2 ;
33051 void *argp1 = 0 ;
33052 int res1 = 0 ;
33053 int val2 ;
33054 int ecode2 = 0 ;
33055 PyObject * obj0 = 0 ;
33056 PyObject * obj1 = 0 ;
33057 char * kwnames[] = {
33058 (char *) "self",(char *) "percent", NULL
33059 };
33060
33061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
33062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33063 if (!SWIG_IsOK(res1)) {
33064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33065 }
33066 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33067 ecode2 = SWIG_AsVal_int(obj1, &val2);
33068 if (!SWIG_IsOK(ecode2)) {
33069 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
33070 }
33071 arg2 = static_cast< int >(val2);
33072 {
33073 PyThreadState* __tstate = wxPyBeginAllowThreads();
33074 (arg1)->SetZoom(arg2);
33075 wxPyEndAllowThreads(__tstate);
33076 if (PyErr_Occurred()) SWIG_fail;
33077 }
33078 resultobj = SWIG_Py_Void();
33079 return resultobj;
33080 fail:
33081 return NULL;
33082 }
33083
33084
33085 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33086 PyObject *resultobj = 0;
33087 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33088 int result;
33089 void *argp1 = 0 ;
33090 int res1 = 0 ;
33091 PyObject *swig_obj[1] ;
33092
33093 if (!args) SWIG_fail;
33094 swig_obj[0] = args;
33095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33096 if (!SWIG_IsOK(res1)) {
33097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33098 }
33099 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33100 {
33101 PyThreadState* __tstate = wxPyBeginAllowThreads();
33102 result = (int)(arg1)->GetZoom();
33103 wxPyEndAllowThreads(__tstate);
33104 if (PyErr_Occurred()) SWIG_fail;
33105 }
33106 resultobj = SWIG_From_int(static_cast< int >(result));
33107 return resultobj;
33108 fail:
33109 return NULL;
33110 }
33111
33112
33113 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33114 PyObject *resultobj = 0;
33115 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33116 int result;
33117 void *argp1 = 0 ;
33118 int res1 = 0 ;
33119 PyObject *swig_obj[1] ;
33120
33121 if (!args) SWIG_fail;
33122 swig_obj[0] = args;
33123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33124 if (!SWIG_IsOK(res1)) {
33125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33126 }
33127 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33128 {
33129 PyThreadState* __tstate = wxPyBeginAllowThreads();
33130 result = (int)(arg1)->GetMaxPage();
33131 wxPyEndAllowThreads(__tstate);
33132 if (PyErr_Occurred()) SWIG_fail;
33133 }
33134 resultobj = SWIG_From_int(static_cast< int >(result));
33135 return resultobj;
33136 fail:
33137 return NULL;
33138 }
33139
33140
33141 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33142 PyObject *resultobj = 0;
33143 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33144 int result;
33145 void *argp1 = 0 ;
33146 int res1 = 0 ;
33147 PyObject *swig_obj[1] ;
33148
33149 if (!args) SWIG_fail;
33150 swig_obj[0] = args;
33151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33152 if (!SWIG_IsOK(res1)) {
33153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33154 }
33155 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33156 {
33157 PyThreadState* __tstate = wxPyBeginAllowThreads();
33158 result = (int)(arg1)->GetMinPage();
33159 wxPyEndAllowThreads(__tstate);
33160 if (PyErr_Occurred()) SWIG_fail;
33161 }
33162 resultobj = SWIG_From_int(static_cast< int >(result));
33163 return resultobj;
33164 fail:
33165 return NULL;
33166 }
33167
33168
33169 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33170 PyObject *resultobj = 0;
33171 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33172 bool result;
33173 void *argp1 = 0 ;
33174 int res1 = 0 ;
33175 PyObject *swig_obj[1] ;
33176
33177 if (!args) SWIG_fail;
33178 swig_obj[0] = args;
33179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33180 if (!SWIG_IsOK(res1)) {
33181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33182 }
33183 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33184 {
33185 PyThreadState* __tstate = wxPyBeginAllowThreads();
33186 result = (bool)(arg1)->IsOk();
33187 wxPyEndAllowThreads(__tstate);
33188 if (PyErr_Occurred()) SWIG_fail;
33189 }
33190 {
33191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33192 }
33193 return resultobj;
33194 fail:
33195 return NULL;
33196 }
33197
33198
33199 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33200 PyObject *resultobj = 0;
33201 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33202 bool arg2 ;
33203 void *argp1 = 0 ;
33204 int res1 = 0 ;
33205 bool val2 ;
33206 int ecode2 = 0 ;
33207 PyObject * obj0 = 0 ;
33208 PyObject * obj1 = 0 ;
33209 char * kwnames[] = {
33210 (char *) "self",(char *) "ok", NULL
33211 };
33212
33213 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
33214 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33215 if (!SWIG_IsOK(res1)) {
33216 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33217 }
33218 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33219 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33220 if (!SWIG_IsOK(ecode2)) {
33221 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
33222 }
33223 arg2 = static_cast< bool >(val2);
33224 {
33225 PyThreadState* __tstate = wxPyBeginAllowThreads();
33226 (arg1)->SetOk(arg2);
33227 wxPyEndAllowThreads(__tstate);
33228 if (PyErr_Occurred()) SWIG_fail;
33229 }
33230 resultobj = SWIG_Py_Void();
33231 return resultobj;
33232 fail:
33233 return NULL;
33234 }
33235
33236
33237 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33238 PyObject *resultobj = 0;
33239 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33240 bool arg2 ;
33241 bool result;
33242 void *argp1 = 0 ;
33243 int res1 = 0 ;
33244 bool val2 ;
33245 int ecode2 = 0 ;
33246 PyObject * obj0 = 0 ;
33247 PyObject * obj1 = 0 ;
33248 char * kwnames[] = {
33249 (char *) "self",(char *) "interactive", NULL
33250 };
33251
33252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
33253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33254 if (!SWIG_IsOK(res1)) {
33255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33256 }
33257 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33258 ecode2 = SWIG_AsVal_bool(obj1, &val2);
33259 if (!SWIG_IsOK(ecode2)) {
33260 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
33261 }
33262 arg2 = static_cast< bool >(val2);
33263 {
33264 PyThreadState* __tstate = wxPyBeginAllowThreads();
33265 result = (bool)(arg1)->Print(arg2);
33266 wxPyEndAllowThreads(__tstate);
33267 if (PyErr_Occurred()) SWIG_fail;
33268 }
33269 {
33270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33271 }
33272 return resultobj;
33273 fail:
33274 return NULL;
33275 }
33276
33277
33278 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33279 PyObject *resultobj = 0;
33280 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33281 void *argp1 = 0 ;
33282 int res1 = 0 ;
33283 PyObject *swig_obj[1] ;
33284
33285 if (!args) SWIG_fail;
33286 swig_obj[0] = args;
33287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
33288 if (!SWIG_IsOK(res1)) {
33289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33290 }
33291 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
33292 {
33293 PyThreadState* __tstate = wxPyBeginAllowThreads();
33294 (arg1)->DetermineScaling();
33295 wxPyEndAllowThreads(__tstate);
33296 if (PyErr_Occurred()) SWIG_fail;
33297 }
33298 resultobj = SWIG_Py_Void();
33299 return resultobj;
33300 fail:
33301 return NULL;
33302 }
33303
33304
33305 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33306 PyObject *obj;
33307 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33308 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
33309 return SWIG_Py_Void();
33310 }
33311
33312 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33313 return SWIG_Python_InitShadowInstance(args);
33314 }
33315
33316 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33317 PyObject *resultobj = 0;
33318 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
33319 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
33320 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
33321 wxPyPrintPreview *result = 0 ;
33322 int res1 = 0 ;
33323 int res2 = 0 ;
33324 void *argp3 = 0 ;
33325 int res3 = 0 ;
33326
33327 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
33328 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33329 if (!SWIG_IsOK(res1)) {
33330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33331 }
33332 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33333 if (!SWIG_IsOK(res2)) {
33334 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33335 }
33336 if (swig_obj[2]) {
33337 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
33338 if (!SWIG_IsOK(res3)) {
33339 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
33340 }
33341 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
33342 }
33343 {
33344 if (!wxPyCheckForApp()) SWIG_fail;
33345 PyThreadState* __tstate = wxPyBeginAllowThreads();
33346 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
33347 wxPyEndAllowThreads(__tstate);
33348 if (PyErr_Occurred()) SWIG_fail;
33349 }
33350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
33351 return resultobj;
33352 fail:
33353 return NULL;
33354 }
33355
33356
33357 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
33358 PyObject *resultobj = 0;
33359 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
33360 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
33361 wxPrintData *arg3 = (wxPrintData *) 0 ;
33362 wxPyPrintPreview *result = 0 ;
33363 int res1 = 0 ;
33364 int res2 = 0 ;
33365 void *argp3 = 0 ;
33366 int res3 = 0 ;
33367
33368 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
33369 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33370 if (!SWIG_IsOK(res1)) {
33371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
33372 }
33373 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
33374 if (!SWIG_IsOK(res2)) {
33375 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
33376 }
33377 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
33378 if (!SWIG_IsOK(res3)) {
33379 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
33380 }
33381 arg3 = reinterpret_cast< wxPrintData * >(argp3);
33382 {
33383 if (!wxPyCheckForApp()) SWIG_fail;
33384 PyThreadState* __tstate = wxPyBeginAllowThreads();
33385 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
33386 wxPyEndAllowThreads(__tstate);
33387 if (PyErr_Occurred()) SWIG_fail;
33388 }
33389 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
33390 return resultobj;
33391 fail:
33392 return NULL;
33393 }
33394
33395
33396 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
33397 int argc;
33398 PyObject *argv[4];
33399
33400 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
33401 --argc;
33402 if ((argc >= 2) && (argc <= 3)) {
33403 int _v = 0;
33404 if (argc > 2) {
33405 {
33406 void *vptr = 0;
33407 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
33408 _v = SWIG_CheckState(res);
33409 }
33410 if (!_v) goto check_1;
33411 }
33412 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
33413 }
33414 check_1:
33415
33416 if (argc == 3) {
33417 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
33418 }
33419
33420 fail:
33421 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
33422 return NULL;
33423 }
33424
33425
33426 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33427 PyObject *resultobj = 0;
33428 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
33429 PyObject *arg2 = (PyObject *) 0 ;
33430 PyObject *arg3 = (PyObject *) 0 ;
33431 void *argp1 = 0 ;
33432 int res1 = 0 ;
33433 PyObject * obj0 = 0 ;
33434 PyObject * obj1 = 0 ;
33435 PyObject * obj2 = 0 ;
33436 char * kwnames[] = {
33437 (char *) "self",(char *) "self",(char *) "_class", NULL
33438 };
33439
33440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
33442 if (!SWIG_IsOK(res1)) {
33443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
33444 }
33445 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
33446 arg2 = obj1;
33447 arg3 = obj2;
33448 {
33449 PyThreadState* __tstate = wxPyBeginAllowThreads();
33450 (arg1)->_setCallbackInfo(arg2,arg3);
33451 wxPyEndAllowThreads(__tstate);
33452 if (PyErr_Occurred()) SWIG_fail;
33453 }
33454 resultobj = SWIG_Py_Void();
33455 return resultobj;
33456 fail:
33457 return NULL;
33458 }
33459
33460
33461 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33462 PyObject *obj;
33463 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33464 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
33465 return SWIG_Py_Void();
33466 }
33467
33468 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33469 return SWIG_Python_InitShadowInstance(args);
33470 }
33471
33472 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33473 PyObject *resultobj = 0;
33474 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33475 wxFrame *arg2 = (wxFrame *) 0 ;
33476 wxString *arg3 = 0 ;
33477 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33478 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33479 wxSize const &arg5_defvalue = wxDefaultSize ;
33480 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33481 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
33482 wxString const &arg7_defvalue = wxPyFrameNameStr ;
33483 wxString *arg7 = (wxString *) &arg7_defvalue ;
33484 wxPyPreviewFrame *result = 0 ;
33485 int res1 = 0 ;
33486 void *argp2 = 0 ;
33487 int res2 = 0 ;
33488 bool temp3 = false ;
33489 wxPoint temp4 ;
33490 wxSize temp5 ;
33491 long val6 ;
33492 int ecode6 = 0 ;
33493 bool temp7 = false ;
33494 PyObject * obj0 = 0 ;
33495 PyObject * obj1 = 0 ;
33496 PyObject * obj2 = 0 ;
33497 PyObject * obj3 = 0 ;
33498 PyObject * obj4 = 0 ;
33499 PyObject * obj5 = 0 ;
33500 PyObject * obj6 = 0 ;
33501 char * kwnames[] = {
33502 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33503 };
33504
33505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33506 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
33507 if (!SWIG_IsOK(res1)) {
33508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33509 }
33510 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
33511 if (!SWIG_IsOK(res2)) {
33512 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
33513 }
33514 arg2 = reinterpret_cast< wxFrame * >(argp2);
33515 {
33516 arg3 = wxString_in_helper(obj2);
33517 if (arg3 == NULL) SWIG_fail;
33518 temp3 = true;
33519 }
33520 if (obj3) {
33521 {
33522 arg4 = &temp4;
33523 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33524 }
33525 }
33526 if (obj4) {
33527 {
33528 arg5 = &temp5;
33529 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33530 }
33531 }
33532 if (obj5) {
33533 ecode6 = SWIG_AsVal_long(obj5, &val6);
33534 if (!SWIG_IsOK(ecode6)) {
33535 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
33536 }
33537 arg6 = static_cast< long >(val6);
33538 }
33539 if (obj6) {
33540 {
33541 arg7 = wxString_in_helper(obj6);
33542 if (arg7 == NULL) SWIG_fail;
33543 temp7 = true;
33544 }
33545 }
33546 {
33547 if (!wxPyCheckForApp()) SWIG_fail;
33548 PyThreadState* __tstate = wxPyBeginAllowThreads();
33549 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
33550 wxPyEndAllowThreads(__tstate);
33551 if (PyErr_Occurred()) SWIG_fail;
33552 }
33553 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
33554 {
33555 if (temp3)
33556 delete arg3;
33557 }
33558 {
33559 if (temp7)
33560 delete arg7;
33561 }
33562 return resultobj;
33563 fail:
33564 {
33565 if (temp3)
33566 delete arg3;
33567 }
33568 {
33569 if (temp7)
33570 delete arg7;
33571 }
33572 return NULL;
33573 }
33574
33575
33576 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33577 PyObject *resultobj = 0;
33578 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33579 PyObject *arg2 = (PyObject *) 0 ;
33580 PyObject *arg3 = (PyObject *) 0 ;
33581 void *argp1 = 0 ;
33582 int res1 = 0 ;
33583 PyObject * obj0 = 0 ;
33584 PyObject * obj1 = 0 ;
33585 PyObject * obj2 = 0 ;
33586 char * kwnames[] = {
33587 (char *) "self",(char *) "self",(char *) "_class", NULL
33588 };
33589
33590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33592 if (!SWIG_IsOK(res1)) {
33593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33594 }
33595 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33596 arg2 = obj1;
33597 arg3 = obj2;
33598 {
33599 PyThreadState* __tstate = wxPyBeginAllowThreads();
33600 (arg1)->_setCallbackInfo(arg2,arg3);
33601 wxPyEndAllowThreads(__tstate);
33602 if (PyErr_Occurred()) SWIG_fail;
33603 }
33604 resultobj = SWIG_Py_Void();
33605 return resultobj;
33606 fail:
33607 return NULL;
33608 }
33609
33610
33611 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33612 PyObject *resultobj = 0;
33613 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33614 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
33615 void *argp1 = 0 ;
33616 int res1 = 0 ;
33617 void *argp2 = 0 ;
33618 int res2 = 0 ;
33619 PyObject * obj0 = 0 ;
33620 PyObject * obj1 = 0 ;
33621 char * kwnames[] = {
33622 (char *) "self",(char *) "canvas", NULL
33623 };
33624
33625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
33626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33627 if (!SWIG_IsOK(res1)) {
33628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33629 }
33630 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33631 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
33632 if (!SWIG_IsOK(res2)) {
33633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
33634 }
33635 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
33636 {
33637 PyThreadState* __tstate = wxPyBeginAllowThreads();
33638 (arg1)->SetPreviewCanvas(arg2);
33639 wxPyEndAllowThreads(__tstate);
33640 if (PyErr_Occurred()) SWIG_fail;
33641 }
33642 resultobj = SWIG_Py_Void();
33643 return resultobj;
33644 fail:
33645 return NULL;
33646 }
33647
33648
33649 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33650 PyObject *resultobj = 0;
33651 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33652 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
33653 void *argp1 = 0 ;
33654 int res1 = 0 ;
33655 void *argp2 = 0 ;
33656 int res2 = 0 ;
33657 PyObject * obj0 = 0 ;
33658 PyObject * obj1 = 0 ;
33659 char * kwnames[] = {
33660 (char *) "self",(char *) "bar", NULL
33661 };
33662
33663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
33664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33665 if (!SWIG_IsOK(res1)) {
33666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33667 }
33668 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33669 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
33670 if (!SWIG_IsOK(res2)) {
33671 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
33672 }
33673 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
33674 {
33675 PyThreadState* __tstate = wxPyBeginAllowThreads();
33676 (arg1)->SetControlBar(arg2);
33677 wxPyEndAllowThreads(__tstate);
33678 if (PyErr_Occurred()) SWIG_fail;
33679 }
33680 resultobj = SWIG_Py_Void();
33681 return resultobj;
33682 fail:
33683 return NULL;
33684 }
33685
33686
33687 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33688 PyObject *resultobj = 0;
33689 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33690 void *argp1 = 0 ;
33691 int res1 = 0 ;
33692 PyObject *swig_obj[1] ;
33693
33694 if (!args) SWIG_fail;
33695 swig_obj[0] = args;
33696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33697 if (!SWIG_IsOK(res1)) {
33698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33699 }
33700 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33701 {
33702 PyThreadState* __tstate = wxPyBeginAllowThreads();
33703 (arg1)->Initialize();
33704 wxPyEndAllowThreads(__tstate);
33705 if (PyErr_Occurred()) SWIG_fail;
33706 }
33707 resultobj = SWIG_Py_Void();
33708 return resultobj;
33709 fail:
33710 return NULL;
33711 }
33712
33713
33714 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33715 PyObject *resultobj = 0;
33716 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33717 void *argp1 = 0 ;
33718 int res1 = 0 ;
33719 PyObject *swig_obj[1] ;
33720
33721 if (!args) SWIG_fail;
33722 swig_obj[0] = args;
33723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33724 if (!SWIG_IsOK(res1)) {
33725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33726 }
33727 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33728 {
33729 PyThreadState* __tstate = wxPyBeginAllowThreads();
33730 (arg1)->CreateCanvas();
33731 wxPyEndAllowThreads(__tstate);
33732 if (PyErr_Occurred()) SWIG_fail;
33733 }
33734 resultobj = SWIG_Py_Void();
33735 return resultobj;
33736 fail:
33737 return NULL;
33738 }
33739
33740
33741 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33742 PyObject *resultobj = 0;
33743 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
33744 void *argp1 = 0 ;
33745 int res1 = 0 ;
33746 PyObject *swig_obj[1] ;
33747
33748 if (!args) SWIG_fail;
33749 swig_obj[0] = args;
33750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
33751 if (!SWIG_IsOK(res1)) {
33752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
33753 }
33754 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
33755 {
33756 PyThreadState* __tstate = wxPyBeginAllowThreads();
33757 (arg1)->CreateControlBar();
33758 wxPyEndAllowThreads(__tstate);
33759 if (PyErr_Occurred()) SWIG_fail;
33760 }
33761 resultobj = SWIG_Py_Void();
33762 return resultobj;
33763 fail:
33764 return NULL;
33765 }
33766
33767
33768 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33769 PyObject *obj;
33770 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
33771 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
33772 return SWIG_Py_Void();
33773 }
33774
33775 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33776 return SWIG_Python_InitShadowInstance(args);
33777 }
33778
33779 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33780 PyObject *resultobj = 0;
33781 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
33782 long arg2 ;
33783 wxWindow *arg3 = (wxWindow *) 0 ;
33784 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33785 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33786 wxSize const &arg5_defvalue = wxDefaultSize ;
33787 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33788 long arg6 = (long) 0 ;
33789 wxString const &arg7_defvalue = wxPyPanelNameStr ;
33790 wxString *arg7 = (wxString *) &arg7_defvalue ;
33791 wxPyPreviewControlBar *result = 0 ;
33792 int res1 = 0 ;
33793 long val2 ;
33794 int ecode2 = 0 ;
33795 void *argp3 = 0 ;
33796 int res3 = 0 ;
33797 wxPoint temp4 ;
33798 wxSize temp5 ;
33799 long val6 ;
33800 int ecode6 = 0 ;
33801 bool temp7 = false ;
33802 PyObject * obj0 = 0 ;
33803 PyObject * obj1 = 0 ;
33804 PyObject * obj2 = 0 ;
33805 PyObject * obj3 = 0 ;
33806 PyObject * obj4 = 0 ;
33807 PyObject * obj5 = 0 ;
33808 PyObject * obj6 = 0 ;
33809 char * kwnames[] = {
33810 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
33811 };
33812
33813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
33814 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
33815 if (!SWIG_IsOK(res1)) {
33816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
33817 }
33818 ecode2 = SWIG_AsVal_long(obj1, &val2);
33819 if (!SWIG_IsOK(ecode2)) {
33820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
33821 }
33822 arg2 = static_cast< long >(val2);
33823 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
33824 if (!SWIG_IsOK(res3)) {
33825 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
33826 }
33827 arg3 = reinterpret_cast< wxWindow * >(argp3);
33828 if (obj3) {
33829 {
33830 arg4 = &temp4;
33831 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33832 }
33833 }
33834 if (obj4) {
33835 {
33836 arg5 = &temp5;
33837 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33838 }
33839 }
33840 if (obj5) {
33841 ecode6 = SWIG_AsVal_long(obj5, &val6);
33842 if (!SWIG_IsOK(ecode6)) {
33843 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
33844 }
33845 arg6 = static_cast< long >(val6);
33846 }
33847 if (obj6) {
33848 {
33849 arg7 = wxString_in_helper(obj6);
33850 if (arg7 == NULL) SWIG_fail;
33851 temp7 = true;
33852 }
33853 }
33854 {
33855 if (!wxPyCheckForApp()) SWIG_fail;
33856 PyThreadState* __tstate = wxPyBeginAllowThreads();
33857 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
33858 wxPyEndAllowThreads(__tstate);
33859 if (PyErr_Occurred()) SWIG_fail;
33860 }
33861 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
33862 {
33863 if (temp7)
33864 delete arg7;
33865 }
33866 return resultobj;
33867 fail:
33868 {
33869 if (temp7)
33870 delete arg7;
33871 }
33872 return NULL;
33873 }
33874
33875
33876 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33877 PyObject *resultobj = 0;
33878 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33879 PyObject *arg2 = (PyObject *) 0 ;
33880 PyObject *arg3 = (PyObject *) 0 ;
33881 void *argp1 = 0 ;
33882 int res1 = 0 ;
33883 PyObject * obj0 = 0 ;
33884 PyObject * obj1 = 0 ;
33885 PyObject * obj2 = 0 ;
33886 char * kwnames[] = {
33887 (char *) "self",(char *) "self",(char *) "_class", NULL
33888 };
33889
33890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
33891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33892 if (!SWIG_IsOK(res1)) {
33893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33894 }
33895 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33896 arg2 = obj1;
33897 arg3 = obj2;
33898 {
33899 PyThreadState* __tstate = wxPyBeginAllowThreads();
33900 (arg1)->_setCallbackInfo(arg2,arg3);
33901 wxPyEndAllowThreads(__tstate);
33902 if (PyErr_Occurred()) SWIG_fail;
33903 }
33904 resultobj = SWIG_Py_Void();
33905 return resultobj;
33906 fail:
33907 return NULL;
33908 }
33909
33910
33911 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33912 PyObject *resultobj = 0;
33913 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33914 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
33915 void *argp1 = 0 ;
33916 int res1 = 0 ;
33917 int res2 = 0 ;
33918 PyObject * obj0 = 0 ;
33919 PyObject * obj1 = 0 ;
33920 char * kwnames[] = {
33921 (char *) "self",(char *) "preview", NULL
33922 };
33923
33924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
33925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33926 if (!SWIG_IsOK(res1)) {
33927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33928 }
33929 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33930 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
33931 if (!SWIG_IsOK(res2)) {
33932 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
33933 }
33934 {
33935 PyThreadState* __tstate = wxPyBeginAllowThreads();
33936 (arg1)->SetPrintPreview(arg2);
33937 wxPyEndAllowThreads(__tstate);
33938 if (PyErr_Occurred()) SWIG_fail;
33939 }
33940 resultobj = SWIG_Py_Void();
33941 return resultobj;
33942 fail:
33943 return NULL;
33944 }
33945
33946
33947 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
33948 PyObject *resultobj = 0;
33949 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33950 void *argp1 = 0 ;
33951 int res1 = 0 ;
33952 PyObject *swig_obj[1] ;
33953
33954 if (!args) SWIG_fail;
33955 swig_obj[0] = args;
33956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33957 if (!SWIG_IsOK(res1)) {
33958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33959 }
33960 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33961 {
33962 PyThreadState* __tstate = wxPyBeginAllowThreads();
33963 (arg1)->CreateButtons();
33964 wxPyEndAllowThreads(__tstate);
33965 if (PyErr_Occurred()) SWIG_fail;
33966 }
33967 resultobj = SWIG_Py_Void();
33968 return resultobj;
33969 fail:
33970 return NULL;
33971 }
33972
33973
33974 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
33975 PyObject *resultobj = 0;
33976 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
33977 int arg2 ;
33978 void *argp1 = 0 ;
33979 int res1 = 0 ;
33980 int val2 ;
33981 int ecode2 = 0 ;
33982 PyObject * obj0 = 0 ;
33983 PyObject * obj1 = 0 ;
33984 char * kwnames[] = {
33985 (char *) "self",(char *) "zoom", NULL
33986 };
33987
33988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
33989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
33990 if (!SWIG_IsOK(res1)) {
33991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
33992 }
33993 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
33994 ecode2 = SWIG_AsVal_int(obj1, &val2);
33995 if (!SWIG_IsOK(ecode2)) {
33996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
33997 }
33998 arg2 = static_cast< int >(val2);
33999 {
34000 PyThreadState* __tstate = wxPyBeginAllowThreads();
34001 (arg1)->SetZoomControl(arg2);
34002 wxPyEndAllowThreads(__tstate);
34003 if (PyErr_Occurred()) SWIG_fail;
34004 }
34005 resultobj = SWIG_Py_Void();
34006 return resultobj;
34007 fail:
34008 return NULL;
34009 }
34010
34011
34012 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34013 PyObject *obj;
34014 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
34015 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
34016 return SWIG_Py_Void();
34017 }
34018
34019 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
34020 return SWIG_Python_InitShadowInstance(args);
34021 }
34022
34023 static PyMethodDef SwigMethods[] = {
34024 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
34025 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
34026 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34027 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
34028 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34029 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
34030 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
34031 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34032 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
34033 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34034 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
34035 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
34036 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34037 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
34038 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
34039 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
34040 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
34041 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
34042 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
34043 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
34044 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
34045 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
34046 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
34047 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
34048 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
34049 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34050 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
34051 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
34052 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
34053 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
34054 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34055 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
34056 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
34057 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
34058 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
34059 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
34060 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
34061 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
34062 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
34063 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
34064 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34065 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
34066 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
34067 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
34068 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
34069 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
34070 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
34071 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
34072 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
34073 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
34074 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
34075 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
34076 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
34077 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
34078 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
34079 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
34080 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
34081 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
34082 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
34083 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
34084 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34085 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
34086 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
34087 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
34088 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
34089 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
34090 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
34091 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
34092 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34093 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
34094 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34095 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34096 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
34097 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
34098 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34099 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
34100 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
34101 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34102 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
34103 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34104 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
34105 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
34106 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
34107 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
34108 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34109 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
34110 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
34111 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
34112 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
34113 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
34114 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
34115 { (char *)"Dialog_GetParentForModalDialog", (PyCFunction) _wrap_Dialog_GetParentForModalDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34116 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34117 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34118 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34119 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
34120 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
34121 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
34122 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
34123 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34124 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
34125 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
34126 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34127 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
34128 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34129 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
34130 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
34131 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34132 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
34133 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
34134 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
34135 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
34136 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
34137 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
34138 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
34139 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
34140 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
34141 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
34142 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
34143 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
34144 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34145 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
34146 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
34147 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34148 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34149 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34150 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
34151 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
34152 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
34153 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
34154 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34155 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
34156 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
34157 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34158 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
34159 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
34160 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34161 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
34162 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34163 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
34164 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
34165 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
34166 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
34167 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
34168 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
34169 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
34170 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
34171 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34172 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
34173 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
34174 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
34175 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
34176 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
34177 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
34178 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34179 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
34180 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
34181 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
34182 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
34183 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
34184 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34185 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
34186 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
34187 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
34188 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
34189 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
34190 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
34191 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34192 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34193 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
34194 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
34195 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
34196 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
34197 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
34198 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
34199 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34200 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
34201 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34202 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34203 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34204 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
34205 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
34206 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
34207 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
34208 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
34209 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
34210 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
34211 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
34212 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
34213 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
34214 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
34215 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
34216 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
34217 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34218 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
34219 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
34220 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
34221 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34222 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
34223 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
34224 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
34225 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
34226 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
34227 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
34228 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
34229 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
34230 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34231 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
34232 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
34233 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34234 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
34235 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34236 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
34237 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34238 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
34239 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34240 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
34241 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
34242 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
34243 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34244 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34245 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
34246 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
34247 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
34248 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
34249 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
34250 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34251 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
34252 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34253 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
34254 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
34255 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
34256 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
34257 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34258 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
34259 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
34260 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
34261 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
34262 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34263 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34264 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34265 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
34266 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
34267 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34268 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
34269 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34270 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
34271 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
34272 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
34273 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34274 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
34275 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34276 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
34277 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
34278 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
34279 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
34280 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34281 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
34282 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
34283 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
34284 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
34285 { (char *)"VarScrollHelperBase_EnablePhysicalScrolling", (PyCFunction) _wrap_VarScrollHelperBase_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
34286 { (char *)"VarScrollHelperBase_HitTest", (PyCFunction) _wrap_VarScrollHelperBase_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34287 { (char *)"VarScrollHelperBase_RefreshAll", (PyCFunction)_wrap_VarScrollHelperBase_RefreshAll, METH_O, NULL},
34288 { (char *)"VarScrollHelperBase_GetVisibleBegin", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleBegin, METH_O, NULL},
34289 { (char *)"VarScrollHelperBase_GetVisibleEnd", (PyCFunction)_wrap_VarScrollHelperBase_GetVisibleEnd, METH_O, NULL},
34290 { (char *)"VarScrollHelperBase_IsVisible", (PyCFunction) _wrap_VarScrollHelperBase_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34291 { (char *)"VarScrollHelperBase_CalcScrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcScrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34292 { (char *)"VarScrollHelperBase_CalcUnscrolledPosition", (PyCFunction) _wrap_VarScrollHelperBase_CalcUnscrolledPosition, METH_VARARGS | METH_KEYWORDS, NULL},
34293 { (char *)"VarScrollHelperBase_UpdateScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_UpdateScrollbar, METH_O, NULL},
34294 { (char *)"VarScrollHelperBase_RemoveScrollbar", (PyCFunction)_wrap_VarScrollHelperBase_RemoveScrollbar, METH_O, NULL},
34295 { (char *)"VarScrollHelperBase_SetTargetWindow", (PyCFunction) _wrap_VarScrollHelperBase_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34296 { (char *)"VarScrollHelperBase_GetTargetWindow", (PyCFunction)_wrap_VarScrollHelperBase_GetTargetWindow, METH_O, NULL},
34297 { (char *)"VarScrollHelperBase_GetOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientationTargetSize, METH_O, NULL},
34298 { (char *)"VarScrollHelperBase_GetNonOrientationTargetSize", (PyCFunction)_wrap_VarScrollHelperBase_GetNonOrientationTargetSize, METH_O, NULL},
34299 { (char *)"VarScrollHelperBase_GetOrientation", (PyCFunction)_wrap_VarScrollHelperBase_GetOrientation, METH_O, NULL},
34300 { (char *)"VarScrollHelperBase_swigregister", VarScrollHelperBase_swigregister, METH_VARARGS, NULL},
34301 { (char *)"VarVScrollHelper_SetRowCount", (PyCFunction) _wrap_VarVScrollHelper_SetRowCount, METH_VARARGS | METH_KEYWORDS, NULL},
34302 { (char *)"VarVScrollHelper_ScrollToRow", (PyCFunction) _wrap_VarVScrollHelper_ScrollToRow, METH_VARARGS | METH_KEYWORDS, NULL},
34303 { (char *)"VarVScrollHelper_ScrollRows", (PyCFunction) _wrap_VarVScrollHelper_ScrollRows, METH_VARARGS | METH_KEYWORDS, NULL},
34304 { (char *)"VarVScrollHelper_ScrollRowPages", (PyCFunction) _wrap_VarVScrollHelper_ScrollRowPages, METH_VARARGS | METH_KEYWORDS, NULL},
34305 { (char *)"VarVScrollHelper_RefreshRow", (PyCFunction) _wrap_VarVScrollHelper_RefreshRow, METH_VARARGS | METH_KEYWORDS, NULL},
34306 { (char *)"VarVScrollHelper_RefreshRows", (PyCFunction) _wrap_VarVScrollHelper_RefreshRows, METH_VARARGS | METH_KEYWORDS, NULL},
34307 { (char *)"VarVScrollHelper_GetRowCount", (PyCFunction)_wrap_VarVScrollHelper_GetRowCount, METH_O, NULL},
34308 { (char *)"VarVScrollHelper_GetVisibleRowsBegin", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsBegin, METH_O, NULL},
34309 { (char *)"VarVScrollHelper_GetVisibleRowsEnd", (PyCFunction)_wrap_VarVScrollHelper_GetVisibleRowsEnd, METH_O, NULL},
34310 { (char *)"VarVScrollHelper_IsRowVisible", (PyCFunction) _wrap_VarVScrollHelper_IsRowVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34311 { (char *)"VarVScrollHelper_swigregister", VarVScrollHelper_swigregister, METH_VARARGS, NULL},
34312 { (char *)"VarHScrollHelper_SetColumnCount", (PyCFunction) _wrap_VarHScrollHelper_SetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34313 { (char *)"VarHScrollHelper_ScrollToColumn", (PyCFunction) _wrap_VarHScrollHelper_ScrollToColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34314 { (char *)"VarHScrollHelper_ScrollColumns", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34315 { (char *)"VarHScrollHelper_ScrollColumnPages", (PyCFunction) _wrap_VarHScrollHelper_ScrollColumnPages, METH_VARARGS | METH_KEYWORDS, NULL},
34316 { (char *)"VarHScrollHelper_RefreshColumn", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34317 { (char *)"VarHScrollHelper_RefreshColumns", (PyCFunction) _wrap_VarHScrollHelper_RefreshColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34318 { (char *)"VarHScrollHelper_GetColumnCount", (PyCFunction)_wrap_VarHScrollHelper_GetColumnCount, METH_O, NULL},
34319 { (char *)"VarHScrollHelper_GetVisibleColumnsBegin", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsBegin, METH_O, NULL},
34320 { (char *)"VarHScrollHelper_GetVisibleColumnsEnd", (PyCFunction)_wrap_VarHScrollHelper_GetVisibleColumnsEnd, METH_O, NULL},
34321 { (char *)"VarHScrollHelper_IsColumnVisible", (PyCFunction) _wrap_VarHScrollHelper_IsColumnVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34322 { (char *)"VarHScrollHelper_swigregister", VarHScrollHelper_swigregister, METH_VARARGS, NULL},
34323 { (char *)"VarHVScrollHelper_SetRowColumnCount", (PyCFunction) _wrap_VarHVScrollHelper_SetRowColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
34324 { (char *)"VarHVScrollHelper_EnablePhysicalScrolling", (PyCFunction) _wrap_VarHVScrollHelper_EnablePhysicalScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
34325 { (char *)"VarHVScrollHelper_ScrollToRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_ScrollToRowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34326 { (char *)"VarHVScrollHelper_RefreshRowColumn", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
34327 { (char *)"VarHVScrollHelper_RefreshRowsColumns", (PyCFunction) _wrap_VarHVScrollHelper_RefreshRowsColumns, METH_VARARGS | METH_KEYWORDS, NULL},
34328 { (char *)"VarHVScrollHelper_HitTest", (PyCFunction) _wrap_VarHVScrollHelper_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34329 { (char *)"VarHVScrollHelper_ScrollLayout", (PyCFunction)_wrap_VarHVScrollHelper_ScrollLayout, METH_O, NULL},
34330 { (char *)"VarHVScrollHelper_GetRowColumnCount", (PyCFunction)_wrap_VarHVScrollHelper_GetRowColumnCount, METH_O, NULL},
34331 { (char *)"VarHVScrollHelper_GetVisibleBegin", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleBegin, METH_O, NULL},
34332 { (char *)"VarHVScrollHelper_GetVisibleEnd", (PyCFunction)_wrap_VarHVScrollHelper_GetVisibleEnd, METH_O, NULL},
34333 { (char *)"VarHVScrollHelper_IsVisible", (PyCFunction) _wrap_VarHVScrollHelper_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
34334 { (char *)"VarHVScrollHelper_swigregister", VarHVScrollHelper_swigregister, METH_VARARGS, NULL},
34335 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34336 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
34337 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34338 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34339 { (char *)"VScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_VScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34340 { (char *)"VScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_VScrolledWindow_EstimateTotalHeight, METH_O, NULL},
34341 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34342 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
34343 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
34344 { (char *)"new_HScrolledWindow", (PyCFunction) _wrap_new_HScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34345 { (char *)"new_PreHScrolledWindow", (PyCFunction)_wrap_new_PreHScrolledWindow, METH_NOARGS, NULL},
34346 { (char *)"HScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34347 { (char *)"HScrolledWindow_Create", (PyCFunction) _wrap_HScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34348 { (char *)"HScrolledWindow_HitTest", (PyCFunction) _wrap_HScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
34349 { (char *)"HScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34350 { (char *)"HScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HScrolledWindow_EstimateTotalWidth, METH_O, NULL},
34351 { (char *)"HScrolledWindow_swigregister", HScrolledWindow_swigregister, METH_VARARGS, NULL},
34352 { (char *)"HScrolledWindow_swiginit", HScrolledWindow_swiginit, METH_VARARGS, NULL},
34353 { (char *)"new_HVScrolledWindow", (PyCFunction) _wrap_new_HVScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34354 { (char *)"new_PreHVScrolledWindow", (PyCFunction)_wrap_new_PreHVScrolledWindow, METH_NOARGS, NULL},
34355 { (char *)"HVScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_HVScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34356 { (char *)"HVScrolledWindow_Create", (PyCFunction) _wrap_HVScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34357 { (char *)"HVScrolledWindow_GetRowsHeight", (PyCFunction) _wrap_HVScrolledWindow_GetRowsHeight, METH_VARARGS | METH_KEYWORDS, NULL},
34358 { (char *)"HVScrolledWindow_EstimateTotalHeight", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalHeight, METH_O, NULL},
34359 { (char *)"HVScrolledWindow_GetColumnsWidth", (PyCFunction) _wrap_HVScrolledWindow_GetColumnsWidth, METH_VARARGS | METH_KEYWORDS, NULL},
34360 { (char *)"HVScrolledWindow_EstimateTotalWidth", (PyCFunction)_wrap_HVScrolledWindow_EstimateTotalWidth, METH_O, NULL},
34361 { (char *)"HVScrolledWindow_swigregister", HVScrolledWindow_swigregister, METH_VARARGS, NULL},
34362 { (char *)"HVScrolledWindow_swiginit", HVScrolledWindow_swiginit, METH_VARARGS, NULL},
34363 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34364 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
34365 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34366 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34367 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
34368 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
34369 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
34370 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
34371 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34372 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
34373 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
34374 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
34375 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
34376 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
34377 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
34378 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
34379 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34380 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
34381 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
34382 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
34383 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
34384 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
34385 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34386 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
34387 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34388 { (char *)"VListBox_RefreshSelected", (PyCFunction)_wrap_VListBox_RefreshSelected, METH_O, NULL},
34389 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
34390 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34391 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
34392 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
34393 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34394 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
34395 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34396 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34397 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
34398 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
34399 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
34400 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
34401 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
34402 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
34403 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
34404 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34405 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
34406 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
34407 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
34408 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
34409 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34410 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
34411 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
34412 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
34413 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
34414 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
34415 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
34416 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
34417 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
34418 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34419 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
34420 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
34421 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
34422 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
34423 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
34424 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
34425 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
34426 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
34427 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34428 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
34429 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
34430 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
34431 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34432 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
34433 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
34434 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
34435 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
34436 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34437 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
34438 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
34439 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
34440 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
34441 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
34442 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
34443 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34444 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
34445 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
34446 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
34447 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
34448 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
34449 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
34450 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
34451 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
34452 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
34453 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
34454 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
34455 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
34456 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
34457 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
34458 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
34459 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
34460 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34461 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
34462 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
34463 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
34464 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
34465 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34466 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
34467 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
34468 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34469 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
34470 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
34471 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34472 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
34473 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
34474 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
34475 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
34476 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34477 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
34478 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
34479 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34480 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
34481 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
34482 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
34483 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
34484 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
34485 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
34486 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
34487 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
34488 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
34489 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
34490 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
34491 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
34492 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
34493 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
34494 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34495 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
34496 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
34497 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34498 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
34499 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
34500 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34501 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
34502 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
34503 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
34504 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
34505 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34506 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
34507 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
34508 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34509 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
34510 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
34511 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
34512 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
34513 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
34514 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
34515 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
34516 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
34517 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
34518 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
34519 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34520 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
34521 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
34522 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
34523 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
34524 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
34525 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
34526 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
34527 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
34528 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
34529 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
34530 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
34531 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
34532 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
34533 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
34534 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34535 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
34536 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34537 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
34538 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
34539 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
34540 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
34541 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34542 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
34543 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34544 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
34545 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
34546 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
34547 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
34548 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
34549 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
34550 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
34551 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
34552 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
34553 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
34554 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
34555 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34556 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
34557 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34558 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
34559 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
34560 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
34561 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34562 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
34563 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
34564 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
34565 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
34566 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34567 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
34568 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34569 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34570 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34571 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34572 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34573 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
34574 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
34575 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
34576 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
34577 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
34578 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
34579 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
34580 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
34581 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
34582 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
34583 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
34584 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
34585 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34586 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34587 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34588 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34589 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34590 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
34591 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
34592 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
34593 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
34594 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
34595 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
34596 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
34597 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
34598 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
34599 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
34600 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34601 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
34602 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34603 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
34604 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34605 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
34606 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
34607 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
34608 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
34609 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
34610 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
34611 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
34612 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
34613 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
34614 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
34615 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
34616 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
34617 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
34618 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
34619 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
34620 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
34621 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
34622 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
34623 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
34624 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
34625 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
34626 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
34627 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
34628 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
34629 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
34630 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
34631 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
34632 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
34633 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
34634 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
34635 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34636 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
34637 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
34638 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
34639 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
34640 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
34641 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
34642 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
34643 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
34644 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
34645 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
34646 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
34647 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
34648 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
34649 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
34650 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
34651 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
34652 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
34653 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
34654 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34655 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34656 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
34657 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
34658 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
34659 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
34660 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
34661 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
34662 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
34663 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
34664 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
34665 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
34666 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
34667 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
34668 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
34669 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
34670 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
34671 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
34672 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
34673 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
34674 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34675 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34676 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
34677 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
34678 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
34679 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
34680 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
34681 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
34682 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
34683 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
34684 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
34685 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
34686 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
34687 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34688 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
34689 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
34690 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
34691 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
34692 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
34693 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
34694 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
34695 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
34696 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
34697 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
34698 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
34699 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
34700 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
34701 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
34702 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
34703 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
34704 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
34705 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
34706 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
34707 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
34708 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
34709 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
34710 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
34711 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34712 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
34713 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
34714 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
34715 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
34716 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
34717 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
34718 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
34719 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
34720 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
34721 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
34722 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
34723 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
34724 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
34725 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
34726 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
34727 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34728 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
34729 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
34730 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
34731 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
34732 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
34733 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
34734 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
34735 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
34736 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
34737 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
34738 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
34739 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
34740 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
34741 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
34742 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
34743 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
34744 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
34745 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
34746 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
34747 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
34748 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
34749 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34750 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
34751 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
34752 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
34753 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
34754 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
34755 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34756 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
34757 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
34758 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
34759 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
34760 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
34761 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
34762 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
34763 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
34764 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
34765 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
34766 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
34767 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
34768 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
34769 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
34770 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
34771 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
34772 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
34773 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
34774 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
34775 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
34776 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
34777 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
34778 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
34779 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
34780 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
34781 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
34782 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
34783 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
34784 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
34785 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
34786 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34787 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
34788 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
34789 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34790 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
34791 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
34792 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
34793 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
34794 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
34795 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
34796 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34797 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
34798 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
34799 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
34800 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
34801 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
34802 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
34803 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
34804 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
34805 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
34806 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
34807 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
34808 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
34809 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
34810 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
34811 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
34812 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
34813 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
34814 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34815 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34816 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
34817 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
34818 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
34819 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
34820 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
34821 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
34822 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
34823 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
34824 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
34825 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
34826 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
34827 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
34828 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
34829 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
34830 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
34831 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
34832 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
34833 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
34834 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34835 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
34836 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
34837 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
34838 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34839 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
34840 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34841 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
34842 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
34843 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
34844 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
34845 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
34846 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
34847 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
34848 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
34849 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
34850 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
34851 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
34852 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
34853 { NULL, NULL, 0, NULL }
34854 };
34855
34856
34857 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34858
34859 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
34860 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
34861 }
34862 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
34863 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
34864 }
34865 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
34866 return (void *)((wxEvent *) ((wxMenuEvent *) x));
34867 }
34868 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
34869 return (void *)((wxEvent *) ((wxCloseEvent *) x));
34870 }
34871 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
34872 return (void *)((wxEvent *) ((wxMouseEvent *) x));
34873 }
34874 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
34875 return (void *)((wxEvent *) ((wxEraseEvent *) x));
34876 }
34877 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
34878 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
34879 }
34880 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
34881 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
34882 }
34883 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
34884 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
34885 }
34886 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
34887 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
34888 }
34889 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
34890 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
34891 }
34892 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
34893 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
34894 }
34895 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
34896 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
34897 }
34898 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
34899 return (void *)((wxEvent *) ((wxPyEvent *) x));
34900 }
34901 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
34902 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
34903 }
34904 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
34905 return (void *)((wxEvent *) ((wxIdleEvent *) x));
34906 }
34907 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
34908 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
34909 }
34910 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
34911 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
34912 }
34913 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
34914 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
34915 }
34916 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
34917 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
34918 }
34919 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
34920 return (void *)((wxEvent *) ((wxActivateEvent *) x));
34921 }
34922 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
34923 return (void *)((wxEvent *) ((wxSizeEvent *) x));
34924 }
34925 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
34926 return (void *)((wxEvent *) ((wxMoveEvent *) x));
34927 }
34928 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
34929 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
34930 }
34931 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
34932 return (void *)((wxEvent *) ((wxPaintEvent *) x));
34933 }
34934 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
34935 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
34936 }
34937 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
34938 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
34939 }
34940 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
34941 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
34942 }
34943 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
34944 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
34945 }
34946 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
34947 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
34948 }
34949 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
34950 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
34951 }
34952 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
34953 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
34954 }
34955 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
34956 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
34957 }
34958 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
34959 return (void *)((wxEvent *) ((wxFocusEvent *) x));
34960 }
34961 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
34962 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
34963 }
34964 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
34965 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
34966 }
34967 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
34968 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
34969 }
34970 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
34971 return (void *)((wxEvent *) ((wxShowEvent *) x));
34972 }
34973 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
34974 return (void *)((wxEvent *) ((wxCommandEvent *) x));
34975 }
34976 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
34977 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
34978 }
34979 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
34980 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
34981 }
34982 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
34983 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
34984 }
34985 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
34986 return (void *)((wxEvent *) ((wxKeyEvent *) x));
34987 }
34988 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
34989 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
34990 }
34991 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
34992 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
34993 }
34994 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
34995 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
34996 }
34997 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
34998 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
34999 }
35000 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
35001 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
35002 }
35003 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
35004 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35005 }
35006 static void *_p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper(void *x) {
35007 return (void *)((wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x));
35008 }
35009 static void *_p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper(void *x) {
35010 return (void *)((wxVarVScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
35011 }
35012 static void *_p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper(void *x) {
35013 return (void *)((wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x));
35014 }
35015 static void *_p_wxPyVListBoxTo_p_wxVarVScrollHelper(void *x) {
35016 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35017 }
35018 static void *_p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper(void *x) {
35019 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35020 }
35021 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper(void *x) {
35022 return (void *)((wxVarVScrollHelper *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35023 }
35024 static void *_p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper(void *x) {
35025 return (void *)((wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x));
35026 }
35027 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper(void *x) {
35028 return (void *)((wxVarHScrollHelper *) (wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
35029 }
35030 static void *_p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper(void *x) {
35031 return (void *)((wxVarHScrollHelper *) ((wxVarHVScrollHelper *) x));
35032 }
35033 static void *_p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper(void *x) {
35034 return (void *)((wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
35035 }
35036 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
35037 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35038 }
35039 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
35040 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35041 }
35042 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
35043 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
35044 }
35045 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
35046 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
35047 }
35048 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
35049 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
35050 }
35051 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
35052 return (void *)((wxEvtHandler *) ((wxValidator *) x));
35053 }
35054 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
35055 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
35056 }
35057 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
35058 return (void *)((wxEvtHandler *) ((wxMenu *) x));
35059 }
35060 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
35061 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35062 }
35063 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
35064 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35065 }
35066 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
35067 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35068 }
35069 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
35070 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35071 }
35072 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
35073 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35074 }
35075 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
35076 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35077 }
35078 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
35079 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35080 }
35081 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
35082 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35083 }
35084 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
35085 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35086 }
35087 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
35088 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
35089 }
35090 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
35091 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
35092 }
35093 static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x) {
35094 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x));
35095 }
35096 static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x) {
35097 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x));
35098 }
35099 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
35100 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
35101 }
35102 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
35103 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35104 }
35105 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
35106 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35107 }
35108 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
35109 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
35110 }
35111 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
35112 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
35113 }
35114 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
35115 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
35116 }
35117 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
35118 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
35119 }
35120 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
35121 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
35122 }
35123 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
35124 return (void *)((wxEvtHandler *) ((wxWindow *) x));
35125 }
35126 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
35127 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
35128 }
35129 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
35130 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
35131 }
35132 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
35133 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
35134 }
35135 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
35136 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35137 }
35138 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
35139 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
35140 }
35141 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
35142 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35143 }
35144 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
35145 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35146 }
35147 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
35148 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35149 }
35150 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
35151 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
35152 }
35153 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
35154 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35155 }
35156 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
35157 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
35158 }
35159 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
35160 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35161 }
35162 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
35163 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35164 }
35165 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
35166 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35167 }
35168 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
35169 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35170 }
35171 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
35172 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
35173 }
35174 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
35175 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35176 }
35177 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
35178 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
35179 }
35180 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
35181 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
35182 }
35183 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
35184 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35185 }
35186 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
35187 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35188 }
35189 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
35190 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
35191 }
35192 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
35193 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35194 }
35195 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
35196 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35197 }
35198 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
35199 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
35200 }
35201 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
35202 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35203 }
35204 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
35205 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35206 }
35207 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
35208 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
35209 }
35210 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
35211 return (void *)((wxFrame *) ((wxProgressDialog *) x));
35212 }
35213 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
35214 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
35215 }
35216 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
35217 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35218 }
35219 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
35220 return (void *)((wxFrame *) ((wxMiniFrame *) x));
35221 }
35222 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
35223 return (void *)((wxFrame *) ((wxSplashScreen *) x));
35224 }
35225 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
35226 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
35227 }
35228 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
35229 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
35230 }
35231 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
35232 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
35233 }
35234 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
35235 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
35236 }
35237 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
35238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35239 }
35240 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
35241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35242 }
35243 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
35244 return (void *)((wxObject *) ((wxSizerItem *) x));
35245 }
35246 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
35247 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
35248 }
35249 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
35250 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
35251 }
35252 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
35253 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
35254 }
35255 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
35256 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
35257 }
35258 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
35259 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
35260 }
35261 static void *_p_wxSizerTo_p_wxObject(void *x) {
35262 return (void *)((wxObject *) ((wxSizer *) x));
35263 }
35264 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
35265 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
35266 }
35267 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
35268 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
35269 }
35270 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
35271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
35272 }
35273 static void *_p_wxEventTo_p_wxObject(void *x) {
35274 return (void *)((wxObject *) ((wxEvent *) x));
35275 }
35276 static void *_p_wxFontDataTo_p_wxObject(void *x) {
35277 return (void *)((wxObject *) ((wxFontData *) x));
35278 }
35279 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
35280 return (void *)((wxObject *) ((wxPrintData *) x));
35281 }
35282 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
35283 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
35284 }
35285 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
35286 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
35287 }
35288 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
35289 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
35290 }
35291 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
35292 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
35293 }
35294 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
35295 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
35296 }
35297 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
35298 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
35299 }
35300 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
35301 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
35302 }
35303 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
35304 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
35305 }
35306 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
35307 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
35308 }
35309 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
35310 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
35311 }
35312 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
35313 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
35314 }
35315 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
35316 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
35317 }
35318 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
35319 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
35320 }
35321 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
35322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35323 }
35324 static void *_p_wxControlTo_p_wxObject(void *x) {
35325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
35326 }
35327 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
35328 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
35329 }
35330 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
35331 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
35332 }
35333 static void *_p_wxFSFileTo_p_wxObject(void *x) {
35334 return (void *)((wxObject *) ((wxFSFile *) x));
35335 }
35336 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
35337 return (void *)((wxObject *) ((wxFindReplaceData *) x));
35338 }
35339 static void *_p_wxPySizerTo_p_wxObject(void *x) {
35340 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
35341 }
35342 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
35343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35344 }
35345 static void *_p_wxColourDataTo_p_wxObject(void *x) {
35346 return (void *)((wxObject *) ((wxColourData *) x));
35347 }
35348 static void *_p_wxPyEventTo_p_wxObject(void *x) {
35349 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
35350 }
35351 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
35352 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
35353 }
35354 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
35355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
35356 }
35357 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
35358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35359 }
35360 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
35361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35362 }
35363 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
35364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35365 }
35366 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
35367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35368 }
35369 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
35370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35371 }
35372 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
35373 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35374 }
35375 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
35376 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35377 }
35378 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
35379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35380 }
35381 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
35382 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35383 }
35384 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
35385 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35386 }
35387 static void *_p_wxShowEventTo_p_wxObject(void *x) {
35388 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
35389 }
35390 static void *_p_wxPrinterTo_p_wxObject(void *x) {
35391 return (void *)((wxObject *) ((wxPrinter *) x));
35392 }
35393 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
35394 return (void *)((wxObject *) ((wxMenuItem *) x));
35395 }
35396 static void *_p_wxDateEventTo_p_wxObject(void *x) {
35397 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
35398 }
35399 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
35400 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
35401 }
35402 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
35403 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
35404 }
35405 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
35406 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
35407 }
35408 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
35409 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
35410 }
35411 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
35412 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
35413 }
35414 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
35415 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
35416 }
35417 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
35418 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
35419 }
35420 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
35421 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
35422 }
35423 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
35424 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
35425 }
35426 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
35427 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
35428 }
35429 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
35430 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
35431 }
35432 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
35433 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
35434 }
35435 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
35436 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
35437 }
35438 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
35439 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
35440 }
35441 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
35442 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
35443 }
35444 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
35445 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
35446 }
35447 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
35448 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
35449 }
35450 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
35451 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
35452 }
35453 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
35454 return (void *)((wxObject *) ((wxImageHandler *) x));
35455 }
35456 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
35457 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
35458 }
35459 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
35460 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
35461 }
35462 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
35463 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
35464 }
35465 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
35466 return (void *)((wxObject *) ((wxEvtHandler *) x));
35467 }
35468 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
35469 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
35470 }
35471 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
35472 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
35473 }
35474 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
35475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35476 }
35477 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
35478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35479 }
35480 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
35481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35482 }
35483 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
35484 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
35485 }
35486 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
35487 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
35488 }
35489 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
35490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35491 }
35492 static void *_p_wxImageTo_p_wxObject(void *x) {
35493 return (void *)((wxObject *) ((wxImage *) x));
35494 }
35495 static void *_p_wxFrameTo_p_wxObject(void *x) {
35496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
35497 }
35498 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
35499 return (void *)((wxObject *) ((wxPyPrintout *) x));
35500 }
35501 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
35502 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
35503 }
35504 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
35505 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
35506 }
35507 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
35508 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
35509 }
35510 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
35511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35512 }
35513 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
35514 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
35515 }
35516 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
35517 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
35518 }
35519 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
35520 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
35521 }
35522 static void *_p_wxWindowTo_p_wxObject(void *x) {
35523 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
35524 }
35525 static void *_p_wxMenuTo_p_wxObject(void *x) {
35526 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
35527 }
35528 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
35529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
35530 }
35531 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
35532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
35533 }
35534 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
35535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
35536 }
35537 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
35538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
35539 }
35540 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
35541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
35542 }
35543 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
35544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
35545 }
35546 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
35547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
35548 }
35549 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
35550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
35551 }
35552 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
35553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35554 }
35555 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
35556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35557 }
35558 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
35559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
35560 }
35561 static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x) {
35562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x));
35563 }
35564 static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x) {
35565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x));
35566 }
35567 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
35568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
35569 }
35570 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
35571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35572 }
35573 static void *_p_wxSashEventTo_p_wxObject(void *x) {
35574 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
35575 }
35576 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
35577 return (void *)((wxObject *) ((wxPrintPreview *) x));
35578 }
35579 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
35580 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
35581 }
35582 static void *_p_wxPanelTo_p_wxObject(void *x) {
35583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
35584 }
35585 static void *_p_wxDialogTo_p_wxObject(void *x) {
35586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
35587 }
35588 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
35589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35590 }
35591 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
35592 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35593 }
35594 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
35595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35596 }
35597 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
35598 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
35599 }
35600 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
35601 return (void *)((wxObject *) ((wxPrintDialog *) x));
35602 }
35603 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
35604 return (void *)((wxObject *) ((wxFileSystem *) x));
35605 }
35606 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
35607 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
35608 }
35609 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
35610 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
35611 }
35612 static void *_p_wxPyAppTo_p_wxObject(void *x) {
35613 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
35614 }
35615 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
35616 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
35617 }
35618 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
35619 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
35620 }
35621 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
35622 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
35623 }
35624 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
35625 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
35626 }
35627 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
35628 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
35629 }
35630 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
35631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
35632 }
35633 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
35634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35635 }
35636 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
35637 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
35638 }
35639 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
35640 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
35641 }
35642 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
35643 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
35644 }
35645 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
35646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
35647 }
35648 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
35649 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
35650 }
35651 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
35652 return (void *)((wxObject *) ((wxPrintDialogData *) x));
35653 }
35654 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
35655 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
35656 }
35657 static void *_p_wxValidatorTo_p_wxObject(void *x) {
35658 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
35659 }
35660 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
35661 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35662 }
35663 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
35664 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35665 }
35666 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
35667 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35668 }
35669 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
35670 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
35671 }
35672 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
35673 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
35674 }
35675 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
35676 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
35677 }
35678 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
35679 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
35680 }
35681 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
35682 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
35683 }
35684 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
35685 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
35686 }
35687 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
35688 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
35689 }
35690 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
35691 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
35692 }
35693 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
35694 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
35695 }
35696 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
35697 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
35698 }
35699 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
35700 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
35701 }
35702 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
35703 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
35704 }
35705 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
35706 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35707 }
35708 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
35709 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
35710 }
35711 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
35712 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
35713 }
35714 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
35715 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
35716 }
35717 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
35718 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
35719 }
35720 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
35721 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
35722 }
35723 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
35724 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
35725 }
35726 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
35727 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
35728 }
35729 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
35730 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35731 }
35732 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
35733 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
35734 }
35735 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
35736 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
35737 }
35738 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
35739 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
35740 }
35741 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
35742 return (void *)((wxWindow *) ((wxMenuBar *) x));
35743 }
35744 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
35745 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
35746 }
35747 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
35748 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
35749 }
35750 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
35751 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35752 }
35753 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
35754 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
35755 }
35756 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
35757 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
35758 }
35759 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
35760 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
35761 }
35762 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
35763 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
35764 }
35765 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
35766 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
35767 }
35768 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
35769 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
35770 }
35771 static void *_p_wxPanelTo_p_wxWindow(void *x) {
35772 return (void *)((wxWindow *) ((wxPanel *) x));
35773 }
35774 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
35775 return (void *)((wxWindow *) ((wxStatusBar *) x));
35776 }
35777 static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x) {
35778 return (void *)((wxWindow *) (wxPanel *) ((wxPyHVScrolledWindow *) x));
35779 }
35780 static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x) {
35781 return (void *)((wxWindow *) (wxPanel *) ((wxPyHScrolledWindow *) x));
35782 }
35783 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
35784 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
35785 }
35786 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
35787 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
35788 }
35789 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
35790 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
35791 }
35792 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
35793 return (void *)((wxWindow *) ((wxPopupWindow *) x));
35794 }
35795 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
35796 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
35797 }
35798 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
35799 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
35800 }
35801 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
35802 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
35803 }
35804 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
35805 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
35806 }
35807 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
35808 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
35809 }
35810 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
35811 return (void *)((wxWindow *) ((wxSashWindow *) x));
35812 }
35813 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
35814 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
35815 }
35816 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
35817 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35818 }
35819 static void *_p_wxControlTo_p_wxWindow(void *x) {
35820 return (void *)((wxWindow *) ((wxControl *) x));
35821 }
35822 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
35823 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
35824 }
35825 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
35826 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
35827 }
35828 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
35829 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
35830 }
35831 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
35832 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
35833 }
35834 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
35835 return (void *)((wxWindow *) ((wxPyWindow *) x));
35836 }
35837 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
35838 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
35839 }
35840 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
35841 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35842 }
35843 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
35844 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35845 }
35846 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
35847 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35848 }
35849 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
35850 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
35851 }
35852 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
35853 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35854 }
35855 static void *_p_wxFrameTo_p_wxWindow(void *x) {
35856 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
35857 }
35858 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
35859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
35860 }
35861 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
35862 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
35863 }
35864 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
35865 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
35866 }
35867 static void *_p_wxDialogTo_p_wxWindow(void *x) {
35868 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
35869 }
35870 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
35871 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
35872 }
35873 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
35874 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35875 }
35876 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
35877 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
35878 }
35879 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
35880 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35881 }
35882 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
35883 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35884 }
35885 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
35886 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
35887 }
35888 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
35889 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
35890 }
35891 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
35892 return (void *)((wxDialog *) ((wxColourDialog *) x));
35893 }
35894 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
35895 return (void *)((wxDialog *) ((wxDirDialog *) x));
35896 }
35897 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
35898 return (void *)((wxDialog *) ((wxFontDialog *) x));
35899 }
35900 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
35901 return (void *)((wxDialog *) ((wxFileDialog *) x));
35902 }
35903 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
35904 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
35905 }
35906 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
35907 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
35908 }
35909 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
35910 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
35911 }
35912 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
35913 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
35914 }
35915 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
35916 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
35917 }
35918 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
35919 return (void *)((wxDialog *) ((wxMessageDialog *) x));
35920 }
35921 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
35922 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
35923 }
35924 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
35925 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
35926 }
35927 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
35928 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
35929 }
35930 static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x) {
35931 return (void *)((wxPanel *) ((wxPyHScrolledWindow *) x));
35932 }
35933 static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x) {
35934 return (void *)((wxPanel *) ((wxPyHVScrolledWindow *) x));
35935 }
35936 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
35937 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
35938 }
35939 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
35940 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35941 }
35942 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
35943 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35944 }
35945 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
35946 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35947 }
35948 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
35949 return (void *)((wxPanel *) ((wxPyPanel *) x));
35950 }
35951 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
35952 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
35953 }
35954 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
35955 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
35956 }
35957 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
35958 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
35959 }
35960 static void *_p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35961 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxPyVScrolledWindow *) x));
35962 }
35963 static void *_p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35964 return (void *)((wxVarScrollHelperBase *) (wxVarHScrollHelper *) ((wxPyHScrolledWindow *) x));
35965 }
35966 static void *_p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase(void *x) {
35967 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxVarHVScrollHelper *) ((wxPyHVScrolledWindow *) x));
35968 }
35969 static void *_p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35970 return (void *)((wxVarScrollHelperBase *) ((wxVarVScrollHelper *) x));
35971 }
35972 static void *_p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35973 return (void *)((wxVarScrollHelperBase *) ((wxVarHScrollHelper *) x));
35974 }
35975 static void *_p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase(void *x) {
35976 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *) ((wxVarHVScrollHelper *) x));
35977 }
35978 static void *_p_wxPyVListBoxTo_p_wxVarScrollHelperBase(void *x) {
35979 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
35980 }
35981 static void *_p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) {
35982 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
35983 }
35984 static void *_p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase(void *x) {
35985 return (void *)((wxVarScrollHelperBase *) (wxVarVScrollHelper *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
35986 }
35987 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
35988 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
35989 }
35990 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
35991 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
35992 }
35993 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
35994 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
35995 }
35996 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
35997 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
35998 }
35999 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
36000 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
36001 }
36002 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
36003 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
36004 }
36005 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
36006 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
36007 }
36008 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
36009 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
36010 }
36011 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
36012 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
36013 }
36014 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
36015 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
36016 }
36017 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
36018 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
36019 }
36020 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
36021 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
36022 }
36023 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
36024 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
36025 }
36026 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
36027 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
36028 }
36029 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
36030 return (void *)((wxValidator *) ((wxPyValidator *) x));
36031 }
36032 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
36033 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
36034 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};
36035 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
36036 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
36037 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
36038 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
36039 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
36040 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
36041 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
36042 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
36043 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
36044 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
36045 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
36046 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
36047 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
36048 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
36049 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
36050 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
36051 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
36052 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
36053 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
36054 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
36055 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
36056 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
36057 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
36058 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
36059 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
36060 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
36061 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
36062 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
36063 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
36064 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
36065 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
36066 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
36067 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
36068 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
36069 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
36070 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
36071 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
36072 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
36073 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
36074 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
36075 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
36076 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
36077 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
36078 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
36079 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
36080 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
36081 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
36082 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
36083 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
36084 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
36085 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
36086 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
36087 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
36088 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
36089 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
36090 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
36091 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
36092 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
36093 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
36094 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
36095 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
36096 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
36097 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
36098 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
36099 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
36100 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
36101 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
36102 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
36103 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
36104 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
36105 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
36106 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
36107 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
36108 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
36109 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
36110 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
36111 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
36112 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
36113 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
36114 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
36115 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
36116 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
36117 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
36118 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
36119 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
36120 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
36121 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
36122 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
36123 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
36124 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
36125 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
36126 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
36127 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
36128 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
36129 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
36130 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
36131 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
36132 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
36133 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
36134 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
36135 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
36136 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
36137 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
36138 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
36139 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
36140 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
36141 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
36142 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
36143 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
36144 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
36145 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
36146 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
36147 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
36148 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
36149 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
36150 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
36151 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
36152 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
36153 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
36154 static swig_type_info _swigt__p_wxPosition = {"_p_wxPosition", "wxPosition *", 0, 0, (void*)0, 0};
36155 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
36156 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
36157 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
36158 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
36159 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
36160 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
36161 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
36162 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
36163 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
36164 static swig_type_info _swigt__p_wxPyHScrolledWindow = {"_p_wxPyHScrolledWindow", "wxPyHScrolledWindow *", 0, 0, (void*)0, 0};
36165 static swig_type_info _swigt__p_wxPyHVScrolledWindow = {"_p_wxPyHVScrolledWindow", "wxPyHVScrolledWindow *", 0, 0, (void*)0, 0};
36166 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
36167 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
36168 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
36169 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
36170 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
36171 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
36172 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
36173 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
36174 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
36175 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
36176 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
36177 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
36178 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
36179 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
36180 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
36181 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
36182 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
36183 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
36184 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
36185 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
36186 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
36187 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
36188 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
36189 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
36190 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
36191 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
36192 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
36193 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
36194 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
36195 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
36196 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
36197 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
36198 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
36199 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
36200 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
36201 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
36202 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
36203 static swig_type_info _swigt__p_wxVarHScrollHelper = {"_p_wxVarHScrollHelper", "wxVarHScrollHelper *", 0, 0, (void*)0, 0};
36204 static swig_type_info _swigt__p_wxVarHVScrollHelper = {"_p_wxVarHVScrollHelper", "wxVarHVScrollHelper *", 0, 0, (void*)0, 0};
36205 static swig_type_info _swigt__p_wxVarScrollHelperBase = {"_p_wxVarScrollHelperBase", "wxVarScrollHelperBase *", 0, 0, (void*)0, 0};
36206 static swig_type_info _swigt__p_wxVarVScrollHelper = {"_p_wxVarVScrollHelper", "wxVarVScrollHelper *", 0, 0, (void*)0, 0};
36207 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
36208 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
36209
36210 static swig_type_info *swig_type_initial[] = {
36211 &_swigt__p_bool,
36212 &_swigt__p_char,
36213 &_swigt__p_form_ops_t,
36214 &_swigt__p_int,
36215 &_swigt__p_unsigned_char,
36216 &_swigt__p_unsigned_int,
36217 &_swigt__p_unsigned_long,
36218 &_swigt__p_wxANIHandler,
36219 &_swigt__p_wxAcceleratorTable,
36220 &_swigt__p_wxActivateEvent,
36221 &_swigt__p_wxArrayInt,
36222 &_swigt__p_wxArrayString,
36223 &_swigt__p_wxBMPHandler,
36224 &_swigt__p_wxBitmap,
36225 &_swigt__p_wxBoxSizer,
36226 &_swigt__p_wxCURHandler,
36227 &_swigt__p_wxCalculateLayoutEvent,
36228 &_swigt__p_wxChildFocusEvent,
36229 &_swigt__p_wxClipboardTextEvent,
36230 &_swigt__p_wxCloseEvent,
36231 &_swigt__p_wxColour,
36232 &_swigt__p_wxColourData,
36233 &_swigt__p_wxColourDialog,
36234 &_swigt__p_wxCommandEvent,
36235 &_swigt__p_wxContextMenuEvent,
36236 &_swigt__p_wxControl,
36237 &_swigt__p_wxControlWithItems,
36238 &_swigt__p_wxDC,
36239 &_swigt__p_wxDateEvent,
36240 &_swigt__p_wxDialog,
36241 &_swigt__p_wxDirDialog,
36242 &_swigt__p_wxDisplayChangedEvent,
36243 &_swigt__p_wxDropFilesEvent,
36244 &_swigt__p_wxDuplexMode,
36245 &_swigt__p_wxEraseEvent,
36246 &_swigt__p_wxEvent,
36247 &_swigt__p_wxEventBlocker,
36248 &_swigt__p_wxEvtHandler,
36249 &_swigt__p_wxFSFile,
36250 &_swigt__p_wxFileDialog,
36251 &_swigt__p_wxFileSystem,
36252 &_swigt__p_wxFindDialogEvent,
36253 &_swigt__p_wxFindReplaceData,
36254 &_swigt__p_wxFindReplaceDialog,
36255 &_swigt__p_wxFlexGridSizer,
36256 &_swigt__p_wxFocusEvent,
36257 &_swigt__p_wxFont,
36258 &_swigt__p_wxFontData,
36259 &_swigt__p_wxFontDialog,
36260 &_swigt__p_wxFrame,
36261 &_swigt__p_wxGBSizerItem,
36262 &_swigt__p_wxGIFHandler,
36263 &_swigt__p_wxGridBagSizer,
36264 &_swigt__p_wxGridSizer,
36265 &_swigt__p_wxHtmlLinkInfo,
36266 &_swigt__p_wxICOHandler,
36267 &_swigt__p_wxIcon,
36268 &_swigt__p_wxIconBundle,
36269 &_swigt__p_wxIconizeEvent,
36270 &_swigt__p_wxIdleEvent,
36271 &_swigt__p_wxImage,
36272 &_swigt__p_wxImageHandler,
36273 &_swigt__p_wxIndividualLayoutConstraint,
36274 &_swigt__p_wxInitDialogEvent,
36275 &_swigt__p_wxItemContainer,
36276 &_swigt__p_wxJPEGHandler,
36277 &_swigt__p_wxKeyEvent,
36278 &_swigt__p_wxLayoutAlgorithm,
36279 &_swigt__p_wxLayoutConstraints,
36280 &_swigt__p_wxMDIChildFrame,
36281 &_swigt__p_wxMDIClientWindow,
36282 &_swigt__p_wxMDIParentFrame,
36283 &_swigt__p_wxMaximizeEvent,
36284 &_swigt__p_wxMenu,
36285 &_swigt__p_wxMenuBar,
36286 &_swigt__p_wxMenuEvent,
36287 &_swigt__p_wxMenuItem,
36288 &_swigt__p_wxMessageDialog,
36289 &_swigt__p_wxMiniFrame,
36290 &_swigt__p_wxMouseCaptureChangedEvent,
36291 &_swigt__p_wxMouseCaptureLostEvent,
36292 &_swigt__p_wxMouseEvent,
36293 &_swigt__p_wxMoveEvent,
36294 &_swigt__p_wxMultiChoiceDialog,
36295 &_swigt__p_wxNavigationKeyEvent,
36296 &_swigt__p_wxNcPaintEvent,
36297 &_swigt__p_wxNotifyEvent,
36298 &_swigt__p_wxNumberEntryDialog,
36299 &_swigt__p_wxObject,
36300 &_swigt__p_wxPCXHandler,
36301 &_swigt__p_wxPNGHandler,
36302 &_swigt__p_wxPNMHandler,
36303 &_swigt__p_wxPageSetupDialog,
36304 &_swigt__p_wxPageSetupDialogData,
36305 &_swigt__p_wxPaintEvent,
36306 &_swigt__p_wxPaletteChangedEvent,
36307 &_swigt__p_wxPanel,
36308 &_swigt__p_wxPaperSize,
36309 &_swigt__p_wxPasswordEntryDialog,
36310 &_swigt__p_wxPoint,
36311 &_swigt__p_wxPopupWindow,
36312 &_swigt__p_wxPosition,
36313 &_swigt__p_wxPreviewCanvas,
36314 &_swigt__p_wxPreviewControlBar,
36315 &_swigt__p_wxPreviewFrame,
36316 &_swigt__p_wxPrintData,
36317 &_swigt__p_wxPrintDialog,
36318 &_swigt__p_wxPrintDialogData,
36319 &_swigt__p_wxPrintPreview,
36320 &_swigt__p_wxPrinter,
36321 &_swigt__p_wxProgressDialog,
36322 &_swigt__p_wxPyApp,
36323 &_swigt__p_wxPyCommandEvent,
36324 &_swigt__p_wxPyEvent,
36325 &_swigt__p_wxPyHScrolledWindow,
36326 &_swigt__p_wxPyHVScrolledWindow,
36327 &_swigt__p_wxPyHtmlListBox,
36328 &_swigt__p_wxPyImageHandler,
36329 &_swigt__p_wxPyPanel,
36330 &_swigt__p_wxPyPopupTransientWindow,
36331 &_swigt__p_wxPyPreviewControlBar,
36332 &_swigt__p_wxPyPreviewFrame,
36333 &_swigt__p_wxPyPrintPreview,
36334 &_swigt__p_wxPyPrintout,
36335 &_swigt__p_wxPyScrolledWindow,
36336 &_swigt__p_wxPySizer,
36337 &_swigt__p_wxPyTaskBarIcon,
36338 &_swigt__p_wxPyVListBox,
36339 &_swigt__p_wxPyVScrolledWindow,
36340 &_swigt__p_wxPyValidator,
36341 &_swigt__p_wxPyWindow,
36342 &_swigt__p_wxQueryLayoutInfoEvent,
36343 &_swigt__p_wxQueryNewPaletteEvent,
36344 &_swigt__p_wxRect,
36345 &_swigt__p_wxRegion,
36346 &_swigt__p_wxSashEvent,
36347 &_swigt__p_wxSashLayoutWindow,
36348 &_swigt__p_wxSashWindow,
36349 &_swigt__p_wxScrollEvent,
36350 &_swigt__p_wxScrollWinEvent,
36351 &_swigt__p_wxScrolledWindow,
36352 &_swigt__p_wxSetCursorEvent,
36353 &_swigt__p_wxShowEvent,
36354 &_swigt__p_wxSimpleHtmlListBox,
36355 &_swigt__p_wxSingleChoiceDialog,
36356 &_swigt__p_wxSize,
36357 &_swigt__p_wxSizeEvent,
36358 &_swigt__p_wxSizer,
36359 &_swigt__p_wxSizerItem,
36360 &_swigt__p_wxSplashScreen,
36361 &_swigt__p_wxSplashScreenWindow,
36362 &_swigt__p_wxSplitterEvent,
36363 &_swigt__p_wxSplitterWindow,
36364 &_swigt__p_wxStaticBoxSizer,
36365 &_swigt__p_wxStatusBar,
36366 &_swigt__p_wxStdDialogButtonSizer,
36367 &_swigt__p_wxString,
36368 &_swigt__p_wxSysColourChangedEvent,
36369 &_swigt__p_wxTGAHandler,
36370 &_swigt__p_wxTIFFHandler,
36371 &_swigt__p_wxTaskBarIcon,
36372 &_swigt__p_wxTaskBarIconEvent,
36373 &_swigt__p_wxTextEntryDialog,
36374 &_swigt__p_wxTipWindow,
36375 &_swigt__p_wxToolBar,
36376 &_swigt__p_wxTopLevelWindow,
36377 &_swigt__p_wxUpdateUIEvent,
36378 &_swigt__p_wxValidator,
36379 &_swigt__p_wxVarHScrollHelper,
36380 &_swigt__p_wxVarHVScrollHelper,
36381 &_swigt__p_wxVarScrollHelperBase,
36382 &_swigt__p_wxVarVScrollHelper,
36383 &_swigt__p_wxVisualAttributes,
36384 &_swigt__p_wxWindow,
36385 &_swigt__p_wxWindowCreateEvent,
36386 &_swigt__p_wxWindowDestroyEvent,
36387 &_swigt__p_wxXPMHandler,
36388 };
36389
36390 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
36391 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
36392 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
36393 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
36394 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
36395 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
36396 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
36397 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
36398 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
36399 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
36400 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
36401 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
36402 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
36403 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
36404 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
36405 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
36406 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
36407 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
36408 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
36409 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
36410 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
36411 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
36412 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
36413 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}};
36414 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
36415 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}};
36416 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
36417 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
36418 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
36419 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
36420 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
36421 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
36422 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
36423 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
36424 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
36425 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
36426 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
36427 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
36428 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36429 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36430 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
36431 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
36432 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
36433 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
36434 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
36435 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36436 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36437 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36438 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
36439 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
36440 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
36441 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
36442 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
36443 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
36444 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}};
36445 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
36446 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
36447 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
36448 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
36449 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
36450 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_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_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_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}};
36451 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
36452 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
36453 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
36454 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
36455 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
36456 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
36457 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
36458 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
36459 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}};
36460 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
36461 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
36462 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
36463 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}};
36464 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
36465 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
36466 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
36467 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
36468 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
36469 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
36470 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
36471 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
36472 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
36473 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}};
36474 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
36475 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
36476 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
36477 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
36478 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
36479 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
36480 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
36481 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
36482 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
36483 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
36484 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
36485 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
36486 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
36487 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
36488 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
36489 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
36490 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
36491 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
36492 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
36493 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
36494 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
36495 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
36496 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
36497 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
36498 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
36499 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
36500 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
36501 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
36502 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
36503 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
36504 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_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_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_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_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_wxBMPHandler, _p_wxBMPHandlerTo_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_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_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}};
36505 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
36506 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
36507 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_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_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}};
36508 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
36509 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
36510 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
36511 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}};
36512 static swig_cast_info _swigc__p_wxPosition[] = { {&_swigt__p_wxPosition, 0, 0, 0},{0, 0, 0, 0}};
36513 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
36514 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}};
36515 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}};
36516 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
36517 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
36518 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
36519 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}};
36520 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
36521 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
36522 static swig_cast_info _swigc__p_wxPyHScrolledWindow[] = { {&_swigt__p_wxPyHScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36523 static swig_cast_info _swigc__p_wxPyHVScrolledWindow[] = { {&_swigt__p_wxPyHVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36524 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}};
36525 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
36526 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}};
36527 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
36528 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
36529 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
36530 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
36531 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
36532 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
36533 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}};
36534 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}};
36535 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
36536 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
36537 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
36538 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
36539 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
36540 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
36541 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}};
36542 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
36543 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}};
36544 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
36545 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
36546 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
36547 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
36548 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
36549 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
36550 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
36551 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
36552 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
36553 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
36554 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
36555 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
36556 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}};
36557 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
36558 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
36559 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}};
36560 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}};
36561 static swig_cast_info _swigc__p_wxVarHScrollHelper[] = { {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHScrollHelper, 0, 0}, {&_swigt__p_wxVarHScrollHelper, 0, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarHScrollHelper, 0, 0},{0, 0, 0, 0}};
36562 static swig_cast_info _swigc__p_wxVarHVScrollHelper[] = { {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarHVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, 0, 0, 0},{0, 0, 0, 0}};
36563 static swig_cast_info _swigc__p_wxVarScrollHelperBase[] = { {&_swigt__p_wxVarScrollHelperBase, 0, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarVScrollHelper, _p_wxVarVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarScrollHelperBase, 0, 0}, {&_swigt__p_wxVarHScrollHelper, _p_wxVarHScrollHelperTo_p_wxVarScrollHelperBase, 0, 0},{0, 0, 0, 0}};
36564 static swig_cast_info _swigc__p_wxVarVScrollHelper[] = { {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarVScrollHelper, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxVarVScrollHelper, 0, 0}, {&_swigt__p_wxVarHVScrollHelper, _p_wxVarHVScrollHelperTo_p_wxVarVScrollHelper, 0, 0},{0, 0, 0, 0}};
36565 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
36566 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_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_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_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_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}};
36567
36568 static swig_cast_info *swig_cast_initial[] = {
36569 _swigc__p_bool,
36570 _swigc__p_char,
36571 _swigc__p_form_ops_t,
36572 _swigc__p_int,
36573 _swigc__p_unsigned_char,
36574 _swigc__p_unsigned_int,
36575 _swigc__p_unsigned_long,
36576 _swigc__p_wxANIHandler,
36577 _swigc__p_wxAcceleratorTable,
36578 _swigc__p_wxActivateEvent,
36579 _swigc__p_wxArrayInt,
36580 _swigc__p_wxArrayString,
36581 _swigc__p_wxBMPHandler,
36582 _swigc__p_wxBitmap,
36583 _swigc__p_wxBoxSizer,
36584 _swigc__p_wxCURHandler,
36585 _swigc__p_wxCalculateLayoutEvent,
36586 _swigc__p_wxChildFocusEvent,
36587 _swigc__p_wxClipboardTextEvent,
36588 _swigc__p_wxCloseEvent,
36589 _swigc__p_wxColour,
36590 _swigc__p_wxColourData,
36591 _swigc__p_wxColourDialog,
36592 _swigc__p_wxCommandEvent,
36593 _swigc__p_wxContextMenuEvent,
36594 _swigc__p_wxControl,
36595 _swigc__p_wxControlWithItems,
36596 _swigc__p_wxDC,
36597 _swigc__p_wxDateEvent,
36598 _swigc__p_wxDialog,
36599 _swigc__p_wxDirDialog,
36600 _swigc__p_wxDisplayChangedEvent,
36601 _swigc__p_wxDropFilesEvent,
36602 _swigc__p_wxDuplexMode,
36603 _swigc__p_wxEraseEvent,
36604 _swigc__p_wxEvent,
36605 _swigc__p_wxEventBlocker,
36606 _swigc__p_wxEvtHandler,
36607 _swigc__p_wxFSFile,
36608 _swigc__p_wxFileDialog,
36609 _swigc__p_wxFileSystem,
36610 _swigc__p_wxFindDialogEvent,
36611 _swigc__p_wxFindReplaceData,
36612 _swigc__p_wxFindReplaceDialog,
36613 _swigc__p_wxFlexGridSizer,
36614 _swigc__p_wxFocusEvent,
36615 _swigc__p_wxFont,
36616 _swigc__p_wxFontData,
36617 _swigc__p_wxFontDialog,
36618 _swigc__p_wxFrame,
36619 _swigc__p_wxGBSizerItem,
36620 _swigc__p_wxGIFHandler,
36621 _swigc__p_wxGridBagSizer,
36622 _swigc__p_wxGridSizer,
36623 _swigc__p_wxHtmlLinkInfo,
36624 _swigc__p_wxICOHandler,
36625 _swigc__p_wxIcon,
36626 _swigc__p_wxIconBundle,
36627 _swigc__p_wxIconizeEvent,
36628 _swigc__p_wxIdleEvent,
36629 _swigc__p_wxImage,
36630 _swigc__p_wxImageHandler,
36631 _swigc__p_wxIndividualLayoutConstraint,
36632 _swigc__p_wxInitDialogEvent,
36633 _swigc__p_wxItemContainer,
36634 _swigc__p_wxJPEGHandler,
36635 _swigc__p_wxKeyEvent,
36636 _swigc__p_wxLayoutAlgorithm,
36637 _swigc__p_wxLayoutConstraints,
36638 _swigc__p_wxMDIChildFrame,
36639 _swigc__p_wxMDIClientWindow,
36640 _swigc__p_wxMDIParentFrame,
36641 _swigc__p_wxMaximizeEvent,
36642 _swigc__p_wxMenu,
36643 _swigc__p_wxMenuBar,
36644 _swigc__p_wxMenuEvent,
36645 _swigc__p_wxMenuItem,
36646 _swigc__p_wxMessageDialog,
36647 _swigc__p_wxMiniFrame,
36648 _swigc__p_wxMouseCaptureChangedEvent,
36649 _swigc__p_wxMouseCaptureLostEvent,
36650 _swigc__p_wxMouseEvent,
36651 _swigc__p_wxMoveEvent,
36652 _swigc__p_wxMultiChoiceDialog,
36653 _swigc__p_wxNavigationKeyEvent,
36654 _swigc__p_wxNcPaintEvent,
36655 _swigc__p_wxNotifyEvent,
36656 _swigc__p_wxNumberEntryDialog,
36657 _swigc__p_wxObject,
36658 _swigc__p_wxPCXHandler,
36659 _swigc__p_wxPNGHandler,
36660 _swigc__p_wxPNMHandler,
36661 _swigc__p_wxPageSetupDialog,
36662 _swigc__p_wxPageSetupDialogData,
36663 _swigc__p_wxPaintEvent,
36664 _swigc__p_wxPaletteChangedEvent,
36665 _swigc__p_wxPanel,
36666 _swigc__p_wxPaperSize,
36667 _swigc__p_wxPasswordEntryDialog,
36668 _swigc__p_wxPoint,
36669 _swigc__p_wxPopupWindow,
36670 _swigc__p_wxPosition,
36671 _swigc__p_wxPreviewCanvas,
36672 _swigc__p_wxPreviewControlBar,
36673 _swigc__p_wxPreviewFrame,
36674 _swigc__p_wxPrintData,
36675 _swigc__p_wxPrintDialog,
36676 _swigc__p_wxPrintDialogData,
36677 _swigc__p_wxPrintPreview,
36678 _swigc__p_wxPrinter,
36679 _swigc__p_wxProgressDialog,
36680 _swigc__p_wxPyApp,
36681 _swigc__p_wxPyCommandEvent,
36682 _swigc__p_wxPyEvent,
36683 _swigc__p_wxPyHScrolledWindow,
36684 _swigc__p_wxPyHVScrolledWindow,
36685 _swigc__p_wxPyHtmlListBox,
36686 _swigc__p_wxPyImageHandler,
36687 _swigc__p_wxPyPanel,
36688 _swigc__p_wxPyPopupTransientWindow,
36689 _swigc__p_wxPyPreviewControlBar,
36690 _swigc__p_wxPyPreviewFrame,
36691 _swigc__p_wxPyPrintPreview,
36692 _swigc__p_wxPyPrintout,
36693 _swigc__p_wxPyScrolledWindow,
36694 _swigc__p_wxPySizer,
36695 _swigc__p_wxPyTaskBarIcon,
36696 _swigc__p_wxPyVListBox,
36697 _swigc__p_wxPyVScrolledWindow,
36698 _swigc__p_wxPyValidator,
36699 _swigc__p_wxPyWindow,
36700 _swigc__p_wxQueryLayoutInfoEvent,
36701 _swigc__p_wxQueryNewPaletteEvent,
36702 _swigc__p_wxRect,
36703 _swigc__p_wxRegion,
36704 _swigc__p_wxSashEvent,
36705 _swigc__p_wxSashLayoutWindow,
36706 _swigc__p_wxSashWindow,
36707 _swigc__p_wxScrollEvent,
36708 _swigc__p_wxScrollWinEvent,
36709 _swigc__p_wxScrolledWindow,
36710 _swigc__p_wxSetCursorEvent,
36711 _swigc__p_wxShowEvent,
36712 _swigc__p_wxSimpleHtmlListBox,
36713 _swigc__p_wxSingleChoiceDialog,
36714 _swigc__p_wxSize,
36715 _swigc__p_wxSizeEvent,
36716 _swigc__p_wxSizer,
36717 _swigc__p_wxSizerItem,
36718 _swigc__p_wxSplashScreen,
36719 _swigc__p_wxSplashScreenWindow,
36720 _swigc__p_wxSplitterEvent,
36721 _swigc__p_wxSplitterWindow,
36722 _swigc__p_wxStaticBoxSizer,
36723 _swigc__p_wxStatusBar,
36724 _swigc__p_wxStdDialogButtonSizer,
36725 _swigc__p_wxString,
36726 _swigc__p_wxSysColourChangedEvent,
36727 _swigc__p_wxTGAHandler,
36728 _swigc__p_wxTIFFHandler,
36729 _swigc__p_wxTaskBarIcon,
36730 _swigc__p_wxTaskBarIconEvent,
36731 _swigc__p_wxTextEntryDialog,
36732 _swigc__p_wxTipWindow,
36733 _swigc__p_wxToolBar,
36734 _swigc__p_wxTopLevelWindow,
36735 _swigc__p_wxUpdateUIEvent,
36736 _swigc__p_wxValidator,
36737 _swigc__p_wxVarHScrollHelper,
36738 _swigc__p_wxVarHVScrollHelper,
36739 _swigc__p_wxVarScrollHelperBase,
36740 _swigc__p_wxVarVScrollHelper,
36741 _swigc__p_wxVisualAttributes,
36742 _swigc__p_wxWindow,
36743 _swigc__p_wxWindowCreateEvent,
36744 _swigc__p_wxWindowDestroyEvent,
36745 _swigc__p_wxXPMHandler,
36746 };
36747
36748
36749 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36750
36751 static swig_const_info swig_const_table[] = {
36752 {0, 0, 0, 0.0, 0, 0}};
36753
36754 #ifdef __cplusplus
36755 }
36756 #endif
36757 /* -----------------------------------------------------------------------------
36758 * Type initialization:
36759 * This problem is tough by the requirement that no dynamic
36760 * memory is used. Also, since swig_type_info structures store pointers to
36761 * swig_cast_info structures and swig_cast_info structures store pointers back
36762 * to swig_type_info structures, we need some lookup code at initialization.
36763 * The idea is that swig generates all the structures that are needed.
36764 * The runtime then collects these partially filled structures.
36765 * The SWIG_InitializeModule function takes these initial arrays out of
36766 * swig_module, and does all the lookup, filling in the swig_module.types
36767 * array with the correct data and linking the correct swig_cast_info
36768 * structures together.
36769 *
36770 * The generated swig_type_info structures are assigned staticly to an initial
36771 * array. We just loop though that array, and handle each type individually.
36772 * First we lookup if this type has been already loaded, and if so, use the
36773 * loaded structure instead of the generated one. Then we have to fill in the
36774 * cast linked list. The cast data is initially stored in something like a
36775 * two-dimensional array. Each row corresponds to a type (there are the same
36776 * number of rows as there are in the swig_type_initial array). Each entry in
36777 * a column is one of the swig_cast_info structures for that type.
36778 * The cast_initial array is actually an array of arrays, because each row has
36779 * a variable number of columns. So to actually build the cast linked list,
36780 * we find the array of casts associated with the type, and loop through it
36781 * adding the casts to the list. The one last trick we need to do is making
36782 * sure the type pointer in the swig_cast_info struct is correct.
36783 *
36784 * First off, we lookup the cast->type name to see if it is already loaded.
36785 * There are three cases to handle:
36786 * 1) If the cast->type has already been loaded AND the type we are adding
36787 * casting info to has not been loaded (it is in this module), THEN we
36788 * replace the cast->type pointer with the type pointer that has already
36789 * been loaded.
36790 * 2) If BOTH types (the one we are adding casting info to, and the
36791 * cast->type) are loaded, THEN the cast info has already been loaded by
36792 * the previous module so we just ignore it.
36793 * 3) Finally, if cast->type has not already been loaded, then we add that
36794 * swig_cast_info to the linked list (because the cast->type) pointer will
36795 * be correct.
36796 * ----------------------------------------------------------------------------- */
36797
36798 #ifdef __cplusplus
36799 extern "C" {
36800 #if 0
36801 } /* c-mode */
36802 #endif
36803 #endif
36804
36805 #if 0
36806 #define SWIGRUNTIME_DEBUG
36807 #endif
36808
36809 SWIGRUNTIME void
36810 SWIG_InitializeModule(void *clientdata) {
36811 size_t i;
36812 swig_module_info *module_head;
36813 static int init_run = 0;
36814
36815 clientdata = clientdata;
36816
36817 if (init_run) return;
36818 init_run = 1;
36819
36820 /* Initialize the swig_module */
36821 swig_module.type_initial = swig_type_initial;
36822 swig_module.cast_initial = swig_cast_initial;
36823
36824 /* Try and load any already created modules */
36825 module_head = SWIG_GetModule(clientdata);
36826 if (module_head) {
36827 swig_module.next = module_head->next;
36828 module_head->next = &swig_module;
36829 } else {
36830 /* This is the first module loaded */
36831 swig_module.next = &swig_module;
36832 SWIG_SetModule(clientdata, &swig_module);
36833 }
36834
36835 /* Now work on filling in swig_module.types */
36836 #ifdef SWIGRUNTIME_DEBUG
36837 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
36838 #endif
36839 for (i = 0; i < swig_module.size; ++i) {
36840 swig_type_info *type = 0;
36841 swig_type_info *ret;
36842 swig_cast_info *cast;
36843
36844 #ifdef SWIGRUNTIME_DEBUG
36845 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
36846 #endif
36847
36848 /* if there is another module already loaded */
36849 if (swig_module.next != &swig_module) {
36850 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
36851 }
36852 if (type) {
36853 /* Overwrite clientdata field */
36854 #ifdef SWIGRUNTIME_DEBUG
36855 printf("SWIG_InitializeModule: found type %s\n", type->name);
36856 #endif
36857 if (swig_module.type_initial[i]->clientdata) {
36858 type->clientdata = swig_module.type_initial[i]->clientdata;
36859 #ifdef SWIGRUNTIME_DEBUG
36860 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
36861 #endif
36862 }
36863 } else {
36864 type = swig_module.type_initial[i];
36865 }
36866
36867 /* Insert casting types */
36868 cast = swig_module.cast_initial[i];
36869 while (cast->type) {
36870 /* Don't need to add information already in the list */
36871 ret = 0;
36872 #ifdef SWIGRUNTIME_DEBUG
36873 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
36874 #endif
36875 if (swig_module.next != &swig_module) {
36876 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
36877 #ifdef SWIGRUNTIME_DEBUG
36878 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
36879 #endif
36880 }
36881 if (ret) {
36882 if (type == swig_module.type_initial[i]) {
36883 #ifdef SWIGRUNTIME_DEBUG
36884 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
36885 #endif
36886 cast->type = ret;
36887 ret = 0;
36888 } else {
36889 /* Check for casting already in the list */
36890 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
36891 #ifdef SWIGRUNTIME_DEBUG
36892 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
36893 #endif
36894 if (!ocast) ret = 0;
36895 }
36896 }
36897
36898 if (!ret) {
36899 #ifdef SWIGRUNTIME_DEBUG
36900 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
36901 #endif
36902 if (type->cast) {
36903 type->cast->prev = cast;
36904 cast->next = type->cast;
36905 }
36906 type->cast = cast;
36907 }
36908 cast++;
36909 }
36910 /* Set entry in modules->types array equal to the type */
36911 swig_module.types[i] = type;
36912 }
36913 swig_module.types[i] = 0;
36914
36915 #ifdef SWIGRUNTIME_DEBUG
36916 printf("**** SWIG_InitializeModule: Cast List ******\n");
36917 for (i = 0; i < swig_module.size; ++i) {
36918 int j = 0;
36919 swig_cast_info *cast = swig_module.cast_initial[i];
36920 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
36921 while (cast->type) {
36922 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
36923 cast++;
36924 ++j;
36925 }
36926 printf("---- Total casts: %d\n",j);
36927 }
36928 printf("**** SWIG_InitializeModule: Cast List ******\n");
36929 #endif
36930 }
36931
36932 /* This function will propagate the clientdata field of type to
36933 * any new swig_type_info structures that have been added into the list
36934 * of equivalent types. It is like calling
36935 * SWIG_TypeClientData(type, clientdata) a second time.
36936 */
36937 SWIGRUNTIME void
36938 SWIG_PropagateClientData(void) {
36939 size_t i;
36940 swig_cast_info *equiv;
36941 static int init_run = 0;
36942
36943 if (init_run) return;
36944 init_run = 1;
36945
36946 for (i = 0; i < swig_module.size; i++) {
36947 if (swig_module.types[i]->clientdata) {
36948 equiv = swig_module.types[i]->cast;
36949 while (equiv) {
36950 if (!equiv->converter) {
36951 if (equiv->type && !equiv->type->clientdata)
36952 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
36953 }
36954 equiv = equiv->next;
36955 }
36956 }
36957 }
36958 }
36959
36960 #ifdef __cplusplus
36961 #if 0
36962 {
36963 /* c-mode */
36964 #endif
36965 }
36966 #endif
36967
36968
36969
36970 #ifdef __cplusplus
36971 extern "C" {
36972 #endif
36973
36974 /* Python-specific SWIG API */
36975 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36976 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36977 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36978
36979 /* -----------------------------------------------------------------------------
36980 * global variable support code.
36981 * ----------------------------------------------------------------------------- */
36982
36983 typedef struct swig_globalvar {
36984 char *name; /* Name of global variable */
36985 PyObject *(*get_attr)(void); /* Return the current value */
36986 int (*set_attr)(PyObject *); /* Set the value */
36987 struct swig_globalvar *next;
36988 } swig_globalvar;
36989
36990 typedef struct swig_varlinkobject {
36991 PyObject_HEAD
36992 swig_globalvar *vars;
36993 } swig_varlinkobject;
36994
36995 SWIGINTERN PyObject *
36996 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
36997 return PyString_FromString("<Swig global variables>");
36998 }
36999
37000 SWIGINTERN PyObject *
37001 swig_varlink_str(swig_varlinkobject *v) {
37002 PyObject *str = PyString_FromString("(");
37003 swig_globalvar *var;
37004 for (var = v->vars; var; var=var->next) {
37005 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
37006 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
37007 }
37008 PyString_ConcatAndDel(&str,PyString_FromString(")"));
37009 return str;
37010 }
37011
37012 SWIGINTERN int
37013 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
37014 PyObject *str = swig_varlink_str(v);
37015 fprintf(fp,"Swig global variables ");
37016 fprintf(fp,"%s\n", PyString_AsString(str));
37017 Py_DECREF(str);
37018 return 0;
37019 }
37020
37021 SWIGINTERN void
37022 swig_varlink_dealloc(swig_varlinkobject *v) {
37023 swig_globalvar *var = v->vars;
37024 while (var) {
37025 swig_globalvar *n = var->next;
37026 free(var->name);
37027 free(var);
37028 var = n;
37029 }
37030 }
37031
37032 SWIGINTERN PyObject *
37033 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
37034 PyObject *res = NULL;
37035 swig_globalvar *var = v->vars;
37036 while (var) {
37037 if (strcmp(var->name,n) == 0) {
37038 res = (*var->get_attr)();
37039 break;
37040 }
37041 var = var->next;
37042 }
37043 if (res == NULL && !PyErr_Occurred()) {
37044 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37045 }
37046 return res;
37047 }
37048
37049 SWIGINTERN int
37050 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
37051 int res = 1;
37052 swig_globalvar *var = v->vars;
37053 while (var) {
37054 if (strcmp(var->name,n) == 0) {
37055 res = (*var->set_attr)(p);
37056 break;
37057 }
37058 var = var->next;
37059 }
37060 if (res == 1 && !PyErr_Occurred()) {
37061 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
37062 }
37063 return res;
37064 }
37065
37066 SWIGINTERN PyTypeObject*
37067 swig_varlink_type(void) {
37068 static char varlink__doc__[] = "Swig var link object";
37069 static PyTypeObject varlink_type;
37070 static int type_init = 0;
37071 if (!type_init) {
37072 const PyTypeObject tmp
37073 = {
37074 PyObject_HEAD_INIT(NULL)
37075 0, /* Number of items in variable part (ob_size) */
37076 (char *)"swigvarlink", /* Type name (tp_name) */
37077 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
37078 0, /* Itemsize (tp_itemsize) */
37079 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
37080 (printfunc) swig_varlink_print, /* Print (tp_print) */
37081 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
37082 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
37083 0, /* tp_compare */
37084 (reprfunc) swig_varlink_repr, /* tp_repr */
37085 0, /* tp_as_number */
37086 0, /* tp_as_sequence */
37087 0, /* tp_as_mapping */
37088 0, /* tp_hash */
37089 0, /* tp_call */
37090 (reprfunc)swig_varlink_str, /* tp_str */
37091 0, /* tp_getattro */
37092 0, /* tp_setattro */
37093 0, /* tp_as_buffer */
37094 0, /* tp_flags */
37095 varlink__doc__, /* tp_doc */
37096 0, /* tp_traverse */
37097 0, /* tp_clear */
37098 0, /* tp_richcompare */
37099 0, /* tp_weaklistoffset */
37100 #if PY_VERSION_HEX >= 0x02020000
37101 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
37102 #endif
37103 #if PY_VERSION_HEX >= 0x02030000
37104 0, /* tp_del */
37105 #endif
37106 #ifdef COUNT_ALLOCS
37107 0,0,0,0 /* tp_alloc -> tp_next */
37108 #endif
37109 };
37110 varlink_type = tmp;
37111 varlink_type.ob_type = &PyType_Type;
37112 type_init = 1;
37113 }
37114 return &varlink_type;
37115 }
37116
37117 /* Create a variable linking object for use later */
37118 SWIGINTERN PyObject *
37119 SWIG_Python_newvarlink(void) {
37120 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
37121 if (result) {
37122 result->vars = 0;
37123 }
37124 return ((PyObject*) result);
37125 }
37126
37127 SWIGINTERN void
37128 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
37129 swig_varlinkobject *v = (swig_varlinkobject *) p;
37130 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
37131 if (gv) {
37132 size_t size = strlen(name)+1;
37133 gv->name = (char *)malloc(size);
37134 if (gv->name) {
37135 strncpy(gv->name,name,size);
37136 gv->get_attr = get_attr;
37137 gv->set_attr = set_attr;
37138 gv->next = v->vars;
37139 }
37140 }
37141 v->vars = gv;
37142 }
37143
37144 SWIGINTERN PyObject *
37145 SWIG_globals() {
37146 static PyObject *_SWIG_globals = 0;
37147 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
37148 return _SWIG_globals;
37149 }
37150
37151 /* -----------------------------------------------------------------------------
37152 * constants/methods manipulation
37153 * ----------------------------------------------------------------------------- */
37154
37155 /* Install Constants */
37156 SWIGINTERN void
37157 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
37158 PyObject *obj = 0;
37159 size_t i;
37160 for (i = 0; constants[i].type; ++i) {
37161 switch(constants[i].type) {
37162 case SWIG_PY_POINTER:
37163 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
37164 break;
37165 case SWIG_PY_BINARY:
37166 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
37167 break;
37168 default:
37169 obj = 0;
37170 break;
37171 }
37172 if (obj) {
37173 PyDict_SetItemString(d, constants[i].name, obj);
37174 Py_DECREF(obj);
37175 }
37176 }
37177 }
37178
37179 /* -----------------------------------------------------------------------------*/
37180 /* Fix SwigMethods to carry the callback ptrs when needed */
37181 /* -----------------------------------------------------------------------------*/
37182
37183 SWIGINTERN void
37184 SWIG_Python_FixMethods(PyMethodDef *methods,
37185 swig_const_info *const_table,
37186 swig_type_info **types,
37187 swig_type_info **types_initial) {
37188 size_t i;
37189 for (i = 0; methods[i].ml_name; ++i) {
37190 const char *c = methods[i].ml_doc;
37191 if (c && (c = strstr(c, "swig_ptr: "))) {
37192 int j;
37193 swig_const_info *ci = 0;
37194 const char *name = c + 10;
37195 for (j = 0; const_table[j].type; ++j) {
37196 if (strncmp(const_table[j].name, name,
37197 strlen(const_table[j].name)) == 0) {
37198 ci = &(const_table[j]);
37199 break;
37200 }
37201 }
37202 if (ci) {
37203 size_t shift = (ci->ptype) - types;
37204 swig_type_info *ty = types_initial[shift];
37205 size_t ldoc = (c - methods[i].ml_doc);
37206 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
37207 char *ndoc = (char*)malloc(ldoc + lptr + 10);
37208 if (ndoc) {
37209 char *buff = ndoc;
37210 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
37211 if (ptr) {
37212 strncpy(buff, methods[i].ml_doc, ldoc);
37213 buff += ldoc;
37214 strncpy(buff, "swig_ptr: ", 10);
37215 buff += 10;
37216 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
37217 methods[i].ml_doc = ndoc;
37218 }
37219 }
37220 }
37221 }
37222 }
37223 }
37224
37225 #ifdef __cplusplus
37226 }
37227 #endif
37228
37229 /* -----------------------------------------------------------------------------*
37230 * Partial Init method
37231 * -----------------------------------------------------------------------------*/
37232
37233 #ifdef __cplusplus
37234 extern "C"
37235 #endif
37236 SWIGEXPORT void SWIG_init(void) {
37237 PyObject *m, *d;
37238
37239 /* Fix SwigMethods to carry the callback ptrs when needed */
37240 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
37241
37242 m = Py_InitModule((char *) SWIG_name, SwigMethods);
37243 d = PyModule_GetDict(m);
37244
37245 SWIG_InitializeModule(0);
37246 SWIG_InstallConstants(d,swig_const_table);
37247
37248
37249 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
37250 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
37251 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
37252 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
37253 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
37254 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
37255 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
37256 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
37257 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
37258 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
37259 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
37260 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
37261 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
37262 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
37263 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
37264 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
37265 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
37266 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
37267 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
37268 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
37269 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
37270 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
37271 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
37272 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
37273 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
37274 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
37275 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
37276 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
37277 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
37278 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
37279 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
37280 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
37281 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
37282 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
37283 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
37284 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
37285 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
37286 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
37287 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
37288 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
37289 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
37290 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
37291 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
37292 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
37293 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
37294 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
37295 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
37296 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
37297 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
37298 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
37299 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
37300 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
37301 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
37302 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
37303 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
37304 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
37305 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
37306 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
37307 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
37308 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
37309 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
37310 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
37311 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
37312 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
37313 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
37314 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
37315 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
37316 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
37317 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
37318 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
37319 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
37320 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
37321 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
37322 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
37323 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
37324 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
37325 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
37326 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
37327 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
37328 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
37329 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
37330 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
37331 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
37332 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
37333 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
37334 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
37335 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
37336 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
37337 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
37338 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
37339 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
37340 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
37341 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
37342 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
37343 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
37344 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
37345 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
37346 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
37347 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
37348 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
37349 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
37350 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
37351 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
37352
37353 // Map renamed classes back to their common name for OOR
37354 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
37355 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
37356 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
37357
37358 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
37359 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
37360 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
37361 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
37362 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
37363 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
37364 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
37365 PyDict_SetItemString(d, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK));
37366 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
37367 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
37368 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
37369 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
37370 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
37371 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
37372 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
37373 SWIG_Python_SetConstant(d, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST)));
37374 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
37375 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
37376 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
37377 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
37378 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
37379 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
37380 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
37381 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
37382 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
37383 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
37384 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
37385 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
37386 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
37387 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
37388 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
37389 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
37390 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
37391 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
37392 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
37393 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
37394 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
37395 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
37396 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
37397 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
37398 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
37399 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
37400 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
37401 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
37402 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
37403 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
37404 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
37405 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
37406 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
37407 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
37408 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
37409 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
37410 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
37411 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
37412 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
37413 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
37414 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
37415 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
37416 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
37417 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
37418 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
37419 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
37420 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
37421 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
37422 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
37423 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
37424 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
37425 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
37426 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
37427 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
37428 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
37429 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
37430 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
37431 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
37432 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
37433 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
37434 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
37435 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
37436 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
37437 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
37438 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
37439 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
37440 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
37441 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
37442 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
37443 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
37444 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
37445 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
37446 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
37447 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
37448 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
37449 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
37450 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
37451 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
37452 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
37453 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
37454 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
37455 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
37456 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
37457
37458 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
37459
37460 }
37461