]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
No need to use wxPyMake_wxObject for wxImageList. There are no
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info *swig_types[166];
2632 static swig_module_info swig_module = {swig_types, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635
2636 /* -------- TYPES TABLE (END) -------- */
2637
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2641 # endif
2642 #endif
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2645 #endif
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2648 #endif
2649 #ifndef METH_O
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2651 #endif
2652
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2657
2658 #define SWIG_name "_windows_"
2659
2660 #define SWIGVERSION 0x010329
2661
2662
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2665
2666
2667 #include <stdexcept>
2668
2669
2670 namespace swig {
2671 class PyObject_ptr {
2672 protected:
2673 PyObject *_obj;
2674
2675 public:
2676 PyObject_ptr() :_obj(0)
2677 {
2678 }
2679
2680 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2681 {
2682 Py_XINCREF(_obj);
2683 }
2684
2685 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2686 {
2687 if (initial_ref) Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr & operator=(const PyObject_ptr& item)
2691 {
2692 Py_XINCREF(item._obj);
2693 Py_XDECREF(_obj);
2694 _obj = item._obj;
2695 return *this;
2696 }
2697
2698 ~PyObject_ptr()
2699 {
2700 Py_XDECREF(_obj);
2701 }
2702
2703 operator PyObject *() const
2704 {
2705 return _obj;
2706 }
2707
2708 PyObject *operator->() const
2709 {
2710 return _obj;
2711 }
2712 };
2713 }
2714
2715
2716 namespace swig {
2717 struct PyObject_var : PyObject_ptr {
2718 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2719
2720 PyObject_var & operator = (PyObject* obj)
2721 {
2722 Py_XDECREF(_obj);
2723 _obj = obj;
2724 return *this;
2725 }
2726 };
2727 }
2728
2729
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2732
2733
2734 static const wxString wxPyEmptyString(wxEmptyString);
2735 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2736
2737
2738
2739 #include <limits.h>
2740 #ifndef LLONG_MIN
2741 # define LLONG_MIN LONG_LONG_MIN
2742 #endif
2743 #ifndef LLONG_MAX
2744 # define LLONG_MAX LONG_LONG_MAX
2745 #endif
2746 #ifndef ULLONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2748 #endif
2749
2750
2751 SWIGINTERN int
2752 SWIG_AsVal_long (PyObject* obj, long* val)
2753 {
2754 if (PyNumber_Check(obj)) {
2755 if (val) *val = PyInt_AsLong(obj);
2756 return SWIG_OK;
2757 }
2758 return SWIG_TypeError;
2759 }
2760
2761
2762 SWIGINTERN int
2763 SWIG_AsVal_int (PyObject * obj, int *val)
2764 {
2765 long v;
2766 int res = SWIG_AsVal_long (obj, &v);
2767 if (SWIG_IsOK(res)) {
2768 if ((v < INT_MIN || v > INT_MAX)) {
2769 return SWIG_OverflowError;
2770 } else {
2771 if (val) *val = static_cast< int >(v);
2772 }
2773 }
2774 return res;
2775 }
2776
2777
2778 SWIGINTERN int
2779 SWIG_AsVal_bool (PyObject *obj, bool *val)
2780 {
2781 if (obj == Py_True) {
2782 if (val) *val = true;
2783 return SWIG_OK;
2784 } else if (obj == Py_False) {
2785 if (val) *val = false;
2786 return SWIG_OK;
2787 } else {
2788 long v = 0;
2789 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2790 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2791 return res;
2792 }
2793 }
2794
2795
2796 #define SWIG_From_long PyInt_FromLong
2797
2798
2799 SWIGINTERNINLINE PyObject *
2800 SWIG_From_int (int value)
2801 {
2802 return SWIG_From_long (value);
2803 }
2804
2805
2806 SWIGINTERN int
2807 SWIG_AsVal_double (PyObject *obj, double* val)
2808 {
2809 if (PyNumber_Check(obj)) {
2810 if (val) *val = PyFloat_AsDouble(obj);
2811 return SWIG_OK;
2812 }
2813 return SWIG_TypeError;
2814 }
2815
2816
2817 #define SWIG_From_double PyFloat_FromDouble
2818
2819 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2820 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2821 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2822 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2823 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2824 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2825
2826
2827 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2828 wxRect r;
2829 self->GetFieldRect(i, r);
2830 return r;
2831 }
2832 static const wxString wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2835
2836 #include <wx/popupwin.h>
2837
2838
2839 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2840 {
2841 public:
2842 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2843 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2844 : wxPopupTransientWindow(parent, style) {}
2845
2846 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2847 DEC_PYCALLBACK__(OnDismiss);
2848 DEC_PYCALLBACK_BOOL_(CanDismiss);
2849 PYPRIVATE;
2850 };
2851
2852
2853 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2854 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2855 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2856
2857
2858 #include <wx/tipwin.h>
2859
2860 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2861 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2862 }
2863
2864 #include <wx/tipwin.h>
2865
2866
2867 #include <wx/vscroll.h>
2868
2869
2870 class wxPyVScrolledWindow : public wxVScrolledWindow
2871 {
2872 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2873 public:
2874 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2875
2876 wxPyVScrolledWindow(wxWindow *parent,
2877 wxWindowID id = wxID_ANY,
2878 const wxPoint& pos = wxDefaultPosition,
2879 const wxSize& size = wxDefaultSize,
2880 long style = 0,
2881 const wxString& name = wxPyPanelNameStr)
2882 : wxVScrolledWindow(parent, id, pos, size, style, name)
2883 {}
2884
2885 // Overridable virtuals
2886
2887 // this function must be overridden in the derived class and it should
2888 // return the height of the given line in pixels
2889 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2890
2891
2892 // this function doesn't have to be overridden but it may be useful to do
2893 // it if calculating the lines heights is a relatively expensive operation
2894 // as it gives the user code a possibility to calculate several of them at
2895 // once
2896 //
2897 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2898 // shouldn't rely on the latter being called for all lines in the interval
2899 // specified here. It is also possible that OnGetLineHeight() will be
2900 // called for the lines outside of this interval, so this is really just a
2901 // hint, not a promise.
2902 //
2903 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2904 // usual
2905 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2906
2907
2908 // when the number of lines changes, we try to estimate the total height
2909 // of all lines which is a rather expensive operation in terms of lines
2910 // access, so if the user code may estimate the average height
2911 // better/faster than we do, it should override this function to implement
2912 // its own logic
2913 //
2914 // this function should return the best guess for the total height it may
2915 // make
2916 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2917
2918
2919 // Also expose some other interesting protected methods
2920
2921
2922 // find the index of the line we need to show at the top of the window such
2923 // that the last (fully or partially) visible line is the given one
2924 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2925 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2926
2927 // get the total height of the lines between lineMin (inclusive) and
2928 // lineMax (exclusive)
2929 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2930 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2931
2932 // update the thumb size shown by the scrollbar
2933 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2934
2935 // remove the scrollbar completely because we don't need it
2936 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2937
2938 PYPRIVATE;
2939 };
2940
2941 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2942
2943 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2944 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2945 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2946
2947
2948 SWIGINTERN int
2949 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2950 {
2951 long v = 0;
2952 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2953 return SWIG_TypeError;
2954 }
2955 else if (val)
2956 *val = (unsigned long)v;
2957 return SWIG_OK;
2958 }
2959
2960
2961 SWIGINTERNINLINE int
2962 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2963 {
2964 unsigned long v;
2965 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2966 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2967 return res;
2968 }
2969
2970
2971 SWIGINTERNINLINE PyObject*
2972 SWIG_From_unsigned_SS_long (unsigned long value)
2973 {
2974 return (value > LONG_MAX) ?
2975 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2976 }
2977
2978
2979 SWIGINTERNINLINE PyObject *
2980 SWIG_From_size_t (size_t value)
2981 {
2982 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2983 }
2984
2985
2986 #include <wx/vlbox.h>
2987
2988 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2989
2990 class wxPyVListBox : public wxVListBox
2991 {
2992 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2993 public:
2994 wxPyVListBox() : wxVListBox() {}
2995
2996 wxPyVListBox(wxWindow *parent,
2997 wxWindowID id = wxID_ANY,
2998 const wxPoint& pos = wxDefaultPosition,
2999 const wxSize& size = wxDefaultSize,
3000 long style = 0,
3001 const wxString& name = wxPyVListBoxNameStr)
3002 : wxVListBox(parent, id, pos, size, style, name)
3003 {}
3004
3005 // Overridable virtuals
3006
3007 // the derived class must implement this function to actually draw the item
3008 // with the given index on the provided DC
3009 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3010 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3011
3012
3013 // the derived class must implement this method to return the height of the
3014 // specified item
3015 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3016 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3017
3018
3019 // this method may be used to draw separators between the lines; note that
3020 // the rectangle may be modified, typically to deflate it a bit before
3021 // passing to OnDrawItem()
3022 //
3023 // the base class version doesn't do anything
3024 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3025 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3026
3027
3028 // this method is used to draw the items background and, maybe, a border
3029 // around it
3030 //
3031 // the base class version implements a reasonable default behaviour which
3032 // consists in drawing the selected item with the standard background
3033 // colour and drawing a border around the item if it is either selected or
3034 // current
3035 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3036 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3037
3038
3039 PYPRIVATE;
3040 };
3041
3042 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3043
3044 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3045 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3046 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3047 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3048
3049
3050 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3051 unsigned long cookie = 0;
3052 int selected = self->GetFirstSelected(cookie);
3053 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3054 PyObject* tup = PyTuple_New(2);
3055 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3056 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3057 wxPyEndBlockThreads(blocked);
3058 return tup;
3059 }
3060 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3061 int selected = self->GetNextSelected(cookie);
3062 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3063 PyObject* tup = PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3065 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3066 wxPyEndBlockThreads(blocked);
3067 return tup;
3068 }
3069
3070 #include <wx/htmllbox.h>
3071
3072
3073 class wxPyHtmlListBox : public wxHtmlListBox
3074 {
3075 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3076 public:
3077 wxPyHtmlListBox() : wxHtmlListBox() {}
3078
3079 wxPyHtmlListBox(wxWindow *parent,
3080 wxWindowID id = wxID_ANY,
3081 const wxPoint& pos = wxDefaultPosition,
3082 const wxSize& size = wxDefaultSize,
3083 long style = 0,
3084 const wxString& name = wxPyVListBoxNameStr)
3085 : wxHtmlListBox(parent, id, pos, size, style, name)
3086 {}
3087
3088 // Overridable virtuals
3089
3090 // this method must be implemented in the derived class and should return
3091 // the body (i.e. without <html>) of the HTML for the given item
3092 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3093
3094 // this function may be overridden to decorate HTML returned by OnGetItem()
3095 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3096
3097 // These are from wxVListBox
3098 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3099 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3100
3101 // TODO:
3102 // // this method allows to customize the selection appearance: it may be used
3103 // // to specify the colour of the text which normally has the given colour
3104 // // colFg when it is inside the selection
3105 // //
3106 // // by default, the original colour is not used at all and all text has the
3107 // // same (default for this system) colour inside selection
3108 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3109
3110 // // this is the same as GetSelectedTextColour() but allows to customize the
3111 // // background colour -- this is even more rarely used as you can change it
3112 // // globally using SetSelectionBackground()
3113 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3114
3115
3116 // This method may be overriden to handle clicking on a link in
3117 // the listbox. By default, clicking links is ignored.
3118 virtual void OnLinkClicked(size_t n,
3119 const wxHtmlLinkInfo& link);
3120
3121 PYPRIVATE;
3122 };
3123
3124
3125 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3126
3127 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3128 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3129 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3130 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3131
3132
3133 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3134 const wxHtmlLinkInfo& link) {
3135 bool found;
3136 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3137 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3138 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3139 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3140 Py_DECREF(obj);
3141 }
3142 wxPyEndBlockThreads(blocked);
3143 if (! found)
3144 wxPyHtmlListBox::OnLinkClicked(n, link);
3145 }
3146
3147
3148
3149
3150
3151 #ifndef wxHAS_TASK_BAR_ICON
3152 // implement dummy classes for platforms that don't have it
3153
3154 class wxTaskBarIcon : public wxEvtHandler
3155 {
3156 public:
3157 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3158 };
3159
3160
3161 class wxTaskBarIconEvent : public wxEvent
3162 {
3163 public:
3164 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3165 { wxPyRaiseNotImplemented(); }
3166 virtual wxEvent* Clone() const { return NULL; }
3167 bool IsOk() const { return false; }
3168 bool IsIconInstalled() const { return false; }
3169 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3170 bool RemoveIcon() { return false; }
3171 bool PopupMenu(wxMenu *menu) { return false; }
3172 };
3173
3174 enum {
3175 wxEVT_TASKBAR_MOVE = 0,
3176 wxEVT_TASKBAR_LEFT_DOWN = 0,
3177 wxEVT_TASKBAR_LEFT_UP = 0,
3178 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3179 wxEVT_TASKBAR_RIGHT_UP = 0,
3180 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3181 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3182 };
3183
3184
3185 #else
3186 // Otherwise make a class that can virtualize CreatePopupMenu
3187 class wxPyTaskBarIcon : public wxTaskBarIcon
3188 {
3189 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3190 public:
3191 wxPyTaskBarIcon() : wxTaskBarIcon()
3192 {}
3193
3194 wxMenu* CreatePopupMenu() {
3195 wxMenu *rval = NULL;
3196 bool found;
3197 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3198 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3199 PyObject* ro;
3200 wxMenu* ptr;
3201 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3202 if (ro) {
3203 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3204 rval = ptr;
3205 Py_DECREF(ro);
3206 }
3207 }
3208 wxPyEndBlockThreads(blocked);
3209 if (! found)
3210 rval = wxTaskBarIcon::CreatePopupMenu();
3211 return rval;
3212 }
3213
3214 PYPRIVATE;
3215 };
3216
3217 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3218
3219 #endif
3220
3221 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3222 self->RemoveIcon();
3223 delete self;
3224 }
3225 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3226 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3227 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3228 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3229 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3230 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3231
3232 // for compatibility only
3233 #define wxHIDE_READONLY 0
3234
3235 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3236 wxArrayString arr;
3237 self->GetFilenames(arr);
3238 return wxArrayString2PyList_helper(arr);
3239 }
3240 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3241 wxArrayString arr;
3242 self->GetPaths(arr);
3243 return wxArrayString2PyList_helper(arr);
3244 }
3245 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3246 return wxArrayInt2PyList_helper(self->GetSelections());
3247 }
3248 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){
3249 return new wxSingleChoiceDialog(parent, message, caption,
3250 choices, choices_array, NULL, style, pos);
3251 }
3252 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3253
3254 SWIGINTERNINLINE PyObject*
3255 SWIG_From_bool (bool value)
3256 {
3257 return PyBool_FromLong(value ? 1 : 0);
3258 }
3259
3260
3261 #include <wx/mdi.h>
3262
3263 // C++ version of Python aware wxWindow
3264 class wxPyWindow : public wxWindow
3265 {
3266 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3267 public:
3268 wxPyWindow() : wxWindow() {}
3269 wxPyWindow(wxWindow* parent, const wxWindowID id,
3270 const wxPoint& pos = wxDefaultPosition,
3271 const wxSize& size = wxDefaultSize,
3272 long style = 0,
3273 const wxString& name = wxPyPanelNameStr)
3274 : wxWindow(parent, id, pos, size, style, name) {}
3275
3276 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3277
3278 bool DoEraseBackground(wxDC* dc) {
3279 #ifdef __WXMSW__
3280 return wxWindow::DoEraseBackground(dc->GetHDC());
3281 #else
3282 dc->SetBackground(wxBrush(GetBackgroundColour()));
3283 dc->Clear();
3284 return true;
3285 #endif
3286 }
3287
3288 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3289 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3292
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3296
3297 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3298 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3299
3300 DEC_PYCALLBACK__(InitDialog);
3301 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3302 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3303 DEC_PYCALLBACK_BOOL_(Validate);
3304
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3307 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3308
3309 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3311
3312 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3313 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3314
3315 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3316
3317 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3318
3319 PYPRIVATE;
3320 };
3321
3322 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3323
3324 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3325 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3328
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3332
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3335
3336 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3340
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3342 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3343 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3344
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3347
3348 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3349 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3350
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3352
3353 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3354
3355 // C++ version of Python aware wxPanel
3356 class wxPyPanel : public wxPanel
3357 {
3358 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3359 public:
3360 wxPyPanel() : wxPanel() {}
3361 wxPyPanel(wxWindow* parent, const wxWindowID id,
3362 const wxPoint& pos = wxDefaultPosition,
3363 const wxSize& size = wxDefaultSize,
3364 long style = 0,
3365 const wxString& name = wxPyPanelNameStr)
3366 : wxPanel(parent, id, pos, size, style, name) {}
3367
3368 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3369 bool DoEraseBackground(wxDC* dc) {
3370 #ifdef __WXMSW__
3371 return wxWindow::DoEraseBackground(dc->GetHDC());
3372 #else
3373 dc->SetBackground(wxBrush(GetBackgroundColour()));
3374 dc->Clear();
3375 return true;
3376 #endif
3377 }
3378
3379
3380 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3381 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3383 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3384
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3388
3389 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3390 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3391
3392 DEC_PYCALLBACK__(InitDialog);
3393 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3394 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3395 DEC_PYCALLBACK_BOOL_(Validate);
3396
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3398 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3399 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3400
3401 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3402 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3403
3404 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3405 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3406
3407 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3408
3409 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3410
3411 PYPRIVATE;
3412 };
3413
3414 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3415
3416 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3417 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3419 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3420
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3424
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3427
3428 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3432
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3434 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3436
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3438 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3439
3440 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3441 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3442
3443 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3444
3445 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3446
3447 // C++ version of Python aware wxScrolledWindow
3448 class wxPyScrolledWindow : public wxScrolledWindow
3449 {
3450 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3451 public:
3452 wxPyScrolledWindow() : wxScrolledWindow() {}
3453 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3454 const wxPoint& pos = wxDefaultPosition,
3455 const wxSize& size = wxDefaultSize,
3456 long style = 0,
3457 const wxString& name = wxPyPanelNameStr)
3458 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3459
3460 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3461 bool DoEraseBackground(wxDC* dc) {
3462 #ifdef __WXMSW__
3463 return wxWindow::DoEraseBackground(dc->GetHDC());
3464 #else
3465 dc->SetBackground(wxBrush(GetBackgroundColour()));
3466 dc->Clear();
3467 return true;
3468 #endif
3469 }
3470
3471 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3472 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3475
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3479
3480 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3481 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3482
3483 DEC_PYCALLBACK__(InitDialog);
3484 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3485 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3486 DEC_PYCALLBACK_BOOL_(Validate);
3487
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3490 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3491
3492 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3493 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3494
3495 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3496 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3497
3498 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3499
3500 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3501
3502 PYPRIVATE;
3503 };
3504
3505 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3506
3507 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3508 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3511
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3515
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3518
3519 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3523
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3527
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3530
3531 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3532 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3533
3534 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3535
3536 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3537
3538
3539 #include "wx/wxPython/printfw.h"
3540
3541
3542 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3543 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3544 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3545 PyObject* data;
3546 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3547 data = PyString_FromStringAndSize(self->GetPrivData(),
3548 self->GetPrivDataLen());
3549 wxPyEndBlockThreads(blocked);
3550 return data;
3551 }
3552 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3553 if (! PyString_Check(data)) {
3554 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3555 "Expected string object"));
3556 return /* NULL */ ;
3557 }
3558
3559 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3560 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3561 wxPyEndBlockThreads(blocked);
3562 }
3563
3564
3565 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3566
3567 // Since this one would be tough and ugly to do with the Macros...
3568 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3569 bool hadErr = false;
3570 bool found;
3571
3572 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3573 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3574 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3575 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3576 PyObject* val;
3577
3578 val = PyTuple_GetItem(result, 0);
3579 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3580 else hadErr = true;
3581
3582 val = PyTuple_GetItem(result, 1);
3583 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3584 else hadErr = true;
3585
3586 val = PyTuple_GetItem(result, 2);
3587 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3588 else hadErr = true;
3589
3590 val = PyTuple_GetItem(result, 3);
3591 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3592 else hadErr = true;
3593 }
3594 else
3595 hadErr = true;
3596
3597 if (hadErr) {
3598 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3599 PyErr_Print();
3600 }
3601 Py_DECREF(result);
3602 }
3603 wxPyEndBlockThreads(blocked);
3604 if (! found)
3605 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3606 }
3607
3608
3609
3610 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3611 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3615 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3616 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3617
3618
3619
3620
3621
3622 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3623 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3624
3625
3626 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3627 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3628 bool rval=false; \
3629 bool found; \
3630 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3631 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3632 PyObject* win = wxPyMake_wxObject(a,false); \
3633 PyObject* dc = wxPyMake_wxObject(&b,false); \
3634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3635 Py_DECREF(win); \
3636 Py_DECREF(dc); \
3637 } \
3638 wxPyEndBlockThreads(blocked); \
3639 if (! found) \
3640 rval = PCLASS::CBNAME(a, b); \
3641 return rval; \
3642 }
3643
3644
3645
3646
3647 class wxPyPrintPreview : public wxPrintPreview
3648 {
3649 DECLARE_CLASS(wxPyPrintPreview)
3650 public:
3651 wxPyPrintPreview(wxPyPrintout* printout,
3652 wxPyPrintout* printoutForPrinting,
3653 wxPrintDialogData* data=NULL)
3654 : wxPrintPreview(printout, printoutForPrinting, data)
3655 {}
3656 wxPyPrintPreview(wxPyPrintout* printout,
3657 wxPyPrintout* printoutForPrinting,
3658 wxPrintData* data)
3659 : wxPrintPreview(printout, printoutForPrinting, data)
3660 {}
3661
3662 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3665 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3666 DEC_PYCALLBACK_VOID_INT(SetZoom);
3667 DEC_PYCALLBACK_BOOL_BOOL(Print);
3668 DEC_PYCALLBACK_VOID_(DetermineScaling);
3669
3670 PYPRIVATE;
3671 };
3672
3673 // Stupid renamed classes... Fix this in 2.5...
3674 #if defined(__WXMSW__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3676 #elif defined(__WXMAC__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3678 #else
3679 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3680 #endif
3681
3682 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3685 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3686 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3687 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3688 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3689
3690
3691 class wxPyPreviewFrame : public wxPreviewFrame
3692 {
3693 DECLARE_CLASS(wxPyPreviewFrame)
3694 public:
3695 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3696 const wxString& title,
3697 const wxPoint& pos = wxDefaultPosition,
3698 const wxSize& size = wxDefaultSize,
3699 long style = wxDEFAULT_FRAME_STYLE,
3700 const wxString& name = wxPyFrameNameStr)
3701 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3702 {}
3703
3704 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3705 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3706
3707 DEC_PYCALLBACK_VOID_(Initialize);
3708 DEC_PYCALLBACK_VOID_(CreateCanvas);
3709 DEC_PYCALLBACK_VOID_(CreateControlBar);
3710
3711 PYPRIVATE;
3712 };
3713
3714 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3715
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3719
3720
3721 class wxPyPreviewControlBar : public wxPreviewControlBar
3722 {
3723 DECLARE_CLASS(wxPyPreviewControlBar)
3724 public:
3725 wxPyPreviewControlBar(wxPrintPreview *preview,
3726 long buttons,
3727 wxWindow *parent,
3728 const wxPoint& pos = wxDefaultPosition,
3729 const wxSize& size = wxDefaultSize,
3730 long style = 0,
3731 const wxString& name = wxPyPanelNameStr)
3732 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3733 {}
3734
3735 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3736
3737 DEC_PYCALLBACK_VOID_(CreateButtons);
3738 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3739
3740 PYPRIVATE;
3741 };
3742
3743 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3744 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3745 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3746
3747 #ifdef __cplusplus
3748 extern "C" {
3749 #endif
3750 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj = 0;
3752 wxWindow *arg1 = (wxWindow *) 0 ;
3753 int arg2 = (int) (int)-1 ;
3754 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3755 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3756 wxSize const &arg4_defvalue = wxDefaultSize ;
3757 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3758 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3759 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3760 wxString *arg6 = (wxString *) &arg6_defvalue ;
3761 wxPanel *result = 0 ;
3762 void *argp1 = 0 ;
3763 int res1 = 0 ;
3764 int val2 ;
3765 int ecode2 = 0 ;
3766 wxPoint temp3 ;
3767 wxSize temp4 ;
3768 long val5 ;
3769 int ecode5 = 0 ;
3770 bool temp6 = false ;
3771 PyObject * obj0 = 0 ;
3772 PyObject * obj1 = 0 ;
3773 PyObject * obj2 = 0 ;
3774 PyObject * obj3 = 0 ;
3775 PyObject * obj4 = 0 ;
3776 PyObject * obj5 = 0 ;
3777 char * kwnames[] = {
3778 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3779 };
3780
3781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3783 if (!SWIG_IsOK(res1)) {
3784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3785 }
3786 arg1 = reinterpret_cast< wxWindow * >(argp1);
3787 if (obj1) {
3788 ecode2 = SWIG_AsVal_int(obj1, &val2);
3789 if (!SWIG_IsOK(ecode2)) {
3790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3791 }
3792 arg2 = static_cast< int >(val2);
3793 }
3794 if (obj2) {
3795 {
3796 arg3 = &temp3;
3797 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3798 }
3799 }
3800 if (obj3) {
3801 {
3802 arg4 = &temp4;
3803 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3804 }
3805 }
3806 if (obj4) {
3807 ecode5 = SWIG_AsVal_long(obj4, &val5);
3808 if (!SWIG_IsOK(ecode5)) {
3809 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3810 }
3811 arg5 = static_cast< long >(val5);
3812 }
3813 if (obj5) {
3814 {
3815 arg6 = wxString_in_helper(obj5);
3816 if (arg6 == NULL) SWIG_fail;
3817 temp6 = true;
3818 }
3819 }
3820 {
3821 if (!wxPyCheckForApp()) SWIG_fail;
3822 PyThreadState* __tstate = wxPyBeginAllowThreads();
3823 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3824 wxPyEndAllowThreads(__tstate);
3825 if (PyErr_Occurred()) SWIG_fail;
3826 }
3827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3828 {
3829 if (temp6)
3830 delete arg6;
3831 }
3832 return resultobj;
3833 fail:
3834 {
3835 if (temp6)
3836 delete arg6;
3837 }
3838 return NULL;
3839 }
3840
3841
3842 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3843 PyObject *resultobj = 0;
3844 wxPanel *result = 0 ;
3845
3846 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3847 {
3848 if (!wxPyCheckForApp()) SWIG_fail;
3849 PyThreadState* __tstate = wxPyBeginAllowThreads();
3850 result = (wxPanel *)new wxPanel();
3851 wxPyEndAllowThreads(__tstate);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3855 return resultobj;
3856 fail:
3857 return NULL;
3858 }
3859
3860
3861 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3862 PyObject *resultobj = 0;
3863 wxPanel *arg1 = (wxPanel *) 0 ;
3864 wxWindow *arg2 = (wxWindow *) 0 ;
3865 int arg3 = (int) (int)-1 ;
3866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3868 wxSize const &arg5_defvalue = wxDefaultSize ;
3869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3870 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3871 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3872 wxString *arg7 = (wxString *) &arg7_defvalue ;
3873 bool result;
3874 void *argp1 = 0 ;
3875 int res1 = 0 ;
3876 void *argp2 = 0 ;
3877 int res2 = 0 ;
3878 int val3 ;
3879 int ecode3 = 0 ;
3880 wxPoint temp4 ;
3881 wxSize temp5 ;
3882 long val6 ;
3883 int ecode6 = 0 ;
3884 bool temp7 = false ;
3885 PyObject * obj0 = 0 ;
3886 PyObject * obj1 = 0 ;
3887 PyObject * obj2 = 0 ;
3888 PyObject * obj3 = 0 ;
3889 PyObject * obj4 = 0 ;
3890 PyObject * obj5 = 0 ;
3891 PyObject * obj6 = 0 ;
3892 char * kwnames[] = {
3893 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3894 };
3895
3896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3898 if (!SWIG_IsOK(res1)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3900 }
3901 arg1 = reinterpret_cast< wxPanel * >(argp1);
3902 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3903 if (!SWIG_IsOK(res2)) {
3904 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3905 }
3906 arg2 = reinterpret_cast< wxWindow * >(argp2);
3907 if (obj2) {
3908 ecode3 = SWIG_AsVal_int(obj2, &val3);
3909 if (!SWIG_IsOK(ecode3)) {
3910 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3911 }
3912 arg3 = static_cast< int >(val3);
3913 }
3914 if (obj3) {
3915 {
3916 arg4 = &temp4;
3917 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3918 }
3919 }
3920 if (obj4) {
3921 {
3922 arg5 = &temp5;
3923 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3924 }
3925 }
3926 if (obj5) {
3927 ecode6 = SWIG_AsVal_long(obj5, &val6);
3928 if (!SWIG_IsOK(ecode6)) {
3929 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3930 }
3931 arg6 = static_cast< long >(val6);
3932 }
3933 if (obj6) {
3934 {
3935 arg7 = wxString_in_helper(obj6);
3936 if (arg7 == NULL) SWIG_fail;
3937 temp7 = true;
3938 }
3939 }
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3943 wxPyEndAllowThreads(__tstate);
3944 if (PyErr_Occurred()) SWIG_fail;
3945 }
3946 {
3947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3948 }
3949 {
3950 if (temp7)
3951 delete arg7;
3952 }
3953 return resultobj;
3954 fail:
3955 {
3956 if (temp7)
3957 delete arg7;
3958 }
3959 return NULL;
3960 }
3961
3962
3963 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3964 PyObject *resultobj = 0;
3965 wxPanel *arg1 = (wxPanel *) 0 ;
3966 void *argp1 = 0 ;
3967 int res1 = 0 ;
3968 PyObject *swig_obj[1] ;
3969
3970 if (!args) SWIG_fail;
3971 swig_obj[0] = args;
3972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3973 if (!SWIG_IsOK(res1)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3975 }
3976 arg1 = reinterpret_cast< wxPanel * >(argp1);
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 (arg1)->SetFocusIgnoringChildren();
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 resultobj = SWIG_Py_Void();
3984 return resultobj;
3985 fail:
3986 return NULL;
3987 }
3988
3989
3990 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3991 PyObject *resultobj = 0;
3992 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3993 SwigValueWrapper<wxVisualAttributes > result;
3994 int val1 ;
3995 int ecode1 = 0 ;
3996 PyObject * obj0 = 0 ;
3997 char * kwnames[] = {
3998 (char *) "variant", NULL
3999 };
4000
4001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4002 if (obj0) {
4003 ecode1 = SWIG_AsVal_int(obj0, &val1);
4004 if (!SWIG_IsOK(ecode1)) {
4005 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4006 }
4007 arg1 = static_cast< wxWindowVariant >(val1);
4008 }
4009 {
4010 if (!wxPyCheckForApp()) SWIG_fail;
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 result = wxPanel::GetClassDefaultAttributes(arg1);
4013 wxPyEndAllowThreads(__tstate);
4014 if (PyErr_Occurred()) SWIG_fail;
4015 }
4016 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4017 return resultobj;
4018 fail:
4019 return NULL;
4020 }
4021
4022
4023 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4024 PyObject *obj;
4025 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4026 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4027 return SWIG_Py_Void();
4028 }
4029
4030 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4031 return SWIG_Python_InitShadowInstance(args);
4032 }
4033
4034 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4035 PyObject *resultobj = 0;
4036 wxWindow *arg1 = (wxWindow *) 0 ;
4037 int arg2 = (int) (int)-1 ;
4038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4040 wxSize const &arg4_defvalue = wxDefaultSize ;
4041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4042 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4043 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4044 wxString *arg6 = (wxString *) &arg6_defvalue ;
4045 wxScrolledWindow *result = 0 ;
4046 void *argp1 = 0 ;
4047 int res1 = 0 ;
4048 int val2 ;
4049 int ecode2 = 0 ;
4050 wxPoint temp3 ;
4051 wxSize temp4 ;
4052 long val5 ;
4053 int ecode5 = 0 ;
4054 bool temp6 = false ;
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
4057 PyObject * obj2 = 0 ;
4058 PyObject * obj3 = 0 ;
4059 PyObject * obj4 = 0 ;
4060 PyObject * obj5 = 0 ;
4061 char * kwnames[] = {
4062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 };
4064
4065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4067 if (!SWIG_IsOK(res1)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4069 }
4070 arg1 = reinterpret_cast< wxWindow * >(argp1);
4071 if (obj1) {
4072 ecode2 = SWIG_AsVal_int(obj1, &val2);
4073 if (!SWIG_IsOK(ecode2)) {
4074 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4075 }
4076 arg2 = static_cast< int >(val2);
4077 }
4078 if (obj2) {
4079 {
4080 arg3 = &temp3;
4081 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4082 }
4083 }
4084 if (obj3) {
4085 {
4086 arg4 = &temp4;
4087 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4088 }
4089 }
4090 if (obj4) {
4091 ecode5 = SWIG_AsVal_long(obj4, &val5);
4092 if (!SWIG_IsOK(ecode5)) {
4093 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4094 }
4095 arg5 = static_cast< long >(val5);
4096 }
4097 if (obj5) {
4098 {
4099 arg6 = wxString_in_helper(obj5);
4100 if (arg6 == NULL) SWIG_fail;
4101 temp6 = true;
4102 }
4103 }
4104 {
4105 if (!wxPyCheckForApp()) SWIG_fail;
4106 PyThreadState* __tstate = wxPyBeginAllowThreads();
4107 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4112 {
4113 if (temp6)
4114 delete arg6;
4115 }
4116 return resultobj;
4117 fail:
4118 {
4119 if (temp6)
4120 delete arg6;
4121 }
4122 return NULL;
4123 }
4124
4125
4126 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4127 PyObject *resultobj = 0;
4128 wxScrolledWindow *result = 0 ;
4129
4130 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4131 {
4132 if (!wxPyCheckForApp()) SWIG_fail;
4133 PyThreadState* __tstate = wxPyBeginAllowThreads();
4134 result = (wxScrolledWindow *)new wxScrolledWindow();
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4139 return resultobj;
4140 fail:
4141 return NULL;
4142 }
4143
4144
4145 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4146 PyObject *resultobj = 0;
4147 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4148 wxWindow *arg2 = (wxWindow *) 0 ;
4149 int arg3 = (int) (int)-1 ;
4150 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4151 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4152 wxSize const &arg5_defvalue = wxDefaultSize ;
4153 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4154 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4155 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4156 wxString *arg7 = (wxString *) &arg7_defvalue ;
4157 bool result;
4158 void *argp1 = 0 ;
4159 int res1 = 0 ;
4160 void *argp2 = 0 ;
4161 int res2 = 0 ;
4162 int val3 ;
4163 int ecode3 = 0 ;
4164 wxPoint temp4 ;
4165 wxSize temp5 ;
4166 long val6 ;
4167 int ecode6 = 0 ;
4168 bool temp7 = false ;
4169 PyObject * obj0 = 0 ;
4170 PyObject * obj1 = 0 ;
4171 PyObject * obj2 = 0 ;
4172 PyObject * obj3 = 0 ;
4173 PyObject * obj4 = 0 ;
4174 PyObject * obj5 = 0 ;
4175 PyObject * obj6 = 0 ;
4176 char * kwnames[] = {
4177 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4178 };
4179
4180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4182 if (!SWIG_IsOK(res1)) {
4183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4184 }
4185 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4186 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4187 if (!SWIG_IsOK(res2)) {
4188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4189 }
4190 arg2 = reinterpret_cast< wxWindow * >(argp2);
4191 if (obj2) {
4192 ecode3 = SWIG_AsVal_int(obj2, &val3);
4193 if (!SWIG_IsOK(ecode3)) {
4194 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4195 }
4196 arg3 = static_cast< int >(val3);
4197 }
4198 if (obj3) {
4199 {
4200 arg4 = &temp4;
4201 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4202 }
4203 }
4204 if (obj4) {
4205 {
4206 arg5 = &temp5;
4207 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4208 }
4209 }
4210 if (obj5) {
4211 ecode6 = SWIG_AsVal_long(obj5, &val6);
4212 if (!SWIG_IsOK(ecode6)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4214 }
4215 arg6 = static_cast< long >(val6);
4216 }
4217 if (obj6) {
4218 {
4219 arg7 = wxString_in_helper(obj6);
4220 if (arg7 == NULL) SWIG_fail;
4221 temp7 = true;
4222 }
4223 }
4224 {
4225 PyThreadState* __tstate = wxPyBeginAllowThreads();
4226 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 {
4231 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4232 }
4233 {
4234 if (temp7)
4235 delete arg7;
4236 }
4237 return resultobj;
4238 fail:
4239 {
4240 if (temp7)
4241 delete arg7;
4242 }
4243 return NULL;
4244 }
4245
4246
4247 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4248 PyObject *resultobj = 0;
4249 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4250 int arg2 ;
4251 int arg3 ;
4252 int arg4 ;
4253 int arg5 ;
4254 int arg6 = (int) 0 ;
4255 int arg7 = (int) 0 ;
4256 bool arg8 = (bool) false ;
4257 void *argp1 = 0 ;
4258 int res1 = 0 ;
4259 int val2 ;
4260 int ecode2 = 0 ;
4261 int val3 ;
4262 int ecode3 = 0 ;
4263 int val4 ;
4264 int ecode4 = 0 ;
4265 int val5 ;
4266 int ecode5 = 0 ;
4267 int val6 ;
4268 int ecode6 = 0 ;
4269 int val7 ;
4270 int ecode7 = 0 ;
4271 bool val8 ;
4272 int ecode8 = 0 ;
4273 PyObject * obj0 = 0 ;
4274 PyObject * obj1 = 0 ;
4275 PyObject * obj2 = 0 ;
4276 PyObject * obj3 = 0 ;
4277 PyObject * obj4 = 0 ;
4278 PyObject * obj5 = 0 ;
4279 PyObject * obj6 = 0 ;
4280 PyObject * obj7 = 0 ;
4281 char * kwnames[] = {
4282 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4283 };
4284
4285 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4286 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4287 if (!SWIG_IsOK(res1)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4289 }
4290 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4291 ecode2 = SWIG_AsVal_int(obj1, &val2);
4292 if (!SWIG_IsOK(ecode2)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4294 }
4295 arg2 = static_cast< int >(val2);
4296 ecode3 = SWIG_AsVal_int(obj2, &val3);
4297 if (!SWIG_IsOK(ecode3)) {
4298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4299 }
4300 arg3 = static_cast< int >(val3);
4301 ecode4 = SWIG_AsVal_int(obj3, &val4);
4302 if (!SWIG_IsOK(ecode4)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4304 }
4305 arg4 = static_cast< int >(val4);
4306 ecode5 = SWIG_AsVal_int(obj4, &val5);
4307 if (!SWIG_IsOK(ecode5)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4309 }
4310 arg5 = static_cast< int >(val5);
4311 if (obj5) {
4312 ecode6 = SWIG_AsVal_int(obj5, &val6);
4313 if (!SWIG_IsOK(ecode6)) {
4314 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4315 }
4316 arg6 = static_cast< int >(val6);
4317 }
4318 if (obj6) {
4319 ecode7 = SWIG_AsVal_int(obj6, &val7);
4320 if (!SWIG_IsOK(ecode7)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4322 }
4323 arg7 = static_cast< int >(val7);
4324 }
4325 if (obj7) {
4326 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4327 if (!SWIG_IsOK(ecode8)) {
4328 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4329 }
4330 arg8 = static_cast< bool >(val8);
4331 }
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 resultobj = SWIG_Py_Void();
4339 return resultobj;
4340 fail:
4341 return NULL;
4342 }
4343
4344
4345 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4346 PyObject *resultobj = 0;
4347 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4348 int arg2 ;
4349 int arg3 ;
4350 void *argp1 = 0 ;
4351 int res1 = 0 ;
4352 int val2 ;
4353 int ecode2 = 0 ;
4354 int val3 ;
4355 int ecode3 = 0 ;
4356 PyObject * obj0 = 0 ;
4357 PyObject * obj1 = 0 ;
4358 PyObject * obj2 = 0 ;
4359 char * kwnames[] = {
4360 (char *) "self",(char *) "x",(char *) "y", NULL
4361 };
4362
4363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4365 if (!SWIG_IsOK(res1)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4367 }
4368 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4369 ecode2 = SWIG_AsVal_int(obj1, &val2);
4370 if (!SWIG_IsOK(ecode2)) {
4371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4372 }
4373 arg2 = static_cast< int >(val2);
4374 ecode3 = SWIG_AsVal_int(obj2, &val3);
4375 if (!SWIG_IsOK(ecode3)) {
4376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4377 }
4378 arg3 = static_cast< int >(val3);
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 (arg1)->Scroll(arg2,arg3);
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 resultobj = SWIG_Py_Void();
4386 return resultobj;
4387 fail:
4388 return NULL;
4389 }
4390
4391
4392 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj = 0;
4394 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4395 int arg2 ;
4396 int result;
4397 void *argp1 = 0 ;
4398 int res1 = 0 ;
4399 int val2 ;
4400 int ecode2 = 0 ;
4401 PyObject * obj0 = 0 ;
4402 PyObject * obj1 = 0 ;
4403 char * kwnames[] = {
4404 (char *) "self",(char *) "orient", NULL
4405 };
4406
4407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4409 if (!SWIG_IsOK(res1)) {
4410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4411 }
4412 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4413 ecode2 = SWIG_AsVal_int(obj1, &val2);
4414 if (!SWIG_IsOK(ecode2)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4416 }
4417 arg2 = static_cast< int >(val2);
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4421 wxPyEndAllowThreads(__tstate);
4422 if (PyErr_Occurred()) SWIG_fail;
4423 }
4424 resultobj = SWIG_From_int(static_cast< int >(result));
4425 return resultobj;
4426 fail:
4427 return NULL;
4428 }
4429
4430
4431 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(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 *) "orient",(char *) "pageSize", NULL
4447 };
4448
4449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",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_SetScrollPageSize" "', 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_SetScrollPageSize" "', 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_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4463 }
4464 arg3 = static_cast< int >(val3);
4465 {
4466 PyThreadState* __tstate = wxPyBeginAllowThreads();
4467 (arg1)->SetScrollPageSize(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_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4479 PyObject *resultobj = 0;
4480 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4481 int arg2 ;
4482 int arg3 ;
4483 void *argp1 = 0 ;
4484 int res1 = 0 ;
4485 int val2 ;
4486 int ecode2 = 0 ;
4487 int val3 ;
4488 int ecode3 = 0 ;
4489 PyObject * obj0 = 0 ;
4490 PyObject * obj1 = 0 ;
4491 PyObject * obj2 = 0 ;
4492 char * kwnames[] = {
4493 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4494 };
4495
4496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4498 if (!SWIG_IsOK(res1)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4500 }
4501 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4502 ecode2 = SWIG_AsVal_int(obj1, &val2);
4503 if (!SWIG_IsOK(ecode2)) {
4504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4505 }
4506 arg2 = static_cast< int >(val2);
4507 ecode3 = SWIG_AsVal_int(obj2, &val3);
4508 if (!SWIG_IsOK(ecode3)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4510 }
4511 arg3 = static_cast< int >(val3);
4512 {
4513 PyThreadState* __tstate = wxPyBeginAllowThreads();
4514 (arg1)->SetScrollRate(arg2,arg3);
4515 wxPyEndAllowThreads(__tstate);
4516 if (PyErr_Occurred()) SWIG_fail;
4517 }
4518 resultobj = SWIG_Py_Void();
4519 return resultobj;
4520 fail:
4521 return NULL;
4522 }
4523
4524
4525 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4526 PyObject *resultobj = 0;
4527 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4528 int *arg2 = (int *) 0 ;
4529 int *arg3 = (int *) 0 ;
4530 void *argp1 = 0 ;
4531 int res1 = 0 ;
4532 int temp2 ;
4533 int res2 = SWIG_TMPOBJ ;
4534 int temp3 ;
4535 int res3 = SWIG_TMPOBJ ;
4536 PyObject *swig_obj[1] ;
4537
4538 arg2 = &temp2;
4539 arg3 = &temp3;
4540 if (!args) SWIG_fail;
4541 swig_obj[0] = args;
4542 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4543 if (!SWIG_IsOK(res1)) {
4544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4545 }
4546 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4550 wxPyEndAllowThreads(__tstate);
4551 if (PyErr_Occurred()) SWIG_fail;
4552 }
4553 resultobj = SWIG_Py_Void();
4554 if (SWIG_IsTmpObj(res2)) {
4555 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4556 } else {
4557 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4558 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4559 }
4560 if (SWIG_IsTmpObj(res3)) {
4561 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4562 } else {
4563 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4565 }
4566 return resultobj;
4567 fail:
4568 return NULL;
4569 }
4570
4571
4572 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj = 0;
4574 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4575 bool arg2 ;
4576 bool arg3 ;
4577 void *argp1 = 0 ;
4578 int res1 = 0 ;
4579 bool val2 ;
4580 int ecode2 = 0 ;
4581 bool val3 ;
4582 int ecode3 = 0 ;
4583 PyObject * obj0 = 0 ;
4584 PyObject * obj1 = 0 ;
4585 PyObject * obj2 = 0 ;
4586 char * kwnames[] = {
4587 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4588 };
4589
4590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4592 if (!SWIG_IsOK(res1)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4594 }
4595 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4596 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4597 if (!SWIG_IsOK(ecode2)) {
4598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4599 }
4600 arg2 = static_cast< bool >(val2);
4601 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4602 if (!SWIG_IsOK(ecode3)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4604 }
4605 arg3 = static_cast< bool >(val3);
4606 {
4607 PyThreadState* __tstate = wxPyBeginAllowThreads();
4608 (arg1)->EnableScrolling(arg2,arg3);
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 resultobj = SWIG_Py_Void();
4613 return resultobj;
4614 fail:
4615 return NULL;
4616 }
4617
4618
4619 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4620 PyObject *resultobj = 0;
4621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4622 int *arg2 = (int *) 0 ;
4623 int *arg3 = (int *) 0 ;
4624 void *argp1 = 0 ;
4625 int res1 = 0 ;
4626 int temp2 ;
4627 int res2 = SWIG_TMPOBJ ;
4628 int temp3 ;
4629 int res3 = SWIG_TMPOBJ ;
4630 PyObject *swig_obj[1] ;
4631
4632 arg2 = &temp2;
4633 arg3 = &temp3;
4634 if (!args) SWIG_fail;
4635 swig_obj[0] = args;
4636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4637 if (!SWIG_IsOK(res1)) {
4638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4639 }
4640 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4641 {
4642 PyThreadState* __tstate = wxPyBeginAllowThreads();
4643 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4644 wxPyEndAllowThreads(__tstate);
4645 if (PyErr_Occurred()) SWIG_fail;
4646 }
4647 resultobj = SWIG_Py_Void();
4648 if (SWIG_IsTmpObj(res2)) {
4649 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4650 } else {
4651 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4652 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4653 }
4654 if (SWIG_IsTmpObj(res3)) {
4655 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4656 } else {
4657 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4659 }
4660 return resultobj;
4661 fail:
4662 return NULL;
4663 }
4664
4665
4666 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj = 0;
4668 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4669 double arg2 ;
4670 double arg3 ;
4671 void *argp1 = 0 ;
4672 int res1 = 0 ;
4673 double val2 ;
4674 int ecode2 = 0 ;
4675 double val3 ;
4676 int ecode3 = 0 ;
4677 PyObject * obj0 = 0 ;
4678 PyObject * obj1 = 0 ;
4679 PyObject * obj2 = 0 ;
4680 char * kwnames[] = {
4681 (char *) "self",(char *) "xs",(char *) "ys", NULL
4682 };
4683
4684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4686 if (!SWIG_IsOK(res1)) {
4687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4688 }
4689 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4690 ecode2 = SWIG_AsVal_double(obj1, &val2);
4691 if (!SWIG_IsOK(ecode2)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4693 }
4694 arg2 = static_cast< double >(val2);
4695 ecode3 = SWIG_AsVal_double(obj2, &val3);
4696 if (!SWIG_IsOK(ecode3)) {
4697 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4698 }
4699 arg3 = static_cast< double >(val3);
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->SetScale(arg2,arg3);
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 resultobj = SWIG_Py_Void();
4707 return resultobj;
4708 fail:
4709 return NULL;
4710 }
4711
4712
4713 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4714 PyObject *resultobj = 0;
4715 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4716 double result;
4717 void *argp1 = 0 ;
4718 int res1 = 0 ;
4719 PyObject *swig_obj[1] ;
4720
4721 if (!args) SWIG_fail;
4722 swig_obj[0] = args;
4723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4724 if (!SWIG_IsOK(res1)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4726 }
4727 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
4734 resultobj = SWIG_From_double(static_cast< double >(result));
4735 return resultobj;
4736 fail:
4737 return NULL;
4738 }
4739
4740
4741 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4742 PyObject *resultobj = 0;
4743 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4744 double result;
4745 void *argp1 = 0 ;
4746 int res1 = 0 ;
4747 PyObject *swig_obj[1] ;
4748
4749 if (!args) SWIG_fail;
4750 swig_obj[0] = args;
4751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4752 if (!SWIG_IsOK(res1)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4754 }
4755 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 resultobj = SWIG_From_double(static_cast< double >(result));
4763 return resultobj;
4764 fail:
4765 return NULL;
4766 }
4767
4768
4769 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4770 PyObject *resultobj = 0;
4771 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4772 wxPoint *arg2 = 0 ;
4773 wxPoint result;
4774 void *argp1 = 0 ;
4775 int res1 = 0 ;
4776 wxPoint temp2 ;
4777
4778 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4779 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4780 if (!SWIG_IsOK(res1)) {
4781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4782 }
4783 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4784 {
4785 arg2 = &temp2;
4786 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4787 }
4788 {
4789 PyThreadState* __tstate = wxPyBeginAllowThreads();
4790 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4791 wxPyEndAllowThreads(__tstate);
4792 if (PyErr_Occurred()) SWIG_fail;
4793 }
4794 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4795 return resultobj;
4796 fail:
4797 return NULL;
4798 }
4799
4800
4801 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4802 PyObject *resultobj = 0;
4803 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4804 int arg2 ;
4805 int arg3 ;
4806 int *arg4 = (int *) 0 ;
4807 int *arg5 = (int *) 0 ;
4808 void *argp1 = 0 ;
4809 int res1 = 0 ;
4810 int val2 ;
4811 int ecode2 = 0 ;
4812 int val3 ;
4813 int ecode3 = 0 ;
4814 int temp4 ;
4815 int res4 = SWIG_TMPOBJ ;
4816 int temp5 ;
4817 int res5 = SWIG_TMPOBJ ;
4818
4819 arg4 = &temp4;
4820 arg5 = &temp5;
4821 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4823 if (!SWIG_IsOK(res1)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4825 }
4826 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4827 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4828 if (!SWIG_IsOK(ecode2)) {
4829 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4830 }
4831 arg2 = static_cast< int >(val2);
4832 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4833 if (!SWIG_IsOK(ecode3)) {
4834 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4835 }
4836 arg3 = static_cast< int >(val3);
4837 {
4838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4839 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 resultobj = SWIG_Py_Void();
4844 if (SWIG_IsTmpObj(res4)) {
4845 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4846 } else {
4847 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4848 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4849 }
4850 if (SWIG_IsTmpObj(res5)) {
4851 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4852 } else {
4853 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4855 }
4856 return resultobj;
4857 fail:
4858 return NULL;
4859 }
4860
4861
4862 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4863 int argc;
4864 PyObject *argv[4];
4865
4866 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4867 --argc;
4868 if (argc == 2) {
4869 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4870 }
4871 if (argc == 3) {
4872 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4873 }
4874
4875 fail:
4876 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4877 return NULL;
4878 }
4879
4880
4881 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4882 PyObject *resultobj = 0;
4883 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4884 wxPoint *arg2 = 0 ;
4885 wxPoint result;
4886 void *argp1 = 0 ;
4887 int res1 = 0 ;
4888 wxPoint temp2 ;
4889
4890 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4891 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4892 if (!SWIG_IsOK(res1)) {
4893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4894 }
4895 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4896 {
4897 arg2 = &temp2;
4898 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4899 }
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4903 wxPyEndAllowThreads(__tstate);
4904 if (PyErr_Occurred()) SWIG_fail;
4905 }
4906 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4907 return resultobj;
4908 fail:
4909 return NULL;
4910 }
4911
4912
4913 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4914 PyObject *resultobj = 0;
4915 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4916 int arg2 ;
4917 int arg3 ;
4918 int *arg4 = (int *) 0 ;
4919 int *arg5 = (int *) 0 ;
4920 void *argp1 = 0 ;
4921 int res1 = 0 ;
4922 int val2 ;
4923 int ecode2 = 0 ;
4924 int val3 ;
4925 int ecode3 = 0 ;
4926 int temp4 ;
4927 int res4 = SWIG_TMPOBJ ;
4928 int temp5 ;
4929 int res5 = SWIG_TMPOBJ ;
4930
4931 arg4 = &temp4;
4932 arg5 = &temp5;
4933 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4935 if (!SWIG_IsOK(res1)) {
4936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4937 }
4938 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4939 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4940 if (!SWIG_IsOK(ecode2)) {
4941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4942 }
4943 arg2 = static_cast< int >(val2);
4944 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4945 if (!SWIG_IsOK(ecode3)) {
4946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4947 }
4948 arg3 = static_cast< int >(val3);
4949 {
4950 PyThreadState* __tstate = wxPyBeginAllowThreads();
4951 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 resultobj = SWIG_Py_Void();
4956 if (SWIG_IsTmpObj(res4)) {
4957 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4958 } else {
4959 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4960 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4961 }
4962 if (SWIG_IsTmpObj(res5)) {
4963 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4964 } else {
4965 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4967 }
4968 return resultobj;
4969 fail:
4970 return NULL;
4971 }
4972
4973
4974 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4975 int argc;
4976 PyObject *argv[4];
4977
4978 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4979 --argc;
4980 if (argc == 2) {
4981 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4982 }
4983 if (argc == 3) {
4984 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4985 }
4986
4987 fail:
4988 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4989 return NULL;
4990 }
4991
4992
4993 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4994 PyObject *resultobj = 0;
4995 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4996 void *argp1 = 0 ;
4997 int res1 = 0 ;
4998 PyObject *swig_obj[1] ;
4999
5000 if (!args) SWIG_fail;
5001 swig_obj[0] = args;
5002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5003 if (!SWIG_IsOK(res1)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5005 }
5006 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 (arg1)->AdjustScrollbars();
5010 wxPyEndAllowThreads(__tstate);
5011 if (PyErr_Occurred()) SWIG_fail;
5012 }
5013 resultobj = SWIG_Py_Void();
5014 return resultobj;
5015 fail:
5016 return NULL;
5017 }
5018
5019
5020 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5021 PyObject *resultobj = 0;
5022 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5023 wxScrollWinEvent *arg2 = 0 ;
5024 int result;
5025 void *argp1 = 0 ;
5026 int res1 = 0 ;
5027 void *argp2 = 0 ;
5028 int res2 = 0 ;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 char * kwnames[] = {
5032 (char *) "self",(char *) "event", NULL
5033 };
5034
5035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5037 if (!SWIG_IsOK(res1)) {
5038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5039 }
5040 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5041 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5042 if (!SWIG_IsOK(res2)) {
5043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5044 }
5045 if (!argp2) {
5046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 }
5048 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 result = (int)(arg1)->CalcScrollInc(*arg2);
5052 wxPyEndAllowThreads(__tstate);
5053 if (PyErr_Occurred()) SWIG_fail;
5054 }
5055 resultobj = SWIG_From_int(static_cast< int >(result));
5056 return resultobj;
5057 fail:
5058 return NULL;
5059 }
5060
5061
5062 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5063 PyObject *resultobj = 0;
5064 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5065 wxWindow *arg2 = (wxWindow *) 0 ;
5066 void *argp1 = 0 ;
5067 int res1 = 0 ;
5068 void *argp2 = 0 ;
5069 int res2 = 0 ;
5070 PyObject * obj0 = 0 ;
5071 PyObject * obj1 = 0 ;
5072 char * kwnames[] = {
5073 (char *) "self",(char *) "target", NULL
5074 };
5075
5076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5078 if (!SWIG_IsOK(res1)) {
5079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5080 }
5081 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5082 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5083 if (!SWIG_IsOK(res2)) {
5084 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5085 }
5086 arg2 = reinterpret_cast< wxWindow * >(argp2);
5087 {
5088 PyThreadState* __tstate = wxPyBeginAllowThreads();
5089 (arg1)->SetTargetWindow(arg2);
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 resultobj = SWIG_Py_Void();
5094 return resultobj;
5095 fail:
5096 return NULL;
5097 }
5098
5099
5100 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5101 PyObject *resultobj = 0;
5102 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5103 wxWindow *result = 0 ;
5104 void *argp1 = 0 ;
5105 int res1 = 0 ;
5106 PyObject *swig_obj[1] ;
5107
5108 if (!args) SWIG_fail;
5109 swig_obj[0] = args;
5110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5111 if (!SWIG_IsOK(res1)) {
5112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5113 }
5114 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5115 {
5116 PyThreadState* __tstate = wxPyBeginAllowThreads();
5117 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5118 wxPyEndAllowThreads(__tstate);
5119 if (PyErr_Occurred()) SWIG_fail;
5120 }
5121 {
5122 resultobj = wxPyMake_wxObject(result, 0);
5123 }
5124 return resultobj;
5125 fail:
5126 return NULL;
5127 }
5128
5129
5130 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5131 PyObject *resultobj = 0;
5132 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5133 wxRect *arg2 = 0 ;
5134 void *argp1 = 0 ;
5135 int res1 = 0 ;
5136 wxRect temp2 ;
5137 PyObject * obj0 = 0 ;
5138 PyObject * obj1 = 0 ;
5139 char * kwnames[] = {
5140 (char *) "self",(char *) "rect", NULL
5141 };
5142
5143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5145 if (!SWIG_IsOK(res1)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5147 }
5148 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5149 {
5150 arg2 = &temp2;
5151 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5152 }
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 (arg1)->SetTargetRect((wxRect const &)*arg2);
5156 wxPyEndAllowThreads(__tstate);
5157 if (PyErr_Occurred()) SWIG_fail;
5158 }
5159 resultobj = SWIG_Py_Void();
5160 return resultobj;
5161 fail:
5162 return NULL;
5163 }
5164
5165
5166 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5167 PyObject *resultobj = 0;
5168 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5169 wxRect result;
5170 void *argp1 = 0 ;
5171 int res1 = 0 ;
5172 PyObject *swig_obj[1] ;
5173
5174 if (!args) SWIG_fail;
5175 swig_obj[0] = args;
5176 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5177 if (!SWIG_IsOK(res1)) {
5178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5179 }
5180 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5181 {
5182 PyThreadState* __tstate = wxPyBeginAllowThreads();
5183 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5184 wxPyEndAllowThreads(__tstate);
5185 if (PyErr_Occurred()) SWIG_fail;
5186 }
5187 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5188 return resultobj;
5189 fail:
5190 return NULL;
5191 }
5192
5193
5194 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5195 PyObject *resultobj = 0;
5196 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5197 wxDC *arg2 = 0 ;
5198 void *argp1 = 0 ;
5199 int res1 = 0 ;
5200 void *argp2 = 0 ;
5201 int res2 = 0 ;
5202 PyObject * obj0 = 0 ;
5203 PyObject * obj1 = 0 ;
5204 char * kwnames[] = {
5205 (char *) "self",(char *) "dc", NULL
5206 };
5207
5208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5210 if (!SWIG_IsOK(res1)) {
5211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5212 }
5213 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5214 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5215 if (!SWIG_IsOK(res2)) {
5216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5217 }
5218 if (!argp2) {
5219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5220 }
5221 arg2 = reinterpret_cast< wxDC * >(argp2);
5222 {
5223 PyThreadState* __tstate = wxPyBeginAllowThreads();
5224 (arg1)->DoPrepareDC(*arg2);
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 resultobj = SWIG_Py_Void();
5229 return resultobj;
5230 fail:
5231 return NULL;
5232 }
5233
5234
5235 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5236 PyObject *resultobj = 0;
5237 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5238 SwigValueWrapper<wxVisualAttributes > result;
5239 int val1 ;
5240 int ecode1 = 0 ;
5241 PyObject * obj0 = 0 ;
5242 char * kwnames[] = {
5243 (char *) "variant", NULL
5244 };
5245
5246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5247 if (obj0) {
5248 ecode1 = SWIG_AsVal_int(obj0, &val1);
5249 if (!SWIG_IsOK(ecode1)) {
5250 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5251 }
5252 arg1 = static_cast< wxWindowVariant >(val1);
5253 }
5254 {
5255 if (!wxPyCheckForApp()) SWIG_fail;
5256 PyThreadState* __tstate = wxPyBeginAllowThreads();
5257 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5258 wxPyEndAllowThreads(__tstate);
5259 if (PyErr_Occurred()) SWIG_fail;
5260 }
5261 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5262 return resultobj;
5263 fail:
5264 return NULL;
5265 }
5266
5267
5268 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5269 PyObject *obj;
5270 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5271 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5272 return SWIG_Py_Void();
5273 }
5274
5275 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5276 return SWIG_Python_InitShadowInstance(args);
5277 }
5278
5279 SWIGINTERN int FrameNameStr_set(PyObject *) {
5280 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5281 return 1;
5282 }
5283
5284
5285 SWIGINTERN PyObject *FrameNameStr_get(void) {
5286 PyObject *pyobj = 0;
5287
5288 {
5289 #if wxUSE_UNICODE
5290 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5291 #else
5292 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5293 #endif
5294 }
5295 return pyobj;
5296 }
5297
5298
5299 SWIGINTERN int DialogNameStr_set(PyObject *) {
5300 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5301 return 1;
5302 }
5303
5304
5305 SWIGINTERN PyObject *DialogNameStr_get(void) {
5306 PyObject *pyobj = 0;
5307
5308 {
5309 #if wxUSE_UNICODE
5310 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5311 #else
5312 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5313 #endif
5314 }
5315 return pyobj;
5316 }
5317
5318
5319 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5320 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5321 return 1;
5322 }
5323
5324
5325 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5326 PyObject *pyobj = 0;
5327
5328 {
5329 #if wxUSE_UNICODE
5330 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5331 #else
5332 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5333 #endif
5334 }
5335 return pyobj;
5336 }
5337
5338
5339 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5340 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5341 return 1;
5342 }
5343
5344
5345 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5346 PyObject *pyobj = 0;
5347
5348 {
5349 #if wxUSE_UNICODE
5350 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5351 #else
5352 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5353 #endif
5354 }
5355 return pyobj;
5356 }
5357
5358
5359 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5360 PyObject *resultobj = 0;
5361 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5362 bool arg2 = (bool) true ;
5363 void *argp1 = 0 ;
5364 int res1 = 0 ;
5365 bool val2 ;
5366 int ecode2 = 0 ;
5367 PyObject * obj0 = 0 ;
5368 PyObject * obj1 = 0 ;
5369 char * kwnames[] = {
5370 (char *) "self",(char *) "maximize", NULL
5371 };
5372
5373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5375 if (!SWIG_IsOK(res1)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5377 }
5378 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5379 if (obj1) {
5380 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5381 if (!SWIG_IsOK(ecode2)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5383 }
5384 arg2 = static_cast< bool >(val2);
5385 }
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 (arg1)->Maximize(arg2);
5389 wxPyEndAllowThreads(__tstate);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 }
5392 resultobj = SWIG_Py_Void();
5393 return resultobj;
5394 fail:
5395 return NULL;
5396 }
5397
5398
5399 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5400 PyObject *resultobj = 0;
5401 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5402 void *argp1 = 0 ;
5403 int res1 = 0 ;
5404 PyObject *swig_obj[1] ;
5405
5406 if (!args) SWIG_fail;
5407 swig_obj[0] = args;
5408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5409 if (!SWIG_IsOK(res1)) {
5410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5411 }
5412 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 (arg1)->Restore();
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 resultobj = SWIG_Py_Void();
5420 return resultobj;
5421 fail:
5422 return NULL;
5423 }
5424
5425
5426 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5427 PyObject *resultobj = 0;
5428 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5429 bool arg2 = (bool) true ;
5430 void *argp1 = 0 ;
5431 int res1 = 0 ;
5432 bool val2 ;
5433 int ecode2 = 0 ;
5434 PyObject * obj0 = 0 ;
5435 PyObject * obj1 = 0 ;
5436 char * kwnames[] = {
5437 (char *) "self",(char *) "iconize", NULL
5438 };
5439
5440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5442 if (!SWIG_IsOK(res1)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5444 }
5445 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5446 if (obj1) {
5447 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5448 if (!SWIG_IsOK(ecode2)) {
5449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5450 }
5451 arg2 = static_cast< bool >(val2);
5452 }
5453 {
5454 PyThreadState* __tstate = wxPyBeginAllowThreads();
5455 (arg1)->Iconize(arg2);
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 resultobj = SWIG_Py_Void();
5460 return resultobj;
5461 fail:
5462 return NULL;
5463 }
5464
5465
5466 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5467 PyObject *resultobj = 0;
5468 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5469 bool result;
5470 void *argp1 = 0 ;
5471 int res1 = 0 ;
5472 PyObject *swig_obj[1] ;
5473
5474 if (!args) SWIG_fail;
5475 swig_obj[0] = args;
5476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5477 if (!SWIG_IsOK(res1)) {
5478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5479 }
5480 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5484 wxPyEndAllowThreads(__tstate);
5485 if (PyErr_Occurred()) SWIG_fail;
5486 }
5487 {
5488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5489 }
5490 return resultobj;
5491 fail:
5492 return NULL;
5493 }
5494
5495
5496 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5497 PyObject *resultobj = 0;
5498 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5499 bool result;
5500 void *argp1 = 0 ;
5501 int res1 = 0 ;
5502 PyObject *swig_obj[1] ;
5503
5504 if (!args) SWIG_fail;
5505 swig_obj[0] = args;
5506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5507 if (!SWIG_IsOK(res1)) {
5508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5509 }
5510 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5511 {
5512 PyThreadState* __tstate = wxPyBeginAllowThreads();
5513 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5514 wxPyEndAllowThreads(__tstate);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
5518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5519 }
5520 return resultobj;
5521 fail:
5522 return NULL;
5523 }
5524
5525
5526 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5527 PyObject *resultobj = 0;
5528 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5529 bool result;
5530 void *argp1 = 0 ;
5531 int res1 = 0 ;
5532 PyObject *swig_obj[1] ;
5533
5534 if (!args) SWIG_fail;
5535 swig_obj[0] = args;
5536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5537 if (!SWIG_IsOK(res1)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5539 }
5540 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5541 {
5542 PyThreadState* __tstate = wxPyBeginAllowThreads();
5543 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
5547 {
5548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5549 }
5550 return resultobj;
5551 fail:
5552 return NULL;
5553 }
5554
5555
5556 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5557 PyObject *resultobj = 0;
5558 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5559 wxIcon result;
5560 void *argp1 = 0 ;
5561 int res1 = 0 ;
5562 PyObject *swig_obj[1] ;
5563
5564 if (!args) SWIG_fail;
5565 swig_obj[0] = args;
5566 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5567 if (!SWIG_IsOK(res1)) {
5568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5569 }
5570 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5571 {
5572 PyThreadState* __tstate = wxPyBeginAllowThreads();
5573 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5574 wxPyEndAllowThreads(__tstate);
5575 if (PyErr_Occurred()) SWIG_fail;
5576 }
5577 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5578 return resultobj;
5579 fail:
5580 return NULL;
5581 }
5582
5583
5584 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5585 PyObject *resultobj = 0;
5586 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5587 wxIcon *arg2 = 0 ;
5588 void *argp1 = 0 ;
5589 int res1 = 0 ;
5590 void *argp2 = 0 ;
5591 int res2 = 0 ;
5592 PyObject * obj0 = 0 ;
5593 PyObject * obj1 = 0 ;
5594 char * kwnames[] = {
5595 (char *) "self",(char *) "icon", NULL
5596 };
5597
5598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5600 if (!SWIG_IsOK(res1)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5602 }
5603 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5604 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5605 if (!SWIG_IsOK(res2)) {
5606 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5607 }
5608 if (!argp2) {
5609 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5610 }
5611 arg2 = reinterpret_cast< wxIcon * >(argp2);
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 (arg1)->SetIcon((wxIcon const &)*arg2);
5615 wxPyEndAllowThreads(__tstate);
5616 if (PyErr_Occurred()) SWIG_fail;
5617 }
5618 resultobj = SWIG_Py_Void();
5619 return resultobj;
5620 fail:
5621 return NULL;
5622 }
5623
5624
5625 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5626 PyObject *resultobj = 0;
5627 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5628 wxIconBundle *arg2 = 0 ;
5629 void *argp1 = 0 ;
5630 int res1 = 0 ;
5631 void *argp2 = 0 ;
5632 int res2 = 0 ;
5633 PyObject * obj0 = 0 ;
5634 PyObject * obj1 = 0 ;
5635 char * kwnames[] = {
5636 (char *) "self",(char *) "icons", NULL
5637 };
5638
5639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5641 if (!SWIG_IsOK(res1)) {
5642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5643 }
5644 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5645 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5646 if (!SWIG_IsOK(res2)) {
5647 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5648 }
5649 if (!argp2) {
5650 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5651 }
5652 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5653 {
5654 PyThreadState* __tstate = wxPyBeginAllowThreads();
5655 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5656 wxPyEndAllowThreads(__tstate);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 resultobj = SWIG_Py_Void();
5660 return resultobj;
5661 fail:
5662 return NULL;
5663 }
5664
5665
5666 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5667 PyObject *resultobj = 0;
5668 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5669 bool arg2 ;
5670 long arg3 = (long) wxFULLSCREEN_ALL ;
5671 bool result;
5672 void *argp1 = 0 ;
5673 int res1 = 0 ;
5674 bool val2 ;
5675 int ecode2 = 0 ;
5676 long val3 ;
5677 int ecode3 = 0 ;
5678 PyObject * obj0 = 0 ;
5679 PyObject * obj1 = 0 ;
5680 PyObject * obj2 = 0 ;
5681 char * kwnames[] = {
5682 (char *) "self",(char *) "show",(char *) "style", NULL
5683 };
5684
5685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5687 if (!SWIG_IsOK(res1)) {
5688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5689 }
5690 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5691 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5692 if (!SWIG_IsOK(ecode2)) {
5693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5694 }
5695 arg2 = static_cast< bool >(val2);
5696 if (obj2) {
5697 ecode3 = SWIG_AsVal_long(obj2, &val3);
5698 if (!SWIG_IsOK(ecode3)) {
5699 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5700 }
5701 arg3 = static_cast< long >(val3);
5702 }
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 {
5710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5711 }
5712 return resultobj;
5713 fail:
5714 return NULL;
5715 }
5716
5717
5718 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5719 PyObject *resultobj = 0;
5720 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5721 bool result;
5722 void *argp1 = 0 ;
5723 int res1 = 0 ;
5724 PyObject *swig_obj[1] ;
5725
5726 if (!args) SWIG_fail;
5727 swig_obj[0] = args;
5728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5729 if (!SWIG_IsOK(res1)) {
5730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5731 }
5732 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5736 wxPyEndAllowThreads(__tstate);
5737 if (PyErr_Occurred()) SWIG_fail;
5738 }
5739 {
5740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5741 }
5742 return resultobj;
5743 fail:
5744 return NULL;
5745 }
5746
5747
5748 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5749 PyObject *resultobj = 0;
5750 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5751 wxString *arg2 = 0 ;
5752 void *argp1 = 0 ;
5753 int res1 = 0 ;
5754 bool temp2 = false ;
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 char * kwnames[] = {
5758 (char *) "self",(char *) "title", NULL
5759 };
5760
5761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5763 if (!SWIG_IsOK(res1)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5765 }
5766 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5767 {
5768 arg2 = wxString_in_helper(obj1);
5769 if (arg2 == NULL) SWIG_fail;
5770 temp2 = true;
5771 }
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 (arg1)->SetTitle((wxString const &)*arg2);
5775 wxPyEndAllowThreads(__tstate);
5776 if (PyErr_Occurred()) SWIG_fail;
5777 }
5778 resultobj = SWIG_Py_Void();
5779 {
5780 if (temp2)
5781 delete arg2;
5782 }
5783 return resultobj;
5784 fail:
5785 {
5786 if (temp2)
5787 delete arg2;
5788 }
5789 return NULL;
5790 }
5791
5792
5793 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5794 PyObject *resultobj = 0;
5795 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5796 wxString result;
5797 void *argp1 = 0 ;
5798 int res1 = 0 ;
5799 PyObject *swig_obj[1] ;
5800
5801 if (!args) SWIG_fail;
5802 swig_obj[0] = args;
5803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5804 if (!SWIG_IsOK(res1)) {
5805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5806 }
5807 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 {
5815 #if wxUSE_UNICODE
5816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5817 #else
5818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5819 #endif
5820 }
5821 return resultobj;
5822 fail:
5823 return NULL;
5824 }
5825
5826
5827 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj = 0;
5829 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5830 wxRegion *arg2 = 0 ;
5831 bool result;
5832 void *argp1 = 0 ;
5833 int res1 = 0 ;
5834 void *argp2 = 0 ;
5835 int res2 = 0 ;
5836 PyObject * obj0 = 0 ;
5837 PyObject * obj1 = 0 ;
5838 char * kwnames[] = {
5839 (char *) "self",(char *) "region", NULL
5840 };
5841
5842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5844 if (!SWIG_IsOK(res1)) {
5845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5846 }
5847 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5848 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5849 if (!SWIG_IsOK(res2)) {
5850 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5851 }
5852 if (!argp2) {
5853 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5854 }
5855 arg2 = reinterpret_cast< wxRegion * >(argp2);
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 {
5863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5864 }
5865 return resultobj;
5866 fail:
5867 return NULL;
5868 }
5869
5870
5871 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5872 PyObject *resultobj = 0;
5873 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5874 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5875 void *argp1 = 0 ;
5876 int res1 = 0 ;
5877 int val2 ;
5878 int ecode2 = 0 ;
5879 PyObject * obj0 = 0 ;
5880 PyObject * obj1 = 0 ;
5881 char * kwnames[] = {
5882 (char *) "self",(char *) "flags", NULL
5883 };
5884
5885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5887 if (!SWIG_IsOK(res1)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5889 }
5890 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5891 if (obj1) {
5892 ecode2 = SWIG_AsVal_int(obj1, &val2);
5893 if (!SWIG_IsOK(ecode2)) {
5894 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5895 }
5896 arg2 = static_cast< int >(val2);
5897 }
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 (arg1)->RequestUserAttention(arg2);
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 resultobj = SWIG_Py_Void();
5905 return resultobj;
5906 fail:
5907 return NULL;
5908 }
5909
5910
5911 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5912 PyObject *resultobj = 0;
5913 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5914 bool result;
5915 void *argp1 = 0 ;
5916 int res1 = 0 ;
5917 PyObject *swig_obj[1] ;
5918
5919 if (!args) SWIG_fail;
5920 swig_obj[0] = args;
5921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5922 if (!SWIG_IsOK(res1)) {
5923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5924 }
5925 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 result = (bool)(arg1)->IsActive();
5929 wxPyEndAllowThreads(__tstate);
5930 if (PyErr_Occurred()) SWIG_fail;
5931 }
5932 {
5933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5934 }
5935 return resultobj;
5936 fail:
5937 return NULL;
5938 }
5939
5940
5941 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5942 PyObject *resultobj = 0;
5943 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5944 bool arg2 ;
5945 void *argp1 = 0 ;
5946 int res1 = 0 ;
5947 bool val2 ;
5948 int ecode2 = 0 ;
5949 PyObject * obj0 = 0 ;
5950 PyObject * obj1 = 0 ;
5951 char * kwnames[] = {
5952 (char *) "self",(char *) "on", NULL
5953 };
5954
5955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5957 if (!SWIG_IsOK(res1)) {
5958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5959 }
5960 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5961 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5962 if (!SWIG_IsOK(ecode2)) {
5963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5964 }
5965 arg2 = static_cast< bool >(val2);
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 resultobj = SWIG_Py_Void();
5973 return resultobj;
5974 fail:
5975 return NULL;
5976 }
5977
5978
5979 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5980 PyObject *resultobj = 0;
5981 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5982 bool result;
5983 void *argp1 = 0 ;
5984 int res1 = 0 ;
5985 PyObject *swig_obj[1] ;
5986
5987 if (!args) SWIG_fail;
5988 swig_obj[0] = args;
5989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5990 if (!SWIG_IsOK(res1)) {
5991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5992 }
5993 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 {
6001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6002 }
6003 return resultobj;
6004 fail:
6005 return NULL;
6006 }
6007
6008
6009 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6010 PyObject *resultobj = 0;
6011 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6012 int arg2 = (int) wxBOTH ;
6013 void *argp1 = 0 ;
6014 int res1 = 0 ;
6015 int val2 ;
6016 int ecode2 = 0 ;
6017 PyObject * obj0 = 0 ;
6018 PyObject * obj1 = 0 ;
6019 char * kwnames[] = {
6020 (char *) "self",(char *) "dir", NULL
6021 };
6022
6023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6025 if (!SWIG_IsOK(res1)) {
6026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6027 }
6028 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6029 if (obj1) {
6030 ecode2 = SWIG_AsVal_int(obj1, &val2);
6031 if (!SWIG_IsOK(ecode2)) {
6032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6033 }
6034 arg2 = static_cast< int >(val2);
6035 }
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 (arg1)->CenterOnScreen(arg2);
6039 wxPyEndAllowThreads(__tstate);
6040 if (PyErr_Occurred()) SWIG_fail;
6041 }
6042 resultobj = SWIG_Py_Void();
6043 return resultobj;
6044 fail:
6045 return NULL;
6046 }
6047
6048
6049 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6050 PyObject *resultobj = 0;
6051 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6052 bool arg2 = (bool) true ;
6053 bool result;
6054 void *argp1 = 0 ;
6055 int res1 = 0 ;
6056 bool val2 ;
6057 int ecode2 = 0 ;
6058 PyObject * obj0 = 0 ;
6059 PyObject * obj1 = 0 ;
6060 char * kwnames[] = {
6061 (char *) "self",(char *) "enable", NULL
6062 };
6063
6064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
6065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6066 if (!SWIG_IsOK(res1)) {
6067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6068 }
6069 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6070 if (obj1) {
6071 ecode2 = SWIG_AsVal_bool(obj1, &val2);
6072 if (!SWIG_IsOK(ecode2)) {
6073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6074 }
6075 arg2 = static_cast< bool >(val2);
6076 }
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 result = (bool)(arg1)->EnableCloseButton(arg2);
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 {
6084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6085 }
6086 return resultobj;
6087 fail:
6088 return NULL;
6089 }
6090
6091
6092 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6093 PyObject *resultobj = 0;
6094 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6095 wxWindow *result = 0 ;
6096 void *argp1 = 0 ;
6097 int res1 = 0 ;
6098 PyObject *swig_obj[1] ;
6099
6100 if (!args) SWIG_fail;
6101 swig_obj[0] = args;
6102 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6103 if (!SWIG_IsOK(res1)) {
6104 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6105 }
6106 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6107 {
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6110 wxPyEndAllowThreads(__tstate);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 }
6113 {
6114 resultobj = wxPyMake_wxObject(result, 0);
6115 }
6116 return resultobj;
6117 fail:
6118 return NULL;
6119 }
6120
6121
6122 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj = 0;
6124 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6125 wxWindow *arg2 = (wxWindow *) 0 ;
6126 wxWindow *result = 0 ;
6127 void *argp1 = 0 ;
6128 int res1 = 0 ;
6129 void *argp2 = 0 ;
6130 int res2 = 0 ;
6131 PyObject * obj0 = 0 ;
6132 PyObject * obj1 = 0 ;
6133 char * kwnames[] = {
6134 (char *) "self",(char *) "child", NULL
6135 };
6136
6137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6139 if (!SWIG_IsOK(res1)) {
6140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6141 }
6142 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6143 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6144 if (!SWIG_IsOK(res2)) {
6145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6146 }
6147 arg2 = reinterpret_cast< wxWindow * >(argp2);
6148 {
6149 PyThreadState* __tstate = wxPyBeginAllowThreads();
6150 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6151 wxPyEndAllowThreads(__tstate);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
6154 {
6155 resultobj = wxPyMake_wxObject(result, 0);
6156 }
6157 return resultobj;
6158 fail:
6159 return NULL;
6160 }
6161
6162
6163 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6164 PyObject *resultobj = 0;
6165 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6166 wxWindow *arg2 = (wxWindow *) 0 ;
6167 void *argp1 = 0 ;
6168 int res1 = 0 ;
6169 void *argp2 = 0 ;
6170 int res2 = 0 ;
6171 PyObject * obj0 = 0 ;
6172 PyObject * obj1 = 0 ;
6173 char * kwnames[] = {
6174 (char *) "self",(char *) "win", NULL
6175 };
6176
6177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6179 if (!SWIG_IsOK(res1)) {
6180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6181 }
6182 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6183 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6184 if (!SWIG_IsOK(res2)) {
6185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6186 }
6187 arg2 = reinterpret_cast< wxWindow * >(argp2);
6188 {
6189 PyThreadState* __tstate = wxPyBeginAllowThreads();
6190 (arg1)->SetTmpDefaultItem(arg2);
6191 wxPyEndAllowThreads(__tstate);
6192 if (PyErr_Occurred()) SWIG_fail;
6193 }
6194 resultobj = SWIG_Py_Void();
6195 return resultobj;
6196 fail:
6197 return NULL;
6198 }
6199
6200
6201 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6202 PyObject *resultobj = 0;
6203 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6204 wxWindow *result = 0 ;
6205 void *argp1 = 0 ;
6206 int res1 = 0 ;
6207 PyObject *swig_obj[1] ;
6208
6209 if (!args) SWIG_fail;
6210 swig_obj[0] = args;
6211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6212 if (!SWIG_IsOK(res1)) {
6213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6214 }
6215 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6216 {
6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6218 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 }
6222 {
6223 resultobj = wxPyMake_wxObject(result, 0);
6224 }
6225 return resultobj;
6226 fail:
6227 return NULL;
6228 }
6229
6230
6231 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6232 PyObject *obj;
6233 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6234 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6235 return SWIG_Py_Void();
6236 }
6237
6238 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6239 PyObject *resultobj = 0;
6240 wxWindow *arg1 = (wxWindow *) 0 ;
6241 int arg2 = (int) (int)-1 ;
6242 wxString const &arg3_defvalue = wxPyEmptyString ;
6243 wxString *arg3 = (wxString *) &arg3_defvalue ;
6244 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6245 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6246 wxSize const &arg5_defvalue = wxDefaultSize ;
6247 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6248 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6249 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6250 wxString *arg7 = (wxString *) &arg7_defvalue ;
6251 wxFrame *result = 0 ;
6252 void *argp1 = 0 ;
6253 int res1 = 0 ;
6254 int val2 ;
6255 int ecode2 = 0 ;
6256 bool temp3 = false ;
6257 wxPoint temp4 ;
6258 wxSize temp5 ;
6259 long val6 ;
6260 int ecode6 = 0 ;
6261 bool temp7 = false ;
6262 PyObject * obj0 = 0 ;
6263 PyObject * obj1 = 0 ;
6264 PyObject * obj2 = 0 ;
6265 PyObject * obj3 = 0 ;
6266 PyObject * obj4 = 0 ;
6267 PyObject * obj5 = 0 ;
6268 PyObject * obj6 = 0 ;
6269 char * kwnames[] = {
6270 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6271 };
6272
6273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6275 if (!SWIG_IsOK(res1)) {
6276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6277 }
6278 arg1 = reinterpret_cast< wxWindow * >(argp1);
6279 if (obj1) {
6280 ecode2 = SWIG_AsVal_int(obj1, &val2);
6281 if (!SWIG_IsOK(ecode2)) {
6282 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6283 }
6284 arg2 = static_cast< int >(val2);
6285 }
6286 if (obj2) {
6287 {
6288 arg3 = wxString_in_helper(obj2);
6289 if (arg3 == NULL) SWIG_fail;
6290 temp3 = true;
6291 }
6292 }
6293 if (obj3) {
6294 {
6295 arg4 = &temp4;
6296 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6297 }
6298 }
6299 if (obj4) {
6300 {
6301 arg5 = &temp5;
6302 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6303 }
6304 }
6305 if (obj5) {
6306 ecode6 = SWIG_AsVal_long(obj5, &val6);
6307 if (!SWIG_IsOK(ecode6)) {
6308 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6309 }
6310 arg6 = static_cast< long >(val6);
6311 }
6312 if (obj6) {
6313 {
6314 arg7 = wxString_in_helper(obj6);
6315 if (arg7 == NULL) SWIG_fail;
6316 temp7 = true;
6317 }
6318 }
6319 {
6320 if (!wxPyCheckForApp()) SWIG_fail;
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6323 wxPyEndAllowThreads(__tstate);
6324 if (PyErr_Occurred()) SWIG_fail;
6325 }
6326 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6327 {
6328 if (temp3)
6329 delete arg3;
6330 }
6331 {
6332 if (temp7)
6333 delete arg7;
6334 }
6335 return resultobj;
6336 fail:
6337 {
6338 if (temp3)
6339 delete arg3;
6340 }
6341 {
6342 if (temp7)
6343 delete arg7;
6344 }
6345 return NULL;
6346 }
6347
6348
6349 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6350 PyObject *resultobj = 0;
6351 wxFrame *result = 0 ;
6352
6353 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6354 {
6355 if (!wxPyCheckForApp()) SWIG_fail;
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 result = (wxFrame *)new wxFrame();
6358 wxPyEndAllowThreads(__tstate);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6362 return resultobj;
6363 fail:
6364 return NULL;
6365 }
6366
6367
6368 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6369 PyObject *resultobj = 0;
6370 wxFrame *arg1 = (wxFrame *) 0 ;
6371 wxWindow *arg2 = (wxWindow *) 0 ;
6372 int arg3 = (int) (int)-1 ;
6373 wxString const &arg4_defvalue = wxPyEmptyString ;
6374 wxString *arg4 = (wxString *) &arg4_defvalue ;
6375 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6376 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6377 wxSize const &arg6_defvalue = wxDefaultSize ;
6378 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6379 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6380 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6381 wxString *arg8 = (wxString *) &arg8_defvalue ;
6382 bool result;
6383 void *argp1 = 0 ;
6384 int res1 = 0 ;
6385 void *argp2 = 0 ;
6386 int res2 = 0 ;
6387 int val3 ;
6388 int ecode3 = 0 ;
6389 bool temp4 = false ;
6390 wxPoint temp5 ;
6391 wxSize temp6 ;
6392 long val7 ;
6393 int ecode7 = 0 ;
6394 bool temp8 = false ;
6395 PyObject * obj0 = 0 ;
6396 PyObject * obj1 = 0 ;
6397 PyObject * obj2 = 0 ;
6398 PyObject * obj3 = 0 ;
6399 PyObject * obj4 = 0 ;
6400 PyObject * obj5 = 0 ;
6401 PyObject * obj6 = 0 ;
6402 PyObject * obj7 = 0 ;
6403 char * kwnames[] = {
6404 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6405 };
6406
6407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6409 if (!SWIG_IsOK(res1)) {
6410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6411 }
6412 arg1 = reinterpret_cast< wxFrame * >(argp1);
6413 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6414 if (!SWIG_IsOK(res2)) {
6415 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6416 }
6417 arg2 = reinterpret_cast< wxWindow * >(argp2);
6418 if (obj2) {
6419 ecode3 = SWIG_AsVal_int(obj2, &val3);
6420 if (!SWIG_IsOK(ecode3)) {
6421 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6422 }
6423 arg3 = static_cast< int >(val3);
6424 }
6425 if (obj3) {
6426 {
6427 arg4 = wxString_in_helper(obj3);
6428 if (arg4 == NULL) SWIG_fail;
6429 temp4 = true;
6430 }
6431 }
6432 if (obj4) {
6433 {
6434 arg5 = &temp5;
6435 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6436 }
6437 }
6438 if (obj5) {
6439 {
6440 arg6 = &temp6;
6441 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6442 }
6443 }
6444 if (obj6) {
6445 ecode7 = SWIG_AsVal_long(obj6, &val7);
6446 if (!SWIG_IsOK(ecode7)) {
6447 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6448 }
6449 arg7 = static_cast< long >(val7);
6450 }
6451 if (obj7) {
6452 {
6453 arg8 = wxString_in_helper(obj7);
6454 if (arg8 == NULL) SWIG_fail;
6455 temp8 = true;
6456 }
6457 }
6458 {
6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
6460 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 {
6465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6466 }
6467 {
6468 if (temp4)
6469 delete arg4;
6470 }
6471 {
6472 if (temp8)
6473 delete arg8;
6474 }
6475 return resultobj;
6476 fail:
6477 {
6478 if (temp4)
6479 delete arg4;
6480 }
6481 {
6482 if (temp8)
6483 delete arg8;
6484 }
6485 return NULL;
6486 }
6487
6488
6489 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6490 PyObject *resultobj = 0;
6491 wxFrame *arg1 = (wxFrame *) 0 ;
6492 void *argp1 = 0 ;
6493 int res1 = 0 ;
6494 PyObject *swig_obj[1] ;
6495
6496 if (!args) SWIG_fail;
6497 swig_obj[0] = args;
6498 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6499 if (!SWIG_IsOK(res1)) {
6500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6501 }
6502 arg1 = reinterpret_cast< wxFrame * >(argp1);
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 (arg1)->SendSizeEvent();
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 resultobj = SWIG_Py_Void();
6510 return resultobj;
6511 fail:
6512 return NULL;
6513 }
6514
6515
6516 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6517 PyObject *resultobj = 0;
6518 wxFrame *arg1 = (wxFrame *) 0 ;
6519 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6520 void *argp1 = 0 ;
6521 int res1 = 0 ;
6522 void *argp2 = 0 ;
6523 int res2 = 0 ;
6524 PyObject * obj0 = 0 ;
6525 PyObject * obj1 = 0 ;
6526 char * kwnames[] = {
6527 (char *) "self",(char *) "menubar", NULL
6528 };
6529
6530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6532 if (!SWIG_IsOK(res1)) {
6533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6534 }
6535 arg1 = reinterpret_cast< wxFrame * >(argp1);
6536 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6537 if (!SWIG_IsOK(res2)) {
6538 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6539 }
6540 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6541 {
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 (arg1)->SetMenuBar(arg2);
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 resultobj = SWIG_Py_Void();
6548 return resultobj;
6549 fail:
6550 return NULL;
6551 }
6552
6553
6554 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6555 PyObject *resultobj = 0;
6556 wxFrame *arg1 = (wxFrame *) 0 ;
6557 wxMenuBar *result = 0 ;
6558 void *argp1 = 0 ;
6559 int res1 = 0 ;
6560 PyObject *swig_obj[1] ;
6561
6562 if (!args) SWIG_fail;
6563 swig_obj[0] = args;
6564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6565 if (!SWIG_IsOK(res1)) {
6566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6567 }
6568 arg1 = reinterpret_cast< wxFrame * >(argp1);
6569 {
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 {
6576 resultobj = wxPyMake_wxObject(result, 0);
6577 }
6578 return resultobj;
6579 fail:
6580 return NULL;
6581 }
6582
6583
6584 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6585 PyObject *resultobj = 0;
6586 wxFrame *arg1 = (wxFrame *) 0 ;
6587 int arg2 ;
6588 bool result;
6589 void *argp1 = 0 ;
6590 int res1 = 0 ;
6591 int val2 ;
6592 int ecode2 = 0 ;
6593 PyObject * obj0 = 0 ;
6594 PyObject * obj1 = 0 ;
6595 char * kwnames[] = {
6596 (char *) "self",(char *) "winid", NULL
6597 };
6598
6599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6601 if (!SWIG_IsOK(res1)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6603 }
6604 arg1 = reinterpret_cast< wxFrame * >(argp1);
6605 ecode2 = SWIG_AsVal_int(obj1, &val2);
6606 if (!SWIG_IsOK(ecode2)) {
6607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6608 }
6609 arg2 = static_cast< int >(val2);
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 result = (bool)(arg1)->ProcessCommand(arg2);
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 {
6617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6618 }
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj = 0;
6627 wxFrame *arg1 = (wxFrame *) 0 ;
6628 int arg2 = (int) 1 ;
6629 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6630 int arg4 = (int) 0 ;
6631 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6632 wxString *arg5 = (wxString *) &arg5_defvalue ;
6633 wxStatusBar *result = 0 ;
6634 void *argp1 = 0 ;
6635 int res1 = 0 ;
6636 int val2 ;
6637 int ecode2 = 0 ;
6638 long val3 ;
6639 int ecode3 = 0 ;
6640 int val4 ;
6641 int ecode4 = 0 ;
6642 bool temp5 = false ;
6643 PyObject * obj0 = 0 ;
6644 PyObject * obj1 = 0 ;
6645 PyObject * obj2 = 0 ;
6646 PyObject * obj3 = 0 ;
6647 PyObject * obj4 = 0 ;
6648 char * kwnames[] = {
6649 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6650 };
6651
6652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6654 if (!SWIG_IsOK(res1)) {
6655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6656 }
6657 arg1 = reinterpret_cast< wxFrame * >(argp1);
6658 if (obj1) {
6659 ecode2 = SWIG_AsVal_int(obj1, &val2);
6660 if (!SWIG_IsOK(ecode2)) {
6661 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6662 }
6663 arg2 = static_cast< int >(val2);
6664 }
6665 if (obj2) {
6666 ecode3 = SWIG_AsVal_long(obj2, &val3);
6667 if (!SWIG_IsOK(ecode3)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6669 }
6670 arg3 = static_cast< long >(val3);
6671 }
6672 if (obj3) {
6673 ecode4 = SWIG_AsVal_int(obj3, &val4);
6674 if (!SWIG_IsOK(ecode4)) {
6675 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6676 }
6677 arg4 = static_cast< int >(val4);
6678 }
6679 if (obj4) {
6680 {
6681 arg5 = wxString_in_helper(obj4);
6682 if (arg5 == NULL) SWIG_fail;
6683 temp5 = true;
6684 }
6685 }
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 {
6693 resultobj = wxPyMake_wxObject(result, (bool)0);
6694 }
6695 {
6696 if (temp5)
6697 delete arg5;
6698 }
6699 return resultobj;
6700 fail:
6701 {
6702 if (temp5)
6703 delete arg5;
6704 }
6705 return NULL;
6706 }
6707
6708
6709 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6710 PyObject *resultobj = 0;
6711 wxFrame *arg1 = (wxFrame *) 0 ;
6712 wxStatusBar *result = 0 ;
6713 void *argp1 = 0 ;
6714 int res1 = 0 ;
6715 PyObject *swig_obj[1] ;
6716
6717 if (!args) SWIG_fail;
6718 swig_obj[0] = args;
6719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6720 if (!SWIG_IsOK(res1)) {
6721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6722 }
6723 arg1 = reinterpret_cast< wxFrame * >(argp1);
6724 {
6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6726 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6727 wxPyEndAllowThreads(__tstate);
6728 if (PyErr_Occurred()) SWIG_fail;
6729 }
6730 {
6731 resultobj = wxPyMake_wxObject(result, (bool)0);
6732 }
6733 return resultobj;
6734 fail:
6735 return NULL;
6736 }
6737
6738
6739 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj = 0;
6741 wxFrame *arg1 = (wxFrame *) 0 ;
6742 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6743 void *argp1 = 0 ;
6744 int res1 = 0 ;
6745 void *argp2 = 0 ;
6746 int res2 = 0 ;
6747 PyObject * obj0 = 0 ;
6748 PyObject * obj1 = 0 ;
6749 char * kwnames[] = {
6750 (char *) "self",(char *) "statBar", NULL
6751 };
6752
6753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6755 if (!SWIG_IsOK(res1)) {
6756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6757 }
6758 arg1 = reinterpret_cast< wxFrame * >(argp1);
6759 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6760 if (!SWIG_IsOK(res2)) {
6761 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6762 }
6763 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6764 {
6765 PyThreadState* __tstate = wxPyBeginAllowThreads();
6766 (arg1)->SetStatusBar(arg2);
6767 wxPyEndAllowThreads(__tstate);
6768 if (PyErr_Occurred()) SWIG_fail;
6769 }
6770 resultobj = SWIG_Py_Void();
6771 return resultobj;
6772 fail:
6773 return NULL;
6774 }
6775
6776
6777 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6778 PyObject *resultobj = 0;
6779 wxFrame *arg1 = (wxFrame *) 0 ;
6780 wxString *arg2 = 0 ;
6781 int arg3 = (int) 0 ;
6782 void *argp1 = 0 ;
6783 int res1 = 0 ;
6784 bool temp2 = false ;
6785 int val3 ;
6786 int ecode3 = 0 ;
6787 PyObject * obj0 = 0 ;
6788 PyObject * obj1 = 0 ;
6789 PyObject * obj2 = 0 ;
6790 char * kwnames[] = {
6791 (char *) "self",(char *) "text",(char *) "number", NULL
6792 };
6793
6794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6796 if (!SWIG_IsOK(res1)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6798 }
6799 arg1 = reinterpret_cast< wxFrame * >(argp1);
6800 {
6801 arg2 = wxString_in_helper(obj1);
6802 if (arg2 == NULL) SWIG_fail;
6803 temp2 = true;
6804 }
6805 if (obj2) {
6806 ecode3 = SWIG_AsVal_int(obj2, &val3);
6807 if (!SWIG_IsOK(ecode3)) {
6808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6809 }
6810 arg3 = static_cast< int >(val3);
6811 }
6812 {
6813 PyThreadState* __tstate = wxPyBeginAllowThreads();
6814 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6815 wxPyEndAllowThreads(__tstate);
6816 if (PyErr_Occurred()) SWIG_fail;
6817 }
6818 resultobj = SWIG_Py_Void();
6819 {
6820 if (temp2)
6821 delete arg2;
6822 }
6823 return resultobj;
6824 fail:
6825 {
6826 if (temp2)
6827 delete arg2;
6828 }
6829 return NULL;
6830 }
6831
6832
6833 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6834 PyObject *resultobj = 0;
6835 wxFrame *arg1 = (wxFrame *) 0 ;
6836 int arg2 ;
6837 int *arg3 = (int *) 0 ;
6838 void *argp1 = 0 ;
6839 int res1 = 0 ;
6840 PyObject * obj0 = 0 ;
6841 PyObject * obj1 = 0 ;
6842 char * kwnames[] = {
6843 (char *) "self",(char *) "widths", NULL
6844 };
6845
6846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6848 if (!SWIG_IsOK(res1)) {
6849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6850 }
6851 arg1 = reinterpret_cast< wxFrame * >(argp1);
6852 {
6853 arg2 = PyList_Size(obj1);
6854 arg3 = int_LIST_helper(obj1);
6855 if (arg3 == NULL) SWIG_fail;
6856 }
6857 {
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6860 wxPyEndAllowThreads(__tstate);
6861 if (PyErr_Occurred()) SWIG_fail;
6862 }
6863 resultobj = SWIG_Py_Void();
6864 {
6865 if (arg3) delete [] arg3;
6866 }
6867 return resultobj;
6868 fail:
6869 {
6870 if (arg3) delete [] arg3;
6871 }
6872 return NULL;
6873 }
6874
6875
6876 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6877 PyObject *resultobj = 0;
6878 wxFrame *arg1 = (wxFrame *) 0 ;
6879 wxString *arg2 = 0 ;
6880 int arg3 = (int) 0 ;
6881 void *argp1 = 0 ;
6882 int res1 = 0 ;
6883 bool temp2 = false ;
6884 int val3 ;
6885 int ecode3 = 0 ;
6886 PyObject * obj0 = 0 ;
6887 PyObject * obj1 = 0 ;
6888 PyObject * obj2 = 0 ;
6889 char * kwnames[] = {
6890 (char *) "self",(char *) "text",(char *) "number", NULL
6891 };
6892
6893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6895 if (!SWIG_IsOK(res1)) {
6896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6897 }
6898 arg1 = reinterpret_cast< wxFrame * >(argp1);
6899 {
6900 arg2 = wxString_in_helper(obj1);
6901 if (arg2 == NULL) SWIG_fail;
6902 temp2 = true;
6903 }
6904 if (obj2) {
6905 ecode3 = SWIG_AsVal_int(obj2, &val3);
6906 if (!SWIG_IsOK(ecode3)) {
6907 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6908 }
6909 arg3 = static_cast< int >(val3);
6910 }
6911 {
6912 PyThreadState* __tstate = wxPyBeginAllowThreads();
6913 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6914 wxPyEndAllowThreads(__tstate);
6915 if (PyErr_Occurred()) SWIG_fail;
6916 }
6917 resultobj = SWIG_Py_Void();
6918 {
6919 if (temp2)
6920 delete arg2;
6921 }
6922 return resultobj;
6923 fail:
6924 {
6925 if (temp2)
6926 delete arg2;
6927 }
6928 return NULL;
6929 }
6930
6931
6932 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6933 PyObject *resultobj = 0;
6934 wxFrame *arg1 = (wxFrame *) 0 ;
6935 int arg2 = (int) 0 ;
6936 void *argp1 = 0 ;
6937 int res1 = 0 ;
6938 int val2 ;
6939 int ecode2 = 0 ;
6940 PyObject * obj0 = 0 ;
6941 PyObject * obj1 = 0 ;
6942 char * kwnames[] = {
6943 (char *) "self",(char *) "number", NULL
6944 };
6945
6946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6948 if (!SWIG_IsOK(res1)) {
6949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6950 }
6951 arg1 = reinterpret_cast< wxFrame * >(argp1);
6952 if (obj1) {
6953 ecode2 = SWIG_AsVal_int(obj1, &val2);
6954 if (!SWIG_IsOK(ecode2)) {
6955 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6956 }
6957 arg2 = static_cast< int >(val2);
6958 }
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 (arg1)->PopStatusText(arg2);
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 resultobj = SWIG_Py_Void();
6966 return resultobj;
6967 fail:
6968 return NULL;
6969 }
6970
6971
6972 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6973 PyObject *resultobj = 0;
6974 wxFrame *arg1 = (wxFrame *) 0 ;
6975 int arg2 ;
6976 void *argp1 = 0 ;
6977 int res1 = 0 ;
6978 int val2 ;
6979 int ecode2 = 0 ;
6980 PyObject * obj0 = 0 ;
6981 PyObject * obj1 = 0 ;
6982 char * kwnames[] = {
6983 (char *) "self",(char *) "n", NULL
6984 };
6985
6986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6988 if (!SWIG_IsOK(res1)) {
6989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6990 }
6991 arg1 = reinterpret_cast< wxFrame * >(argp1);
6992 ecode2 = SWIG_AsVal_int(obj1, &val2);
6993 if (!SWIG_IsOK(ecode2)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6995 }
6996 arg2 = static_cast< int >(val2);
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 (arg1)->SetStatusBarPane(arg2);
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 resultobj = SWIG_Py_Void();
7004 return resultobj;
7005 fail:
7006 return NULL;
7007 }
7008
7009
7010 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7011 PyObject *resultobj = 0;
7012 wxFrame *arg1 = (wxFrame *) 0 ;
7013 int result;
7014 void *argp1 = 0 ;
7015 int res1 = 0 ;
7016 PyObject *swig_obj[1] ;
7017
7018 if (!args) SWIG_fail;
7019 swig_obj[0] = args;
7020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7021 if (!SWIG_IsOK(res1)) {
7022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7023 }
7024 arg1 = reinterpret_cast< wxFrame * >(argp1);
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 resultobj = SWIG_From_int(static_cast< int >(result));
7032 return resultobj;
7033 fail:
7034 return NULL;
7035 }
7036
7037
7038 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7039 PyObject *resultobj = 0;
7040 wxFrame *arg1 = (wxFrame *) 0 ;
7041 long arg2 = (long) -1 ;
7042 int arg3 = (int) -1 ;
7043 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
7044 wxString *arg4 = (wxString *) &arg4_defvalue ;
7045 wxToolBar *result = 0 ;
7046 void *argp1 = 0 ;
7047 int res1 = 0 ;
7048 long val2 ;
7049 int ecode2 = 0 ;
7050 int val3 ;
7051 int ecode3 = 0 ;
7052 bool temp4 = false ;
7053 PyObject * obj0 = 0 ;
7054 PyObject * obj1 = 0 ;
7055 PyObject * obj2 = 0 ;
7056 PyObject * obj3 = 0 ;
7057 char * kwnames[] = {
7058 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7059 };
7060
7061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7063 if (!SWIG_IsOK(res1)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7065 }
7066 arg1 = reinterpret_cast< wxFrame * >(argp1);
7067 if (obj1) {
7068 ecode2 = SWIG_AsVal_long(obj1, &val2);
7069 if (!SWIG_IsOK(ecode2)) {
7070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7071 }
7072 arg2 = static_cast< long >(val2);
7073 }
7074 if (obj2) {
7075 ecode3 = SWIG_AsVal_int(obj2, &val3);
7076 if (!SWIG_IsOK(ecode3)) {
7077 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7078 }
7079 arg3 = static_cast< int >(val3);
7080 }
7081 if (obj3) {
7082 {
7083 arg4 = wxString_in_helper(obj3);
7084 if (arg4 == NULL) SWIG_fail;
7085 temp4 = true;
7086 }
7087 }
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7091 wxPyEndAllowThreads(__tstate);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 {
7095 resultobj = wxPyMake_wxObject(result, (bool)0);
7096 }
7097 {
7098 if (temp4)
7099 delete arg4;
7100 }
7101 return resultobj;
7102 fail:
7103 {
7104 if (temp4)
7105 delete arg4;
7106 }
7107 return NULL;
7108 }
7109
7110
7111 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7112 PyObject *resultobj = 0;
7113 wxFrame *arg1 = (wxFrame *) 0 ;
7114 wxToolBar *result = 0 ;
7115 void *argp1 = 0 ;
7116 int res1 = 0 ;
7117 PyObject *swig_obj[1] ;
7118
7119 if (!args) SWIG_fail;
7120 swig_obj[0] = args;
7121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7122 if (!SWIG_IsOK(res1)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7124 }
7125 arg1 = reinterpret_cast< wxFrame * >(argp1);
7126 {
7127 PyThreadState* __tstate = wxPyBeginAllowThreads();
7128 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7129 wxPyEndAllowThreads(__tstate);
7130 if (PyErr_Occurred()) SWIG_fail;
7131 }
7132 {
7133 resultobj = wxPyMake_wxObject(result, (bool)0);
7134 }
7135 return resultobj;
7136 fail:
7137 return NULL;
7138 }
7139
7140
7141 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7142 PyObject *resultobj = 0;
7143 wxFrame *arg1 = (wxFrame *) 0 ;
7144 wxToolBar *arg2 = (wxToolBar *) 0 ;
7145 void *argp1 = 0 ;
7146 int res1 = 0 ;
7147 void *argp2 = 0 ;
7148 int res2 = 0 ;
7149 PyObject * obj0 = 0 ;
7150 PyObject * obj1 = 0 ;
7151 char * kwnames[] = {
7152 (char *) "self",(char *) "toolbar", NULL
7153 };
7154
7155 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7156 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7157 if (!SWIG_IsOK(res1)) {
7158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7159 }
7160 arg1 = reinterpret_cast< wxFrame * >(argp1);
7161 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7162 if (!SWIG_IsOK(res2)) {
7163 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7164 }
7165 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 (arg1)->SetToolBar(arg2);
7169 wxPyEndAllowThreads(__tstate);
7170 if (PyErr_Occurred()) SWIG_fail;
7171 }
7172 resultobj = SWIG_Py_Void();
7173 return resultobj;
7174 fail:
7175 return NULL;
7176 }
7177
7178
7179 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7180 PyObject *resultobj = 0;
7181 wxFrame *arg1 = (wxFrame *) 0 ;
7182 wxString *arg2 = 0 ;
7183 bool arg3 ;
7184 void *argp1 = 0 ;
7185 int res1 = 0 ;
7186 bool temp2 = false ;
7187 bool val3 ;
7188 int ecode3 = 0 ;
7189 PyObject * obj0 = 0 ;
7190 PyObject * obj1 = 0 ;
7191 PyObject * obj2 = 0 ;
7192 char * kwnames[] = {
7193 (char *) "self",(char *) "text",(char *) "show", NULL
7194 };
7195
7196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7198 if (!SWIG_IsOK(res1)) {
7199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7200 }
7201 arg1 = reinterpret_cast< wxFrame * >(argp1);
7202 {
7203 arg2 = wxString_in_helper(obj1);
7204 if (arg2 == NULL) SWIG_fail;
7205 temp2 = true;
7206 }
7207 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7208 if (!SWIG_IsOK(ecode3)) {
7209 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7210 }
7211 arg3 = static_cast< bool >(val3);
7212 {
7213 PyThreadState* __tstate = wxPyBeginAllowThreads();
7214 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7215 wxPyEndAllowThreads(__tstate);
7216 if (PyErr_Occurred()) SWIG_fail;
7217 }
7218 resultobj = SWIG_Py_Void();
7219 {
7220 if (temp2)
7221 delete arg2;
7222 }
7223 return resultobj;
7224 fail:
7225 {
7226 if (temp2)
7227 delete arg2;
7228 }
7229 return NULL;
7230 }
7231
7232
7233 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7234 PyObject *resultobj = 0;
7235 wxFrame *arg1 = (wxFrame *) 0 ;
7236 wxMenu *arg2 = (wxMenu *) NULL ;
7237 void *argp1 = 0 ;
7238 int res1 = 0 ;
7239 void *argp2 = 0 ;
7240 int res2 = 0 ;
7241 PyObject * obj0 = 0 ;
7242 PyObject * obj1 = 0 ;
7243 char * kwnames[] = {
7244 (char *) "self",(char *) "menu", NULL
7245 };
7246
7247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7249 if (!SWIG_IsOK(res1)) {
7250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7251 }
7252 arg1 = reinterpret_cast< wxFrame * >(argp1);
7253 if (obj1) {
7254 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7255 if (!SWIG_IsOK(res2)) {
7256 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7257 }
7258 arg2 = reinterpret_cast< wxMenu * >(argp2);
7259 }
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 (arg1)->DoMenuUpdates(arg2);
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = SWIG_Py_Void();
7267 return resultobj;
7268 fail:
7269 return NULL;
7270 }
7271
7272
7273 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj = 0;
7275 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7276 SwigValueWrapper<wxVisualAttributes > result;
7277 int val1 ;
7278 int ecode1 = 0 ;
7279 PyObject * obj0 = 0 ;
7280 char * kwnames[] = {
7281 (char *) "variant", NULL
7282 };
7283
7284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7285 if (obj0) {
7286 ecode1 = SWIG_AsVal_int(obj0, &val1);
7287 if (!SWIG_IsOK(ecode1)) {
7288 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7289 }
7290 arg1 = static_cast< wxWindowVariant >(val1);
7291 }
7292 {
7293 if (!wxPyCheckForApp()) SWIG_fail;
7294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7295 result = wxFrame::GetClassDefaultAttributes(arg1);
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
7299 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7300 return resultobj;
7301 fail:
7302 return NULL;
7303 }
7304
7305
7306 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7307 PyObject *obj;
7308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7309 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7310 return SWIG_Py_Void();
7311 }
7312
7313 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7314 return SWIG_Python_InitShadowInstance(args);
7315 }
7316
7317 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7318 PyObject *resultobj = 0;
7319 wxWindow *arg1 = (wxWindow *) 0 ;
7320 int arg2 = (int) (int)-1 ;
7321 wxString const &arg3_defvalue = wxPyEmptyString ;
7322 wxString *arg3 = (wxString *) &arg3_defvalue ;
7323 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7324 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7325 wxSize const &arg5_defvalue = wxDefaultSize ;
7326 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7327 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7328 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7329 wxString *arg7 = (wxString *) &arg7_defvalue ;
7330 wxDialog *result = 0 ;
7331 void *argp1 = 0 ;
7332 int res1 = 0 ;
7333 int val2 ;
7334 int ecode2 = 0 ;
7335 bool temp3 = false ;
7336 wxPoint temp4 ;
7337 wxSize temp5 ;
7338 long val6 ;
7339 int ecode6 = 0 ;
7340 bool temp7 = false ;
7341 PyObject * obj0 = 0 ;
7342 PyObject * obj1 = 0 ;
7343 PyObject * obj2 = 0 ;
7344 PyObject * obj3 = 0 ;
7345 PyObject * obj4 = 0 ;
7346 PyObject * obj5 = 0 ;
7347 PyObject * obj6 = 0 ;
7348 char * kwnames[] = {
7349 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7350 };
7351
7352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7354 if (!SWIG_IsOK(res1)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7356 }
7357 arg1 = reinterpret_cast< wxWindow * >(argp1);
7358 if (obj1) {
7359 ecode2 = SWIG_AsVal_int(obj1, &val2);
7360 if (!SWIG_IsOK(ecode2)) {
7361 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7362 }
7363 arg2 = static_cast< int >(val2);
7364 }
7365 if (obj2) {
7366 {
7367 arg3 = wxString_in_helper(obj2);
7368 if (arg3 == NULL) SWIG_fail;
7369 temp3 = true;
7370 }
7371 }
7372 if (obj3) {
7373 {
7374 arg4 = &temp4;
7375 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7376 }
7377 }
7378 if (obj4) {
7379 {
7380 arg5 = &temp5;
7381 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7382 }
7383 }
7384 if (obj5) {
7385 ecode6 = SWIG_AsVal_long(obj5, &val6);
7386 if (!SWIG_IsOK(ecode6)) {
7387 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7388 }
7389 arg6 = static_cast< long >(val6);
7390 }
7391 if (obj6) {
7392 {
7393 arg7 = wxString_in_helper(obj6);
7394 if (arg7 == NULL) SWIG_fail;
7395 temp7 = true;
7396 }
7397 }
7398 {
7399 if (!wxPyCheckForApp()) SWIG_fail;
7400 PyThreadState* __tstate = wxPyBeginAllowThreads();
7401 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7406 {
7407 if (temp3)
7408 delete arg3;
7409 }
7410 {
7411 if (temp7)
7412 delete arg7;
7413 }
7414 return resultobj;
7415 fail:
7416 {
7417 if (temp3)
7418 delete arg3;
7419 }
7420 {
7421 if (temp7)
7422 delete arg7;
7423 }
7424 return NULL;
7425 }
7426
7427
7428 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7429 PyObject *resultobj = 0;
7430 wxDialog *result = 0 ;
7431
7432 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7433 {
7434 if (!wxPyCheckForApp()) SWIG_fail;
7435 PyThreadState* __tstate = wxPyBeginAllowThreads();
7436 result = (wxDialog *)new wxDialog();
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7441 return resultobj;
7442 fail:
7443 return NULL;
7444 }
7445
7446
7447 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj = 0;
7449 wxDialog *arg1 = (wxDialog *) 0 ;
7450 wxWindow *arg2 = (wxWindow *) 0 ;
7451 int arg3 = (int) (int)-1 ;
7452 wxString const &arg4_defvalue = wxPyEmptyString ;
7453 wxString *arg4 = (wxString *) &arg4_defvalue ;
7454 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7455 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7456 wxSize const &arg6_defvalue = wxDefaultSize ;
7457 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7458 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7459 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7460 wxString *arg8 = (wxString *) &arg8_defvalue ;
7461 bool result;
7462 void *argp1 = 0 ;
7463 int res1 = 0 ;
7464 void *argp2 = 0 ;
7465 int res2 = 0 ;
7466 int val3 ;
7467 int ecode3 = 0 ;
7468 bool temp4 = false ;
7469 wxPoint temp5 ;
7470 wxSize temp6 ;
7471 long val7 ;
7472 int ecode7 = 0 ;
7473 bool temp8 = false ;
7474 PyObject * obj0 = 0 ;
7475 PyObject * obj1 = 0 ;
7476 PyObject * obj2 = 0 ;
7477 PyObject * obj3 = 0 ;
7478 PyObject * obj4 = 0 ;
7479 PyObject * obj5 = 0 ;
7480 PyObject * obj6 = 0 ;
7481 PyObject * obj7 = 0 ;
7482 char * kwnames[] = {
7483 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7484 };
7485
7486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7488 if (!SWIG_IsOK(res1)) {
7489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7490 }
7491 arg1 = reinterpret_cast< wxDialog * >(argp1);
7492 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7493 if (!SWIG_IsOK(res2)) {
7494 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7495 }
7496 arg2 = reinterpret_cast< wxWindow * >(argp2);
7497 if (obj2) {
7498 ecode3 = SWIG_AsVal_int(obj2, &val3);
7499 if (!SWIG_IsOK(ecode3)) {
7500 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7501 }
7502 arg3 = static_cast< int >(val3);
7503 }
7504 if (obj3) {
7505 {
7506 arg4 = wxString_in_helper(obj3);
7507 if (arg4 == NULL) SWIG_fail;
7508 temp4 = true;
7509 }
7510 }
7511 if (obj4) {
7512 {
7513 arg5 = &temp5;
7514 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7515 }
7516 }
7517 if (obj5) {
7518 {
7519 arg6 = &temp6;
7520 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7521 }
7522 }
7523 if (obj6) {
7524 ecode7 = SWIG_AsVal_long(obj6, &val7);
7525 if (!SWIG_IsOK(ecode7)) {
7526 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7527 }
7528 arg7 = static_cast< long >(val7);
7529 }
7530 if (obj7) {
7531 {
7532 arg8 = wxString_in_helper(obj7);
7533 if (arg8 == NULL) SWIG_fail;
7534 temp8 = true;
7535 }
7536 }
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) SWIG_fail;
7542 }
7543 {
7544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7545 }
7546 {
7547 if (temp4)
7548 delete arg4;
7549 }
7550 {
7551 if (temp8)
7552 delete arg8;
7553 }
7554 return resultobj;
7555 fail:
7556 {
7557 if (temp4)
7558 delete arg4;
7559 }
7560 {
7561 if (temp8)
7562 delete arg8;
7563 }
7564 return NULL;
7565 }
7566
7567
7568 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7569 PyObject *resultobj = 0;
7570 wxDialog *arg1 = (wxDialog *) 0 ;
7571 int arg2 ;
7572 void *argp1 = 0 ;
7573 int res1 = 0 ;
7574 int val2 ;
7575 int ecode2 = 0 ;
7576 PyObject * obj0 = 0 ;
7577 PyObject * obj1 = 0 ;
7578 char * kwnames[] = {
7579 (char *) "self",(char *) "returnCode", NULL
7580 };
7581
7582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7584 if (!SWIG_IsOK(res1)) {
7585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7586 }
7587 arg1 = reinterpret_cast< wxDialog * >(argp1);
7588 ecode2 = SWIG_AsVal_int(obj1, &val2);
7589 if (!SWIG_IsOK(ecode2)) {
7590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7591 }
7592 arg2 = static_cast< int >(val2);
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 (arg1)->SetReturnCode(arg2);
7596 wxPyEndAllowThreads(__tstate);
7597 if (PyErr_Occurred()) SWIG_fail;
7598 }
7599 resultobj = SWIG_Py_Void();
7600 return resultobj;
7601 fail:
7602 return NULL;
7603 }
7604
7605
7606 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7607 PyObject *resultobj = 0;
7608 wxDialog *arg1 = (wxDialog *) 0 ;
7609 int result;
7610 void *argp1 = 0 ;
7611 int res1 = 0 ;
7612 PyObject *swig_obj[1] ;
7613
7614 if (!args) SWIG_fail;
7615 swig_obj[0] = args;
7616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7617 if (!SWIG_IsOK(res1)) {
7618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7619 }
7620 arg1 = reinterpret_cast< wxDialog * >(argp1);
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7624 wxPyEndAllowThreads(__tstate);
7625 if (PyErr_Occurred()) SWIG_fail;
7626 }
7627 resultobj = SWIG_From_int(static_cast< int >(result));
7628 return resultobj;
7629 fail:
7630 return NULL;
7631 }
7632
7633
7634 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7635 PyObject *resultobj = 0;
7636 wxDialog *arg1 = (wxDialog *) 0 ;
7637 int arg2 ;
7638 void *argp1 = 0 ;
7639 int res1 = 0 ;
7640 int val2 ;
7641 int ecode2 = 0 ;
7642 PyObject * obj0 = 0 ;
7643 PyObject * obj1 = 0 ;
7644 char * kwnames[] = {
7645 (char *) "self",(char *) "affirmativeId", NULL
7646 };
7647
7648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7650 if (!SWIG_IsOK(res1)) {
7651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7652 }
7653 arg1 = reinterpret_cast< wxDialog * >(argp1);
7654 ecode2 = SWIG_AsVal_int(obj1, &val2);
7655 if (!SWIG_IsOK(ecode2)) {
7656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7657 }
7658 arg2 = static_cast< int >(val2);
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 (arg1)->SetAffirmativeId(arg2);
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 resultobj = SWIG_Py_Void();
7666 return resultobj;
7667 fail:
7668 return NULL;
7669 }
7670
7671
7672 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7673 PyObject *resultobj = 0;
7674 wxDialog *arg1 = (wxDialog *) 0 ;
7675 int result;
7676 void *argp1 = 0 ;
7677 int res1 = 0 ;
7678 PyObject *swig_obj[1] ;
7679
7680 if (!args) SWIG_fail;
7681 swig_obj[0] = args;
7682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7683 if (!SWIG_IsOK(res1)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7685 }
7686 arg1 = reinterpret_cast< wxDialog * >(argp1);
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 }
7693 resultobj = SWIG_From_int(static_cast< int >(result));
7694 return resultobj;
7695 fail:
7696 return NULL;
7697 }
7698
7699
7700 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7701 PyObject *resultobj = 0;
7702 wxDialog *arg1 = (wxDialog *) 0 ;
7703 int arg2 ;
7704 void *argp1 = 0 ;
7705 int res1 = 0 ;
7706 int val2 ;
7707 int ecode2 = 0 ;
7708 PyObject * obj0 = 0 ;
7709 PyObject * obj1 = 0 ;
7710 char * kwnames[] = {
7711 (char *) "self",(char *) "escapeId", NULL
7712 };
7713
7714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7716 if (!SWIG_IsOK(res1)) {
7717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7718 }
7719 arg1 = reinterpret_cast< wxDialog * >(argp1);
7720 ecode2 = SWIG_AsVal_int(obj1, &val2);
7721 if (!SWIG_IsOK(ecode2)) {
7722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7723 }
7724 arg2 = static_cast< int >(val2);
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 (arg1)->SetEscapeId(arg2);
7728 wxPyEndAllowThreads(__tstate);
7729 if (PyErr_Occurred()) SWIG_fail;
7730 }
7731 resultobj = SWIG_Py_Void();
7732 return resultobj;
7733 fail:
7734 return NULL;
7735 }
7736
7737
7738 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7739 PyObject *resultobj = 0;
7740 wxDialog *arg1 = (wxDialog *) 0 ;
7741 int result;
7742 void *argp1 = 0 ;
7743 int res1 = 0 ;
7744 PyObject *swig_obj[1] ;
7745
7746 if (!args) SWIG_fail;
7747 swig_obj[0] = args;
7748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7749 if (!SWIG_IsOK(res1)) {
7750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7751 }
7752 arg1 = reinterpret_cast< wxDialog * >(argp1);
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7756 wxPyEndAllowThreads(__tstate);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
7759 resultobj = SWIG_From_int(static_cast< int >(result));
7760 return resultobj;
7761 fail:
7762 return NULL;
7763 }
7764
7765
7766 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7767 PyObject *resultobj = 0;
7768 wxDialog *arg1 = (wxDialog *) 0 ;
7769 wxString *arg2 = 0 ;
7770 wxSizer *result = 0 ;
7771 void *argp1 = 0 ;
7772 int res1 = 0 ;
7773 bool temp2 = false ;
7774 PyObject * obj0 = 0 ;
7775 PyObject * obj1 = 0 ;
7776 char * kwnames[] = {
7777 (char *) "self",(char *) "message", NULL
7778 };
7779
7780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7782 if (!SWIG_IsOK(res1)) {
7783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7784 }
7785 arg1 = reinterpret_cast< wxDialog * >(argp1);
7786 {
7787 arg2 = wxString_in_helper(obj1);
7788 if (arg2 == NULL) SWIG_fail;
7789 temp2 = true;
7790 }
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7794 wxPyEndAllowThreads(__tstate);
7795 if (PyErr_Occurred()) SWIG_fail;
7796 }
7797 {
7798 resultobj = wxPyMake_wxObject(result, (bool)0);
7799 }
7800 {
7801 if (temp2)
7802 delete arg2;
7803 }
7804 return resultobj;
7805 fail:
7806 {
7807 if (temp2)
7808 delete arg2;
7809 }
7810 return NULL;
7811 }
7812
7813
7814 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj = 0;
7816 wxDialog *arg1 = (wxDialog *) 0 ;
7817 long arg2 ;
7818 wxSizer *result = 0 ;
7819 void *argp1 = 0 ;
7820 int res1 = 0 ;
7821 long val2 ;
7822 int ecode2 = 0 ;
7823 PyObject * obj0 = 0 ;
7824 PyObject * obj1 = 0 ;
7825 char * kwnames[] = {
7826 (char *) "self",(char *) "flags", NULL
7827 };
7828
7829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7831 if (!SWIG_IsOK(res1)) {
7832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7833 }
7834 arg1 = reinterpret_cast< wxDialog * >(argp1);
7835 ecode2 = SWIG_AsVal_long(obj1, &val2);
7836 if (!SWIG_IsOK(ecode2)) {
7837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7838 }
7839 arg2 = static_cast< long >(val2);
7840 {
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 {
7847 resultobj = wxPyMake_wxObject(result, (bool)0);
7848 }
7849 return resultobj;
7850 fail:
7851 return NULL;
7852 }
7853
7854
7855 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7856 PyObject *resultobj = 0;
7857 wxDialog *arg1 = (wxDialog *) 0 ;
7858 long arg2 ;
7859 wxSizer *result = 0 ;
7860 void *argp1 = 0 ;
7861 int res1 = 0 ;
7862 long val2 ;
7863 int ecode2 = 0 ;
7864 PyObject * obj0 = 0 ;
7865 PyObject * obj1 = 0 ;
7866 char * kwnames[] = {
7867 (char *) "self",(char *) "flags", NULL
7868 };
7869
7870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7872 if (!SWIG_IsOK(res1)) {
7873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7874 }
7875 arg1 = reinterpret_cast< wxDialog * >(argp1);
7876 ecode2 = SWIG_AsVal_long(obj1, &val2);
7877 if (!SWIG_IsOK(ecode2)) {
7878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7879 }
7880 arg2 = static_cast< long >(val2);
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 {
7888 resultobj = wxPyMake_wxObject(result, (bool)0);
7889 }
7890 return resultobj;
7891 fail:
7892 return NULL;
7893 }
7894
7895
7896 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7897 PyObject *resultobj = 0;
7898 wxDialog *arg1 = (wxDialog *) 0 ;
7899 long arg2 ;
7900 wxStdDialogButtonSizer *result = 0 ;
7901 void *argp1 = 0 ;
7902 int res1 = 0 ;
7903 long val2 ;
7904 int ecode2 = 0 ;
7905 PyObject * obj0 = 0 ;
7906 PyObject * obj1 = 0 ;
7907 char * kwnames[] = {
7908 (char *) "self",(char *) "flags", NULL
7909 };
7910
7911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7913 if (!SWIG_IsOK(res1)) {
7914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7915 }
7916 arg1 = reinterpret_cast< wxDialog * >(argp1);
7917 ecode2 = SWIG_AsVal_long(obj1, &val2);
7918 if (!SWIG_IsOK(ecode2)) {
7919 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7920 }
7921 arg2 = static_cast< long >(val2);
7922 {
7923 PyThreadState* __tstate = wxPyBeginAllowThreads();
7924 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7925 wxPyEndAllowThreads(__tstate);
7926 if (PyErr_Occurred()) SWIG_fail;
7927 }
7928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7929 return resultobj;
7930 fail:
7931 return NULL;
7932 }
7933
7934
7935 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7936 PyObject *resultobj = 0;
7937 wxDialog *arg1 = (wxDialog *) 0 ;
7938 bool result;
7939 void *argp1 = 0 ;
7940 int res1 = 0 ;
7941 PyObject *swig_obj[1] ;
7942
7943 if (!args) SWIG_fail;
7944 swig_obj[0] = args;
7945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7946 if (!SWIG_IsOK(res1)) {
7947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7948 }
7949 arg1 = reinterpret_cast< wxDialog * >(argp1);
7950 {
7951 PyThreadState* __tstate = wxPyBeginAllowThreads();
7952 result = (bool)((wxDialog const *)arg1)->IsModal();
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 {
7957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7958 }
7959 return resultobj;
7960 fail:
7961 return NULL;
7962 }
7963
7964
7965 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7966 PyObject *resultobj = 0;
7967 wxDialog *arg1 = (wxDialog *) 0 ;
7968 int result;
7969 void *argp1 = 0 ;
7970 int res1 = 0 ;
7971 PyObject *swig_obj[1] ;
7972
7973 if (!args) SWIG_fail;
7974 swig_obj[0] = args;
7975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7976 if (!SWIG_IsOK(res1)) {
7977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7978 }
7979 arg1 = reinterpret_cast< wxDialog * >(argp1);
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (int)(arg1)->ShowModal();
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 resultobj = SWIG_From_int(static_cast< int >(result));
7987 return resultobj;
7988 fail:
7989 return NULL;
7990 }
7991
7992
7993 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7994 PyObject *resultobj = 0;
7995 wxDialog *arg1 = (wxDialog *) 0 ;
7996 int arg2 ;
7997 void *argp1 = 0 ;
7998 int res1 = 0 ;
7999 int val2 ;
8000 int ecode2 = 0 ;
8001 PyObject * obj0 = 0 ;
8002 PyObject * obj1 = 0 ;
8003 char * kwnames[] = {
8004 (char *) "self",(char *) "retCode", NULL
8005 };
8006
8007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
8008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
8009 if (!SWIG_IsOK(res1)) {
8010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8011 }
8012 arg1 = reinterpret_cast< wxDialog * >(argp1);
8013 ecode2 = SWIG_AsVal_int(obj1, &val2);
8014 if (!SWIG_IsOK(ecode2)) {
8015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8016 }
8017 arg2 = static_cast< int >(val2);
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 (arg1)->EndModal(arg2);
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 resultobj = SWIG_Py_Void();
8025 return resultobj;
8026 fail:
8027 return NULL;
8028 }
8029
8030
8031 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8032 PyObject *resultobj = 0;
8033 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
8034 SwigValueWrapper<wxVisualAttributes > result;
8035 int val1 ;
8036 int ecode1 = 0 ;
8037 PyObject * obj0 = 0 ;
8038 char * kwnames[] = {
8039 (char *) "variant", NULL
8040 };
8041
8042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
8043 if (obj0) {
8044 ecode1 = SWIG_AsVal_int(obj0, &val1);
8045 if (!SWIG_IsOK(ecode1)) {
8046 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8047 }
8048 arg1 = static_cast< wxWindowVariant >(val1);
8049 }
8050 {
8051 if (!wxPyCheckForApp()) SWIG_fail;
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 result = wxDialog::GetClassDefaultAttributes(arg1);
8054 wxPyEndAllowThreads(__tstate);
8055 if (PyErr_Occurred()) SWIG_fail;
8056 }
8057 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8058 return resultobj;
8059 fail:
8060 return NULL;
8061 }
8062
8063
8064 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8065 PyObject *obj;
8066 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8067 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8068 return SWIG_Py_Void();
8069 }
8070
8071 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8072 return SWIG_Python_InitShadowInstance(args);
8073 }
8074
8075 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8076 PyObject *resultobj = 0;
8077 wxWindow *arg1 = (wxWindow *) 0 ;
8078 int arg2 = (int) (int)-1 ;
8079 wxString const &arg3_defvalue = wxPyEmptyString ;
8080 wxString *arg3 = (wxString *) &arg3_defvalue ;
8081 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8082 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8083 wxSize const &arg5_defvalue = wxDefaultSize ;
8084 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8085 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
8086 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8087 wxString *arg7 = (wxString *) &arg7_defvalue ;
8088 wxMiniFrame *result = 0 ;
8089 void *argp1 = 0 ;
8090 int res1 = 0 ;
8091 int val2 ;
8092 int ecode2 = 0 ;
8093 bool temp3 = false ;
8094 wxPoint temp4 ;
8095 wxSize temp5 ;
8096 long val6 ;
8097 int ecode6 = 0 ;
8098 bool temp7 = false ;
8099 PyObject * obj0 = 0 ;
8100 PyObject * obj1 = 0 ;
8101 PyObject * obj2 = 0 ;
8102 PyObject * obj3 = 0 ;
8103 PyObject * obj4 = 0 ;
8104 PyObject * obj5 = 0 ;
8105 PyObject * obj6 = 0 ;
8106 char * kwnames[] = {
8107 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8108 };
8109
8110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8112 if (!SWIG_IsOK(res1)) {
8113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8114 }
8115 arg1 = reinterpret_cast< wxWindow * >(argp1);
8116 if (obj1) {
8117 ecode2 = SWIG_AsVal_int(obj1, &val2);
8118 if (!SWIG_IsOK(ecode2)) {
8119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8120 }
8121 arg2 = static_cast< int >(val2);
8122 }
8123 if (obj2) {
8124 {
8125 arg3 = wxString_in_helper(obj2);
8126 if (arg3 == NULL) SWIG_fail;
8127 temp3 = true;
8128 }
8129 }
8130 if (obj3) {
8131 {
8132 arg4 = &temp4;
8133 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8134 }
8135 }
8136 if (obj4) {
8137 {
8138 arg5 = &temp5;
8139 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8140 }
8141 }
8142 if (obj5) {
8143 ecode6 = SWIG_AsVal_long(obj5, &val6);
8144 if (!SWIG_IsOK(ecode6)) {
8145 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8146 }
8147 arg6 = static_cast< long >(val6);
8148 }
8149 if (obj6) {
8150 {
8151 arg7 = wxString_in_helper(obj6);
8152 if (arg7 == NULL) SWIG_fail;
8153 temp7 = true;
8154 }
8155 }
8156 {
8157 if (!wxPyCheckForApp()) SWIG_fail;
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8160 wxPyEndAllowThreads(__tstate);
8161 if (PyErr_Occurred()) SWIG_fail;
8162 }
8163 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8164 {
8165 if (temp3)
8166 delete arg3;
8167 }
8168 {
8169 if (temp7)
8170 delete arg7;
8171 }
8172 return resultobj;
8173 fail:
8174 {
8175 if (temp3)
8176 delete arg3;
8177 }
8178 {
8179 if (temp7)
8180 delete arg7;
8181 }
8182 return NULL;
8183 }
8184
8185
8186 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8187 PyObject *resultobj = 0;
8188 wxMiniFrame *result = 0 ;
8189
8190 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8191 {
8192 if (!wxPyCheckForApp()) SWIG_fail;
8193 PyThreadState* __tstate = wxPyBeginAllowThreads();
8194 result = (wxMiniFrame *)new wxMiniFrame();
8195 wxPyEndAllowThreads(__tstate);
8196 if (PyErr_Occurred()) SWIG_fail;
8197 }
8198 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8199 return resultobj;
8200 fail:
8201 return NULL;
8202 }
8203
8204
8205 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8206 PyObject *resultobj = 0;
8207 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8208 wxWindow *arg2 = (wxWindow *) 0 ;
8209 int arg3 = (int) (int)-1 ;
8210 wxString const &arg4_defvalue = wxPyEmptyString ;
8211 wxString *arg4 = (wxString *) &arg4_defvalue ;
8212 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8213 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8214 wxSize const &arg6_defvalue = wxDefaultSize ;
8215 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8216 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8217 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8218 wxString *arg8 = (wxString *) &arg8_defvalue ;
8219 bool result;
8220 void *argp1 = 0 ;
8221 int res1 = 0 ;
8222 void *argp2 = 0 ;
8223 int res2 = 0 ;
8224 int val3 ;
8225 int ecode3 = 0 ;
8226 bool temp4 = false ;
8227 wxPoint temp5 ;
8228 wxSize temp6 ;
8229 long val7 ;
8230 int ecode7 = 0 ;
8231 bool temp8 = false ;
8232 PyObject * obj0 = 0 ;
8233 PyObject * obj1 = 0 ;
8234 PyObject * obj2 = 0 ;
8235 PyObject * obj3 = 0 ;
8236 PyObject * obj4 = 0 ;
8237 PyObject * obj5 = 0 ;
8238 PyObject * obj6 = 0 ;
8239 PyObject * obj7 = 0 ;
8240 char * kwnames[] = {
8241 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8242 };
8243
8244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8246 if (!SWIG_IsOK(res1)) {
8247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8248 }
8249 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8250 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8251 if (!SWIG_IsOK(res2)) {
8252 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8253 }
8254 arg2 = reinterpret_cast< wxWindow * >(argp2);
8255 if (obj2) {
8256 ecode3 = SWIG_AsVal_int(obj2, &val3);
8257 if (!SWIG_IsOK(ecode3)) {
8258 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8259 }
8260 arg3 = static_cast< int >(val3);
8261 }
8262 if (obj3) {
8263 {
8264 arg4 = wxString_in_helper(obj3);
8265 if (arg4 == NULL) SWIG_fail;
8266 temp4 = true;
8267 }
8268 }
8269 if (obj4) {
8270 {
8271 arg5 = &temp5;
8272 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8273 }
8274 }
8275 if (obj5) {
8276 {
8277 arg6 = &temp6;
8278 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8279 }
8280 }
8281 if (obj6) {
8282 ecode7 = SWIG_AsVal_long(obj6, &val7);
8283 if (!SWIG_IsOK(ecode7)) {
8284 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8285 }
8286 arg7 = static_cast< long >(val7);
8287 }
8288 if (obj7) {
8289 {
8290 arg8 = wxString_in_helper(obj7);
8291 if (arg8 == NULL) SWIG_fail;
8292 temp8 = true;
8293 }
8294 }
8295 {
8296 PyThreadState* __tstate = wxPyBeginAllowThreads();
8297 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8298 wxPyEndAllowThreads(__tstate);
8299 if (PyErr_Occurred()) SWIG_fail;
8300 }
8301 {
8302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8303 }
8304 {
8305 if (temp4)
8306 delete arg4;
8307 }
8308 {
8309 if (temp8)
8310 delete arg8;
8311 }
8312 return resultobj;
8313 fail:
8314 {
8315 if (temp4)
8316 delete arg4;
8317 }
8318 {
8319 if (temp8)
8320 delete arg8;
8321 }
8322 return NULL;
8323 }
8324
8325
8326 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8327 PyObject *obj;
8328 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8329 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8330 return SWIG_Py_Void();
8331 }
8332
8333 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8334 return SWIG_Python_InitShadowInstance(args);
8335 }
8336
8337 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8338 PyObject *resultobj = 0;
8339 wxBitmap *arg1 = 0 ;
8340 wxWindow *arg2 = (wxWindow *) 0 ;
8341 int arg3 ;
8342 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8343 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8344 wxSize const &arg5_defvalue = wxDefaultSize ;
8345 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8346 long arg6 = (long) wxNO_BORDER ;
8347 wxSplashScreenWindow *result = 0 ;
8348 void *argp1 = 0 ;
8349 int res1 = 0 ;
8350 void *argp2 = 0 ;
8351 int res2 = 0 ;
8352 int val3 ;
8353 int ecode3 = 0 ;
8354 wxPoint temp4 ;
8355 wxSize temp5 ;
8356 long val6 ;
8357 int ecode6 = 0 ;
8358 PyObject * obj0 = 0 ;
8359 PyObject * obj1 = 0 ;
8360 PyObject * obj2 = 0 ;
8361 PyObject * obj3 = 0 ;
8362 PyObject * obj4 = 0 ;
8363 PyObject * obj5 = 0 ;
8364 char * kwnames[] = {
8365 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8366 };
8367
8368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8369 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8370 if (!SWIG_IsOK(res1)) {
8371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8372 }
8373 if (!argp1) {
8374 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8375 }
8376 arg1 = reinterpret_cast< wxBitmap * >(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 '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8380 }
8381 arg2 = reinterpret_cast< wxWindow * >(argp2);
8382 ecode3 = SWIG_AsVal_int(obj2, &val3);
8383 if (!SWIG_IsOK(ecode3)) {
8384 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8385 }
8386 arg3 = static_cast< int >(val3);
8387 if (obj3) {
8388 {
8389 arg4 = &temp4;
8390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8391 }
8392 }
8393 if (obj4) {
8394 {
8395 arg5 = &temp5;
8396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8397 }
8398 }
8399 if (obj5) {
8400 ecode6 = SWIG_AsVal_long(obj5, &val6);
8401 if (!SWIG_IsOK(ecode6)) {
8402 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8403 }
8404 arg6 = static_cast< long >(val6);
8405 }
8406 {
8407 if (!wxPyCheckForApp()) SWIG_fail;
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8414 return resultobj;
8415 fail:
8416 return NULL;
8417 }
8418
8419
8420 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8421 PyObject *resultobj = 0;
8422 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8423 wxBitmap *arg2 = 0 ;
8424 void *argp1 = 0 ;
8425 int res1 = 0 ;
8426 void *argp2 = 0 ;
8427 int res2 = 0 ;
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj1 = 0 ;
8430 char * kwnames[] = {
8431 (char *) "self",(char *) "bitmap", NULL
8432 };
8433
8434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8436 if (!SWIG_IsOK(res1)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8438 }
8439 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8440 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8441 if (!SWIG_IsOK(res2)) {
8442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8443 }
8444 if (!argp2) {
8445 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8446 }
8447 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8451 wxPyEndAllowThreads(__tstate);
8452 if (PyErr_Occurred()) SWIG_fail;
8453 }
8454 resultobj = SWIG_Py_Void();
8455 return resultobj;
8456 fail:
8457 return NULL;
8458 }
8459
8460
8461 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8462 PyObject *resultobj = 0;
8463 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8464 wxBitmap *result = 0 ;
8465 void *argp1 = 0 ;
8466 int res1 = 0 ;
8467 PyObject *swig_obj[1] ;
8468
8469 if (!args) SWIG_fail;
8470 swig_obj[0] = args;
8471 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8472 if (!SWIG_IsOK(res1)) {
8473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8474 }
8475 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8476 {
8477 PyThreadState* __tstate = wxPyBeginAllowThreads();
8478 {
8479 wxBitmap &_result_ref = (arg1)->GetBitmap();
8480 result = (wxBitmap *) &_result_ref;
8481 }
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 {
8486 wxBitmap* resultptr = new wxBitmap(*result);
8487 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8488 }
8489 return resultobj;
8490 fail:
8491 return NULL;
8492 }
8493
8494
8495 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8496 PyObject *obj;
8497 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8498 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8499 return SWIG_Py_Void();
8500 }
8501
8502 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8503 return SWIG_Python_InitShadowInstance(args);
8504 }
8505
8506 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8507 PyObject *resultobj = 0;
8508 wxBitmap *arg1 = 0 ;
8509 long arg2 ;
8510 int arg3 ;
8511 wxWindow *arg4 = (wxWindow *) 0 ;
8512 int arg5 = (int) -1 ;
8513 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8514 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8515 wxSize const &arg7_defvalue = wxDefaultSize ;
8516 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8517 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8518 wxSplashScreen *result = 0 ;
8519 void *argp1 = 0 ;
8520 int res1 = 0 ;
8521 long val2 ;
8522 int ecode2 = 0 ;
8523 int val3 ;
8524 int ecode3 = 0 ;
8525 void *argp4 = 0 ;
8526 int res4 = 0 ;
8527 int val5 ;
8528 int ecode5 = 0 ;
8529 wxPoint temp6 ;
8530 wxSize temp7 ;
8531 long val8 ;
8532 int ecode8 = 0 ;
8533 PyObject * obj0 = 0 ;
8534 PyObject * obj1 = 0 ;
8535 PyObject * obj2 = 0 ;
8536 PyObject * obj3 = 0 ;
8537 PyObject * obj4 = 0 ;
8538 PyObject * obj5 = 0 ;
8539 PyObject * obj6 = 0 ;
8540 PyObject * obj7 = 0 ;
8541 char * kwnames[] = {
8542 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8543 };
8544
8545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8546 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8547 if (!SWIG_IsOK(res1)) {
8548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8549 }
8550 if (!argp1) {
8551 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8552 }
8553 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8554 ecode2 = SWIG_AsVal_long(obj1, &val2);
8555 if (!SWIG_IsOK(ecode2)) {
8556 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8557 }
8558 arg2 = static_cast< long >(val2);
8559 ecode3 = SWIG_AsVal_int(obj2, &val3);
8560 if (!SWIG_IsOK(ecode3)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8562 }
8563 arg3 = static_cast< int >(val3);
8564 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8565 if (!SWIG_IsOK(res4)) {
8566 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8567 }
8568 arg4 = reinterpret_cast< wxWindow * >(argp4);
8569 if (obj4) {
8570 ecode5 = SWIG_AsVal_int(obj4, &val5);
8571 if (!SWIG_IsOK(ecode5)) {
8572 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8573 }
8574 arg5 = static_cast< int >(val5);
8575 }
8576 if (obj5) {
8577 {
8578 arg6 = &temp6;
8579 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8580 }
8581 }
8582 if (obj6) {
8583 {
8584 arg7 = &temp7;
8585 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8586 }
8587 }
8588 if (obj7) {
8589 ecode8 = SWIG_AsVal_long(obj7, &val8);
8590 if (!SWIG_IsOK(ecode8)) {
8591 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8592 }
8593 arg8 = static_cast< long >(val8);
8594 }
8595 {
8596 if (!wxPyCheckForApp()) SWIG_fail;
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8603 return resultobj;
8604 fail:
8605 return NULL;
8606 }
8607
8608
8609 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8610 PyObject *resultobj = 0;
8611 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8612 long result;
8613 void *argp1 = 0 ;
8614 int res1 = 0 ;
8615 PyObject *swig_obj[1] ;
8616
8617 if (!args) SWIG_fail;
8618 swig_obj[0] = args;
8619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8620 if (!SWIG_IsOK(res1)) {
8621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8622 }
8623 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8627 wxPyEndAllowThreads(__tstate);
8628 if (PyErr_Occurred()) SWIG_fail;
8629 }
8630 resultobj = SWIG_From_long(static_cast< long >(result));
8631 return resultobj;
8632 fail:
8633 return NULL;
8634 }
8635
8636
8637 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8638 PyObject *resultobj = 0;
8639 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8640 wxSplashScreenWindow *result = 0 ;
8641 void *argp1 = 0 ;
8642 int res1 = 0 ;
8643 PyObject *swig_obj[1] ;
8644
8645 if (!args) SWIG_fail;
8646 swig_obj[0] = args;
8647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8648 if (!SWIG_IsOK(res1)) {
8649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8650 }
8651 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8659 return resultobj;
8660 fail:
8661 return NULL;
8662 }
8663
8664
8665 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8666 PyObject *resultobj = 0;
8667 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8668 int result;
8669 void *argp1 = 0 ;
8670 int res1 = 0 ;
8671 PyObject *swig_obj[1] ;
8672
8673 if (!args) SWIG_fail;
8674 swig_obj[0] = args;
8675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8676 if (!SWIG_IsOK(res1)) {
8677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8678 }
8679 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 resultobj = SWIG_From_int(static_cast< int >(result));
8687 return resultobj;
8688 fail:
8689 return NULL;
8690 }
8691
8692
8693 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8694 PyObject *obj;
8695 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8696 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8697 return SWIG_Py_Void();
8698 }
8699
8700 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8701 return SWIG_Python_InitShadowInstance(args);
8702 }
8703
8704 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8705 PyObject *resultobj = 0;
8706 wxWindow *arg1 = (wxWindow *) 0 ;
8707 int arg2 = (int) -1 ;
8708 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8709 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8710 wxString *arg4 = (wxString *) &arg4_defvalue ;
8711 wxStatusBar *result = 0 ;
8712 void *argp1 = 0 ;
8713 int res1 = 0 ;
8714 int val2 ;
8715 int ecode2 = 0 ;
8716 long val3 ;
8717 int ecode3 = 0 ;
8718 bool temp4 = false ;
8719 PyObject * obj0 = 0 ;
8720 PyObject * obj1 = 0 ;
8721 PyObject * obj2 = 0 ;
8722 PyObject * obj3 = 0 ;
8723 char * kwnames[] = {
8724 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8725 };
8726
8727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8729 if (!SWIG_IsOK(res1)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8731 }
8732 arg1 = reinterpret_cast< wxWindow * >(argp1);
8733 if (obj1) {
8734 ecode2 = SWIG_AsVal_int(obj1, &val2);
8735 if (!SWIG_IsOK(ecode2)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8737 }
8738 arg2 = static_cast< int >(val2);
8739 }
8740 if (obj2) {
8741 ecode3 = SWIG_AsVal_long(obj2, &val3);
8742 if (!SWIG_IsOK(ecode3)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8744 }
8745 arg3 = static_cast< long >(val3);
8746 }
8747 if (obj3) {
8748 {
8749 arg4 = wxString_in_helper(obj3);
8750 if (arg4 == NULL) SWIG_fail;
8751 temp4 = true;
8752 }
8753 }
8754 {
8755 if (!wxPyCheckForApp()) SWIG_fail;
8756 PyThreadState* __tstate = wxPyBeginAllowThreads();
8757 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8762 {
8763 if (temp4)
8764 delete arg4;
8765 }
8766 return resultobj;
8767 fail:
8768 {
8769 if (temp4)
8770 delete arg4;
8771 }
8772 return NULL;
8773 }
8774
8775
8776 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8777 PyObject *resultobj = 0;
8778 wxStatusBar *result = 0 ;
8779
8780 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8781 {
8782 if (!wxPyCheckForApp()) SWIG_fail;
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 result = (wxStatusBar *)new wxStatusBar();
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
8788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8789 return resultobj;
8790 fail:
8791 return NULL;
8792 }
8793
8794
8795 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj = 0;
8797 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8798 wxWindow *arg2 = (wxWindow *) 0 ;
8799 int arg3 = (int) -1 ;
8800 long arg4 = (long) wxST_SIZEGRIP ;
8801 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8802 wxString *arg5 = (wxString *) &arg5_defvalue ;
8803 bool result;
8804 void *argp1 = 0 ;
8805 int res1 = 0 ;
8806 void *argp2 = 0 ;
8807 int res2 = 0 ;
8808 int val3 ;
8809 int ecode3 = 0 ;
8810 long val4 ;
8811 int ecode4 = 0 ;
8812 bool temp5 = false ;
8813 PyObject * obj0 = 0 ;
8814 PyObject * obj1 = 0 ;
8815 PyObject * obj2 = 0 ;
8816 PyObject * obj3 = 0 ;
8817 PyObject * obj4 = 0 ;
8818 char * kwnames[] = {
8819 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8820 };
8821
8822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8824 if (!SWIG_IsOK(res1)) {
8825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8826 }
8827 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8828 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8829 if (!SWIG_IsOK(res2)) {
8830 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8831 }
8832 arg2 = reinterpret_cast< wxWindow * >(argp2);
8833 if (obj2) {
8834 ecode3 = SWIG_AsVal_int(obj2, &val3);
8835 if (!SWIG_IsOK(ecode3)) {
8836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8837 }
8838 arg3 = static_cast< int >(val3);
8839 }
8840 if (obj3) {
8841 ecode4 = SWIG_AsVal_long(obj3, &val4);
8842 if (!SWIG_IsOK(ecode4)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8844 }
8845 arg4 = static_cast< long >(val4);
8846 }
8847 if (obj4) {
8848 {
8849 arg5 = wxString_in_helper(obj4);
8850 if (arg5 == NULL) SWIG_fail;
8851 temp5 = true;
8852 }
8853 }
8854 {
8855 PyThreadState* __tstate = wxPyBeginAllowThreads();
8856 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8857 wxPyEndAllowThreads(__tstate);
8858 if (PyErr_Occurred()) SWIG_fail;
8859 }
8860 {
8861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8862 }
8863 {
8864 if (temp5)
8865 delete arg5;
8866 }
8867 return resultobj;
8868 fail:
8869 {
8870 if (temp5)
8871 delete arg5;
8872 }
8873 return NULL;
8874 }
8875
8876
8877 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj = 0;
8879 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8880 int arg2 = (int) 1 ;
8881 void *argp1 = 0 ;
8882 int res1 = 0 ;
8883 int val2 ;
8884 int ecode2 = 0 ;
8885 PyObject * obj0 = 0 ;
8886 PyObject * obj1 = 0 ;
8887 char * kwnames[] = {
8888 (char *) "self",(char *) "number", NULL
8889 };
8890
8891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8893 if (!SWIG_IsOK(res1)) {
8894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8895 }
8896 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8897 if (obj1) {
8898 ecode2 = SWIG_AsVal_int(obj1, &val2);
8899 if (!SWIG_IsOK(ecode2)) {
8900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8901 }
8902 arg2 = static_cast< int >(val2);
8903 }
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 (arg1)->SetFieldsCount(arg2);
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 }
8910 resultobj = SWIG_Py_Void();
8911 return resultobj;
8912 fail:
8913 return NULL;
8914 }
8915
8916
8917 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8918 PyObject *resultobj = 0;
8919 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8920 int result;
8921 void *argp1 = 0 ;
8922 int res1 = 0 ;
8923 PyObject *swig_obj[1] ;
8924
8925 if (!args) SWIG_fail;
8926 swig_obj[0] = args;
8927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8928 if (!SWIG_IsOK(res1)) {
8929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8930 }
8931 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
8934 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 resultobj = SWIG_From_int(static_cast< int >(result));
8939 return resultobj;
8940 fail:
8941 return NULL;
8942 }
8943
8944
8945 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj = 0;
8947 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8948 wxString *arg2 = 0 ;
8949 int arg3 = (int) 0 ;
8950 void *argp1 = 0 ;
8951 int res1 = 0 ;
8952 bool temp2 = false ;
8953 int val3 ;
8954 int ecode3 = 0 ;
8955 PyObject * obj0 = 0 ;
8956 PyObject * obj1 = 0 ;
8957 PyObject * obj2 = 0 ;
8958 char * kwnames[] = {
8959 (char *) "self",(char *) "text",(char *) "number", NULL
8960 };
8961
8962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8964 if (!SWIG_IsOK(res1)) {
8965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8966 }
8967 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8968 {
8969 arg2 = wxString_in_helper(obj1);
8970 if (arg2 == NULL) SWIG_fail;
8971 temp2 = true;
8972 }
8973 if (obj2) {
8974 ecode3 = SWIG_AsVal_int(obj2, &val3);
8975 if (!SWIG_IsOK(ecode3)) {
8976 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8977 }
8978 arg3 = static_cast< int >(val3);
8979 }
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 resultobj = SWIG_Py_Void();
8987 {
8988 if (temp2)
8989 delete arg2;
8990 }
8991 return resultobj;
8992 fail:
8993 {
8994 if (temp2)
8995 delete arg2;
8996 }
8997 return NULL;
8998 }
8999
9000
9001 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9002 PyObject *resultobj = 0;
9003 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9004 int arg2 = (int) 0 ;
9005 wxString result;
9006 void *argp1 = 0 ;
9007 int res1 = 0 ;
9008 int val2 ;
9009 int ecode2 = 0 ;
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012 char * kwnames[] = {
9013 (char *) "self",(char *) "number", NULL
9014 };
9015
9016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9018 if (!SWIG_IsOK(res1)) {
9019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9020 }
9021 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9022 if (obj1) {
9023 ecode2 = SWIG_AsVal_int(obj1, &val2);
9024 if (!SWIG_IsOK(ecode2)) {
9025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9026 }
9027 arg2 = static_cast< int >(val2);
9028 }
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 {
9036 #if wxUSE_UNICODE
9037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9038 #else
9039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9040 #endif
9041 }
9042 return resultobj;
9043 fail:
9044 return NULL;
9045 }
9046
9047
9048 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9049 PyObject *resultobj = 0;
9050 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9051 wxString *arg2 = 0 ;
9052 int arg3 = (int) 0 ;
9053 void *argp1 = 0 ;
9054 int res1 = 0 ;
9055 bool temp2 = false ;
9056 int val3 ;
9057 int ecode3 = 0 ;
9058 PyObject * obj0 = 0 ;
9059 PyObject * obj1 = 0 ;
9060 PyObject * obj2 = 0 ;
9061 char * kwnames[] = {
9062 (char *) "self",(char *) "text",(char *) "number", NULL
9063 };
9064
9065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9067 if (!SWIG_IsOK(res1)) {
9068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9069 }
9070 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9071 {
9072 arg2 = wxString_in_helper(obj1);
9073 if (arg2 == NULL) SWIG_fail;
9074 temp2 = true;
9075 }
9076 if (obj2) {
9077 ecode3 = SWIG_AsVal_int(obj2, &val3);
9078 if (!SWIG_IsOK(ecode3)) {
9079 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9080 }
9081 arg3 = static_cast< int >(val3);
9082 }
9083 {
9084 PyThreadState* __tstate = wxPyBeginAllowThreads();
9085 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
9089 resultobj = SWIG_Py_Void();
9090 {
9091 if (temp2)
9092 delete arg2;
9093 }
9094 return resultobj;
9095 fail:
9096 {
9097 if (temp2)
9098 delete arg2;
9099 }
9100 return NULL;
9101 }
9102
9103
9104 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9105 PyObject *resultobj = 0;
9106 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9107 int arg2 = (int) 0 ;
9108 void *argp1 = 0 ;
9109 int res1 = 0 ;
9110 int val2 ;
9111 int ecode2 = 0 ;
9112 PyObject * obj0 = 0 ;
9113 PyObject * obj1 = 0 ;
9114 char * kwnames[] = {
9115 (char *) "self",(char *) "number", NULL
9116 };
9117
9118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9120 if (!SWIG_IsOK(res1)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9122 }
9123 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9124 if (obj1) {
9125 ecode2 = SWIG_AsVal_int(obj1, &val2);
9126 if (!SWIG_IsOK(ecode2)) {
9127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9128 }
9129 arg2 = static_cast< int >(val2);
9130 }
9131 {
9132 PyThreadState* __tstate = wxPyBeginAllowThreads();
9133 (arg1)->PopStatusText(arg2);
9134 wxPyEndAllowThreads(__tstate);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 }
9137 resultobj = SWIG_Py_Void();
9138 return resultobj;
9139 fail:
9140 return NULL;
9141 }
9142
9143
9144 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9145 PyObject *resultobj = 0;
9146 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9147 int arg2 ;
9148 int *arg3 = (int *) 0 ;
9149 void *argp1 = 0 ;
9150 int res1 = 0 ;
9151 PyObject * obj0 = 0 ;
9152 PyObject * obj1 = 0 ;
9153 char * kwnames[] = {
9154 (char *) "self",(char *) "widths", NULL
9155 };
9156
9157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9159 if (!SWIG_IsOK(res1)) {
9160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9161 }
9162 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9163 {
9164 arg2 = PyList_Size(obj1);
9165 arg3 = int_LIST_helper(obj1);
9166 if (arg3 == NULL) SWIG_fail;
9167 }
9168 {
9169 PyThreadState* __tstate = wxPyBeginAllowThreads();
9170 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
9174 resultobj = SWIG_Py_Void();
9175 {
9176 if (arg3) delete [] arg3;
9177 }
9178 return resultobj;
9179 fail:
9180 {
9181 if (arg3) delete [] arg3;
9182 }
9183 return NULL;
9184 }
9185
9186
9187 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9188 PyObject *resultobj = 0;
9189 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9190 int arg2 ;
9191 int *arg3 = (int *) 0 ;
9192 void *argp1 = 0 ;
9193 int res1 = 0 ;
9194 PyObject * obj0 = 0 ;
9195 PyObject * obj1 = 0 ;
9196 char * kwnames[] = {
9197 (char *) "self",(char *) "styles", NULL
9198 };
9199
9200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9202 if (!SWIG_IsOK(res1)) {
9203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9204 }
9205 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9206 {
9207 arg2 = PyList_Size(obj1);
9208 arg3 = int_LIST_helper(obj1);
9209 if (arg3 == NULL) SWIG_fail;
9210 }
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9214 wxPyEndAllowThreads(__tstate);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 }
9217 resultobj = SWIG_Py_Void();
9218 {
9219 if (arg3) delete [] arg3;
9220 }
9221 return resultobj;
9222 fail:
9223 {
9224 if (arg3) delete [] arg3;
9225 }
9226 return NULL;
9227 }
9228
9229
9230 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj = 0;
9232 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9233 int arg2 ;
9234 wxRect result;
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 *) "i", NULL
9243 };
9244
9245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",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_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9249 }
9250 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9251 ecode2 = SWIG_AsVal_int(obj1, &val2);
9252 if (!SWIG_IsOK(ecode2)) {
9253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9254 }
9255 arg2 = static_cast< int >(val2);
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
9258 result = wxStatusBar_GetFieldRect(arg1,arg2);
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9263 return resultobj;
9264 fail:
9265 return NULL;
9266 }
9267
9268
9269 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9270 PyObject *resultobj = 0;
9271 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9272 int arg2 ;
9273 void *argp1 = 0 ;
9274 int res1 = 0 ;
9275 int val2 ;
9276 int ecode2 = 0 ;
9277 PyObject * obj0 = 0 ;
9278 PyObject * obj1 = 0 ;
9279 char * kwnames[] = {
9280 (char *) "self",(char *) "height", NULL
9281 };
9282
9283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9285 if (!SWIG_IsOK(res1)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9287 }
9288 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9289 ecode2 = SWIG_AsVal_int(obj1, &val2);
9290 if (!SWIG_IsOK(ecode2)) {
9291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9292 }
9293 arg2 = static_cast< int >(val2);
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 (arg1)->SetMinHeight(arg2);
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 resultobj = SWIG_Py_Void();
9301 return resultobj;
9302 fail:
9303 return NULL;
9304 }
9305
9306
9307 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9308 PyObject *resultobj = 0;
9309 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9310 int result;
9311 void *argp1 = 0 ;
9312 int res1 = 0 ;
9313 PyObject *swig_obj[1] ;
9314
9315 if (!args) SWIG_fail;
9316 swig_obj[0] = args;
9317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9318 if (!SWIG_IsOK(res1)) {
9319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9320 }
9321 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9322 {
9323 PyThreadState* __tstate = wxPyBeginAllowThreads();
9324 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 resultobj = SWIG_From_int(static_cast< int >(result));
9329 return resultobj;
9330 fail:
9331 return NULL;
9332 }
9333
9334
9335 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9336 PyObject *resultobj = 0;
9337 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9338 int result;
9339 void *argp1 = 0 ;
9340 int res1 = 0 ;
9341 PyObject *swig_obj[1] ;
9342
9343 if (!args) SWIG_fail;
9344 swig_obj[0] = args;
9345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9346 if (!SWIG_IsOK(res1)) {
9347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9348 }
9349 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 resultobj = SWIG_From_int(static_cast< int >(result));
9357 return resultobj;
9358 fail:
9359 return NULL;
9360 }
9361
9362
9363 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj = 0;
9365 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9366 SwigValueWrapper<wxVisualAttributes > result;
9367 int val1 ;
9368 int ecode1 = 0 ;
9369 PyObject * obj0 = 0 ;
9370 char * kwnames[] = {
9371 (char *) "variant", NULL
9372 };
9373
9374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9375 if (obj0) {
9376 ecode1 = SWIG_AsVal_int(obj0, &val1);
9377 if (!SWIG_IsOK(ecode1)) {
9378 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9379 }
9380 arg1 = static_cast< wxWindowVariant >(val1);
9381 }
9382 {
9383 if (!wxPyCheckForApp()) SWIG_fail;
9384 PyThreadState* __tstate = wxPyBeginAllowThreads();
9385 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9386 wxPyEndAllowThreads(__tstate);
9387 if (PyErr_Occurred()) SWIG_fail;
9388 }
9389 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9390 return resultobj;
9391 fail:
9392 return NULL;
9393 }
9394
9395
9396 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9397 PyObject *obj;
9398 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9399 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9400 return SWIG_Py_Void();
9401 }
9402
9403 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9404 return SWIG_Python_InitShadowInstance(args);
9405 }
9406
9407 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9408 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9409 return 1;
9410 }
9411
9412
9413 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9414 PyObject *pyobj = 0;
9415
9416 {
9417 #if wxUSE_UNICODE
9418 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9419 #else
9420 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9421 #endif
9422 }
9423 return pyobj;
9424 }
9425
9426
9427 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9428 PyObject *resultobj = 0;
9429 wxWindow *arg1 = (wxWindow *) 0 ;
9430 int arg2 = (int) -1 ;
9431 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9432 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9433 wxSize const &arg4_defvalue = wxDefaultSize ;
9434 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9435 long arg5 = (long) wxSP_3D ;
9436 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9437 wxString *arg6 = (wxString *) &arg6_defvalue ;
9438 wxSplitterWindow *result = 0 ;
9439 void *argp1 = 0 ;
9440 int res1 = 0 ;
9441 int val2 ;
9442 int ecode2 = 0 ;
9443 wxPoint temp3 ;
9444 wxSize temp4 ;
9445 long val5 ;
9446 int ecode5 = 0 ;
9447 bool temp6 = false ;
9448 PyObject * obj0 = 0 ;
9449 PyObject * obj1 = 0 ;
9450 PyObject * obj2 = 0 ;
9451 PyObject * obj3 = 0 ;
9452 PyObject * obj4 = 0 ;
9453 PyObject * obj5 = 0 ;
9454 char * kwnames[] = {
9455 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9456 };
9457
9458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9460 if (!SWIG_IsOK(res1)) {
9461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9462 }
9463 arg1 = reinterpret_cast< wxWindow * >(argp1);
9464 if (obj1) {
9465 ecode2 = SWIG_AsVal_int(obj1, &val2);
9466 if (!SWIG_IsOK(ecode2)) {
9467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9468 }
9469 arg2 = static_cast< int >(val2);
9470 }
9471 if (obj2) {
9472 {
9473 arg3 = &temp3;
9474 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9475 }
9476 }
9477 if (obj3) {
9478 {
9479 arg4 = &temp4;
9480 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9481 }
9482 }
9483 if (obj4) {
9484 ecode5 = SWIG_AsVal_long(obj4, &val5);
9485 if (!SWIG_IsOK(ecode5)) {
9486 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9487 }
9488 arg5 = static_cast< long >(val5);
9489 }
9490 if (obj5) {
9491 {
9492 arg6 = wxString_in_helper(obj5);
9493 if (arg6 == NULL) SWIG_fail;
9494 temp6 = true;
9495 }
9496 }
9497 {
9498 if (!wxPyCheckForApp()) SWIG_fail;
9499 PyThreadState* __tstate = wxPyBeginAllowThreads();
9500 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
9504 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9505 {
9506 if (temp6)
9507 delete arg6;
9508 }
9509 return resultobj;
9510 fail:
9511 {
9512 if (temp6)
9513 delete arg6;
9514 }
9515 return NULL;
9516 }
9517
9518
9519 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9520 PyObject *resultobj = 0;
9521 wxSplitterWindow *result = 0 ;
9522
9523 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9524 {
9525 if (!wxPyCheckForApp()) SWIG_fail;
9526 PyThreadState* __tstate = wxPyBeginAllowThreads();
9527 result = (wxSplitterWindow *)new wxSplitterWindow();
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9532 return resultobj;
9533 fail:
9534 return NULL;
9535 }
9536
9537
9538 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj = 0;
9540 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9541 wxWindow *arg2 = (wxWindow *) 0 ;
9542 int arg3 = (int) -1 ;
9543 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9544 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9545 wxSize const &arg5_defvalue = wxDefaultSize ;
9546 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9547 long arg6 = (long) wxSP_3D ;
9548 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9549 wxString *arg7 = (wxString *) &arg7_defvalue ;
9550 bool result;
9551 void *argp1 = 0 ;
9552 int res1 = 0 ;
9553 void *argp2 = 0 ;
9554 int res2 = 0 ;
9555 int val3 ;
9556 int ecode3 = 0 ;
9557 wxPoint temp4 ;
9558 wxSize temp5 ;
9559 long val6 ;
9560 int ecode6 = 0 ;
9561 bool temp7 = false ;
9562 PyObject * obj0 = 0 ;
9563 PyObject * obj1 = 0 ;
9564 PyObject * obj2 = 0 ;
9565 PyObject * obj3 = 0 ;
9566 PyObject * obj4 = 0 ;
9567 PyObject * obj5 = 0 ;
9568 PyObject * obj6 = 0 ;
9569 char * kwnames[] = {
9570 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9571 };
9572
9573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9575 if (!SWIG_IsOK(res1)) {
9576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9577 }
9578 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9580 if (!SWIG_IsOK(res2)) {
9581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9582 }
9583 arg2 = reinterpret_cast< wxWindow * >(argp2);
9584 if (obj2) {
9585 ecode3 = SWIG_AsVal_int(obj2, &val3);
9586 if (!SWIG_IsOK(ecode3)) {
9587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9588 }
9589 arg3 = static_cast< int >(val3);
9590 }
9591 if (obj3) {
9592 {
9593 arg4 = &temp4;
9594 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9595 }
9596 }
9597 if (obj4) {
9598 {
9599 arg5 = &temp5;
9600 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9601 }
9602 }
9603 if (obj5) {
9604 ecode6 = SWIG_AsVal_long(obj5, &val6);
9605 if (!SWIG_IsOK(ecode6)) {
9606 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9607 }
9608 arg6 = static_cast< long >(val6);
9609 }
9610 if (obj6) {
9611 {
9612 arg7 = wxString_in_helper(obj6);
9613 if (arg7 == NULL) SWIG_fail;
9614 temp7 = true;
9615 }
9616 }
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 {
9624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9625 }
9626 {
9627 if (temp7)
9628 delete arg7;
9629 }
9630 return resultobj;
9631 fail:
9632 {
9633 if (temp7)
9634 delete arg7;
9635 }
9636 return NULL;
9637 }
9638
9639
9640 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9641 PyObject *resultobj = 0;
9642 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9643 wxWindow *result = 0 ;
9644 void *argp1 = 0 ;
9645 int res1 = 0 ;
9646 PyObject *swig_obj[1] ;
9647
9648 if (!args) SWIG_fail;
9649 swig_obj[0] = args;
9650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9651 if (!SWIG_IsOK(res1)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9653 }
9654 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 {
9662 resultobj = wxPyMake_wxObject(result, 0);
9663 }
9664 return resultobj;
9665 fail:
9666 return NULL;
9667 }
9668
9669
9670 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9671 PyObject *resultobj = 0;
9672 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9673 wxWindow *result = 0 ;
9674 void *argp1 = 0 ;
9675 int res1 = 0 ;
9676 PyObject *swig_obj[1] ;
9677
9678 if (!args) SWIG_fail;
9679 swig_obj[0] = args;
9680 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9681 if (!SWIG_IsOK(res1)) {
9682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9683 }
9684 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9685 {
9686 PyThreadState* __tstate = wxPyBeginAllowThreads();
9687 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 {
9692 resultobj = wxPyMake_wxObject(result, 0);
9693 }
9694 return resultobj;
9695 fail:
9696 return NULL;
9697 }
9698
9699
9700 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9701 PyObject *resultobj = 0;
9702 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9703 int arg2 ;
9704 void *argp1 = 0 ;
9705 int res1 = 0 ;
9706 int val2 ;
9707 int ecode2 = 0 ;
9708 PyObject * obj0 = 0 ;
9709 PyObject * obj1 = 0 ;
9710 char * kwnames[] = {
9711 (char *) "self",(char *) "mode", NULL
9712 };
9713
9714 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9715 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9716 if (!SWIG_IsOK(res1)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9718 }
9719 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9720 ecode2 = SWIG_AsVal_int(obj1, &val2);
9721 if (!SWIG_IsOK(ecode2)) {
9722 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9723 }
9724 arg2 = static_cast< int >(val2);
9725 {
9726 PyThreadState* __tstate = wxPyBeginAllowThreads();
9727 (arg1)->SetSplitMode(arg2);
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 resultobj = SWIG_Py_Void();
9732 return resultobj;
9733 fail:
9734 return NULL;
9735 }
9736
9737
9738 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9739 PyObject *resultobj = 0;
9740 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9741 wxSplitMode result;
9742 void *argp1 = 0 ;
9743 int res1 = 0 ;
9744 PyObject *swig_obj[1] ;
9745
9746 if (!args) SWIG_fail;
9747 swig_obj[0] = args;
9748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9749 if (!SWIG_IsOK(res1)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9751 }
9752 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9753 {
9754 PyThreadState* __tstate = wxPyBeginAllowThreads();
9755 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9756 wxPyEndAllowThreads(__tstate);
9757 if (PyErr_Occurred()) SWIG_fail;
9758 }
9759 resultobj = SWIG_From_int(static_cast< int >(result));
9760 return resultobj;
9761 fail:
9762 return NULL;
9763 }
9764
9765
9766 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9767 PyObject *resultobj = 0;
9768 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9769 wxWindow *arg2 = (wxWindow *) 0 ;
9770 void *argp1 = 0 ;
9771 int res1 = 0 ;
9772 void *argp2 = 0 ;
9773 int res2 = 0 ;
9774 PyObject * obj0 = 0 ;
9775 PyObject * obj1 = 0 ;
9776 char * kwnames[] = {
9777 (char *) "self",(char *) "window", NULL
9778 };
9779
9780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9782 if (!SWIG_IsOK(res1)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9784 }
9785 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9786 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9787 if (!SWIG_IsOK(res2)) {
9788 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9789 }
9790 arg2 = reinterpret_cast< wxWindow * >(argp2);
9791 {
9792 PyThreadState* __tstate = wxPyBeginAllowThreads();
9793 (arg1)->Initialize(arg2);
9794 wxPyEndAllowThreads(__tstate);
9795 if (PyErr_Occurred()) SWIG_fail;
9796 }
9797 resultobj = SWIG_Py_Void();
9798 return resultobj;
9799 fail:
9800 return NULL;
9801 }
9802
9803
9804 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9805 PyObject *resultobj = 0;
9806 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9807 wxWindow *arg2 = (wxWindow *) 0 ;
9808 wxWindow *arg3 = (wxWindow *) 0 ;
9809 int arg4 = (int) 0 ;
9810 bool result;
9811 void *argp1 = 0 ;
9812 int res1 = 0 ;
9813 void *argp2 = 0 ;
9814 int res2 = 0 ;
9815 void *argp3 = 0 ;
9816 int res3 = 0 ;
9817 int val4 ;
9818 int ecode4 = 0 ;
9819 PyObject * obj0 = 0 ;
9820 PyObject * obj1 = 0 ;
9821 PyObject * obj2 = 0 ;
9822 PyObject * obj3 = 0 ;
9823 char * kwnames[] = {
9824 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9825 };
9826
9827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9829 if (!SWIG_IsOK(res1)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9831 }
9832 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9833 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9834 if (!SWIG_IsOK(res2)) {
9835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9836 }
9837 arg2 = reinterpret_cast< wxWindow * >(argp2);
9838 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9839 if (!SWIG_IsOK(res3)) {
9840 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9841 }
9842 arg3 = reinterpret_cast< wxWindow * >(argp3);
9843 if (obj3) {
9844 ecode4 = SWIG_AsVal_int(obj3, &val4);
9845 if (!SWIG_IsOK(ecode4)) {
9846 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9847 }
9848 arg4 = static_cast< int >(val4);
9849 }
9850 {
9851 PyThreadState* __tstate = wxPyBeginAllowThreads();
9852 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 {
9857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9858 }
9859 return resultobj;
9860 fail:
9861 return NULL;
9862 }
9863
9864
9865 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9866 PyObject *resultobj = 0;
9867 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9868 wxWindow *arg2 = (wxWindow *) 0 ;
9869 wxWindow *arg3 = (wxWindow *) 0 ;
9870 int arg4 = (int) 0 ;
9871 bool result;
9872 void *argp1 = 0 ;
9873 int res1 = 0 ;
9874 void *argp2 = 0 ;
9875 int res2 = 0 ;
9876 void *argp3 = 0 ;
9877 int res3 = 0 ;
9878 int val4 ;
9879 int ecode4 = 0 ;
9880 PyObject * obj0 = 0 ;
9881 PyObject * obj1 = 0 ;
9882 PyObject * obj2 = 0 ;
9883 PyObject * obj3 = 0 ;
9884 char * kwnames[] = {
9885 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9886 };
9887
9888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9890 if (!SWIG_IsOK(res1)) {
9891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9892 }
9893 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9894 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9895 if (!SWIG_IsOK(res2)) {
9896 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9897 }
9898 arg2 = reinterpret_cast< wxWindow * >(argp2);
9899 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9900 if (!SWIG_IsOK(res3)) {
9901 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9902 }
9903 arg3 = reinterpret_cast< wxWindow * >(argp3);
9904 if (obj3) {
9905 ecode4 = SWIG_AsVal_int(obj3, &val4);
9906 if (!SWIG_IsOK(ecode4)) {
9907 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9908 }
9909 arg4 = static_cast< int >(val4);
9910 }
9911 {
9912 PyThreadState* __tstate = wxPyBeginAllowThreads();
9913 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9914 wxPyEndAllowThreads(__tstate);
9915 if (PyErr_Occurred()) SWIG_fail;
9916 }
9917 {
9918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9919 }
9920 return resultobj;
9921 fail:
9922 return NULL;
9923 }
9924
9925
9926 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9927 PyObject *resultobj = 0;
9928 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9929 wxWindow *arg2 = (wxWindow *) NULL ;
9930 bool result;
9931 void *argp1 = 0 ;
9932 int res1 = 0 ;
9933 void *argp2 = 0 ;
9934 int res2 = 0 ;
9935 PyObject * obj0 = 0 ;
9936 PyObject * obj1 = 0 ;
9937 char * kwnames[] = {
9938 (char *) "self",(char *) "toRemove", NULL
9939 };
9940
9941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9943 if (!SWIG_IsOK(res1)) {
9944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9945 }
9946 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9947 if (obj1) {
9948 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9949 if (!SWIG_IsOK(res2)) {
9950 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9951 }
9952 arg2 = reinterpret_cast< wxWindow * >(argp2);
9953 }
9954 {
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 result = (bool)(arg1)->Unsplit(arg2);
9957 wxPyEndAllowThreads(__tstate);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 }
9960 {
9961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9962 }
9963 return resultobj;
9964 fail:
9965 return NULL;
9966 }
9967
9968
9969 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9970 PyObject *resultobj = 0;
9971 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9972 wxWindow *arg2 = (wxWindow *) 0 ;
9973 wxWindow *arg3 = (wxWindow *) 0 ;
9974 bool result;
9975 void *argp1 = 0 ;
9976 int res1 = 0 ;
9977 void *argp2 = 0 ;
9978 int res2 = 0 ;
9979 void *argp3 = 0 ;
9980 int res3 = 0 ;
9981 PyObject * obj0 = 0 ;
9982 PyObject * obj1 = 0 ;
9983 PyObject * obj2 = 0 ;
9984 char * kwnames[] = {
9985 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9986 };
9987
9988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9990 if (!SWIG_IsOK(res1)) {
9991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9992 }
9993 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9994 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9995 if (!SWIG_IsOK(res2)) {
9996 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9997 }
9998 arg2 = reinterpret_cast< wxWindow * >(argp2);
9999 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
10000 if (!SWIG_IsOK(res3)) {
10001 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10002 }
10003 arg3 = reinterpret_cast< wxWindow * >(argp3);
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 {
10011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10012 }
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10020 PyObject *resultobj = 0;
10021 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10022 void *argp1 = 0 ;
10023 int res1 = 0 ;
10024 PyObject *swig_obj[1] ;
10025
10026 if (!args) SWIG_fail;
10027 swig_obj[0] = args;
10028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10029 if (!SWIG_IsOK(res1)) {
10030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10031 }
10032 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 (arg1)->UpdateSize();
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 resultobj = SWIG_Py_Void();
10040 return resultobj;
10041 fail:
10042 return NULL;
10043 }
10044
10045
10046 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10047 PyObject *resultobj = 0;
10048 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10049 bool result;
10050 void *argp1 = 0 ;
10051 int res1 = 0 ;
10052 PyObject *swig_obj[1] ;
10053
10054 if (!args) SWIG_fail;
10055 swig_obj[0] = args;
10056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10057 if (!SWIG_IsOK(res1)) {
10058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10059 }
10060 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10064 wxPyEndAllowThreads(__tstate);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
10067 {
10068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10069 }
10070 return resultobj;
10071 fail:
10072 return NULL;
10073 }
10074
10075
10076 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj = 0;
10078 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10079 int arg2 ;
10080 void *argp1 = 0 ;
10081 int res1 = 0 ;
10082 int val2 ;
10083 int ecode2 = 0 ;
10084 PyObject * obj0 = 0 ;
10085 PyObject * obj1 = 0 ;
10086 char * kwnames[] = {
10087 (char *) "self",(char *) "width", NULL
10088 };
10089
10090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10092 if (!SWIG_IsOK(res1)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10094 }
10095 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10096 ecode2 = SWIG_AsVal_int(obj1, &val2);
10097 if (!SWIG_IsOK(ecode2)) {
10098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10099 }
10100 arg2 = static_cast< int >(val2);
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 (arg1)->SetSashSize(arg2);
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = SWIG_Py_Void();
10108 return resultobj;
10109 fail:
10110 return NULL;
10111 }
10112
10113
10114 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10115 PyObject *resultobj = 0;
10116 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10117 int arg2 ;
10118 void *argp1 = 0 ;
10119 int res1 = 0 ;
10120 int val2 ;
10121 int ecode2 = 0 ;
10122 PyObject * obj0 = 0 ;
10123 PyObject * obj1 = 0 ;
10124 char * kwnames[] = {
10125 (char *) "self",(char *) "width", NULL
10126 };
10127
10128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10130 if (!SWIG_IsOK(res1)) {
10131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10132 }
10133 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10134 ecode2 = SWIG_AsVal_int(obj1, &val2);
10135 if (!SWIG_IsOK(ecode2)) {
10136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10137 }
10138 arg2 = static_cast< int >(val2);
10139 {
10140 PyThreadState* __tstate = wxPyBeginAllowThreads();
10141 (arg1)->SetBorderSize(arg2);
10142 wxPyEndAllowThreads(__tstate);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
10145 resultobj = SWIG_Py_Void();
10146 return resultobj;
10147 fail:
10148 return NULL;
10149 }
10150
10151
10152 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10153 PyObject *resultobj = 0;
10154 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10155 int result;
10156 void *argp1 = 0 ;
10157 int res1 = 0 ;
10158 PyObject *swig_obj[1] ;
10159
10160 if (!args) SWIG_fail;
10161 swig_obj[0] = args;
10162 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10163 if (!SWIG_IsOK(res1)) {
10164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10165 }
10166 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10167 {
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
10169 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10170 wxPyEndAllowThreads(__tstate);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 }
10173 resultobj = SWIG_From_int(static_cast< int >(result));
10174 return resultobj;
10175 fail:
10176 return NULL;
10177 }
10178
10179
10180 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10181 PyObject *resultobj = 0;
10182 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10183 int result;
10184 void *argp1 = 0 ;
10185 int res1 = 0 ;
10186 PyObject *swig_obj[1] ;
10187
10188 if (!args) SWIG_fail;
10189 swig_obj[0] = args;
10190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10191 if (!SWIG_IsOK(res1)) {
10192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10193 }
10194 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10198 wxPyEndAllowThreads(__tstate);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 resultobj = SWIG_From_int(static_cast< int >(result));
10202 return resultobj;
10203 fail:
10204 return NULL;
10205 }
10206
10207
10208 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10209 PyObject *resultobj = 0;
10210 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10211 int arg2 ;
10212 bool arg3 = (bool) true ;
10213 void *argp1 = 0 ;
10214 int res1 = 0 ;
10215 int val2 ;
10216 int ecode2 = 0 ;
10217 bool val3 ;
10218 int ecode3 = 0 ;
10219 PyObject * obj0 = 0 ;
10220 PyObject * obj1 = 0 ;
10221 PyObject * obj2 = 0 ;
10222 char * kwnames[] = {
10223 (char *) "self",(char *) "position",(char *) "redraw", NULL
10224 };
10225
10226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10228 if (!SWIG_IsOK(res1)) {
10229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10230 }
10231 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10232 ecode2 = SWIG_AsVal_int(obj1, &val2);
10233 if (!SWIG_IsOK(ecode2)) {
10234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10235 }
10236 arg2 = static_cast< int >(val2);
10237 if (obj2) {
10238 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10239 if (!SWIG_IsOK(ecode3)) {
10240 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10241 }
10242 arg3 = static_cast< bool >(val3);
10243 }
10244 {
10245 PyThreadState* __tstate = wxPyBeginAllowThreads();
10246 (arg1)->SetSashPosition(arg2,arg3);
10247 wxPyEndAllowThreads(__tstate);
10248 if (PyErr_Occurred()) SWIG_fail;
10249 }
10250 resultobj = SWIG_Py_Void();
10251 return resultobj;
10252 fail:
10253 return NULL;
10254 }
10255
10256
10257 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10258 PyObject *resultobj = 0;
10259 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10260 int result;
10261 void *argp1 = 0 ;
10262 int res1 = 0 ;
10263 PyObject *swig_obj[1] ;
10264
10265 if (!args) SWIG_fail;
10266 swig_obj[0] = args;
10267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10268 if (!SWIG_IsOK(res1)) {
10269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10270 }
10271 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10272 {
10273 PyThreadState* __tstate = wxPyBeginAllowThreads();
10274 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10275 wxPyEndAllowThreads(__tstate);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 resultobj = SWIG_From_int(static_cast< int >(result));
10279 return resultobj;
10280 fail:
10281 return NULL;
10282 }
10283
10284
10285 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10286 PyObject *resultobj = 0;
10287 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10288 double arg2 ;
10289 void *argp1 = 0 ;
10290 int res1 = 0 ;
10291 double val2 ;
10292 int ecode2 = 0 ;
10293 PyObject * obj0 = 0 ;
10294 PyObject * obj1 = 0 ;
10295 char * kwnames[] = {
10296 (char *) "self",(char *) "gravity", NULL
10297 };
10298
10299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10301 if (!SWIG_IsOK(res1)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10303 }
10304 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10305 ecode2 = SWIG_AsVal_double(obj1, &val2);
10306 if (!SWIG_IsOK(ecode2)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10308 }
10309 arg2 = static_cast< double >(val2);
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 (arg1)->SetSashGravity(arg2);
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 resultobj = SWIG_Py_Void();
10317 return resultobj;
10318 fail:
10319 return NULL;
10320 }
10321
10322
10323 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10324 PyObject *resultobj = 0;
10325 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10326 double result;
10327 void *argp1 = 0 ;
10328 int res1 = 0 ;
10329 PyObject *swig_obj[1] ;
10330
10331 if (!args) SWIG_fail;
10332 swig_obj[0] = args;
10333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10334 if (!SWIG_IsOK(res1)) {
10335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10336 }
10337 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 resultobj = SWIG_From_double(static_cast< double >(result));
10345 return resultobj;
10346 fail:
10347 return NULL;
10348 }
10349
10350
10351 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj = 0;
10353 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10354 int arg2 ;
10355 void *argp1 = 0 ;
10356 int res1 = 0 ;
10357 int val2 ;
10358 int ecode2 = 0 ;
10359 PyObject * obj0 = 0 ;
10360 PyObject * obj1 = 0 ;
10361 char * kwnames[] = {
10362 (char *) "self",(char *) "min", NULL
10363 };
10364
10365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10367 if (!SWIG_IsOK(res1)) {
10368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10369 }
10370 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10371 ecode2 = SWIG_AsVal_int(obj1, &val2);
10372 if (!SWIG_IsOK(ecode2)) {
10373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10374 }
10375 arg2 = static_cast< int >(val2);
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 (arg1)->SetMinimumPaneSize(arg2);
10379 wxPyEndAllowThreads(__tstate);
10380 if (PyErr_Occurred()) SWIG_fail;
10381 }
10382 resultobj = SWIG_Py_Void();
10383 return resultobj;
10384 fail:
10385 return NULL;
10386 }
10387
10388
10389 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10390 PyObject *resultobj = 0;
10391 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10392 int result;
10393 void *argp1 = 0 ;
10394 int res1 = 0 ;
10395 PyObject *swig_obj[1] ;
10396
10397 if (!args) SWIG_fail;
10398 swig_obj[0] = args;
10399 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10400 if (!SWIG_IsOK(res1)) {
10401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10402 }
10403 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
10410 resultobj = SWIG_From_int(static_cast< int >(result));
10411 return resultobj;
10412 fail:
10413 return NULL;
10414 }
10415
10416
10417 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10418 PyObject *resultobj = 0;
10419 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10420 int arg2 ;
10421 int arg3 ;
10422 int arg4 = (int) 5 ;
10423 bool result;
10424 void *argp1 = 0 ;
10425 int res1 = 0 ;
10426 int val2 ;
10427 int ecode2 = 0 ;
10428 int val3 ;
10429 int ecode3 = 0 ;
10430 int val4 ;
10431 int ecode4 = 0 ;
10432 PyObject * obj0 = 0 ;
10433 PyObject * obj1 = 0 ;
10434 PyObject * obj2 = 0 ;
10435 PyObject * obj3 = 0 ;
10436 char * kwnames[] = {
10437 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10438 };
10439
10440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10442 if (!SWIG_IsOK(res1)) {
10443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10444 }
10445 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10446 ecode2 = SWIG_AsVal_int(obj1, &val2);
10447 if (!SWIG_IsOK(ecode2)) {
10448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10449 }
10450 arg2 = static_cast< int >(val2);
10451 ecode3 = SWIG_AsVal_int(obj2, &val3);
10452 if (!SWIG_IsOK(ecode3)) {
10453 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10454 }
10455 arg3 = static_cast< int >(val3);
10456 if (obj3) {
10457 ecode4 = SWIG_AsVal_int(obj3, &val4);
10458 if (!SWIG_IsOK(ecode4)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10460 }
10461 arg4 = static_cast< int >(val4);
10462 }
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10466 wxPyEndAllowThreads(__tstate);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 }
10469 {
10470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10471 }
10472 return resultobj;
10473 fail:
10474 return NULL;
10475 }
10476
10477
10478 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10479 PyObject *resultobj = 0;
10480 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10481 void *argp1 = 0 ;
10482 int res1 = 0 ;
10483 PyObject *swig_obj[1] ;
10484
10485 if (!args) SWIG_fail;
10486 swig_obj[0] = args;
10487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10488 if (!SWIG_IsOK(res1)) {
10489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10490 }
10491 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 (arg1)->SizeWindows();
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 resultobj = SWIG_Py_Void();
10499 return resultobj;
10500 fail:
10501 return NULL;
10502 }
10503
10504
10505 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj = 0;
10507 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10508 bool arg2 ;
10509 void *argp1 = 0 ;
10510 int res1 = 0 ;
10511 bool val2 ;
10512 int ecode2 = 0 ;
10513 PyObject * obj0 = 0 ;
10514 PyObject * obj1 = 0 ;
10515 char * kwnames[] = {
10516 (char *) "self",(char *) "needUpdating", NULL
10517 };
10518
10519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10521 if (!SWIG_IsOK(res1)) {
10522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10523 }
10524 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10525 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10526 if (!SWIG_IsOK(ecode2)) {
10527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10528 }
10529 arg2 = static_cast< bool >(val2);
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 (arg1)->SetNeedUpdating(arg2);
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
10536 resultobj = SWIG_Py_Void();
10537 return resultobj;
10538 fail:
10539 return NULL;
10540 }
10541
10542
10543 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10544 PyObject *resultobj = 0;
10545 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10546 bool result;
10547 void *argp1 = 0 ;
10548 int res1 = 0 ;
10549 PyObject *swig_obj[1] ;
10550
10551 if (!args) SWIG_fail;
10552 swig_obj[0] = args;
10553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10554 if (!SWIG_IsOK(res1)) {
10555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10556 }
10557 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10558 {
10559 PyThreadState* __tstate = wxPyBeginAllowThreads();
10560 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 {
10565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10566 }
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj = 0;
10575 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10576 SwigValueWrapper<wxVisualAttributes > result;
10577 int val1 ;
10578 int ecode1 = 0 ;
10579 PyObject * obj0 = 0 ;
10580 char * kwnames[] = {
10581 (char *) "variant", NULL
10582 };
10583
10584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10585 if (obj0) {
10586 ecode1 = SWIG_AsVal_int(obj0, &val1);
10587 if (!SWIG_IsOK(ecode1)) {
10588 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10589 }
10590 arg1 = static_cast< wxWindowVariant >(val1);
10591 }
10592 {
10593 if (!wxPyCheckForApp()) SWIG_fail;
10594 PyThreadState* __tstate = wxPyBeginAllowThreads();
10595 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10600 return resultobj;
10601 fail:
10602 return NULL;
10603 }
10604
10605
10606 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10607 PyObject *obj;
10608 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10609 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10610 return SWIG_Py_Void();
10611 }
10612
10613 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10614 return SWIG_Python_InitShadowInstance(args);
10615 }
10616
10617 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10618 PyObject *resultobj = 0;
10619 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10620 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10621 wxSplitterEvent *result = 0 ;
10622 int val1 ;
10623 int ecode1 = 0 ;
10624 void *argp2 = 0 ;
10625 int res2 = 0 ;
10626 PyObject * obj0 = 0 ;
10627 PyObject * obj1 = 0 ;
10628 char * kwnames[] = {
10629 (char *) "type",(char *) "splitter", NULL
10630 };
10631
10632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10633 if (obj0) {
10634 ecode1 = SWIG_AsVal_int(obj0, &val1);
10635 if (!SWIG_IsOK(ecode1)) {
10636 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10637 }
10638 arg1 = static_cast< wxEventType >(val1);
10639 }
10640 if (obj1) {
10641 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10642 if (!SWIG_IsOK(res2)) {
10643 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10644 }
10645 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10646 }
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10650 wxPyEndAllowThreads(__tstate);
10651 if (PyErr_Occurred()) SWIG_fail;
10652 }
10653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10654 return resultobj;
10655 fail:
10656 return NULL;
10657 }
10658
10659
10660 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10661 PyObject *resultobj = 0;
10662 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10663 int arg2 ;
10664 void *argp1 = 0 ;
10665 int res1 = 0 ;
10666 int val2 ;
10667 int ecode2 = 0 ;
10668 PyObject * obj0 = 0 ;
10669 PyObject * obj1 = 0 ;
10670 char * kwnames[] = {
10671 (char *) "self",(char *) "pos", NULL
10672 };
10673
10674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10676 if (!SWIG_IsOK(res1)) {
10677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10678 }
10679 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10680 ecode2 = SWIG_AsVal_int(obj1, &val2);
10681 if (!SWIG_IsOK(ecode2)) {
10682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10683 }
10684 arg2 = static_cast< int >(val2);
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 (arg1)->SetSashPosition(arg2);
10688 wxPyEndAllowThreads(__tstate);
10689 if (PyErr_Occurred()) SWIG_fail;
10690 }
10691 resultobj = SWIG_Py_Void();
10692 return resultobj;
10693 fail:
10694 return NULL;
10695 }
10696
10697
10698 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10699 PyObject *resultobj = 0;
10700 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10701 int result;
10702 void *argp1 = 0 ;
10703 int res1 = 0 ;
10704 PyObject *swig_obj[1] ;
10705
10706 if (!args) SWIG_fail;
10707 swig_obj[0] = args;
10708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10709 if (!SWIG_IsOK(res1)) {
10710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10711 }
10712 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
10715 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 resultobj = SWIG_From_int(static_cast< int >(result));
10720 return resultobj;
10721 fail:
10722 return NULL;
10723 }
10724
10725
10726 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10727 PyObject *resultobj = 0;
10728 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10729 wxWindow *result = 0 ;
10730 void *argp1 = 0 ;
10731 int res1 = 0 ;
10732 PyObject *swig_obj[1] ;
10733
10734 if (!args) SWIG_fail;
10735 swig_obj[0] = args;
10736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10737 if (!SWIG_IsOK(res1)) {
10738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10739 }
10740 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10741 {
10742 PyThreadState* __tstate = wxPyBeginAllowThreads();
10743 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10744 wxPyEndAllowThreads(__tstate);
10745 if (PyErr_Occurred()) SWIG_fail;
10746 }
10747 {
10748 resultobj = wxPyMake_wxObject(result, 0);
10749 }
10750 return resultobj;
10751 fail:
10752 return NULL;
10753 }
10754
10755
10756 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10757 PyObject *resultobj = 0;
10758 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10759 int result;
10760 void *argp1 = 0 ;
10761 int res1 = 0 ;
10762 PyObject *swig_obj[1] ;
10763
10764 if (!args) SWIG_fail;
10765 swig_obj[0] = args;
10766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10767 if (!SWIG_IsOK(res1)) {
10768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10769 }
10770 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10771 {
10772 PyThreadState* __tstate = wxPyBeginAllowThreads();
10773 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10774 wxPyEndAllowThreads(__tstate);
10775 if (PyErr_Occurred()) SWIG_fail;
10776 }
10777 resultobj = SWIG_From_int(static_cast< int >(result));
10778 return resultobj;
10779 fail:
10780 return NULL;
10781 }
10782
10783
10784 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10785 PyObject *resultobj = 0;
10786 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10787 int result;
10788 void *argp1 = 0 ;
10789 int res1 = 0 ;
10790 PyObject *swig_obj[1] ;
10791
10792 if (!args) SWIG_fail;
10793 swig_obj[0] = args;
10794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10795 if (!SWIG_IsOK(res1)) {
10796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10797 }
10798 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10799 {
10800 PyThreadState* __tstate = wxPyBeginAllowThreads();
10801 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10802 wxPyEndAllowThreads(__tstate);
10803 if (PyErr_Occurred()) SWIG_fail;
10804 }
10805 resultobj = SWIG_From_int(static_cast< int >(result));
10806 return resultobj;
10807 fail:
10808 return NULL;
10809 }
10810
10811
10812 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10813 PyObject *obj;
10814 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10815 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10816 return SWIG_Py_Void();
10817 }
10818
10819 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10820 return SWIG_Python_InitShadowInstance(args);
10821 }
10822
10823 SWIGINTERN int SashNameStr_set(PyObject *) {
10824 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10825 return 1;
10826 }
10827
10828
10829 SWIGINTERN PyObject *SashNameStr_get(void) {
10830 PyObject *pyobj = 0;
10831
10832 {
10833 #if wxUSE_UNICODE
10834 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10835 #else
10836 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10837 #endif
10838 }
10839 return pyobj;
10840 }
10841
10842
10843 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10844 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10845 return 1;
10846 }
10847
10848
10849 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10850 PyObject *pyobj = 0;
10851
10852 {
10853 #if wxUSE_UNICODE
10854 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10855 #else
10856 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10857 #endif
10858 }
10859 return pyobj;
10860 }
10861
10862
10863 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10864 PyObject *resultobj = 0;
10865 wxWindow *arg1 = (wxWindow *) 0 ;
10866 int arg2 = (int) -1 ;
10867 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10868 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10869 wxSize const &arg4_defvalue = wxDefaultSize ;
10870 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10871 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10872 wxString const &arg6_defvalue = wxPySashNameStr ;
10873 wxString *arg6 = (wxString *) &arg6_defvalue ;
10874 wxSashWindow *result = 0 ;
10875 void *argp1 = 0 ;
10876 int res1 = 0 ;
10877 int val2 ;
10878 int ecode2 = 0 ;
10879 wxPoint temp3 ;
10880 wxSize temp4 ;
10881 long val5 ;
10882 int ecode5 = 0 ;
10883 bool temp6 = false ;
10884 PyObject * obj0 = 0 ;
10885 PyObject * obj1 = 0 ;
10886 PyObject * obj2 = 0 ;
10887 PyObject * obj3 = 0 ;
10888 PyObject * obj4 = 0 ;
10889 PyObject * obj5 = 0 ;
10890 char * kwnames[] = {
10891 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10892 };
10893
10894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10896 if (!SWIG_IsOK(res1)) {
10897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10898 }
10899 arg1 = reinterpret_cast< wxWindow * >(argp1);
10900 if (obj1) {
10901 ecode2 = SWIG_AsVal_int(obj1, &val2);
10902 if (!SWIG_IsOK(ecode2)) {
10903 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10904 }
10905 arg2 = static_cast< int >(val2);
10906 }
10907 if (obj2) {
10908 {
10909 arg3 = &temp3;
10910 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10911 }
10912 }
10913 if (obj3) {
10914 {
10915 arg4 = &temp4;
10916 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10917 }
10918 }
10919 if (obj4) {
10920 ecode5 = SWIG_AsVal_long(obj4, &val5);
10921 if (!SWIG_IsOK(ecode5)) {
10922 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10923 }
10924 arg5 = static_cast< long >(val5);
10925 }
10926 if (obj5) {
10927 {
10928 arg6 = wxString_in_helper(obj5);
10929 if (arg6 == NULL) SWIG_fail;
10930 temp6 = true;
10931 }
10932 }
10933 {
10934 if (!wxPyCheckForApp()) SWIG_fail;
10935 PyThreadState* __tstate = wxPyBeginAllowThreads();
10936 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10937 wxPyEndAllowThreads(__tstate);
10938 if (PyErr_Occurred()) SWIG_fail;
10939 }
10940 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10941 {
10942 if (temp6)
10943 delete arg6;
10944 }
10945 return resultobj;
10946 fail:
10947 {
10948 if (temp6)
10949 delete arg6;
10950 }
10951 return NULL;
10952 }
10953
10954
10955 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10956 PyObject *resultobj = 0;
10957 wxSashWindow *result = 0 ;
10958
10959 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10960 {
10961 if (!wxPyCheckForApp()) SWIG_fail;
10962 PyThreadState* __tstate = wxPyBeginAllowThreads();
10963 result = (wxSashWindow *)new wxSashWindow();
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10968 return resultobj;
10969 fail:
10970 return NULL;
10971 }
10972
10973
10974 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj = 0;
10976 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10977 wxWindow *arg2 = (wxWindow *) 0 ;
10978 int arg3 = (int) -1 ;
10979 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10980 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10981 wxSize const &arg5_defvalue = wxDefaultSize ;
10982 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10983 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10984 wxString const &arg7_defvalue = wxPySashNameStr ;
10985 wxString *arg7 = (wxString *) &arg7_defvalue ;
10986 bool result;
10987 void *argp1 = 0 ;
10988 int res1 = 0 ;
10989 void *argp2 = 0 ;
10990 int res2 = 0 ;
10991 int val3 ;
10992 int ecode3 = 0 ;
10993 wxPoint temp4 ;
10994 wxSize temp5 ;
10995 long val6 ;
10996 int ecode6 = 0 ;
10997 bool temp7 = false ;
10998 PyObject * obj0 = 0 ;
10999 PyObject * obj1 = 0 ;
11000 PyObject * obj2 = 0 ;
11001 PyObject * obj3 = 0 ;
11002 PyObject * obj4 = 0 ;
11003 PyObject * obj5 = 0 ;
11004 PyObject * obj6 = 0 ;
11005 char * kwnames[] = {
11006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11007 };
11008
11009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
11010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11011 if (!SWIG_IsOK(res1)) {
11012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11013 }
11014 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11015 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
11016 if (!SWIG_IsOK(res2)) {
11017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11018 }
11019 arg2 = reinterpret_cast< wxWindow * >(argp2);
11020 if (obj2) {
11021 ecode3 = SWIG_AsVal_int(obj2, &val3);
11022 if (!SWIG_IsOK(ecode3)) {
11023 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11024 }
11025 arg3 = static_cast< int >(val3);
11026 }
11027 if (obj3) {
11028 {
11029 arg4 = &temp4;
11030 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11031 }
11032 }
11033 if (obj4) {
11034 {
11035 arg5 = &temp5;
11036 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11037 }
11038 }
11039 if (obj5) {
11040 ecode6 = SWIG_AsVal_long(obj5, &val6);
11041 if (!SWIG_IsOK(ecode6)) {
11042 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11043 }
11044 arg6 = static_cast< long >(val6);
11045 }
11046 if (obj6) {
11047 {
11048 arg7 = wxString_in_helper(obj6);
11049 if (arg7 == NULL) SWIG_fail;
11050 temp7 = true;
11051 }
11052 }
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
11059 {
11060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11061 }
11062 {
11063 if (temp7)
11064 delete arg7;
11065 }
11066 return resultobj;
11067 fail:
11068 {
11069 if (temp7)
11070 delete arg7;
11071 }
11072 return NULL;
11073 }
11074
11075
11076 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11077 PyObject *resultobj = 0;
11078 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11079 wxSashEdgePosition arg2 ;
11080 bool arg3 ;
11081 void *argp1 = 0 ;
11082 int res1 = 0 ;
11083 int val2 ;
11084 int ecode2 = 0 ;
11085 bool val3 ;
11086 int ecode3 = 0 ;
11087 PyObject * obj0 = 0 ;
11088 PyObject * obj1 = 0 ;
11089 PyObject * obj2 = 0 ;
11090 char * kwnames[] = {
11091 (char *) "self",(char *) "edge",(char *) "sash", NULL
11092 };
11093
11094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11096 if (!SWIG_IsOK(res1)) {
11097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11098 }
11099 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11100 ecode2 = SWIG_AsVal_int(obj1, &val2);
11101 if (!SWIG_IsOK(ecode2)) {
11102 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11103 }
11104 arg2 = static_cast< wxSashEdgePosition >(val2);
11105 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11106 if (!SWIG_IsOK(ecode3)) {
11107 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11108 }
11109 arg3 = static_cast< bool >(val3);
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 (arg1)->SetSashVisible(arg2,arg3);
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 resultobj = SWIG_Py_Void();
11117 return resultobj;
11118 fail:
11119 return NULL;
11120 }
11121
11122
11123 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11124 PyObject *resultobj = 0;
11125 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11126 wxSashEdgePosition arg2 ;
11127 bool result;
11128 void *argp1 = 0 ;
11129 int res1 = 0 ;
11130 int val2 ;
11131 int ecode2 = 0 ;
11132 PyObject * obj0 = 0 ;
11133 PyObject * obj1 = 0 ;
11134 char * kwnames[] = {
11135 (char *) "self",(char *) "edge", NULL
11136 };
11137
11138 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11139 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11140 if (!SWIG_IsOK(res1)) {
11141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11142 }
11143 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11144 ecode2 = SWIG_AsVal_int(obj1, &val2);
11145 if (!SWIG_IsOK(ecode2)) {
11146 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11147 }
11148 arg2 = static_cast< wxSashEdgePosition >(val2);
11149 {
11150 PyThreadState* __tstate = wxPyBeginAllowThreads();
11151 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11152 wxPyEndAllowThreads(__tstate);
11153 if (PyErr_Occurred()) SWIG_fail;
11154 }
11155 {
11156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11157 }
11158 return resultobj;
11159 fail:
11160 return NULL;
11161 }
11162
11163
11164 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11165 PyObject *resultobj = 0;
11166 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11167 wxSashEdgePosition arg2 ;
11168 bool arg3 ;
11169 void *argp1 = 0 ;
11170 int res1 = 0 ;
11171 int val2 ;
11172 int ecode2 = 0 ;
11173 bool val3 ;
11174 int ecode3 = 0 ;
11175 PyObject * obj0 = 0 ;
11176 PyObject * obj1 = 0 ;
11177 PyObject * obj2 = 0 ;
11178 char * kwnames[] = {
11179 (char *) "self",(char *) "edge",(char *) "border", NULL
11180 };
11181
11182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11184 if (!SWIG_IsOK(res1)) {
11185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11186 }
11187 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11188 ecode2 = SWIG_AsVal_int(obj1, &val2);
11189 if (!SWIG_IsOK(ecode2)) {
11190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11191 }
11192 arg2 = static_cast< wxSashEdgePosition >(val2);
11193 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11194 if (!SWIG_IsOK(ecode3)) {
11195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11196 }
11197 arg3 = static_cast< bool >(val3);
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 (arg1)->SetSashBorder(arg2,arg3);
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 resultobj = SWIG_Py_Void();
11205 return resultobj;
11206 fail:
11207 return NULL;
11208 }
11209
11210
11211 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11212 PyObject *resultobj = 0;
11213 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11214 wxSashEdgePosition arg2 ;
11215 bool result;
11216 void *argp1 = 0 ;
11217 int res1 = 0 ;
11218 int val2 ;
11219 int ecode2 = 0 ;
11220 PyObject * obj0 = 0 ;
11221 PyObject * obj1 = 0 ;
11222 char * kwnames[] = {
11223 (char *) "self",(char *) "edge", NULL
11224 };
11225
11226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11228 if (!SWIG_IsOK(res1)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11230 }
11231 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11232 ecode2 = SWIG_AsVal_int(obj1, &val2);
11233 if (!SWIG_IsOK(ecode2)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11235 }
11236 arg2 = static_cast< wxSashEdgePosition >(val2);
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 {
11244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11245 }
11246 return resultobj;
11247 fail:
11248 return NULL;
11249 }
11250
11251
11252 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj = 0;
11254 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11255 wxSashEdgePosition arg2 ;
11256 int result;
11257 void *argp1 = 0 ;
11258 int res1 = 0 ;
11259 int val2 ;
11260 int ecode2 = 0 ;
11261 PyObject * obj0 = 0 ;
11262 PyObject * obj1 = 0 ;
11263 char * kwnames[] = {
11264 (char *) "self",(char *) "edge", NULL
11265 };
11266
11267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11269 if (!SWIG_IsOK(res1)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11271 }
11272 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11273 ecode2 = SWIG_AsVal_int(obj1, &val2);
11274 if (!SWIG_IsOK(ecode2)) {
11275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11276 }
11277 arg2 = static_cast< wxSashEdgePosition >(val2);
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 resultobj = SWIG_From_int(static_cast< int >(result));
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11292 PyObject *resultobj = 0;
11293 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11294 int arg2 ;
11295 void *argp1 = 0 ;
11296 int res1 = 0 ;
11297 int val2 ;
11298 int ecode2 = 0 ;
11299 PyObject * obj0 = 0 ;
11300 PyObject * obj1 = 0 ;
11301 char * kwnames[] = {
11302 (char *) "self",(char *) "width", NULL
11303 };
11304
11305 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11306 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11307 if (!SWIG_IsOK(res1)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11309 }
11310 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11311 ecode2 = SWIG_AsVal_int(obj1, &val2);
11312 if (!SWIG_IsOK(ecode2)) {
11313 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11314 }
11315 arg2 = static_cast< int >(val2);
11316 {
11317 PyThreadState* __tstate = wxPyBeginAllowThreads();
11318 (arg1)->SetDefaultBorderSize(arg2);
11319 wxPyEndAllowThreads(__tstate);
11320 if (PyErr_Occurred()) SWIG_fail;
11321 }
11322 resultobj = SWIG_Py_Void();
11323 return resultobj;
11324 fail:
11325 return NULL;
11326 }
11327
11328
11329 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11330 PyObject *resultobj = 0;
11331 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11332 int result;
11333 void *argp1 = 0 ;
11334 int res1 = 0 ;
11335 PyObject *swig_obj[1] ;
11336
11337 if (!args) SWIG_fail;
11338 swig_obj[0] = args;
11339 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11340 if (!SWIG_IsOK(res1)) {
11341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11342 }
11343 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11344 {
11345 PyThreadState* __tstate = wxPyBeginAllowThreads();
11346 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 resultobj = SWIG_From_int(static_cast< int >(result));
11351 return resultobj;
11352 fail:
11353 return NULL;
11354 }
11355
11356
11357 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj = 0;
11359 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11360 int arg2 ;
11361 void *argp1 = 0 ;
11362 int res1 = 0 ;
11363 int val2 ;
11364 int ecode2 = 0 ;
11365 PyObject * obj0 = 0 ;
11366 PyObject * obj1 = 0 ;
11367 char * kwnames[] = {
11368 (char *) "self",(char *) "width", NULL
11369 };
11370
11371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11373 if (!SWIG_IsOK(res1)) {
11374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11375 }
11376 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11377 ecode2 = SWIG_AsVal_int(obj1, &val2);
11378 if (!SWIG_IsOK(ecode2)) {
11379 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11380 }
11381 arg2 = static_cast< int >(val2);
11382 {
11383 PyThreadState* __tstate = wxPyBeginAllowThreads();
11384 (arg1)->SetExtraBorderSize(arg2);
11385 wxPyEndAllowThreads(__tstate);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 }
11388 resultobj = SWIG_Py_Void();
11389 return resultobj;
11390 fail:
11391 return NULL;
11392 }
11393
11394
11395 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11396 PyObject *resultobj = 0;
11397 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11398 int result;
11399 void *argp1 = 0 ;
11400 int res1 = 0 ;
11401 PyObject *swig_obj[1] ;
11402
11403 if (!args) SWIG_fail;
11404 swig_obj[0] = args;
11405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11406 if (!SWIG_IsOK(res1)) {
11407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11408 }
11409 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11413 wxPyEndAllowThreads(__tstate);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
11416 resultobj = SWIG_From_int(static_cast< int >(result));
11417 return resultobj;
11418 fail:
11419 return NULL;
11420 }
11421
11422
11423 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11424 PyObject *resultobj = 0;
11425 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11426 int arg2 ;
11427 void *argp1 = 0 ;
11428 int res1 = 0 ;
11429 int val2 ;
11430 int ecode2 = 0 ;
11431 PyObject * obj0 = 0 ;
11432 PyObject * obj1 = 0 ;
11433 char * kwnames[] = {
11434 (char *) "self",(char *) "min", NULL
11435 };
11436
11437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11439 if (!SWIG_IsOK(res1)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11441 }
11442 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11443 ecode2 = SWIG_AsVal_int(obj1, &val2);
11444 if (!SWIG_IsOK(ecode2)) {
11445 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11446 }
11447 arg2 = static_cast< int >(val2);
11448 {
11449 PyThreadState* __tstate = wxPyBeginAllowThreads();
11450 (arg1)->SetMinimumSizeX(arg2);
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
11454 resultobj = SWIG_Py_Void();
11455 return resultobj;
11456 fail:
11457 return NULL;
11458 }
11459
11460
11461 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11462 PyObject *resultobj = 0;
11463 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11464 int arg2 ;
11465 void *argp1 = 0 ;
11466 int res1 = 0 ;
11467 int val2 ;
11468 int ecode2 = 0 ;
11469 PyObject * obj0 = 0 ;
11470 PyObject * obj1 = 0 ;
11471 char * kwnames[] = {
11472 (char *) "self",(char *) "min", NULL
11473 };
11474
11475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11477 if (!SWIG_IsOK(res1)) {
11478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11479 }
11480 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11481 ecode2 = SWIG_AsVal_int(obj1, &val2);
11482 if (!SWIG_IsOK(ecode2)) {
11483 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11484 }
11485 arg2 = static_cast< int >(val2);
11486 {
11487 PyThreadState* __tstate = wxPyBeginAllowThreads();
11488 (arg1)->SetMinimumSizeY(arg2);
11489 wxPyEndAllowThreads(__tstate);
11490 if (PyErr_Occurred()) SWIG_fail;
11491 }
11492 resultobj = SWIG_Py_Void();
11493 return resultobj;
11494 fail:
11495 return NULL;
11496 }
11497
11498
11499 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11500 PyObject *resultobj = 0;
11501 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11502 int result;
11503 void *argp1 = 0 ;
11504 int res1 = 0 ;
11505 PyObject *swig_obj[1] ;
11506
11507 if (!args) SWIG_fail;
11508 swig_obj[0] = args;
11509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11510 if (!SWIG_IsOK(res1)) {
11511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11512 }
11513 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11514 {
11515 PyThreadState* __tstate = wxPyBeginAllowThreads();
11516 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11517 wxPyEndAllowThreads(__tstate);
11518 if (PyErr_Occurred()) SWIG_fail;
11519 }
11520 resultobj = SWIG_From_int(static_cast< int >(result));
11521 return resultobj;
11522 fail:
11523 return NULL;
11524 }
11525
11526
11527 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11528 PyObject *resultobj = 0;
11529 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11530 int result;
11531 void *argp1 = 0 ;
11532 int res1 = 0 ;
11533 PyObject *swig_obj[1] ;
11534
11535 if (!args) SWIG_fail;
11536 swig_obj[0] = args;
11537 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11538 if (!SWIG_IsOK(res1)) {
11539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11540 }
11541 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11542 {
11543 PyThreadState* __tstate = wxPyBeginAllowThreads();
11544 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11545 wxPyEndAllowThreads(__tstate);
11546 if (PyErr_Occurred()) SWIG_fail;
11547 }
11548 resultobj = SWIG_From_int(static_cast< int >(result));
11549 return resultobj;
11550 fail:
11551 return NULL;
11552 }
11553
11554
11555 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11556 PyObject *resultobj = 0;
11557 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11558 int arg2 ;
11559 void *argp1 = 0 ;
11560 int res1 = 0 ;
11561 int val2 ;
11562 int ecode2 = 0 ;
11563 PyObject * obj0 = 0 ;
11564 PyObject * obj1 = 0 ;
11565 char * kwnames[] = {
11566 (char *) "self",(char *) "max", NULL
11567 };
11568
11569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11571 if (!SWIG_IsOK(res1)) {
11572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11573 }
11574 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11575 ecode2 = SWIG_AsVal_int(obj1, &val2);
11576 if (!SWIG_IsOK(ecode2)) {
11577 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11578 }
11579 arg2 = static_cast< int >(val2);
11580 {
11581 PyThreadState* __tstate = wxPyBeginAllowThreads();
11582 (arg1)->SetMaximumSizeX(arg2);
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 resultobj = SWIG_Py_Void();
11587 return resultobj;
11588 fail:
11589 return NULL;
11590 }
11591
11592
11593 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11594 PyObject *resultobj = 0;
11595 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11596 int arg2 ;
11597 void *argp1 = 0 ;
11598 int res1 = 0 ;
11599 int val2 ;
11600 int ecode2 = 0 ;
11601 PyObject * obj0 = 0 ;
11602 PyObject * obj1 = 0 ;
11603 char * kwnames[] = {
11604 (char *) "self",(char *) "max", NULL
11605 };
11606
11607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11609 if (!SWIG_IsOK(res1)) {
11610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11611 }
11612 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11613 ecode2 = SWIG_AsVal_int(obj1, &val2);
11614 if (!SWIG_IsOK(ecode2)) {
11615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11616 }
11617 arg2 = static_cast< int >(val2);
11618 {
11619 PyThreadState* __tstate = wxPyBeginAllowThreads();
11620 (arg1)->SetMaximumSizeY(arg2);
11621 wxPyEndAllowThreads(__tstate);
11622 if (PyErr_Occurred()) SWIG_fail;
11623 }
11624 resultobj = SWIG_Py_Void();
11625 return resultobj;
11626 fail:
11627 return NULL;
11628 }
11629
11630
11631 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11632 PyObject *resultobj = 0;
11633 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11634 int result;
11635 void *argp1 = 0 ;
11636 int res1 = 0 ;
11637 PyObject *swig_obj[1] ;
11638
11639 if (!args) SWIG_fail;
11640 swig_obj[0] = args;
11641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11642 if (!SWIG_IsOK(res1)) {
11643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11644 }
11645 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11646 {
11647 PyThreadState* __tstate = wxPyBeginAllowThreads();
11648 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11649 wxPyEndAllowThreads(__tstate);
11650 if (PyErr_Occurred()) SWIG_fail;
11651 }
11652 resultobj = SWIG_From_int(static_cast< int >(result));
11653 return resultobj;
11654 fail:
11655 return NULL;
11656 }
11657
11658
11659 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11660 PyObject *resultobj = 0;
11661 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11662 int result;
11663 void *argp1 = 0 ;
11664 int res1 = 0 ;
11665 PyObject *swig_obj[1] ;
11666
11667 if (!args) SWIG_fail;
11668 swig_obj[0] = args;
11669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11670 if (!SWIG_IsOK(res1)) {
11671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11672 }
11673 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11674 {
11675 PyThreadState* __tstate = wxPyBeginAllowThreads();
11676 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11677 wxPyEndAllowThreads(__tstate);
11678 if (PyErr_Occurred()) SWIG_fail;
11679 }
11680 resultobj = SWIG_From_int(static_cast< int >(result));
11681 return resultobj;
11682 fail:
11683 return NULL;
11684 }
11685
11686
11687 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11688 PyObject *resultobj = 0;
11689 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11690 int arg2 ;
11691 int arg3 ;
11692 int arg4 = (int) 2 ;
11693 wxSashEdgePosition result;
11694 void *argp1 = 0 ;
11695 int res1 = 0 ;
11696 int val2 ;
11697 int ecode2 = 0 ;
11698 int val3 ;
11699 int ecode3 = 0 ;
11700 int val4 ;
11701 int ecode4 = 0 ;
11702 PyObject * obj0 = 0 ;
11703 PyObject * obj1 = 0 ;
11704 PyObject * obj2 = 0 ;
11705 PyObject * obj3 = 0 ;
11706 char * kwnames[] = {
11707 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11708 };
11709
11710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11712 if (!SWIG_IsOK(res1)) {
11713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11714 }
11715 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11716 ecode2 = SWIG_AsVal_int(obj1, &val2);
11717 if (!SWIG_IsOK(ecode2)) {
11718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11719 }
11720 arg2 = static_cast< int >(val2);
11721 ecode3 = SWIG_AsVal_int(obj2, &val3);
11722 if (!SWIG_IsOK(ecode3)) {
11723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11724 }
11725 arg3 = static_cast< int >(val3);
11726 if (obj3) {
11727 ecode4 = SWIG_AsVal_int(obj3, &val4);
11728 if (!SWIG_IsOK(ecode4)) {
11729 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11730 }
11731 arg4 = static_cast< int >(val4);
11732 }
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 resultobj = SWIG_From_int(static_cast< int >(result));
11740 return resultobj;
11741 fail:
11742 return NULL;
11743 }
11744
11745
11746 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11747 PyObject *resultobj = 0;
11748 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11749 void *argp1 = 0 ;
11750 int res1 = 0 ;
11751 PyObject *swig_obj[1] ;
11752
11753 if (!args) SWIG_fail;
11754 swig_obj[0] = args;
11755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11756 if (!SWIG_IsOK(res1)) {
11757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11758 }
11759 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 (arg1)->SizeWindows();
11763 wxPyEndAllowThreads(__tstate);
11764 if (PyErr_Occurred()) SWIG_fail;
11765 }
11766 resultobj = SWIG_Py_Void();
11767 return resultobj;
11768 fail:
11769 return NULL;
11770 }
11771
11772
11773 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11774 PyObject *obj;
11775 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11776 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11777 return SWIG_Py_Void();
11778 }
11779
11780 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11781 return SWIG_Python_InitShadowInstance(args);
11782 }
11783
11784 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11785 PyObject *resultobj = 0;
11786 int arg1 = (int) 0 ;
11787 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11788 wxSashEvent *result = 0 ;
11789 int val1 ;
11790 int ecode1 = 0 ;
11791 int val2 ;
11792 int ecode2 = 0 ;
11793 PyObject * obj0 = 0 ;
11794 PyObject * obj1 = 0 ;
11795 char * kwnames[] = {
11796 (char *) "id",(char *) "edge", NULL
11797 };
11798
11799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11800 if (obj0) {
11801 ecode1 = SWIG_AsVal_int(obj0, &val1);
11802 if (!SWIG_IsOK(ecode1)) {
11803 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11804 }
11805 arg1 = static_cast< int >(val1);
11806 }
11807 if (obj1) {
11808 ecode2 = SWIG_AsVal_int(obj1, &val2);
11809 if (!SWIG_IsOK(ecode2)) {
11810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11811 }
11812 arg2 = static_cast< wxSashEdgePosition >(val2);
11813 }
11814 {
11815 PyThreadState* __tstate = wxPyBeginAllowThreads();
11816 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11817 wxPyEndAllowThreads(__tstate);
11818 if (PyErr_Occurred()) SWIG_fail;
11819 }
11820 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11821 return resultobj;
11822 fail:
11823 return NULL;
11824 }
11825
11826
11827 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11828 PyObject *resultobj = 0;
11829 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11830 wxSashEdgePosition arg2 ;
11831 void *argp1 = 0 ;
11832 int res1 = 0 ;
11833 int val2 ;
11834 int ecode2 = 0 ;
11835 PyObject * obj0 = 0 ;
11836 PyObject * obj1 = 0 ;
11837 char * kwnames[] = {
11838 (char *) "self",(char *) "edge", NULL
11839 };
11840
11841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11843 if (!SWIG_IsOK(res1)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11845 }
11846 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11847 ecode2 = SWIG_AsVal_int(obj1, &val2);
11848 if (!SWIG_IsOK(ecode2)) {
11849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11850 }
11851 arg2 = static_cast< wxSashEdgePosition >(val2);
11852 {
11853 PyThreadState* __tstate = wxPyBeginAllowThreads();
11854 (arg1)->SetEdge(arg2);
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 resultobj = SWIG_Py_Void();
11859 return resultobj;
11860 fail:
11861 return NULL;
11862 }
11863
11864
11865 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11866 PyObject *resultobj = 0;
11867 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11868 wxSashEdgePosition result;
11869 void *argp1 = 0 ;
11870 int res1 = 0 ;
11871 PyObject *swig_obj[1] ;
11872
11873 if (!args) SWIG_fail;
11874 swig_obj[0] = args;
11875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11876 if (!SWIG_IsOK(res1)) {
11877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11878 }
11879 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11880 {
11881 PyThreadState* __tstate = wxPyBeginAllowThreads();
11882 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11883 wxPyEndAllowThreads(__tstate);
11884 if (PyErr_Occurred()) SWIG_fail;
11885 }
11886 resultobj = SWIG_From_int(static_cast< int >(result));
11887 return resultobj;
11888 fail:
11889 return NULL;
11890 }
11891
11892
11893 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11894 PyObject *resultobj = 0;
11895 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11896 wxRect *arg2 = 0 ;
11897 void *argp1 = 0 ;
11898 int res1 = 0 ;
11899 wxRect temp2 ;
11900 PyObject * obj0 = 0 ;
11901 PyObject * obj1 = 0 ;
11902 char * kwnames[] = {
11903 (char *) "self",(char *) "rect", NULL
11904 };
11905
11906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11908 if (!SWIG_IsOK(res1)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11910 }
11911 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11912 {
11913 arg2 = &temp2;
11914 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11915 }
11916 {
11917 PyThreadState* __tstate = wxPyBeginAllowThreads();
11918 (arg1)->SetDragRect((wxRect const &)*arg2);
11919 wxPyEndAllowThreads(__tstate);
11920 if (PyErr_Occurred()) SWIG_fail;
11921 }
11922 resultobj = SWIG_Py_Void();
11923 return resultobj;
11924 fail:
11925 return NULL;
11926 }
11927
11928
11929 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11930 PyObject *resultobj = 0;
11931 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11932 wxRect result;
11933 void *argp1 = 0 ;
11934 int res1 = 0 ;
11935 PyObject *swig_obj[1] ;
11936
11937 if (!args) SWIG_fail;
11938 swig_obj[0] = args;
11939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11940 if (!SWIG_IsOK(res1)) {
11941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11942 }
11943 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 result = ((wxSashEvent const *)arg1)->GetDragRect();
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11951 return resultobj;
11952 fail:
11953 return NULL;
11954 }
11955
11956
11957 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11958 PyObject *resultobj = 0;
11959 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11960 wxSashDragStatus arg2 ;
11961 void *argp1 = 0 ;
11962 int res1 = 0 ;
11963 int val2 ;
11964 int ecode2 = 0 ;
11965 PyObject * obj0 = 0 ;
11966 PyObject * obj1 = 0 ;
11967 char * kwnames[] = {
11968 (char *) "self",(char *) "status", NULL
11969 };
11970
11971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11973 if (!SWIG_IsOK(res1)) {
11974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11975 }
11976 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11977 ecode2 = SWIG_AsVal_int(obj1, &val2);
11978 if (!SWIG_IsOK(ecode2)) {
11979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11980 }
11981 arg2 = static_cast< wxSashDragStatus >(val2);
11982 {
11983 PyThreadState* __tstate = wxPyBeginAllowThreads();
11984 (arg1)->SetDragStatus(arg2);
11985 wxPyEndAllowThreads(__tstate);
11986 if (PyErr_Occurred()) SWIG_fail;
11987 }
11988 resultobj = SWIG_Py_Void();
11989 return resultobj;
11990 fail:
11991 return NULL;
11992 }
11993
11994
11995 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11996 PyObject *resultobj = 0;
11997 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11998 wxSashDragStatus result;
11999 void *argp1 = 0 ;
12000 int res1 = 0 ;
12001 PyObject *swig_obj[1] ;
12002
12003 if (!args) SWIG_fail;
12004 swig_obj[0] = args;
12005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
12006 if (!SWIG_IsOK(res1)) {
12007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12008 }
12009 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
12010 {
12011 PyThreadState* __tstate = wxPyBeginAllowThreads();
12012 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
12013 wxPyEndAllowThreads(__tstate);
12014 if (PyErr_Occurred()) SWIG_fail;
12015 }
12016 resultobj = SWIG_From_int(static_cast< int >(result));
12017 return resultobj;
12018 fail:
12019 return NULL;
12020 }
12021
12022
12023 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12024 PyObject *obj;
12025 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12026 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
12027 return SWIG_Py_Void();
12028 }
12029
12030 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12031 return SWIG_Python_InitShadowInstance(args);
12032 }
12033
12034 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12035 PyObject *resultobj = 0;
12036 int arg1 = (int) 0 ;
12037 wxQueryLayoutInfoEvent *result = 0 ;
12038 int val1 ;
12039 int ecode1 = 0 ;
12040 PyObject * obj0 = 0 ;
12041 char * kwnames[] = {
12042 (char *) "id", NULL
12043 };
12044
12045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
12046 if (obj0) {
12047 ecode1 = SWIG_AsVal_int(obj0, &val1);
12048 if (!SWIG_IsOK(ecode1)) {
12049 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12050 }
12051 arg1 = static_cast< int >(val1);
12052 }
12053 {
12054 PyThreadState* __tstate = wxPyBeginAllowThreads();
12055 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
12060 return resultobj;
12061 fail:
12062 return NULL;
12063 }
12064
12065
12066 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj = 0;
12068 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12069 int arg2 ;
12070 void *argp1 = 0 ;
12071 int res1 = 0 ;
12072 int val2 ;
12073 int ecode2 = 0 ;
12074 PyObject * obj0 = 0 ;
12075 PyObject * obj1 = 0 ;
12076 char * kwnames[] = {
12077 (char *) "self",(char *) "length", NULL
12078 };
12079
12080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12082 if (!SWIG_IsOK(res1)) {
12083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12084 }
12085 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12086 ecode2 = SWIG_AsVal_int(obj1, &val2);
12087 if (!SWIG_IsOK(ecode2)) {
12088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12089 }
12090 arg2 = static_cast< int >(val2);
12091 {
12092 PyThreadState* __tstate = wxPyBeginAllowThreads();
12093 (arg1)->SetRequestedLength(arg2);
12094 wxPyEndAllowThreads(__tstate);
12095 if (PyErr_Occurred()) SWIG_fail;
12096 }
12097 resultobj = SWIG_Py_Void();
12098 return resultobj;
12099 fail:
12100 return NULL;
12101 }
12102
12103
12104 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12105 PyObject *resultobj = 0;
12106 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12107 int result;
12108 void *argp1 = 0 ;
12109 int res1 = 0 ;
12110 PyObject *swig_obj[1] ;
12111
12112 if (!args) SWIG_fail;
12113 swig_obj[0] = args;
12114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12115 if (!SWIG_IsOK(res1)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12117 }
12118 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 resultobj = SWIG_From_int(static_cast< int >(result));
12126 return resultobj;
12127 fail:
12128 return NULL;
12129 }
12130
12131
12132 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12133 PyObject *resultobj = 0;
12134 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12135 int arg2 ;
12136 void *argp1 = 0 ;
12137 int res1 = 0 ;
12138 int val2 ;
12139 int ecode2 = 0 ;
12140 PyObject * obj0 = 0 ;
12141 PyObject * obj1 = 0 ;
12142 char * kwnames[] = {
12143 (char *) "self",(char *) "flags", NULL
12144 };
12145
12146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12148 if (!SWIG_IsOK(res1)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12150 }
12151 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12152 ecode2 = SWIG_AsVal_int(obj1, &val2);
12153 if (!SWIG_IsOK(ecode2)) {
12154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12155 }
12156 arg2 = static_cast< int >(val2);
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 (arg1)->SetFlags(arg2);
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 resultobj = SWIG_Py_Void();
12164 return resultobj;
12165 fail:
12166 return NULL;
12167 }
12168
12169
12170 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12171 PyObject *resultobj = 0;
12172 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12173 int result;
12174 void *argp1 = 0 ;
12175 int res1 = 0 ;
12176 PyObject *swig_obj[1] ;
12177
12178 if (!args) SWIG_fail;
12179 swig_obj[0] = args;
12180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12181 if (!SWIG_IsOK(res1)) {
12182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12183 }
12184 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12185 {
12186 PyThreadState* __tstate = wxPyBeginAllowThreads();
12187 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12188 wxPyEndAllowThreads(__tstate);
12189 if (PyErr_Occurred()) SWIG_fail;
12190 }
12191 resultobj = SWIG_From_int(static_cast< int >(result));
12192 return resultobj;
12193 fail:
12194 return NULL;
12195 }
12196
12197
12198 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12199 PyObject *resultobj = 0;
12200 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12201 wxSize *arg2 = 0 ;
12202 void *argp1 = 0 ;
12203 int res1 = 0 ;
12204 wxSize temp2 ;
12205 PyObject * obj0 = 0 ;
12206 PyObject * obj1 = 0 ;
12207 char * kwnames[] = {
12208 (char *) "self",(char *) "size", NULL
12209 };
12210
12211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12213 if (!SWIG_IsOK(res1)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12215 }
12216 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12217 {
12218 arg2 = &temp2;
12219 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12220 }
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 (arg1)->SetSize((wxSize const &)*arg2);
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 resultobj = SWIG_Py_Void();
12228 return resultobj;
12229 fail:
12230 return NULL;
12231 }
12232
12233
12234 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12235 PyObject *resultobj = 0;
12236 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12237 wxSize result;
12238 void *argp1 = 0 ;
12239 int res1 = 0 ;
12240 PyObject *swig_obj[1] ;
12241
12242 if (!args) SWIG_fail;
12243 swig_obj[0] = args;
12244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12245 if (!SWIG_IsOK(res1)) {
12246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12247 }
12248 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12256 return resultobj;
12257 fail:
12258 return NULL;
12259 }
12260
12261
12262 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12263 PyObject *resultobj = 0;
12264 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12265 wxLayoutOrientation arg2 ;
12266 void *argp1 = 0 ;
12267 int res1 = 0 ;
12268 int val2 ;
12269 int ecode2 = 0 ;
12270 PyObject * obj0 = 0 ;
12271 PyObject * obj1 = 0 ;
12272 char * kwnames[] = {
12273 (char *) "self",(char *) "orient", NULL
12274 };
12275
12276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12278 if (!SWIG_IsOK(res1)) {
12279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12280 }
12281 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12282 ecode2 = SWIG_AsVal_int(obj1, &val2);
12283 if (!SWIG_IsOK(ecode2)) {
12284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12285 }
12286 arg2 = static_cast< wxLayoutOrientation >(val2);
12287 {
12288 PyThreadState* __tstate = wxPyBeginAllowThreads();
12289 (arg1)->SetOrientation(arg2);
12290 wxPyEndAllowThreads(__tstate);
12291 if (PyErr_Occurred()) SWIG_fail;
12292 }
12293 resultobj = SWIG_Py_Void();
12294 return resultobj;
12295 fail:
12296 return NULL;
12297 }
12298
12299
12300 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12301 PyObject *resultobj = 0;
12302 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12303 wxLayoutOrientation result;
12304 void *argp1 = 0 ;
12305 int res1 = 0 ;
12306 PyObject *swig_obj[1] ;
12307
12308 if (!args) SWIG_fail;
12309 swig_obj[0] = args;
12310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12311 if (!SWIG_IsOK(res1)) {
12312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12313 }
12314 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12315 {
12316 PyThreadState* __tstate = wxPyBeginAllowThreads();
12317 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
12321 resultobj = SWIG_From_int(static_cast< int >(result));
12322 return resultobj;
12323 fail:
12324 return NULL;
12325 }
12326
12327
12328 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12329 PyObject *resultobj = 0;
12330 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12331 wxLayoutAlignment arg2 ;
12332 void *argp1 = 0 ;
12333 int res1 = 0 ;
12334 int val2 ;
12335 int ecode2 = 0 ;
12336 PyObject * obj0 = 0 ;
12337 PyObject * obj1 = 0 ;
12338 char * kwnames[] = {
12339 (char *) "self",(char *) "align", NULL
12340 };
12341
12342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12344 if (!SWIG_IsOK(res1)) {
12345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12346 }
12347 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12348 ecode2 = SWIG_AsVal_int(obj1, &val2);
12349 if (!SWIG_IsOK(ecode2)) {
12350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12351 }
12352 arg2 = static_cast< wxLayoutAlignment >(val2);
12353 {
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 (arg1)->SetAlignment(arg2);
12356 wxPyEndAllowThreads(__tstate);
12357 if (PyErr_Occurred()) SWIG_fail;
12358 }
12359 resultobj = SWIG_Py_Void();
12360 return resultobj;
12361 fail:
12362 return NULL;
12363 }
12364
12365
12366 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12367 PyObject *resultobj = 0;
12368 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12369 wxLayoutAlignment result;
12370 void *argp1 = 0 ;
12371 int res1 = 0 ;
12372 PyObject *swig_obj[1] ;
12373
12374 if (!args) SWIG_fail;
12375 swig_obj[0] = args;
12376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12377 if (!SWIG_IsOK(res1)) {
12378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12379 }
12380 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12381 {
12382 PyThreadState* __tstate = wxPyBeginAllowThreads();
12383 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12384 wxPyEndAllowThreads(__tstate);
12385 if (PyErr_Occurred()) SWIG_fail;
12386 }
12387 resultobj = SWIG_From_int(static_cast< int >(result));
12388 return resultobj;
12389 fail:
12390 return NULL;
12391 }
12392
12393
12394 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12395 PyObject *obj;
12396 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12397 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12398 return SWIG_Py_Void();
12399 }
12400
12401 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12402 return SWIG_Python_InitShadowInstance(args);
12403 }
12404
12405 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12406 PyObject *resultobj = 0;
12407 int arg1 = (int) 0 ;
12408 wxCalculateLayoutEvent *result = 0 ;
12409 int val1 ;
12410 int ecode1 = 0 ;
12411 PyObject * obj0 = 0 ;
12412 char * kwnames[] = {
12413 (char *) "id", NULL
12414 };
12415
12416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12417 if (obj0) {
12418 ecode1 = SWIG_AsVal_int(obj0, &val1);
12419 if (!SWIG_IsOK(ecode1)) {
12420 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12421 }
12422 arg1 = static_cast< int >(val1);
12423 }
12424 {
12425 PyThreadState* __tstate = wxPyBeginAllowThreads();
12426 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12431 return resultobj;
12432 fail:
12433 return NULL;
12434 }
12435
12436
12437 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12438 PyObject *resultobj = 0;
12439 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12440 int arg2 ;
12441 void *argp1 = 0 ;
12442 int res1 = 0 ;
12443 int val2 ;
12444 int ecode2 = 0 ;
12445 PyObject * obj0 = 0 ;
12446 PyObject * obj1 = 0 ;
12447 char * kwnames[] = {
12448 (char *) "self",(char *) "flags", NULL
12449 };
12450
12451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12453 if (!SWIG_IsOK(res1)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12455 }
12456 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12457 ecode2 = SWIG_AsVal_int(obj1, &val2);
12458 if (!SWIG_IsOK(ecode2)) {
12459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12460 }
12461 arg2 = static_cast< int >(val2);
12462 {
12463 PyThreadState* __tstate = wxPyBeginAllowThreads();
12464 (arg1)->SetFlags(arg2);
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 resultobj = SWIG_Py_Void();
12469 return resultobj;
12470 fail:
12471 return NULL;
12472 }
12473
12474
12475 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12476 PyObject *resultobj = 0;
12477 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12478 int result;
12479 void *argp1 = 0 ;
12480 int res1 = 0 ;
12481 PyObject *swig_obj[1] ;
12482
12483 if (!args) SWIG_fail;
12484 swig_obj[0] = args;
12485 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12486 if (!SWIG_IsOK(res1)) {
12487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12488 }
12489 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12490 {
12491 PyThreadState* __tstate = wxPyBeginAllowThreads();
12492 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12493 wxPyEndAllowThreads(__tstate);
12494 if (PyErr_Occurred()) SWIG_fail;
12495 }
12496 resultobj = SWIG_From_int(static_cast< int >(result));
12497 return resultobj;
12498 fail:
12499 return NULL;
12500 }
12501
12502
12503 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12504 PyObject *resultobj = 0;
12505 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12506 wxRect *arg2 = 0 ;
12507 void *argp1 = 0 ;
12508 int res1 = 0 ;
12509 wxRect temp2 ;
12510 PyObject * obj0 = 0 ;
12511 PyObject * obj1 = 0 ;
12512 char * kwnames[] = {
12513 (char *) "self",(char *) "rect", NULL
12514 };
12515
12516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12518 if (!SWIG_IsOK(res1)) {
12519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12520 }
12521 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12522 {
12523 arg2 = &temp2;
12524 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12525 }
12526 {
12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
12528 (arg1)->SetRect((wxRect const &)*arg2);
12529 wxPyEndAllowThreads(__tstate);
12530 if (PyErr_Occurred()) SWIG_fail;
12531 }
12532 resultobj = SWIG_Py_Void();
12533 return resultobj;
12534 fail:
12535 return NULL;
12536 }
12537
12538
12539 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12540 PyObject *resultobj = 0;
12541 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12542 wxRect result;
12543 void *argp1 = 0 ;
12544 int res1 = 0 ;
12545 PyObject *swig_obj[1] ;
12546
12547 if (!args) SWIG_fail;
12548 swig_obj[0] = args;
12549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12550 if (!SWIG_IsOK(res1)) {
12551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12552 }
12553 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12554 {
12555 PyThreadState* __tstate = wxPyBeginAllowThreads();
12556 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12557 wxPyEndAllowThreads(__tstate);
12558 if (PyErr_Occurred()) SWIG_fail;
12559 }
12560 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12561 return resultobj;
12562 fail:
12563 return NULL;
12564 }
12565
12566
12567 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12568 PyObject *obj;
12569 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12570 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12571 return SWIG_Py_Void();
12572 }
12573
12574 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12575 return SWIG_Python_InitShadowInstance(args);
12576 }
12577
12578 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj = 0;
12580 wxWindow *arg1 = (wxWindow *) 0 ;
12581 int arg2 = (int) -1 ;
12582 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12583 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12584 wxSize const &arg4_defvalue = wxDefaultSize ;
12585 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12586 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12587 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12588 wxString *arg6 = (wxString *) &arg6_defvalue ;
12589 wxSashLayoutWindow *result = 0 ;
12590 void *argp1 = 0 ;
12591 int res1 = 0 ;
12592 int val2 ;
12593 int ecode2 = 0 ;
12594 wxPoint temp3 ;
12595 wxSize temp4 ;
12596 long val5 ;
12597 int ecode5 = 0 ;
12598 bool temp6 = false ;
12599 PyObject * obj0 = 0 ;
12600 PyObject * obj1 = 0 ;
12601 PyObject * obj2 = 0 ;
12602 PyObject * obj3 = 0 ;
12603 PyObject * obj4 = 0 ;
12604 PyObject * obj5 = 0 ;
12605 char * kwnames[] = {
12606 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12607 };
12608
12609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12611 if (!SWIG_IsOK(res1)) {
12612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12613 }
12614 arg1 = reinterpret_cast< wxWindow * >(argp1);
12615 if (obj1) {
12616 ecode2 = SWIG_AsVal_int(obj1, &val2);
12617 if (!SWIG_IsOK(ecode2)) {
12618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12619 }
12620 arg2 = static_cast< int >(val2);
12621 }
12622 if (obj2) {
12623 {
12624 arg3 = &temp3;
12625 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12626 }
12627 }
12628 if (obj3) {
12629 {
12630 arg4 = &temp4;
12631 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12632 }
12633 }
12634 if (obj4) {
12635 ecode5 = SWIG_AsVal_long(obj4, &val5);
12636 if (!SWIG_IsOK(ecode5)) {
12637 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12638 }
12639 arg5 = static_cast< long >(val5);
12640 }
12641 if (obj5) {
12642 {
12643 arg6 = wxString_in_helper(obj5);
12644 if (arg6 == NULL) SWIG_fail;
12645 temp6 = true;
12646 }
12647 }
12648 {
12649 if (!wxPyCheckForApp()) SWIG_fail;
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12652 wxPyEndAllowThreads(__tstate);
12653 if (PyErr_Occurred()) SWIG_fail;
12654 }
12655 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12656 {
12657 if (temp6)
12658 delete arg6;
12659 }
12660 return resultobj;
12661 fail:
12662 {
12663 if (temp6)
12664 delete arg6;
12665 }
12666 return NULL;
12667 }
12668
12669
12670 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12671 PyObject *resultobj = 0;
12672 wxSashLayoutWindow *result = 0 ;
12673
12674 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12675 {
12676 if (!wxPyCheckForApp()) SWIG_fail;
12677 PyThreadState* __tstate = wxPyBeginAllowThreads();
12678 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12679 wxPyEndAllowThreads(__tstate);
12680 if (PyErr_Occurred()) SWIG_fail;
12681 }
12682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12683 return resultobj;
12684 fail:
12685 return NULL;
12686 }
12687
12688
12689 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12690 PyObject *resultobj = 0;
12691 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12692 wxWindow *arg2 = (wxWindow *) 0 ;
12693 int arg3 = (int) -1 ;
12694 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12695 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12696 wxSize const &arg5_defvalue = wxDefaultSize ;
12697 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12698 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12699 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12700 wxString *arg7 = (wxString *) &arg7_defvalue ;
12701 bool result;
12702 void *argp1 = 0 ;
12703 int res1 = 0 ;
12704 void *argp2 = 0 ;
12705 int res2 = 0 ;
12706 int val3 ;
12707 int ecode3 = 0 ;
12708 wxPoint temp4 ;
12709 wxSize temp5 ;
12710 long val6 ;
12711 int ecode6 = 0 ;
12712 bool temp7 = false ;
12713 PyObject * obj0 = 0 ;
12714 PyObject * obj1 = 0 ;
12715 PyObject * obj2 = 0 ;
12716 PyObject * obj3 = 0 ;
12717 PyObject * obj4 = 0 ;
12718 PyObject * obj5 = 0 ;
12719 PyObject * obj6 = 0 ;
12720 char * kwnames[] = {
12721 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12722 };
12723
12724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12726 if (!SWIG_IsOK(res1)) {
12727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12728 }
12729 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12730 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12731 if (!SWIG_IsOK(res2)) {
12732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12733 }
12734 arg2 = reinterpret_cast< wxWindow * >(argp2);
12735 if (obj2) {
12736 ecode3 = SWIG_AsVal_int(obj2, &val3);
12737 if (!SWIG_IsOK(ecode3)) {
12738 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12739 }
12740 arg3 = static_cast< int >(val3);
12741 }
12742 if (obj3) {
12743 {
12744 arg4 = &temp4;
12745 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12746 }
12747 }
12748 if (obj4) {
12749 {
12750 arg5 = &temp5;
12751 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12752 }
12753 }
12754 if (obj5) {
12755 ecode6 = SWIG_AsVal_long(obj5, &val6);
12756 if (!SWIG_IsOK(ecode6)) {
12757 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12758 }
12759 arg6 = static_cast< long >(val6);
12760 }
12761 if (obj6) {
12762 {
12763 arg7 = wxString_in_helper(obj6);
12764 if (arg7 == NULL) SWIG_fail;
12765 temp7 = true;
12766 }
12767 }
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12771 wxPyEndAllowThreads(__tstate);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 }
12774 {
12775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12776 }
12777 {
12778 if (temp7)
12779 delete arg7;
12780 }
12781 return resultobj;
12782 fail:
12783 {
12784 if (temp7)
12785 delete arg7;
12786 }
12787 return NULL;
12788 }
12789
12790
12791 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12792 PyObject *resultobj = 0;
12793 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12794 wxLayoutAlignment result;
12795 void *argp1 = 0 ;
12796 int res1 = 0 ;
12797 PyObject *swig_obj[1] ;
12798
12799 if (!args) SWIG_fail;
12800 swig_obj[0] = args;
12801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12802 if (!SWIG_IsOK(res1)) {
12803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12804 }
12805 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12806 {
12807 PyThreadState* __tstate = wxPyBeginAllowThreads();
12808 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12809 wxPyEndAllowThreads(__tstate);
12810 if (PyErr_Occurred()) SWIG_fail;
12811 }
12812 resultobj = SWIG_From_int(static_cast< int >(result));
12813 return resultobj;
12814 fail:
12815 return NULL;
12816 }
12817
12818
12819 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12820 PyObject *resultobj = 0;
12821 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12822 wxLayoutOrientation result;
12823 void *argp1 = 0 ;
12824 int res1 = 0 ;
12825 PyObject *swig_obj[1] ;
12826
12827 if (!args) SWIG_fail;
12828 swig_obj[0] = args;
12829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12830 if (!SWIG_IsOK(res1)) {
12831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12832 }
12833 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12834 {
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12837 wxPyEndAllowThreads(__tstate);
12838 if (PyErr_Occurred()) SWIG_fail;
12839 }
12840 resultobj = SWIG_From_int(static_cast< int >(result));
12841 return resultobj;
12842 fail:
12843 return NULL;
12844 }
12845
12846
12847 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12848 PyObject *resultobj = 0;
12849 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12850 wxLayoutAlignment arg2 ;
12851 void *argp1 = 0 ;
12852 int res1 = 0 ;
12853 int val2 ;
12854 int ecode2 = 0 ;
12855 PyObject * obj0 = 0 ;
12856 PyObject * obj1 = 0 ;
12857 char * kwnames[] = {
12858 (char *) "self",(char *) "alignment", NULL
12859 };
12860
12861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12863 if (!SWIG_IsOK(res1)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12865 }
12866 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12867 ecode2 = SWIG_AsVal_int(obj1, &val2);
12868 if (!SWIG_IsOK(ecode2)) {
12869 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12870 }
12871 arg2 = static_cast< wxLayoutAlignment >(val2);
12872 {
12873 PyThreadState* __tstate = wxPyBeginAllowThreads();
12874 (arg1)->SetAlignment(arg2);
12875 wxPyEndAllowThreads(__tstate);
12876 if (PyErr_Occurred()) SWIG_fail;
12877 }
12878 resultobj = SWIG_Py_Void();
12879 return resultobj;
12880 fail:
12881 return NULL;
12882 }
12883
12884
12885 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12886 PyObject *resultobj = 0;
12887 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12888 wxSize *arg2 = 0 ;
12889 void *argp1 = 0 ;
12890 int res1 = 0 ;
12891 wxSize temp2 ;
12892 PyObject * obj0 = 0 ;
12893 PyObject * obj1 = 0 ;
12894 char * kwnames[] = {
12895 (char *) "self",(char *) "size", NULL
12896 };
12897
12898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12900 if (!SWIG_IsOK(res1)) {
12901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12902 }
12903 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12904 {
12905 arg2 = &temp2;
12906 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12907 }
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 resultobj = SWIG_Py_Void();
12915 return resultobj;
12916 fail:
12917 return NULL;
12918 }
12919
12920
12921 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12922 PyObject *resultobj = 0;
12923 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12924 wxLayoutOrientation arg2 ;
12925 void *argp1 = 0 ;
12926 int res1 = 0 ;
12927 int val2 ;
12928 int ecode2 = 0 ;
12929 PyObject * obj0 = 0 ;
12930 PyObject * obj1 = 0 ;
12931 char * kwnames[] = {
12932 (char *) "self",(char *) "orientation", NULL
12933 };
12934
12935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12937 if (!SWIG_IsOK(res1)) {
12938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12939 }
12940 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12941 ecode2 = SWIG_AsVal_int(obj1, &val2);
12942 if (!SWIG_IsOK(ecode2)) {
12943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12944 }
12945 arg2 = static_cast< wxLayoutOrientation >(val2);
12946 {
12947 PyThreadState* __tstate = wxPyBeginAllowThreads();
12948 (arg1)->SetOrientation(arg2);
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 resultobj = SWIG_Py_Void();
12953 return resultobj;
12954 fail:
12955 return NULL;
12956 }
12957
12958
12959 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12960 PyObject *obj;
12961 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12962 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12963 return SWIG_Py_Void();
12964 }
12965
12966 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12967 return SWIG_Python_InitShadowInstance(args);
12968 }
12969
12970 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12971 PyObject *resultobj = 0;
12972 wxLayoutAlgorithm *result = 0 ;
12973
12974 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12975 {
12976 PyThreadState* __tstate = wxPyBeginAllowThreads();
12977 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12982 return resultobj;
12983 fail:
12984 return NULL;
12985 }
12986
12987
12988 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12989 PyObject *resultobj = 0;
12990 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12991 void *argp1 = 0 ;
12992 int res1 = 0 ;
12993 PyObject *swig_obj[1] ;
12994
12995 if (!args) SWIG_fail;
12996 swig_obj[0] = args;
12997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12998 if (!SWIG_IsOK(res1)) {
12999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13000 }
13001 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13002 {
13003 PyThreadState* __tstate = wxPyBeginAllowThreads();
13004 delete arg1;
13005
13006 wxPyEndAllowThreads(__tstate);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 }
13009 resultobj = SWIG_Py_Void();
13010 return resultobj;
13011 fail:
13012 return NULL;
13013 }
13014
13015
13016 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13017 PyObject *resultobj = 0;
13018 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13019 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13020 wxRect *arg3 = (wxRect *) NULL ;
13021 bool result;
13022 void *argp1 = 0 ;
13023 int res1 = 0 ;
13024 void *argp2 = 0 ;
13025 int res2 = 0 ;
13026 void *argp3 = 0 ;
13027 int res3 = 0 ;
13028 PyObject * obj0 = 0 ;
13029 PyObject * obj1 = 0 ;
13030 PyObject * obj2 = 0 ;
13031 char * kwnames[] = {
13032 (char *) "self",(char *) "frame",(char *) "rect", NULL
13033 };
13034
13035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13037 if (!SWIG_IsOK(res1)) {
13038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13039 }
13040 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13041 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
13042 if (!SWIG_IsOK(res2)) {
13043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13044 }
13045 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
13046 if (obj2) {
13047 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
13048 if (!SWIG_IsOK(res3)) {
13049 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13050 }
13051 arg3 = reinterpret_cast< wxRect * >(argp3);
13052 }
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 {
13060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13061 }
13062 return resultobj;
13063 fail:
13064 return NULL;
13065 }
13066
13067
13068 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13069 PyObject *resultobj = 0;
13070 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13071 wxFrame *arg2 = (wxFrame *) 0 ;
13072 wxWindow *arg3 = (wxWindow *) NULL ;
13073 bool result;
13074 void *argp1 = 0 ;
13075 int res1 = 0 ;
13076 void *argp2 = 0 ;
13077 int res2 = 0 ;
13078 void *argp3 = 0 ;
13079 int res3 = 0 ;
13080 PyObject * obj0 = 0 ;
13081 PyObject * obj1 = 0 ;
13082 PyObject * obj2 = 0 ;
13083 char * kwnames[] = {
13084 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13085 };
13086
13087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13089 if (!SWIG_IsOK(res1)) {
13090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13091 }
13092 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13093 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13094 if (!SWIG_IsOK(res2)) {
13095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13096 }
13097 arg2 = reinterpret_cast< wxFrame * >(argp2);
13098 if (obj2) {
13099 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13100 if (!SWIG_IsOK(res3)) {
13101 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13102 }
13103 arg3 = reinterpret_cast< wxWindow * >(argp3);
13104 }
13105 {
13106 PyThreadState* __tstate = wxPyBeginAllowThreads();
13107 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13108 wxPyEndAllowThreads(__tstate);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
13111 {
13112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13113 }
13114 return resultobj;
13115 fail:
13116 return NULL;
13117 }
13118
13119
13120 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13121 PyObject *resultobj = 0;
13122 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13123 wxWindow *arg2 = (wxWindow *) 0 ;
13124 wxWindow *arg3 = (wxWindow *) NULL ;
13125 bool result;
13126 void *argp1 = 0 ;
13127 int res1 = 0 ;
13128 void *argp2 = 0 ;
13129 int res2 = 0 ;
13130 void *argp3 = 0 ;
13131 int res3 = 0 ;
13132 PyObject * obj0 = 0 ;
13133 PyObject * obj1 = 0 ;
13134 PyObject * obj2 = 0 ;
13135 char * kwnames[] = {
13136 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13137 };
13138
13139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13141 if (!SWIG_IsOK(res1)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13143 }
13144 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13145 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13146 if (!SWIG_IsOK(res2)) {
13147 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13148 }
13149 arg2 = reinterpret_cast< wxWindow * >(argp2);
13150 if (obj2) {
13151 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13152 if (!SWIG_IsOK(res3)) {
13153 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13154 }
13155 arg3 = reinterpret_cast< wxWindow * >(argp3);
13156 }
13157 {
13158 PyThreadState* __tstate = wxPyBeginAllowThreads();
13159 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13160 wxPyEndAllowThreads(__tstate);
13161 if (PyErr_Occurred()) SWIG_fail;
13162 }
13163 {
13164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13165 }
13166 return resultobj;
13167 fail:
13168 return NULL;
13169 }
13170
13171
13172 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13173 PyObject *obj;
13174 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13175 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13176 return SWIG_Py_Void();
13177 }
13178
13179 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13180 return SWIG_Python_InitShadowInstance(args);
13181 }
13182
13183 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13184 PyObject *resultobj = 0;
13185 wxWindow *arg1 = (wxWindow *) 0 ;
13186 int arg2 = (int) wxBORDER_NONE ;
13187 wxPopupWindow *result = 0 ;
13188 void *argp1 = 0 ;
13189 int res1 = 0 ;
13190 int val2 ;
13191 int ecode2 = 0 ;
13192 PyObject * obj0 = 0 ;
13193 PyObject * obj1 = 0 ;
13194 char * kwnames[] = {
13195 (char *) "parent",(char *) "flags", NULL
13196 };
13197
13198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13200 if (!SWIG_IsOK(res1)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13202 }
13203 arg1 = reinterpret_cast< wxWindow * >(argp1);
13204 if (obj1) {
13205 ecode2 = SWIG_AsVal_int(obj1, &val2);
13206 if (!SWIG_IsOK(ecode2)) {
13207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13208 }
13209 arg2 = static_cast< int >(val2);
13210 }
13211 {
13212 if (!wxPyCheckForApp()) SWIG_fail;
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13219 return resultobj;
13220 fail:
13221 return NULL;
13222 }
13223
13224
13225 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13226 PyObject *resultobj = 0;
13227 wxPopupWindow *result = 0 ;
13228
13229 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13230 {
13231 if (!wxPyCheckForApp()) SWIG_fail;
13232 PyThreadState* __tstate = wxPyBeginAllowThreads();
13233 result = (wxPopupWindow *)new wxPopupWindow();
13234 wxPyEndAllowThreads(__tstate);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 }
13237 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13238 return resultobj;
13239 fail:
13240 return NULL;
13241 }
13242
13243
13244 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13245 PyObject *resultobj = 0;
13246 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13247 wxWindow *arg2 = (wxWindow *) 0 ;
13248 int arg3 = (int) wxBORDER_NONE ;
13249 bool result;
13250 void *argp1 = 0 ;
13251 int res1 = 0 ;
13252 void *argp2 = 0 ;
13253 int res2 = 0 ;
13254 int val3 ;
13255 int ecode3 = 0 ;
13256 PyObject * obj0 = 0 ;
13257 PyObject * obj1 = 0 ;
13258 PyObject * obj2 = 0 ;
13259 char * kwnames[] = {
13260 (char *) "self",(char *) "parent",(char *) "flags", NULL
13261 };
13262
13263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13265 if (!SWIG_IsOK(res1)) {
13266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13267 }
13268 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13269 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13270 if (!SWIG_IsOK(res2)) {
13271 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13272 }
13273 arg2 = reinterpret_cast< wxWindow * >(argp2);
13274 if (obj2) {
13275 ecode3 = SWIG_AsVal_int(obj2, &val3);
13276 if (!SWIG_IsOK(ecode3)) {
13277 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13278 }
13279 arg3 = static_cast< int >(val3);
13280 }
13281 {
13282 PyThreadState* __tstate = wxPyBeginAllowThreads();
13283 result = (bool)(arg1)->Create(arg2,arg3);
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 {
13288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13289 }
13290 return resultobj;
13291 fail:
13292 return NULL;
13293 }
13294
13295
13296 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13297 PyObject *resultobj = 0;
13298 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13299 wxPoint *arg2 = 0 ;
13300 wxSize *arg3 = 0 ;
13301 void *argp1 = 0 ;
13302 int res1 = 0 ;
13303 wxPoint temp2 ;
13304 wxSize temp3 ;
13305 PyObject * obj0 = 0 ;
13306 PyObject * obj1 = 0 ;
13307 PyObject * obj2 = 0 ;
13308 char * kwnames[] = {
13309 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13310 };
13311
13312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13314 if (!SWIG_IsOK(res1)) {
13315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13316 }
13317 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13318 {
13319 arg2 = &temp2;
13320 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13321 }
13322 {
13323 arg3 = &temp3;
13324 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13325 }
13326 {
13327 PyThreadState* __tstate = wxPyBeginAllowThreads();
13328 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13329 wxPyEndAllowThreads(__tstate);
13330 if (PyErr_Occurred()) SWIG_fail;
13331 }
13332 resultobj = SWIG_Py_Void();
13333 return resultobj;
13334 fail:
13335 return NULL;
13336 }
13337
13338
13339 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13340 PyObject *obj;
13341 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13342 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13343 return SWIG_Py_Void();
13344 }
13345
13346 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13347 return SWIG_Python_InitShadowInstance(args);
13348 }
13349
13350 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13351 PyObject *resultobj = 0;
13352 wxWindow *arg1 = (wxWindow *) 0 ;
13353 int arg2 = (int) wxBORDER_NONE ;
13354 wxPyPopupTransientWindow *result = 0 ;
13355 void *argp1 = 0 ;
13356 int res1 = 0 ;
13357 int val2 ;
13358 int ecode2 = 0 ;
13359 PyObject * obj0 = 0 ;
13360 PyObject * obj1 = 0 ;
13361 char * kwnames[] = {
13362 (char *) "parent",(char *) "style", NULL
13363 };
13364
13365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13367 if (!SWIG_IsOK(res1)) {
13368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13369 }
13370 arg1 = reinterpret_cast< wxWindow * >(argp1);
13371 if (obj1) {
13372 ecode2 = SWIG_AsVal_int(obj1, &val2);
13373 if (!SWIG_IsOK(ecode2)) {
13374 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13375 }
13376 arg2 = static_cast< int >(val2);
13377 }
13378 {
13379 if (!wxPyCheckForApp()) SWIG_fail;
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13382 wxPyEndAllowThreads(__tstate);
13383 if (PyErr_Occurred()) SWIG_fail;
13384 }
13385 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13386 return resultobj;
13387 fail:
13388 return NULL;
13389 }
13390
13391
13392 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13393 PyObject *resultobj = 0;
13394 wxPyPopupTransientWindow *result = 0 ;
13395
13396 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13397 {
13398 if (!wxPyCheckForApp()) SWIG_fail;
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13405 return resultobj;
13406 fail:
13407 return NULL;
13408 }
13409
13410
13411 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13412 PyObject *resultobj = 0;
13413 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13414 PyObject *arg2 = (PyObject *) 0 ;
13415 PyObject *arg3 = (PyObject *) 0 ;
13416 void *argp1 = 0 ;
13417 int res1 = 0 ;
13418 PyObject * obj0 = 0 ;
13419 PyObject * obj1 = 0 ;
13420 PyObject * obj2 = 0 ;
13421 char * kwnames[] = {
13422 (char *) "self",(char *) "self",(char *) "_class", NULL
13423 };
13424
13425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13427 if (!SWIG_IsOK(res1)) {
13428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13429 }
13430 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13431 arg2 = obj1;
13432 arg3 = obj2;
13433 {
13434 PyThreadState* __tstate = wxPyBeginAllowThreads();
13435 (arg1)->_setCallbackInfo(arg2,arg3);
13436 wxPyEndAllowThreads(__tstate);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 }
13439 resultobj = SWIG_Py_Void();
13440 return resultobj;
13441 fail:
13442 return NULL;
13443 }
13444
13445
13446 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13447 PyObject *resultobj = 0;
13448 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13449 wxWindow *arg2 = (wxWindow *) NULL ;
13450 void *argp1 = 0 ;
13451 int res1 = 0 ;
13452 void *argp2 = 0 ;
13453 int res2 = 0 ;
13454 PyObject * obj0 = 0 ;
13455 PyObject * obj1 = 0 ;
13456 char * kwnames[] = {
13457 (char *) "self",(char *) "focus", NULL
13458 };
13459
13460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13462 if (!SWIG_IsOK(res1)) {
13463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13464 }
13465 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13466 if (obj1) {
13467 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13468 if (!SWIG_IsOK(res2)) {
13469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13470 }
13471 arg2 = reinterpret_cast< wxWindow * >(argp2);
13472 }
13473 {
13474 PyThreadState* __tstate = wxPyBeginAllowThreads();
13475 (arg1)->Popup(arg2);
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
13479 resultobj = SWIG_Py_Void();
13480 return resultobj;
13481 fail:
13482 return NULL;
13483 }
13484
13485
13486 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13487 PyObject *resultobj = 0;
13488 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13489 void *argp1 = 0 ;
13490 int res1 = 0 ;
13491 PyObject *swig_obj[1] ;
13492
13493 if (!args) SWIG_fail;
13494 swig_obj[0] = args;
13495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13496 if (!SWIG_IsOK(res1)) {
13497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13498 }
13499 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 (arg1)->Dismiss();
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 resultobj = SWIG_Py_Void();
13507 return resultobj;
13508 fail:
13509 return NULL;
13510 }
13511
13512
13513 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13514 PyObject *obj;
13515 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13516 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13517 return SWIG_Py_Void();
13518 }
13519
13520 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13521 return SWIG_Python_InitShadowInstance(args);
13522 }
13523
13524 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13525 PyObject *resultobj = 0;
13526 wxWindow *arg1 = (wxWindow *) 0 ;
13527 wxString *arg2 = 0 ;
13528 int arg3 = (int) 100 ;
13529 wxRect *arg4 = (wxRect *) NULL ;
13530 wxTipWindow *result = 0 ;
13531 void *argp1 = 0 ;
13532 int res1 = 0 ;
13533 bool temp2 = false ;
13534 int val3 ;
13535 int ecode3 = 0 ;
13536 void *argp4 = 0 ;
13537 int res4 = 0 ;
13538 PyObject * obj0 = 0 ;
13539 PyObject * obj1 = 0 ;
13540 PyObject * obj2 = 0 ;
13541 PyObject * obj3 = 0 ;
13542 char * kwnames[] = {
13543 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13544 };
13545
13546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13548 if (!SWIG_IsOK(res1)) {
13549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13550 }
13551 arg1 = reinterpret_cast< wxWindow * >(argp1);
13552 {
13553 arg2 = wxString_in_helper(obj1);
13554 if (arg2 == NULL) SWIG_fail;
13555 temp2 = true;
13556 }
13557 if (obj2) {
13558 ecode3 = SWIG_AsVal_int(obj2, &val3);
13559 if (!SWIG_IsOK(ecode3)) {
13560 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13561 }
13562 arg3 = static_cast< int >(val3);
13563 }
13564 if (obj3) {
13565 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13566 if (!SWIG_IsOK(res4)) {
13567 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13568 }
13569 arg4 = reinterpret_cast< wxRect * >(argp4);
13570 }
13571 {
13572 if (!wxPyCheckForApp()) SWIG_fail;
13573 PyThreadState* __tstate = wxPyBeginAllowThreads();
13574 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13579 {
13580 if (temp2)
13581 delete arg2;
13582 }
13583 return resultobj;
13584 fail:
13585 {
13586 if (temp2)
13587 delete arg2;
13588 }
13589 return NULL;
13590 }
13591
13592
13593 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13594 PyObject *resultobj = 0;
13595 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13596 wxRect *arg2 = 0 ;
13597 void *argp1 = 0 ;
13598 int res1 = 0 ;
13599 wxRect temp2 ;
13600 PyObject * obj0 = 0 ;
13601 PyObject * obj1 = 0 ;
13602 char * kwnames[] = {
13603 (char *) "self",(char *) "rectBound", NULL
13604 };
13605
13606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13608 if (!SWIG_IsOK(res1)) {
13609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13610 }
13611 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13612 {
13613 arg2 = &temp2;
13614 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13615 }
13616 {
13617 PyThreadState* __tstate = wxPyBeginAllowThreads();
13618 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13619 wxPyEndAllowThreads(__tstate);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 resultobj = SWIG_Py_Void();
13623 return resultobj;
13624 fail:
13625 return NULL;
13626 }
13627
13628
13629 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13630 PyObject *resultobj = 0;
13631 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13632 void *argp1 = 0 ;
13633 int res1 = 0 ;
13634 PyObject *swig_obj[1] ;
13635
13636 if (!args) SWIG_fail;
13637 swig_obj[0] = args;
13638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13639 if (!SWIG_IsOK(res1)) {
13640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13641 }
13642 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13643 {
13644 PyThreadState* __tstate = wxPyBeginAllowThreads();
13645 (arg1)->Close();
13646 wxPyEndAllowThreads(__tstate);
13647 if (PyErr_Occurred()) SWIG_fail;
13648 }
13649 resultobj = SWIG_Py_Void();
13650 return resultobj;
13651 fail:
13652 return NULL;
13653 }
13654
13655
13656 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13657 PyObject *obj;
13658 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13659 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13660 return SWIG_Py_Void();
13661 }
13662
13663 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13664 return SWIG_Python_InitShadowInstance(args);
13665 }
13666
13667 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13668 PyObject *resultobj = 0;
13669 wxWindow *arg1 = (wxWindow *) 0 ;
13670 int arg2 = (int) wxID_ANY ;
13671 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13672 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13673 wxSize const &arg4_defvalue = wxDefaultSize ;
13674 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13675 long arg5 = (long) 0 ;
13676 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13677 wxString *arg6 = (wxString *) &arg6_defvalue ;
13678 wxPyVScrolledWindow *result = 0 ;
13679 void *argp1 = 0 ;
13680 int res1 = 0 ;
13681 int val2 ;
13682 int ecode2 = 0 ;
13683 wxPoint temp3 ;
13684 wxSize temp4 ;
13685 long val5 ;
13686 int ecode5 = 0 ;
13687 bool temp6 = false ;
13688 PyObject * obj0 = 0 ;
13689 PyObject * obj1 = 0 ;
13690 PyObject * obj2 = 0 ;
13691 PyObject * obj3 = 0 ;
13692 PyObject * obj4 = 0 ;
13693 PyObject * obj5 = 0 ;
13694 char * kwnames[] = {
13695 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13696 };
13697
13698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13700 if (!SWIG_IsOK(res1)) {
13701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13702 }
13703 arg1 = reinterpret_cast< wxWindow * >(argp1);
13704 if (obj1) {
13705 ecode2 = SWIG_AsVal_int(obj1, &val2);
13706 if (!SWIG_IsOK(ecode2)) {
13707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13708 }
13709 arg2 = static_cast< int >(val2);
13710 }
13711 if (obj2) {
13712 {
13713 arg3 = &temp3;
13714 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13715 }
13716 }
13717 if (obj3) {
13718 {
13719 arg4 = &temp4;
13720 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13721 }
13722 }
13723 if (obj4) {
13724 ecode5 = SWIG_AsVal_long(obj4, &val5);
13725 if (!SWIG_IsOK(ecode5)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13727 }
13728 arg5 = static_cast< long >(val5);
13729 }
13730 if (obj5) {
13731 {
13732 arg6 = wxString_in_helper(obj5);
13733 if (arg6 == NULL) SWIG_fail;
13734 temp6 = true;
13735 }
13736 }
13737 {
13738 if (!wxPyCheckForApp()) SWIG_fail;
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13741 wxPyEndAllowThreads(__tstate);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13745 {
13746 if (temp6)
13747 delete arg6;
13748 }
13749 return resultobj;
13750 fail:
13751 {
13752 if (temp6)
13753 delete arg6;
13754 }
13755 return NULL;
13756 }
13757
13758
13759 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13760 PyObject *resultobj = 0;
13761 wxPyVScrolledWindow *result = 0 ;
13762
13763 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13764 {
13765 if (!wxPyCheckForApp()) SWIG_fail;
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13772 return resultobj;
13773 fail:
13774 return NULL;
13775 }
13776
13777
13778 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13779 PyObject *resultobj = 0;
13780 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13781 PyObject *arg2 = (PyObject *) 0 ;
13782 PyObject *arg3 = (PyObject *) 0 ;
13783 void *argp1 = 0 ;
13784 int res1 = 0 ;
13785 PyObject * obj0 = 0 ;
13786 PyObject * obj1 = 0 ;
13787 PyObject * obj2 = 0 ;
13788 char * kwnames[] = {
13789 (char *) "self",(char *) "self",(char *) "_class", NULL
13790 };
13791
13792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13794 if (!SWIG_IsOK(res1)) {
13795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13796 }
13797 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13798 arg2 = obj1;
13799 arg3 = obj2;
13800 {
13801 PyThreadState* __tstate = wxPyBeginAllowThreads();
13802 (arg1)->_setCallbackInfo(arg2,arg3);
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
13806 resultobj = SWIG_Py_Void();
13807 return resultobj;
13808 fail:
13809 return NULL;
13810 }
13811
13812
13813 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13814 PyObject *resultobj = 0;
13815 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13816 wxWindow *arg2 = (wxWindow *) 0 ;
13817 int arg3 = (int) wxID_ANY ;
13818 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13819 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13820 wxSize const &arg5_defvalue = wxDefaultSize ;
13821 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13822 long arg6 = (long) 0 ;
13823 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13824 wxString *arg7 = (wxString *) &arg7_defvalue ;
13825 bool result;
13826 void *argp1 = 0 ;
13827 int res1 = 0 ;
13828 void *argp2 = 0 ;
13829 int res2 = 0 ;
13830 int val3 ;
13831 int ecode3 = 0 ;
13832 wxPoint temp4 ;
13833 wxSize temp5 ;
13834 long val6 ;
13835 int ecode6 = 0 ;
13836 bool temp7 = false ;
13837 PyObject * obj0 = 0 ;
13838 PyObject * obj1 = 0 ;
13839 PyObject * obj2 = 0 ;
13840 PyObject * obj3 = 0 ;
13841 PyObject * obj4 = 0 ;
13842 PyObject * obj5 = 0 ;
13843 PyObject * obj6 = 0 ;
13844 char * kwnames[] = {
13845 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13846 };
13847
13848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13850 if (!SWIG_IsOK(res1)) {
13851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13852 }
13853 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13854 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13855 if (!SWIG_IsOK(res2)) {
13856 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13857 }
13858 arg2 = reinterpret_cast< wxWindow * >(argp2);
13859 if (obj2) {
13860 ecode3 = SWIG_AsVal_int(obj2, &val3);
13861 if (!SWIG_IsOK(ecode3)) {
13862 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13863 }
13864 arg3 = static_cast< int >(val3);
13865 }
13866 if (obj3) {
13867 {
13868 arg4 = &temp4;
13869 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13870 }
13871 }
13872 if (obj4) {
13873 {
13874 arg5 = &temp5;
13875 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13876 }
13877 }
13878 if (obj5) {
13879 ecode6 = SWIG_AsVal_long(obj5, &val6);
13880 if (!SWIG_IsOK(ecode6)) {
13881 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13882 }
13883 arg6 = static_cast< long >(val6);
13884 }
13885 if (obj6) {
13886 {
13887 arg7 = wxString_in_helper(obj6);
13888 if (arg7 == NULL) SWIG_fail;
13889 temp7 = true;
13890 }
13891 }
13892 {
13893 PyThreadState* __tstate = wxPyBeginAllowThreads();
13894 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13895 wxPyEndAllowThreads(__tstate);
13896 if (PyErr_Occurred()) SWIG_fail;
13897 }
13898 {
13899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13900 }
13901 {
13902 if (temp7)
13903 delete arg7;
13904 }
13905 return resultobj;
13906 fail:
13907 {
13908 if (temp7)
13909 delete arg7;
13910 }
13911 return NULL;
13912 }
13913
13914
13915 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13916 PyObject *resultobj = 0;
13917 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13918 size_t arg2 ;
13919 void *argp1 = 0 ;
13920 int res1 = 0 ;
13921 size_t val2 ;
13922 int ecode2 = 0 ;
13923 PyObject * obj0 = 0 ;
13924 PyObject * obj1 = 0 ;
13925 char * kwnames[] = {
13926 (char *) "self",(char *) "count", NULL
13927 };
13928
13929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13931 if (!SWIG_IsOK(res1)) {
13932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13933 }
13934 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13935 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13936 if (!SWIG_IsOK(ecode2)) {
13937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13938 }
13939 arg2 = static_cast< size_t >(val2);
13940 {
13941 PyThreadState* __tstate = wxPyBeginAllowThreads();
13942 (arg1)->SetLineCount(arg2);
13943 wxPyEndAllowThreads(__tstate);
13944 if (PyErr_Occurred()) SWIG_fail;
13945 }
13946 resultobj = SWIG_Py_Void();
13947 return resultobj;
13948 fail:
13949 return NULL;
13950 }
13951
13952
13953 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13954 PyObject *resultobj = 0;
13955 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13956 size_t arg2 ;
13957 bool result;
13958 void *argp1 = 0 ;
13959 int res1 = 0 ;
13960 size_t val2 ;
13961 int ecode2 = 0 ;
13962 PyObject * obj0 = 0 ;
13963 PyObject * obj1 = 0 ;
13964 char * kwnames[] = {
13965 (char *) "self",(char *) "line", NULL
13966 };
13967
13968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13970 if (!SWIG_IsOK(res1)) {
13971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13972 }
13973 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13974 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13975 if (!SWIG_IsOK(ecode2)) {
13976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13977 }
13978 arg2 = static_cast< size_t >(val2);
13979 {
13980 PyThreadState* __tstate = wxPyBeginAllowThreads();
13981 result = (bool)(arg1)->ScrollToLine(arg2);
13982 wxPyEndAllowThreads(__tstate);
13983 if (PyErr_Occurred()) SWIG_fail;
13984 }
13985 {
13986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13987 }
13988 return resultobj;
13989 fail:
13990 return NULL;
13991 }
13992
13993
13994 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13995 PyObject *resultobj = 0;
13996 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13997 size_t arg2 ;
13998 void *argp1 = 0 ;
13999 int res1 = 0 ;
14000 size_t val2 ;
14001 int ecode2 = 0 ;
14002 PyObject * obj0 = 0 ;
14003 PyObject * obj1 = 0 ;
14004 char * kwnames[] = {
14005 (char *) "self",(char *) "line", NULL
14006 };
14007
14008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
14009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14010 if (!SWIG_IsOK(res1)) {
14011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14012 }
14013 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14014 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14015 if (!SWIG_IsOK(ecode2)) {
14016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14017 }
14018 arg2 = static_cast< size_t >(val2);
14019 {
14020 PyThreadState* __tstate = wxPyBeginAllowThreads();
14021 (arg1)->RefreshLine(arg2);
14022 wxPyEndAllowThreads(__tstate);
14023 if (PyErr_Occurred()) SWIG_fail;
14024 }
14025 resultobj = SWIG_Py_Void();
14026 return resultobj;
14027 fail:
14028 return NULL;
14029 }
14030
14031
14032 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14033 PyObject *resultobj = 0;
14034 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14035 size_t arg2 ;
14036 size_t arg3 ;
14037 void *argp1 = 0 ;
14038 int res1 = 0 ;
14039 size_t val2 ;
14040 int ecode2 = 0 ;
14041 size_t val3 ;
14042 int ecode3 = 0 ;
14043 PyObject * obj0 = 0 ;
14044 PyObject * obj1 = 0 ;
14045 PyObject * obj2 = 0 ;
14046 char * kwnames[] = {
14047 (char *) "self",(char *) "from",(char *) "to", NULL
14048 };
14049
14050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14052 if (!SWIG_IsOK(res1)) {
14053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14054 }
14055 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14056 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14057 if (!SWIG_IsOK(ecode2)) {
14058 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14059 }
14060 arg2 = static_cast< size_t >(val2);
14061 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14062 if (!SWIG_IsOK(ecode3)) {
14063 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14064 }
14065 arg3 = static_cast< size_t >(val3);
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 (arg1)->RefreshLines(arg2,arg3);
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_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14080 PyObject *resultobj = 0;
14081 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14082 int arg2 ;
14083 int arg3 ;
14084 int result;
14085 void *argp1 = 0 ;
14086 int res1 = 0 ;
14087 int val2 ;
14088 int ecode2 = 0 ;
14089 int val3 ;
14090 int ecode3 = 0 ;
14091 PyObject * obj0 = 0 ;
14092 PyObject * obj1 = 0 ;
14093 PyObject * obj2 = 0 ;
14094 char * kwnames[] = {
14095 (char *) "self",(char *) "x",(char *) "y", NULL
14096 };
14097
14098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14100 if (!SWIG_IsOK(res1)) {
14101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14102 }
14103 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14104 ecode2 = SWIG_AsVal_int(obj1, &val2);
14105 if (!SWIG_IsOK(ecode2)) {
14106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14107 }
14108 arg2 = static_cast< int >(val2);
14109 ecode3 = SWIG_AsVal_int(obj2, &val3);
14110 if (!SWIG_IsOK(ecode3)) {
14111 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14112 }
14113 arg3 = static_cast< int >(val3);
14114 {
14115 PyThreadState* __tstate = wxPyBeginAllowThreads();
14116 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14117 wxPyEndAllowThreads(__tstate);
14118 if (PyErr_Occurred()) SWIG_fail;
14119 }
14120 resultobj = SWIG_From_int(static_cast< int >(result));
14121 return resultobj;
14122 fail:
14123 return NULL;
14124 }
14125
14126
14127 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14128 PyObject *resultobj = 0;
14129 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14130 wxPoint *arg2 = 0 ;
14131 int result;
14132 void *argp1 = 0 ;
14133 int res1 = 0 ;
14134 wxPoint temp2 ;
14135 PyObject * obj0 = 0 ;
14136 PyObject * obj1 = 0 ;
14137 char * kwnames[] = {
14138 (char *) "self",(char *) "pt", NULL
14139 };
14140
14141 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14142 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14143 if (!SWIG_IsOK(res1)) {
14144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14145 }
14146 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14147 {
14148 arg2 = &temp2;
14149 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14150 }
14151 {
14152 PyThreadState* __tstate = wxPyBeginAllowThreads();
14153 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14154 wxPyEndAllowThreads(__tstate);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 }
14157 resultobj = SWIG_From_int(static_cast< int >(result));
14158 return resultobj;
14159 fail:
14160 return NULL;
14161 }
14162
14163
14164 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14165 PyObject *resultobj = 0;
14166 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14167 void *argp1 = 0 ;
14168 int res1 = 0 ;
14169 PyObject *swig_obj[1] ;
14170
14171 if (!args) SWIG_fail;
14172 swig_obj[0] = args;
14173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14174 if (!SWIG_IsOK(res1)) {
14175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14176 }
14177 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14178 {
14179 PyThreadState* __tstate = wxPyBeginAllowThreads();
14180 (arg1)->RefreshAll();
14181 wxPyEndAllowThreads(__tstate);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 }
14184 resultobj = SWIG_Py_Void();
14185 return resultobj;
14186 fail:
14187 return NULL;
14188 }
14189
14190
14191 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14192 PyObject *resultobj = 0;
14193 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14194 size_t result;
14195 void *argp1 = 0 ;
14196 int res1 = 0 ;
14197 PyObject *swig_obj[1] ;
14198
14199 if (!args) SWIG_fail;
14200 swig_obj[0] = args;
14201 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14202 if (!SWIG_IsOK(res1)) {
14203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14204 }
14205 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14206 {
14207 PyThreadState* __tstate = wxPyBeginAllowThreads();
14208 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
14212 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14213 return resultobj;
14214 fail:
14215 return NULL;
14216 }
14217
14218
14219 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14220 PyObject *resultobj = 0;
14221 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14222 size_t result;
14223 void *argp1 = 0 ;
14224 int res1 = 0 ;
14225 PyObject *swig_obj[1] ;
14226
14227 if (!args) SWIG_fail;
14228 swig_obj[0] = args;
14229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14230 if (!SWIG_IsOK(res1)) {
14231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14232 }
14233 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14234 {
14235 PyThreadState* __tstate = wxPyBeginAllowThreads();
14236 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
14240 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14241 return resultobj;
14242 fail:
14243 return NULL;
14244 }
14245
14246
14247 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14248 PyObject *resultobj = 0;
14249 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14250 size_t result;
14251 void *argp1 = 0 ;
14252 int res1 = 0 ;
14253 PyObject *swig_obj[1] ;
14254
14255 if (!args) SWIG_fail;
14256 swig_obj[0] = args;
14257 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14258 if (!SWIG_IsOK(res1)) {
14259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14260 }
14261 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14262 {
14263 PyThreadState* __tstate = wxPyBeginAllowThreads();
14264 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14265 wxPyEndAllowThreads(__tstate);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
14268 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14269 return resultobj;
14270 fail:
14271 return NULL;
14272 }
14273
14274
14275 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14276 PyObject *resultobj = 0;
14277 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14278 size_t arg2 ;
14279 bool result;
14280 void *argp1 = 0 ;
14281 int res1 = 0 ;
14282 size_t val2 ;
14283 int ecode2 = 0 ;
14284 PyObject * obj0 = 0 ;
14285 PyObject * obj1 = 0 ;
14286 char * kwnames[] = {
14287 (char *) "self",(char *) "line", NULL
14288 };
14289
14290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14292 if (!SWIG_IsOK(res1)) {
14293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14294 }
14295 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14296 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14297 if (!SWIG_IsOK(ecode2)) {
14298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14299 }
14300 arg2 = static_cast< size_t >(val2);
14301 {
14302 PyThreadState* __tstate = wxPyBeginAllowThreads();
14303 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 {
14308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14309 }
14310 return resultobj;
14311 fail:
14312 return NULL;
14313 }
14314
14315
14316 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14317 PyObject *resultobj = 0;
14318 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14319 size_t result;
14320 void *argp1 = 0 ;
14321 int res1 = 0 ;
14322 PyObject *swig_obj[1] ;
14323
14324 if (!args) SWIG_fail;
14325 swig_obj[0] = args;
14326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14327 if (!SWIG_IsOK(res1)) {
14328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14329 }
14330 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14331 {
14332 PyThreadState* __tstate = wxPyBeginAllowThreads();
14333 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14338 return resultobj;
14339 fail:
14340 return NULL;
14341 }
14342
14343
14344 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14345 PyObject *resultobj = 0;
14346 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14347 size_t result;
14348 void *argp1 = 0 ;
14349 int res1 = 0 ;
14350 PyObject *swig_obj[1] ;
14351
14352 if (!args) SWIG_fail;
14353 swig_obj[0] = args;
14354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14355 if (!SWIG_IsOK(res1)) {
14356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14357 }
14358 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14359 {
14360 PyThreadState* __tstate = wxPyBeginAllowThreads();
14361 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14366 return resultobj;
14367 fail:
14368 return NULL;
14369 }
14370
14371
14372 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14373 PyObject *resultobj = 0;
14374 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14375 size_t arg2 ;
14376 bool arg3 = (bool) false ;
14377 size_t result;
14378 void *argp1 = 0 ;
14379 int res1 = 0 ;
14380 size_t val2 ;
14381 int ecode2 = 0 ;
14382 bool val3 ;
14383 int ecode3 = 0 ;
14384 PyObject * obj0 = 0 ;
14385 PyObject * obj1 = 0 ;
14386 PyObject * obj2 = 0 ;
14387 char * kwnames[] = {
14388 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14389 };
14390
14391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14393 if (!SWIG_IsOK(res1)) {
14394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14395 }
14396 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14397 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14398 if (!SWIG_IsOK(ecode2)) {
14399 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14400 }
14401 arg2 = static_cast< size_t >(val2);
14402 if (obj2) {
14403 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14404 if (!SWIG_IsOK(ecode3)) {
14405 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14406 }
14407 arg3 = static_cast< bool >(val3);
14408 }
14409 {
14410 PyThreadState* __tstate = wxPyBeginAllowThreads();
14411 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14412 wxPyEndAllowThreads(__tstate);
14413 if (PyErr_Occurred()) SWIG_fail;
14414 }
14415 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14416 return resultobj;
14417 fail:
14418 return NULL;
14419 }
14420
14421
14422 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14423 PyObject *resultobj = 0;
14424 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14425 size_t arg2 ;
14426 size_t arg3 ;
14427 int result;
14428 void *argp1 = 0 ;
14429 int res1 = 0 ;
14430 size_t val2 ;
14431 int ecode2 = 0 ;
14432 size_t val3 ;
14433 int ecode3 = 0 ;
14434 PyObject * obj0 = 0 ;
14435 PyObject * obj1 = 0 ;
14436 PyObject * obj2 = 0 ;
14437 char * kwnames[] = {
14438 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14439 };
14440
14441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14443 if (!SWIG_IsOK(res1)) {
14444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14445 }
14446 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14447 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14448 if (!SWIG_IsOK(ecode2)) {
14449 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14450 }
14451 arg2 = static_cast< size_t >(val2);
14452 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14453 if (!SWIG_IsOK(ecode3)) {
14454 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14455 }
14456 arg3 = static_cast< size_t >(val3);
14457 {
14458 PyThreadState* __tstate = wxPyBeginAllowThreads();
14459 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14460 wxPyEndAllowThreads(__tstate);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 resultobj = SWIG_From_int(static_cast< int >(result));
14464 return resultobj;
14465 fail:
14466 return NULL;
14467 }
14468
14469
14470 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14471 PyObject *obj;
14472 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14473 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14474 return SWIG_Py_Void();
14475 }
14476
14477 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14478 return SWIG_Python_InitShadowInstance(args);
14479 }
14480
14481 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14482 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14483 return 1;
14484 }
14485
14486
14487 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14488 PyObject *pyobj = 0;
14489
14490 {
14491 #if wxUSE_UNICODE
14492 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14493 #else
14494 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14495 #endif
14496 }
14497 return pyobj;
14498 }
14499
14500
14501 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14502 PyObject *resultobj = 0;
14503 wxWindow *arg1 = (wxWindow *) 0 ;
14504 int arg2 = (int) wxID_ANY ;
14505 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14506 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14507 wxSize const &arg4_defvalue = wxDefaultSize ;
14508 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14509 long arg5 = (long) 0 ;
14510 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14511 wxString *arg6 = (wxString *) &arg6_defvalue ;
14512 wxPyVListBox *result = 0 ;
14513 void *argp1 = 0 ;
14514 int res1 = 0 ;
14515 int val2 ;
14516 int ecode2 = 0 ;
14517 wxPoint temp3 ;
14518 wxSize temp4 ;
14519 long val5 ;
14520 int ecode5 = 0 ;
14521 bool temp6 = false ;
14522 PyObject * obj0 = 0 ;
14523 PyObject * obj1 = 0 ;
14524 PyObject * obj2 = 0 ;
14525 PyObject * obj3 = 0 ;
14526 PyObject * obj4 = 0 ;
14527 PyObject * obj5 = 0 ;
14528 char * kwnames[] = {
14529 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14530 };
14531
14532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14534 if (!SWIG_IsOK(res1)) {
14535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14536 }
14537 arg1 = reinterpret_cast< wxWindow * >(argp1);
14538 if (obj1) {
14539 ecode2 = SWIG_AsVal_int(obj1, &val2);
14540 if (!SWIG_IsOK(ecode2)) {
14541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14542 }
14543 arg2 = static_cast< int >(val2);
14544 }
14545 if (obj2) {
14546 {
14547 arg3 = &temp3;
14548 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14549 }
14550 }
14551 if (obj3) {
14552 {
14553 arg4 = &temp4;
14554 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14555 }
14556 }
14557 if (obj4) {
14558 ecode5 = SWIG_AsVal_long(obj4, &val5);
14559 if (!SWIG_IsOK(ecode5)) {
14560 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14561 }
14562 arg5 = static_cast< long >(val5);
14563 }
14564 if (obj5) {
14565 {
14566 arg6 = wxString_in_helper(obj5);
14567 if (arg6 == NULL) SWIG_fail;
14568 temp6 = true;
14569 }
14570 }
14571 {
14572 if (!wxPyCheckForApp()) SWIG_fail;
14573 PyThreadState* __tstate = wxPyBeginAllowThreads();
14574 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14575 wxPyEndAllowThreads(__tstate);
14576 if (PyErr_Occurred()) SWIG_fail;
14577 }
14578 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14579 {
14580 if (temp6)
14581 delete arg6;
14582 }
14583 return resultobj;
14584 fail:
14585 {
14586 if (temp6)
14587 delete arg6;
14588 }
14589 return NULL;
14590 }
14591
14592
14593 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14594 PyObject *resultobj = 0;
14595 wxPyVListBox *result = 0 ;
14596
14597 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14598 {
14599 if (!wxPyCheckForApp()) SWIG_fail;
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 result = (wxPyVListBox *)new wxPyVListBox();
14602 wxPyEndAllowThreads(__tstate);
14603 if (PyErr_Occurred()) SWIG_fail;
14604 }
14605 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14606 return resultobj;
14607 fail:
14608 return NULL;
14609 }
14610
14611
14612 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14613 PyObject *resultobj = 0;
14614 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14615 PyObject *arg2 = (PyObject *) 0 ;
14616 PyObject *arg3 = (PyObject *) 0 ;
14617 void *argp1 = 0 ;
14618 int res1 = 0 ;
14619 PyObject * obj0 = 0 ;
14620 PyObject * obj1 = 0 ;
14621 PyObject * obj2 = 0 ;
14622 char * kwnames[] = {
14623 (char *) "self",(char *) "self",(char *) "_class", NULL
14624 };
14625
14626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14628 if (!SWIG_IsOK(res1)) {
14629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14630 }
14631 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14632 arg2 = obj1;
14633 arg3 = obj2;
14634 {
14635 PyThreadState* __tstate = wxPyBeginAllowThreads();
14636 (arg1)->_setCallbackInfo(arg2,arg3);
14637 wxPyEndAllowThreads(__tstate);
14638 if (PyErr_Occurred()) SWIG_fail;
14639 }
14640 resultobj = SWIG_Py_Void();
14641 return resultobj;
14642 fail:
14643 return NULL;
14644 }
14645
14646
14647 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj = 0;
14649 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14650 wxWindow *arg2 = (wxWindow *) 0 ;
14651 int arg3 = (int) wxID_ANY ;
14652 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14653 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14654 wxSize const &arg5_defvalue = wxDefaultSize ;
14655 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14656 long arg6 = (long) 0 ;
14657 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14658 wxString *arg7 = (wxString *) &arg7_defvalue ;
14659 bool result;
14660 void *argp1 = 0 ;
14661 int res1 = 0 ;
14662 void *argp2 = 0 ;
14663 int res2 = 0 ;
14664 int val3 ;
14665 int ecode3 = 0 ;
14666 wxPoint temp4 ;
14667 wxSize temp5 ;
14668 long val6 ;
14669 int ecode6 = 0 ;
14670 bool temp7 = false ;
14671 PyObject * obj0 = 0 ;
14672 PyObject * obj1 = 0 ;
14673 PyObject * obj2 = 0 ;
14674 PyObject * obj3 = 0 ;
14675 PyObject * obj4 = 0 ;
14676 PyObject * obj5 = 0 ;
14677 PyObject * obj6 = 0 ;
14678 char * kwnames[] = {
14679 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14680 };
14681
14682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14684 if (!SWIG_IsOK(res1)) {
14685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14686 }
14687 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14688 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14689 if (!SWIG_IsOK(res2)) {
14690 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14691 }
14692 arg2 = reinterpret_cast< wxWindow * >(argp2);
14693 if (obj2) {
14694 ecode3 = SWIG_AsVal_int(obj2, &val3);
14695 if (!SWIG_IsOK(ecode3)) {
14696 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14697 }
14698 arg3 = static_cast< int >(val3);
14699 }
14700 if (obj3) {
14701 {
14702 arg4 = &temp4;
14703 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14704 }
14705 }
14706 if (obj4) {
14707 {
14708 arg5 = &temp5;
14709 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14710 }
14711 }
14712 if (obj5) {
14713 ecode6 = SWIG_AsVal_long(obj5, &val6);
14714 if (!SWIG_IsOK(ecode6)) {
14715 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14716 }
14717 arg6 = static_cast< long >(val6);
14718 }
14719 if (obj6) {
14720 {
14721 arg7 = wxString_in_helper(obj6);
14722 if (arg7 == NULL) SWIG_fail;
14723 temp7 = true;
14724 }
14725 }
14726 {
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14729 wxPyEndAllowThreads(__tstate);
14730 if (PyErr_Occurred()) SWIG_fail;
14731 }
14732 {
14733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14734 }
14735 {
14736 if (temp7)
14737 delete arg7;
14738 }
14739 return resultobj;
14740 fail:
14741 {
14742 if (temp7)
14743 delete arg7;
14744 }
14745 return NULL;
14746 }
14747
14748
14749 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14750 PyObject *resultobj = 0;
14751 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14752 size_t result;
14753 void *argp1 = 0 ;
14754 int res1 = 0 ;
14755 PyObject *swig_obj[1] ;
14756
14757 if (!args) SWIG_fail;
14758 swig_obj[0] = args;
14759 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14760 if (!SWIG_IsOK(res1)) {
14761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14762 }
14763 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14764 {
14765 PyThreadState* __tstate = wxPyBeginAllowThreads();
14766 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14767 wxPyEndAllowThreads(__tstate);
14768 if (PyErr_Occurred()) SWIG_fail;
14769 }
14770 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14771 return resultobj;
14772 fail:
14773 return NULL;
14774 }
14775
14776
14777 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14778 PyObject *resultobj = 0;
14779 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14780 bool result;
14781 void *argp1 = 0 ;
14782 int res1 = 0 ;
14783 PyObject *swig_obj[1] ;
14784
14785 if (!args) SWIG_fail;
14786 swig_obj[0] = args;
14787 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14788 if (!SWIG_IsOK(res1)) {
14789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14790 }
14791 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14795 wxPyEndAllowThreads(__tstate);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 }
14798 {
14799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14800 }
14801 return resultobj;
14802 fail:
14803 return NULL;
14804 }
14805
14806
14807 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14808 PyObject *resultobj = 0;
14809 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14810 int result;
14811 void *argp1 = 0 ;
14812 int res1 = 0 ;
14813 PyObject *swig_obj[1] ;
14814
14815 if (!args) SWIG_fail;
14816 swig_obj[0] = args;
14817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14818 if (!SWIG_IsOK(res1)) {
14819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14820 }
14821 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14822 {
14823 PyThreadState* __tstate = wxPyBeginAllowThreads();
14824 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14825 wxPyEndAllowThreads(__tstate);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 resultobj = SWIG_From_int(static_cast< int >(result));
14829 return resultobj;
14830 fail:
14831 return NULL;
14832 }
14833
14834
14835 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj = 0;
14837 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14838 size_t arg2 ;
14839 bool result;
14840 void *argp1 = 0 ;
14841 int res1 = 0 ;
14842 size_t val2 ;
14843 int ecode2 = 0 ;
14844 PyObject * obj0 = 0 ;
14845 PyObject * obj1 = 0 ;
14846 char * kwnames[] = {
14847 (char *) "self",(char *) "item", NULL
14848 };
14849
14850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14852 if (!SWIG_IsOK(res1)) {
14853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14854 }
14855 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14856 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14857 if (!SWIG_IsOK(ecode2)) {
14858 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14859 }
14860 arg2 = static_cast< size_t >(val2);
14861 {
14862 PyThreadState* __tstate = wxPyBeginAllowThreads();
14863 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14864 wxPyEndAllowThreads(__tstate);
14865 if (PyErr_Occurred()) SWIG_fail;
14866 }
14867 {
14868 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14869 }
14870 return resultobj;
14871 fail:
14872 return NULL;
14873 }
14874
14875
14876 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14877 PyObject *resultobj = 0;
14878 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14879 size_t arg2 ;
14880 bool result;
14881 void *argp1 = 0 ;
14882 int res1 = 0 ;
14883 size_t val2 ;
14884 int ecode2 = 0 ;
14885 PyObject * obj0 = 0 ;
14886 PyObject * obj1 = 0 ;
14887 char * kwnames[] = {
14888 (char *) "self",(char *) "item", NULL
14889 };
14890
14891 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14892 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14893 if (!SWIG_IsOK(res1)) {
14894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14895 }
14896 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14897 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14898 if (!SWIG_IsOK(ecode2)) {
14899 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14900 }
14901 arg2 = static_cast< size_t >(val2);
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
14904 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14905 wxPyEndAllowThreads(__tstate);
14906 if (PyErr_Occurred()) SWIG_fail;
14907 }
14908 {
14909 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14910 }
14911 return resultobj;
14912 fail:
14913 return NULL;
14914 }
14915
14916
14917 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14918 PyObject *resultobj = 0;
14919 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14920 size_t result;
14921 void *argp1 = 0 ;
14922 int res1 = 0 ;
14923 PyObject *swig_obj[1] ;
14924
14925 if (!args) SWIG_fail;
14926 swig_obj[0] = args;
14927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14928 if (!SWIG_IsOK(res1)) {
14929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14930 }
14931 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14932 {
14933 PyThreadState* __tstate = wxPyBeginAllowThreads();
14934 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14935 wxPyEndAllowThreads(__tstate);
14936 if (PyErr_Occurred()) SWIG_fail;
14937 }
14938 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14939 return resultobj;
14940 fail:
14941 return NULL;
14942 }
14943
14944
14945 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14946 PyObject *resultobj = 0;
14947 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14948 PyObject *result = 0 ;
14949 void *argp1 = 0 ;
14950 int res1 = 0 ;
14951 PyObject *swig_obj[1] ;
14952
14953 if (!args) SWIG_fail;
14954 swig_obj[0] = args;
14955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14956 if (!SWIG_IsOK(res1)) {
14957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14958 }
14959 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14960 {
14961 PyThreadState* __tstate = wxPyBeginAllowThreads();
14962 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14963 wxPyEndAllowThreads(__tstate);
14964 if (PyErr_Occurred()) SWIG_fail;
14965 }
14966 resultobj = result;
14967 return resultobj;
14968 fail:
14969 return NULL;
14970 }
14971
14972
14973 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14974 PyObject *resultobj = 0;
14975 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14976 unsigned long arg2 ;
14977 PyObject *result = 0 ;
14978 void *argp1 = 0 ;
14979 int res1 = 0 ;
14980 unsigned long val2 ;
14981 int ecode2 = 0 ;
14982 PyObject * obj0 = 0 ;
14983 PyObject * obj1 = 0 ;
14984 char * kwnames[] = {
14985 (char *) "self",(char *) "cookie", NULL
14986 };
14987
14988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14990 if (!SWIG_IsOK(res1)) {
14991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14992 }
14993 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14994 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14995 if (!SWIG_IsOK(ecode2)) {
14996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14997 }
14998 arg2 = static_cast< unsigned long >(val2);
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
15005 resultobj = result;
15006 return resultobj;
15007 fail:
15008 return NULL;
15009 }
15010
15011
15012 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15013 PyObject *resultobj = 0;
15014 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15015 wxPoint result;
15016 void *argp1 = 0 ;
15017 int res1 = 0 ;
15018 PyObject *swig_obj[1] ;
15019
15020 if (!args) SWIG_fail;
15021 swig_obj[0] = args;
15022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15023 if (!SWIG_IsOK(res1)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15025 }
15026 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15027 {
15028 PyThreadState* __tstate = wxPyBeginAllowThreads();
15029 result = ((wxPyVListBox const *)arg1)->GetMargins();
15030 wxPyEndAllowThreads(__tstate);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
15033 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
15034 return resultobj;
15035 fail:
15036 return NULL;
15037 }
15038
15039
15040 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15041 PyObject *resultobj = 0;
15042 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15043 wxColour *result = 0 ;
15044 void *argp1 = 0 ;
15045 int res1 = 0 ;
15046 PyObject *swig_obj[1] ;
15047
15048 if (!args) SWIG_fail;
15049 swig_obj[0] = args;
15050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15051 if (!SWIG_IsOK(res1)) {
15052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15053 }
15054 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 {
15058 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
15059 result = (wxColour *) &_result_ref;
15060 }
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15065 return resultobj;
15066 fail:
15067 return NULL;
15068 }
15069
15070
15071 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15072 PyObject *resultobj = 0;
15073 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15074 size_t arg2 ;
15075 void *argp1 = 0 ;
15076 int res1 = 0 ;
15077 size_t val2 ;
15078 int ecode2 = 0 ;
15079 PyObject * obj0 = 0 ;
15080 PyObject * obj1 = 0 ;
15081 char * kwnames[] = {
15082 (char *) "self",(char *) "count", NULL
15083 };
15084
15085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15087 if (!SWIG_IsOK(res1)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15089 }
15090 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15091 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15092 if (!SWIG_IsOK(ecode2)) {
15093 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15094 }
15095 arg2 = static_cast< size_t >(val2);
15096 {
15097 PyThreadState* __tstate = wxPyBeginAllowThreads();
15098 (arg1)->SetItemCount(arg2);
15099 wxPyEndAllowThreads(__tstate);
15100 if (PyErr_Occurred()) SWIG_fail;
15101 }
15102 resultobj = SWIG_Py_Void();
15103 return resultobj;
15104 fail:
15105 return NULL;
15106 }
15107
15108
15109 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15110 PyObject *resultobj = 0;
15111 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15112 void *argp1 = 0 ;
15113 int res1 = 0 ;
15114 PyObject *swig_obj[1] ;
15115
15116 if (!args) SWIG_fail;
15117 swig_obj[0] = args;
15118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15119 if (!SWIG_IsOK(res1)) {
15120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15121 }
15122 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15123 {
15124 PyThreadState* __tstate = wxPyBeginAllowThreads();
15125 (arg1)->Clear();
15126 wxPyEndAllowThreads(__tstate);
15127 if (PyErr_Occurred()) SWIG_fail;
15128 }
15129 resultobj = SWIG_Py_Void();
15130 return resultobj;
15131 fail:
15132 return NULL;
15133 }
15134
15135
15136 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15137 PyObject *resultobj = 0;
15138 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15139 int arg2 ;
15140 void *argp1 = 0 ;
15141 int res1 = 0 ;
15142 int val2 ;
15143 int ecode2 = 0 ;
15144 PyObject * obj0 = 0 ;
15145 PyObject * obj1 = 0 ;
15146 char * kwnames[] = {
15147 (char *) "self",(char *) "selection", NULL
15148 };
15149
15150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15152 if (!SWIG_IsOK(res1)) {
15153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15154 }
15155 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15156 ecode2 = SWIG_AsVal_int(obj1, &val2);
15157 if (!SWIG_IsOK(ecode2)) {
15158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15159 }
15160 arg2 = static_cast< int >(val2);
15161 {
15162 PyThreadState* __tstate = wxPyBeginAllowThreads();
15163 (arg1)->SetSelection(arg2);
15164 wxPyEndAllowThreads(__tstate);
15165 if (PyErr_Occurred()) SWIG_fail;
15166 }
15167 resultobj = SWIG_Py_Void();
15168 return resultobj;
15169 fail:
15170 return NULL;
15171 }
15172
15173
15174 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15175 PyObject *resultobj = 0;
15176 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15177 size_t arg2 ;
15178 bool arg3 = (bool) true ;
15179 bool result;
15180 void *argp1 = 0 ;
15181 int res1 = 0 ;
15182 size_t val2 ;
15183 int ecode2 = 0 ;
15184 bool val3 ;
15185 int ecode3 = 0 ;
15186 PyObject * obj0 = 0 ;
15187 PyObject * obj1 = 0 ;
15188 PyObject * obj2 = 0 ;
15189 char * kwnames[] = {
15190 (char *) "self",(char *) "item",(char *) "select", NULL
15191 };
15192
15193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15195 if (!SWIG_IsOK(res1)) {
15196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15197 }
15198 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15199 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15200 if (!SWIG_IsOK(ecode2)) {
15201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15202 }
15203 arg2 = static_cast< size_t >(val2);
15204 if (obj2) {
15205 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15206 if (!SWIG_IsOK(ecode3)) {
15207 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15208 }
15209 arg3 = static_cast< bool >(val3);
15210 }
15211 {
15212 PyThreadState* __tstate = wxPyBeginAllowThreads();
15213 result = (bool)(arg1)->Select(arg2,arg3);
15214 wxPyEndAllowThreads(__tstate);
15215 if (PyErr_Occurred()) SWIG_fail;
15216 }
15217 {
15218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15219 }
15220 return resultobj;
15221 fail:
15222 return NULL;
15223 }
15224
15225
15226 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15227 PyObject *resultobj = 0;
15228 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15229 size_t arg2 ;
15230 size_t arg3 ;
15231 bool result;
15232 void *argp1 = 0 ;
15233 int res1 = 0 ;
15234 size_t val2 ;
15235 int ecode2 = 0 ;
15236 size_t val3 ;
15237 int ecode3 = 0 ;
15238 PyObject * obj0 = 0 ;
15239 PyObject * obj1 = 0 ;
15240 PyObject * obj2 = 0 ;
15241 char * kwnames[] = {
15242 (char *) "self",(char *) "from",(char *) "to", NULL
15243 };
15244
15245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15247 if (!SWIG_IsOK(res1)) {
15248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15249 }
15250 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15251 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15252 if (!SWIG_IsOK(ecode2)) {
15253 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15254 }
15255 arg2 = static_cast< size_t >(val2);
15256 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15257 if (!SWIG_IsOK(ecode3)) {
15258 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15259 }
15260 arg3 = static_cast< size_t >(val3);
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (bool)(arg1)->SelectRange(arg2,arg3);
15264 wxPyEndAllowThreads(__tstate);
15265 if (PyErr_Occurred()) SWIG_fail;
15266 }
15267 {
15268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15269 }
15270 return resultobj;
15271 fail:
15272 return NULL;
15273 }
15274
15275
15276 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15277 PyObject *resultobj = 0;
15278 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15279 size_t arg2 ;
15280 void *argp1 = 0 ;
15281 int res1 = 0 ;
15282 size_t val2 ;
15283 int ecode2 = 0 ;
15284 PyObject * obj0 = 0 ;
15285 PyObject * obj1 = 0 ;
15286 char * kwnames[] = {
15287 (char *) "self",(char *) "item", NULL
15288 };
15289
15290 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15291 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15292 if (!SWIG_IsOK(res1)) {
15293 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15294 }
15295 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15296 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15297 if (!SWIG_IsOK(ecode2)) {
15298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15299 }
15300 arg2 = static_cast< size_t >(val2);
15301 {
15302 PyThreadState* __tstate = wxPyBeginAllowThreads();
15303 (arg1)->Toggle(arg2);
15304 wxPyEndAllowThreads(__tstate);
15305 if (PyErr_Occurred()) SWIG_fail;
15306 }
15307 resultobj = SWIG_Py_Void();
15308 return resultobj;
15309 fail:
15310 return NULL;
15311 }
15312
15313
15314 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15315 PyObject *resultobj = 0;
15316 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15317 bool result;
15318 void *argp1 = 0 ;
15319 int res1 = 0 ;
15320 PyObject *swig_obj[1] ;
15321
15322 if (!args) SWIG_fail;
15323 swig_obj[0] = args;
15324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15325 if (!SWIG_IsOK(res1)) {
15326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15327 }
15328 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15329 {
15330 PyThreadState* __tstate = wxPyBeginAllowThreads();
15331 result = (bool)(arg1)->SelectAll();
15332 wxPyEndAllowThreads(__tstate);
15333 if (PyErr_Occurred()) SWIG_fail;
15334 }
15335 {
15336 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15337 }
15338 return resultobj;
15339 fail:
15340 return NULL;
15341 }
15342
15343
15344 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15345 PyObject *resultobj = 0;
15346 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15347 bool result;
15348 void *argp1 = 0 ;
15349 int res1 = 0 ;
15350 PyObject *swig_obj[1] ;
15351
15352 if (!args) SWIG_fail;
15353 swig_obj[0] = args;
15354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15355 if (!SWIG_IsOK(res1)) {
15356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15357 }
15358 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15359 {
15360 PyThreadState* __tstate = wxPyBeginAllowThreads();
15361 result = (bool)(arg1)->DeselectAll();
15362 wxPyEndAllowThreads(__tstate);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 }
15365 {
15366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15367 }
15368 return resultobj;
15369 fail:
15370 return NULL;
15371 }
15372
15373
15374 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15375 PyObject *resultobj = 0;
15376 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15377 wxPoint *arg2 = 0 ;
15378 void *argp1 = 0 ;
15379 int res1 = 0 ;
15380 wxPoint temp2 ;
15381 PyObject * obj0 = 0 ;
15382 PyObject * obj1 = 0 ;
15383 char * kwnames[] = {
15384 (char *) "self",(char *) "pt", NULL
15385 };
15386
15387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15389 if (!SWIG_IsOK(res1)) {
15390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15391 }
15392 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15393 {
15394 arg2 = &temp2;
15395 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15396 }
15397 {
15398 PyThreadState* __tstate = wxPyBeginAllowThreads();
15399 (arg1)->SetMargins((wxPoint const &)*arg2);
15400 wxPyEndAllowThreads(__tstate);
15401 if (PyErr_Occurred()) SWIG_fail;
15402 }
15403 resultobj = SWIG_Py_Void();
15404 return resultobj;
15405 fail:
15406 return NULL;
15407 }
15408
15409
15410 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15411 PyObject *resultobj = 0;
15412 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15413 int arg2 ;
15414 int arg3 ;
15415 void *argp1 = 0 ;
15416 int res1 = 0 ;
15417 int val2 ;
15418 int ecode2 = 0 ;
15419 int val3 ;
15420 int ecode3 = 0 ;
15421 PyObject * obj0 = 0 ;
15422 PyObject * obj1 = 0 ;
15423 PyObject * obj2 = 0 ;
15424 char * kwnames[] = {
15425 (char *) "self",(char *) "x",(char *) "y", NULL
15426 };
15427
15428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15430 if (!SWIG_IsOK(res1)) {
15431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15432 }
15433 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15434 ecode2 = SWIG_AsVal_int(obj1, &val2);
15435 if (!SWIG_IsOK(ecode2)) {
15436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15437 }
15438 arg2 = static_cast< int >(val2);
15439 ecode3 = SWIG_AsVal_int(obj2, &val3);
15440 if (!SWIG_IsOK(ecode3)) {
15441 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15442 }
15443 arg3 = static_cast< int >(val3);
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 (arg1)->SetMargins(arg2,arg3);
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 resultobj = SWIG_Py_Void();
15451 return resultobj;
15452 fail:
15453 return NULL;
15454 }
15455
15456
15457 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15458 PyObject *resultobj = 0;
15459 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15460 wxColour *arg2 = 0 ;
15461 void *argp1 = 0 ;
15462 int res1 = 0 ;
15463 wxColour temp2 ;
15464 PyObject * obj0 = 0 ;
15465 PyObject * obj1 = 0 ;
15466 char * kwnames[] = {
15467 (char *) "self",(char *) "col", NULL
15468 };
15469
15470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15472 if (!SWIG_IsOK(res1)) {
15473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15474 }
15475 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15476 {
15477 arg2 = &temp2;
15478 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15479 }
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
15482 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 resultobj = SWIG_Py_Void();
15487 return resultobj;
15488 fail:
15489 return NULL;
15490 }
15491
15492
15493 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15494 PyObject *resultobj = 0;
15495 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15496 wxDC *arg2 = 0 ;
15497 wxRect *arg3 = 0 ;
15498 size_t arg4 ;
15499 void *argp1 = 0 ;
15500 int res1 = 0 ;
15501 void *argp2 = 0 ;
15502 int res2 = 0 ;
15503 wxRect temp3 ;
15504 size_t val4 ;
15505 int ecode4 = 0 ;
15506 PyObject * obj0 = 0 ;
15507 PyObject * obj1 = 0 ;
15508 PyObject * obj2 = 0 ;
15509 PyObject * obj3 = 0 ;
15510 char * kwnames[] = {
15511 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15512 };
15513
15514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15516 if (!SWIG_IsOK(res1)) {
15517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15518 }
15519 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15520 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15521 if (!SWIG_IsOK(res2)) {
15522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15523 }
15524 if (!argp2) {
15525 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15526 }
15527 arg2 = reinterpret_cast< wxDC * >(argp2);
15528 {
15529 arg3 = &temp3;
15530 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15531 }
15532 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15533 if (!SWIG_IsOK(ecode4)) {
15534 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15535 }
15536 arg4 = static_cast< size_t >(val4);
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15540 wxPyEndAllowThreads(__tstate);
15541 if (PyErr_Occurred()) SWIG_fail;
15542 }
15543 resultobj = SWIG_Py_Void();
15544 return resultobj;
15545 fail:
15546 return NULL;
15547 }
15548
15549
15550 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15551 PyObject *resultobj = 0;
15552 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15553 wxDC *arg2 = 0 ;
15554 wxRect *arg3 = 0 ;
15555 size_t arg4 ;
15556 void *argp1 = 0 ;
15557 int res1 = 0 ;
15558 void *argp2 = 0 ;
15559 int res2 = 0 ;
15560 wxRect temp3 ;
15561 size_t val4 ;
15562 int ecode4 = 0 ;
15563 PyObject * obj0 = 0 ;
15564 PyObject * obj1 = 0 ;
15565 PyObject * obj2 = 0 ;
15566 PyObject * obj3 = 0 ;
15567 char * kwnames[] = {
15568 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15569 };
15570
15571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15573 if (!SWIG_IsOK(res1)) {
15574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15575 }
15576 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15577 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15578 if (!SWIG_IsOK(res2)) {
15579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15580 }
15581 if (!argp2) {
15582 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15583 }
15584 arg2 = reinterpret_cast< wxDC * >(argp2);
15585 {
15586 arg3 = &temp3;
15587 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15588 }
15589 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15590 if (!SWIG_IsOK(ecode4)) {
15591 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15592 }
15593 arg4 = static_cast< size_t >(val4);
15594 {
15595 PyThreadState* __tstate = wxPyBeginAllowThreads();
15596 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15597 wxPyEndAllowThreads(__tstate);
15598 if (PyErr_Occurred()) SWIG_fail;
15599 }
15600 resultobj = SWIG_Py_Void();
15601 return resultobj;
15602 fail:
15603 return NULL;
15604 }
15605
15606
15607 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15608 PyObject *obj;
15609 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15610 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15611 return SWIG_Py_Void();
15612 }
15613
15614 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15615 return SWIG_Python_InitShadowInstance(args);
15616 }
15617
15618 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15619 PyObject *resultobj = 0;
15620 wxWindow *arg1 = (wxWindow *) 0 ;
15621 int arg2 = (int) wxID_ANY ;
15622 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15623 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15624 wxSize const &arg4_defvalue = wxDefaultSize ;
15625 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15626 long arg5 = (long) 0 ;
15627 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15628 wxString *arg6 = (wxString *) &arg6_defvalue ;
15629 wxPyHtmlListBox *result = 0 ;
15630 void *argp1 = 0 ;
15631 int res1 = 0 ;
15632 int val2 ;
15633 int ecode2 = 0 ;
15634 wxPoint temp3 ;
15635 wxSize temp4 ;
15636 long val5 ;
15637 int ecode5 = 0 ;
15638 bool temp6 = false ;
15639 PyObject * obj0 = 0 ;
15640 PyObject * obj1 = 0 ;
15641 PyObject * obj2 = 0 ;
15642 PyObject * obj3 = 0 ;
15643 PyObject * obj4 = 0 ;
15644 PyObject * obj5 = 0 ;
15645 char * kwnames[] = {
15646 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15647 };
15648
15649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15651 if (!SWIG_IsOK(res1)) {
15652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15653 }
15654 arg1 = reinterpret_cast< wxWindow * >(argp1);
15655 if (obj1) {
15656 ecode2 = SWIG_AsVal_int(obj1, &val2);
15657 if (!SWIG_IsOK(ecode2)) {
15658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15659 }
15660 arg2 = static_cast< int >(val2);
15661 }
15662 if (obj2) {
15663 {
15664 arg3 = &temp3;
15665 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15666 }
15667 }
15668 if (obj3) {
15669 {
15670 arg4 = &temp4;
15671 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15672 }
15673 }
15674 if (obj4) {
15675 ecode5 = SWIG_AsVal_long(obj4, &val5);
15676 if (!SWIG_IsOK(ecode5)) {
15677 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15678 }
15679 arg5 = static_cast< long >(val5);
15680 }
15681 if (obj5) {
15682 {
15683 arg6 = wxString_in_helper(obj5);
15684 if (arg6 == NULL) SWIG_fail;
15685 temp6 = true;
15686 }
15687 }
15688 {
15689 if (!wxPyCheckForApp()) SWIG_fail;
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15692 wxPyEndAllowThreads(__tstate);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 }
15695 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15696 {
15697 if (temp6)
15698 delete arg6;
15699 }
15700 return resultobj;
15701 fail:
15702 {
15703 if (temp6)
15704 delete arg6;
15705 }
15706 return NULL;
15707 }
15708
15709
15710 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15711 PyObject *resultobj = 0;
15712 wxPyHtmlListBox *result = 0 ;
15713
15714 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15715 {
15716 if (!wxPyCheckForApp()) SWIG_fail;
15717 PyThreadState* __tstate = wxPyBeginAllowThreads();
15718 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15723 return resultobj;
15724 fail:
15725 return NULL;
15726 }
15727
15728
15729 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15730 PyObject *resultobj = 0;
15731 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15732 PyObject *arg2 = (PyObject *) 0 ;
15733 PyObject *arg3 = (PyObject *) 0 ;
15734 void *argp1 = 0 ;
15735 int res1 = 0 ;
15736 PyObject * obj0 = 0 ;
15737 PyObject * obj1 = 0 ;
15738 PyObject * obj2 = 0 ;
15739 char * kwnames[] = {
15740 (char *) "self",(char *) "self",(char *) "_class", NULL
15741 };
15742
15743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15745 if (!SWIG_IsOK(res1)) {
15746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15747 }
15748 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15749 arg2 = obj1;
15750 arg3 = obj2;
15751 {
15752 PyThreadState* __tstate = wxPyBeginAllowThreads();
15753 (arg1)->_setCallbackInfo(arg2,arg3);
15754 wxPyEndAllowThreads(__tstate);
15755 if (PyErr_Occurred()) SWIG_fail;
15756 }
15757 resultobj = SWIG_Py_Void();
15758 return resultobj;
15759 fail:
15760 return NULL;
15761 }
15762
15763
15764 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15765 PyObject *resultobj = 0;
15766 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15767 wxWindow *arg2 = (wxWindow *) 0 ;
15768 int arg3 = (int) wxID_ANY ;
15769 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15770 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15771 wxSize const &arg5_defvalue = wxDefaultSize ;
15772 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15773 long arg6 = (long) 0 ;
15774 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15775 wxString *arg7 = (wxString *) &arg7_defvalue ;
15776 bool result;
15777 void *argp1 = 0 ;
15778 int res1 = 0 ;
15779 void *argp2 = 0 ;
15780 int res2 = 0 ;
15781 int val3 ;
15782 int ecode3 = 0 ;
15783 wxPoint temp4 ;
15784 wxSize temp5 ;
15785 long val6 ;
15786 int ecode6 = 0 ;
15787 bool temp7 = false ;
15788 PyObject * obj0 = 0 ;
15789 PyObject * obj1 = 0 ;
15790 PyObject * obj2 = 0 ;
15791 PyObject * obj3 = 0 ;
15792 PyObject * obj4 = 0 ;
15793 PyObject * obj5 = 0 ;
15794 PyObject * obj6 = 0 ;
15795 char * kwnames[] = {
15796 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15797 };
15798
15799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15801 if (!SWIG_IsOK(res1)) {
15802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15803 }
15804 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15805 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15806 if (!SWIG_IsOK(res2)) {
15807 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15808 }
15809 arg2 = reinterpret_cast< wxWindow * >(argp2);
15810 if (obj2) {
15811 ecode3 = SWIG_AsVal_int(obj2, &val3);
15812 if (!SWIG_IsOK(ecode3)) {
15813 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15814 }
15815 arg3 = static_cast< int >(val3);
15816 }
15817 if (obj3) {
15818 {
15819 arg4 = &temp4;
15820 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15821 }
15822 }
15823 if (obj4) {
15824 {
15825 arg5 = &temp5;
15826 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15827 }
15828 }
15829 if (obj5) {
15830 ecode6 = SWIG_AsVal_long(obj5, &val6);
15831 if (!SWIG_IsOK(ecode6)) {
15832 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15833 }
15834 arg6 = static_cast< long >(val6);
15835 }
15836 if (obj6) {
15837 {
15838 arg7 = wxString_in_helper(obj6);
15839 if (arg7 == NULL) SWIG_fail;
15840 temp7 = true;
15841 }
15842 }
15843 {
15844 PyThreadState* __tstate = wxPyBeginAllowThreads();
15845 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15846 wxPyEndAllowThreads(__tstate);
15847 if (PyErr_Occurred()) SWIG_fail;
15848 }
15849 {
15850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15851 }
15852 {
15853 if (temp7)
15854 delete arg7;
15855 }
15856 return resultobj;
15857 fail:
15858 {
15859 if (temp7)
15860 delete arg7;
15861 }
15862 return NULL;
15863 }
15864
15865
15866 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15867 PyObject *resultobj = 0;
15868 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15869 size_t arg2 ;
15870 void *argp1 = 0 ;
15871 int res1 = 0 ;
15872 size_t val2 ;
15873 int ecode2 = 0 ;
15874 PyObject * obj0 = 0 ;
15875 PyObject * obj1 = 0 ;
15876 char * kwnames[] = {
15877 (char *) "self",(char *) "count", NULL
15878 };
15879
15880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15882 if (!SWIG_IsOK(res1)) {
15883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15884 }
15885 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15886 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15887 if (!SWIG_IsOK(ecode2)) {
15888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15889 }
15890 arg2 = static_cast< size_t >(val2);
15891 {
15892 PyThreadState* __tstate = wxPyBeginAllowThreads();
15893 (arg1)->SetItemCount(arg2);
15894 wxPyEndAllowThreads(__tstate);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 resultobj = SWIG_Py_Void();
15898 return resultobj;
15899 fail:
15900 return NULL;
15901 }
15902
15903
15904 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15905 PyObject *resultobj = 0;
15906 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15907 wxFileSystem *result = 0 ;
15908 void *argp1 = 0 ;
15909 int res1 = 0 ;
15910 PyObject *swig_obj[1] ;
15911
15912 if (!args) SWIG_fail;
15913 swig_obj[0] = args;
15914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15915 if (!SWIG_IsOK(res1)) {
15916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15917 }
15918 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15919 {
15920 PyThreadState* __tstate = wxPyBeginAllowThreads();
15921 {
15922 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15923 result = (wxFileSystem *) &_result_ref;
15924 }
15925 wxPyEndAllowThreads(__tstate);
15926 if (PyErr_Occurred()) SWIG_fail;
15927 }
15928 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15929 return resultobj;
15930 fail:
15931 return NULL;
15932 }
15933
15934
15935 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15936 PyObject *resultobj = 0;
15937 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15938 size_t arg2 ;
15939 wxHtmlLinkInfo *arg3 = 0 ;
15940 void *argp1 = 0 ;
15941 int res1 = 0 ;
15942 size_t val2 ;
15943 int ecode2 = 0 ;
15944 void *argp3 = 0 ;
15945 int res3 = 0 ;
15946 PyObject * obj0 = 0 ;
15947 PyObject * obj1 = 0 ;
15948 PyObject * obj2 = 0 ;
15949 char * kwnames[] = {
15950 (char *) "self",(char *) "n",(char *) "link", NULL
15951 };
15952
15953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15955 if (!SWIG_IsOK(res1)) {
15956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15957 }
15958 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15959 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15960 if (!SWIG_IsOK(ecode2)) {
15961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15962 }
15963 arg2 = static_cast< size_t >(val2);
15964 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15965 if (!SWIG_IsOK(res3)) {
15966 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15967 }
15968 if (!argp3) {
15969 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15970 }
15971 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15972 {
15973 PyThreadState* __tstate = wxPyBeginAllowThreads();
15974 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15975 wxPyEndAllowThreads(__tstate);
15976 if (PyErr_Occurred()) SWIG_fail;
15977 }
15978 resultobj = SWIG_Py_Void();
15979 return resultobj;
15980 fail:
15981 return NULL;
15982 }
15983
15984
15985 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15986 PyObject *obj;
15987 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15988 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15989 return SWIG_Py_Void();
15990 }
15991
15992 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15993 return SWIG_Python_InitShadowInstance(args);
15994 }
15995
15996 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15997 PyObject *resultobj = 0;
15998 wxPyTaskBarIcon *result = 0 ;
15999
16000 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16001 {
16002 if (!wxPyCheckForApp()) SWIG_fail;
16003 PyThreadState* __tstate = wxPyBeginAllowThreads();
16004 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16005 wxPyEndAllowThreads(__tstate);
16006 if (PyErr_Occurred()) SWIG_fail;
16007 }
16008 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16009 return resultobj;
16010 fail:
16011 return NULL;
16012 }
16013
16014
16015 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16016 PyObject *resultobj = 0;
16017 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16018 void *argp1 = 0 ;
16019 int res1 = 0 ;
16020 PyObject *swig_obj[1] ;
16021
16022 if (!args) SWIG_fail;
16023 swig_obj[0] = args;
16024 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16025 if (!SWIG_IsOK(res1)) {
16026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16027 }
16028 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16029 {
16030 PyThreadState* __tstate = wxPyBeginAllowThreads();
16031 delete arg1;
16032
16033 wxPyEndAllowThreads(__tstate);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 }
16036 resultobj = SWIG_Py_Void();
16037 return resultobj;
16038 fail:
16039 return NULL;
16040 }
16041
16042
16043 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16044 PyObject *resultobj = 0;
16045 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16046 PyObject *arg2 = (PyObject *) 0 ;
16047 PyObject *arg3 = (PyObject *) 0 ;
16048 int arg4 ;
16049 void *argp1 = 0 ;
16050 int res1 = 0 ;
16051 int val4 ;
16052 int ecode4 = 0 ;
16053 PyObject * obj0 = 0 ;
16054 PyObject * obj1 = 0 ;
16055 PyObject * obj2 = 0 ;
16056 PyObject * obj3 = 0 ;
16057 char * kwnames[] = {
16058 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16059 };
16060
16061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16063 if (!SWIG_IsOK(res1)) {
16064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16065 }
16066 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16067 arg2 = obj1;
16068 arg3 = obj2;
16069 ecode4 = SWIG_AsVal_int(obj3, &val4);
16070 if (!SWIG_IsOK(ecode4)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16072 }
16073 arg4 = static_cast< int >(val4);
16074 {
16075 PyThreadState* __tstate = wxPyBeginAllowThreads();
16076 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 resultobj = SWIG_Py_Void();
16081 return resultobj;
16082 fail:
16083 return NULL;
16084 }
16085
16086
16087 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16088 PyObject *resultobj = 0;
16089 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16090 void *argp1 = 0 ;
16091 int res1 = 0 ;
16092 PyObject *swig_obj[1] ;
16093
16094 if (!args) SWIG_fail;
16095 swig_obj[0] = args;
16096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16097 if (!SWIG_IsOK(res1)) {
16098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16099 }
16100 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16101 {
16102 PyThreadState* __tstate = wxPyBeginAllowThreads();
16103 wxPyTaskBarIcon_Destroy(arg1);
16104 wxPyEndAllowThreads(__tstate);
16105 if (PyErr_Occurred()) SWIG_fail;
16106 }
16107 resultobj = SWIG_Py_Void();
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16115 PyObject *resultobj = 0;
16116 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16117 bool result;
16118 void *argp1 = 0 ;
16119 int res1 = 0 ;
16120 PyObject *swig_obj[1] ;
16121
16122 if (!args) SWIG_fail;
16123 swig_obj[0] = args;
16124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16125 if (!SWIG_IsOK(res1)) {
16126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16127 }
16128 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16129 {
16130 PyThreadState* __tstate = wxPyBeginAllowThreads();
16131 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16132 wxPyEndAllowThreads(__tstate);
16133 if (PyErr_Occurred()) SWIG_fail;
16134 }
16135 {
16136 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16137 }
16138 return resultobj;
16139 fail:
16140 return NULL;
16141 }
16142
16143
16144 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16145 PyObject *resultobj = 0;
16146 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16147 bool result;
16148 void *argp1 = 0 ;
16149 int res1 = 0 ;
16150 PyObject *swig_obj[1] ;
16151
16152 if (!args) SWIG_fail;
16153 swig_obj[0] = args;
16154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16155 if (!SWIG_IsOK(res1)) {
16156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16157 }
16158 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16159 {
16160 PyThreadState* __tstate = wxPyBeginAllowThreads();
16161 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16162 wxPyEndAllowThreads(__tstate);
16163 if (PyErr_Occurred()) SWIG_fail;
16164 }
16165 {
16166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16167 }
16168 return resultobj;
16169 fail:
16170 return NULL;
16171 }
16172
16173
16174 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16175 PyObject *resultobj = 0;
16176 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16177 wxIcon *arg2 = 0 ;
16178 wxString const &arg3_defvalue = wxPyEmptyString ;
16179 wxString *arg3 = (wxString *) &arg3_defvalue ;
16180 bool result;
16181 void *argp1 = 0 ;
16182 int res1 = 0 ;
16183 void *argp2 = 0 ;
16184 int res2 = 0 ;
16185 bool temp3 = false ;
16186 PyObject * obj0 = 0 ;
16187 PyObject * obj1 = 0 ;
16188 PyObject * obj2 = 0 ;
16189 char * kwnames[] = {
16190 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16191 };
16192
16193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16195 if (!SWIG_IsOK(res1)) {
16196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16197 }
16198 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16199 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16200 if (!SWIG_IsOK(res2)) {
16201 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16202 }
16203 if (!argp2) {
16204 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16205 }
16206 arg2 = reinterpret_cast< wxIcon * >(argp2);
16207 if (obj2) {
16208 {
16209 arg3 = wxString_in_helper(obj2);
16210 if (arg3 == NULL) SWIG_fail;
16211 temp3 = true;
16212 }
16213 }
16214 {
16215 PyThreadState* __tstate = wxPyBeginAllowThreads();
16216 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16217 wxPyEndAllowThreads(__tstate);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 }
16220 {
16221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16222 }
16223 {
16224 if (temp3)
16225 delete arg3;
16226 }
16227 return resultobj;
16228 fail:
16229 {
16230 if (temp3)
16231 delete arg3;
16232 }
16233 return NULL;
16234 }
16235
16236
16237 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16238 PyObject *resultobj = 0;
16239 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16240 bool result;
16241 void *argp1 = 0 ;
16242 int res1 = 0 ;
16243 PyObject *swig_obj[1] ;
16244
16245 if (!args) SWIG_fail;
16246 swig_obj[0] = args;
16247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16248 if (!SWIG_IsOK(res1)) {
16249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16250 }
16251 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 result = (bool)(arg1)->RemoveIcon();
16255 wxPyEndAllowThreads(__tstate);
16256 if (PyErr_Occurred()) SWIG_fail;
16257 }
16258 {
16259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16260 }
16261 return resultobj;
16262 fail:
16263 return NULL;
16264 }
16265
16266
16267 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16268 PyObject *resultobj = 0;
16269 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16270 wxMenu *arg2 = (wxMenu *) 0 ;
16271 bool result;
16272 void *argp1 = 0 ;
16273 int res1 = 0 ;
16274 void *argp2 = 0 ;
16275 int res2 = 0 ;
16276 PyObject * obj0 = 0 ;
16277 PyObject * obj1 = 0 ;
16278 char * kwnames[] = {
16279 (char *) "self",(char *) "menu", NULL
16280 };
16281
16282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16284 if (!SWIG_IsOK(res1)) {
16285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16286 }
16287 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16288 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16289 if (!SWIG_IsOK(res2)) {
16290 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16291 }
16292 arg2 = reinterpret_cast< wxMenu * >(argp2);
16293 {
16294 PyThreadState* __tstate = wxPyBeginAllowThreads();
16295 result = (bool)(arg1)->PopupMenu(arg2);
16296 wxPyEndAllowThreads(__tstate);
16297 if (PyErr_Occurred()) SWIG_fail;
16298 }
16299 {
16300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16301 }
16302 return resultobj;
16303 fail:
16304 return NULL;
16305 }
16306
16307
16308 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16309 PyObject *obj;
16310 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16311 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16312 return SWIG_Py_Void();
16313 }
16314
16315 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16316 return SWIG_Python_InitShadowInstance(args);
16317 }
16318
16319 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16320 PyObject *resultobj = 0;
16321 wxEventType arg1 ;
16322 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16323 wxTaskBarIconEvent *result = 0 ;
16324 int val1 ;
16325 int ecode1 = 0 ;
16326 void *argp2 = 0 ;
16327 int res2 = 0 ;
16328 PyObject * obj0 = 0 ;
16329 PyObject * obj1 = 0 ;
16330 char * kwnames[] = {
16331 (char *) "evtType",(char *) "tbIcon", NULL
16332 };
16333
16334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16335 ecode1 = SWIG_AsVal_int(obj0, &val1);
16336 if (!SWIG_IsOK(ecode1)) {
16337 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16338 }
16339 arg1 = static_cast< wxEventType >(val1);
16340 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16341 if (!SWIG_IsOK(res2)) {
16342 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16343 }
16344 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16345 {
16346 PyThreadState* __tstate = wxPyBeginAllowThreads();
16347 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16348 wxPyEndAllowThreads(__tstate);
16349 if (PyErr_Occurred()) SWIG_fail;
16350 }
16351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16352 return resultobj;
16353 fail:
16354 return NULL;
16355 }
16356
16357
16358 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16359 PyObject *obj;
16360 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16361 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16362 return SWIG_Py_Void();
16363 }
16364
16365 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16366 return SWIG_Python_InitShadowInstance(args);
16367 }
16368
16369 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16370 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16371 return 1;
16372 }
16373
16374
16375 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16376 PyObject *pyobj = 0;
16377
16378 {
16379 #if wxUSE_UNICODE
16380 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16381 #else
16382 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16383 #endif
16384 }
16385 return pyobj;
16386 }
16387
16388
16389 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16390 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16391 return 1;
16392 }
16393
16394
16395 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16396 PyObject *pyobj = 0;
16397
16398 {
16399 #if wxUSE_UNICODE
16400 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16401 #else
16402 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16403 #endif
16404 }
16405 return pyobj;
16406 }
16407
16408
16409 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16410 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16411 return 1;
16412 }
16413
16414
16415 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16416 PyObject *pyobj = 0;
16417
16418 {
16419 #if wxUSE_UNICODE
16420 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16421 #else
16422 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16423 #endif
16424 }
16425 return pyobj;
16426 }
16427
16428
16429 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16430 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16431 return 1;
16432 }
16433
16434
16435 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16436 PyObject *pyobj = 0;
16437
16438 {
16439 #if wxUSE_UNICODE
16440 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16441 #else
16442 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16443 #endif
16444 }
16445 return pyobj;
16446 }
16447
16448
16449 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16450 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16451 return 1;
16452 }
16453
16454
16455 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16456 PyObject *pyobj = 0;
16457
16458 {
16459 #if wxUSE_UNICODE
16460 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16461 #else
16462 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16463 #endif
16464 }
16465 return pyobj;
16466 }
16467
16468
16469 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16470 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16471 return 1;
16472 }
16473
16474
16475 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16476 PyObject *pyobj = 0;
16477
16478 {
16479 #if wxUSE_UNICODE
16480 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16481 #else
16482 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16483 #endif
16484 }
16485 return pyobj;
16486 }
16487
16488
16489 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16490 PyObject *resultobj = 0;
16491 wxColourData *result = 0 ;
16492
16493 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16494 {
16495 PyThreadState* __tstate = wxPyBeginAllowThreads();
16496 result = (wxColourData *)new wxColourData();
16497 wxPyEndAllowThreads(__tstate);
16498 if (PyErr_Occurred()) SWIG_fail;
16499 }
16500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16501 return resultobj;
16502 fail:
16503 return NULL;
16504 }
16505
16506
16507 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16508 PyObject *resultobj = 0;
16509 wxColourData *arg1 = (wxColourData *) 0 ;
16510 void *argp1 = 0 ;
16511 int res1 = 0 ;
16512 PyObject *swig_obj[1] ;
16513
16514 if (!args) SWIG_fail;
16515 swig_obj[0] = args;
16516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16517 if (!SWIG_IsOK(res1)) {
16518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16519 }
16520 arg1 = reinterpret_cast< wxColourData * >(argp1);
16521 {
16522 PyThreadState* __tstate = wxPyBeginAllowThreads();
16523 delete arg1;
16524
16525 wxPyEndAllowThreads(__tstate);
16526 if (PyErr_Occurred()) SWIG_fail;
16527 }
16528 resultobj = SWIG_Py_Void();
16529 return resultobj;
16530 fail:
16531 return NULL;
16532 }
16533
16534
16535 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16536 PyObject *resultobj = 0;
16537 wxColourData *arg1 = (wxColourData *) 0 ;
16538 bool result;
16539 void *argp1 = 0 ;
16540 int res1 = 0 ;
16541 PyObject *swig_obj[1] ;
16542
16543 if (!args) SWIG_fail;
16544 swig_obj[0] = args;
16545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16546 if (!SWIG_IsOK(res1)) {
16547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16548 }
16549 arg1 = reinterpret_cast< wxColourData * >(argp1);
16550 {
16551 PyThreadState* __tstate = wxPyBeginAllowThreads();
16552 result = (bool)(arg1)->GetChooseFull();
16553 wxPyEndAllowThreads(__tstate);
16554 if (PyErr_Occurred()) SWIG_fail;
16555 }
16556 {
16557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16558 }
16559 return resultobj;
16560 fail:
16561 return NULL;
16562 }
16563
16564
16565 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16566 PyObject *resultobj = 0;
16567 wxColourData *arg1 = (wxColourData *) 0 ;
16568 wxColour result;
16569 void *argp1 = 0 ;
16570 int res1 = 0 ;
16571 PyObject *swig_obj[1] ;
16572
16573 if (!args) SWIG_fail;
16574 swig_obj[0] = args;
16575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16576 if (!SWIG_IsOK(res1)) {
16577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16578 }
16579 arg1 = reinterpret_cast< wxColourData * >(argp1);
16580 {
16581 PyThreadState* __tstate = wxPyBeginAllowThreads();
16582 result = (arg1)->GetColour();
16583 wxPyEndAllowThreads(__tstate);
16584 if (PyErr_Occurred()) SWIG_fail;
16585 }
16586 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16587 return resultobj;
16588 fail:
16589 return NULL;
16590 }
16591
16592
16593 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16594 PyObject *resultobj = 0;
16595 wxColourData *arg1 = (wxColourData *) 0 ;
16596 int arg2 ;
16597 wxColour result;
16598 void *argp1 = 0 ;
16599 int res1 = 0 ;
16600 int val2 ;
16601 int ecode2 = 0 ;
16602 PyObject * obj0 = 0 ;
16603 PyObject * obj1 = 0 ;
16604 char * kwnames[] = {
16605 (char *) "self",(char *) "i", NULL
16606 };
16607
16608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16610 if (!SWIG_IsOK(res1)) {
16611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16612 }
16613 arg1 = reinterpret_cast< wxColourData * >(argp1);
16614 ecode2 = SWIG_AsVal_int(obj1, &val2);
16615 if (!SWIG_IsOK(ecode2)) {
16616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16617 }
16618 arg2 = static_cast< int >(val2);
16619 {
16620 PyThreadState* __tstate = wxPyBeginAllowThreads();
16621 result = (arg1)->GetCustomColour(arg2);
16622 wxPyEndAllowThreads(__tstate);
16623 if (PyErr_Occurred()) SWIG_fail;
16624 }
16625 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16626 return resultobj;
16627 fail:
16628 return NULL;
16629 }
16630
16631
16632 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16633 PyObject *resultobj = 0;
16634 wxColourData *arg1 = (wxColourData *) 0 ;
16635 int arg2 ;
16636 void *argp1 = 0 ;
16637 int res1 = 0 ;
16638 int val2 ;
16639 int ecode2 = 0 ;
16640 PyObject * obj0 = 0 ;
16641 PyObject * obj1 = 0 ;
16642 char * kwnames[] = {
16643 (char *) "self",(char *) "flag", NULL
16644 };
16645
16646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16648 if (!SWIG_IsOK(res1)) {
16649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16650 }
16651 arg1 = reinterpret_cast< wxColourData * >(argp1);
16652 ecode2 = SWIG_AsVal_int(obj1, &val2);
16653 if (!SWIG_IsOK(ecode2)) {
16654 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16655 }
16656 arg2 = static_cast< int >(val2);
16657 {
16658 PyThreadState* __tstate = wxPyBeginAllowThreads();
16659 (arg1)->SetChooseFull(arg2);
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 resultobj = SWIG_Py_Void();
16664 return resultobj;
16665 fail:
16666 return NULL;
16667 }
16668
16669
16670 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj = 0;
16672 wxColourData *arg1 = (wxColourData *) 0 ;
16673 wxColour *arg2 = 0 ;
16674 void *argp1 = 0 ;
16675 int res1 = 0 ;
16676 wxColour temp2 ;
16677 PyObject * obj0 = 0 ;
16678 PyObject * obj1 = 0 ;
16679 char * kwnames[] = {
16680 (char *) "self",(char *) "colour", NULL
16681 };
16682
16683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16685 if (!SWIG_IsOK(res1)) {
16686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16687 }
16688 arg1 = reinterpret_cast< wxColourData * >(argp1);
16689 {
16690 arg2 = &temp2;
16691 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16692 }
16693 {
16694 PyThreadState* __tstate = wxPyBeginAllowThreads();
16695 (arg1)->SetColour((wxColour const &)*arg2);
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 resultobj = SWIG_Py_Void();
16700 return resultobj;
16701 fail:
16702 return NULL;
16703 }
16704
16705
16706 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj = 0;
16708 wxColourData *arg1 = (wxColourData *) 0 ;
16709 int arg2 ;
16710 wxColour *arg3 = 0 ;
16711 void *argp1 = 0 ;
16712 int res1 = 0 ;
16713 int val2 ;
16714 int ecode2 = 0 ;
16715 wxColour temp3 ;
16716 PyObject * obj0 = 0 ;
16717 PyObject * obj1 = 0 ;
16718 PyObject * obj2 = 0 ;
16719 char * kwnames[] = {
16720 (char *) "self",(char *) "i",(char *) "colour", NULL
16721 };
16722
16723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16725 if (!SWIG_IsOK(res1)) {
16726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16727 }
16728 arg1 = reinterpret_cast< wxColourData * >(argp1);
16729 ecode2 = SWIG_AsVal_int(obj1, &val2);
16730 if (!SWIG_IsOK(ecode2)) {
16731 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16732 }
16733 arg2 = static_cast< int >(val2);
16734 {
16735 arg3 = &temp3;
16736 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16737 }
16738 {
16739 PyThreadState* __tstate = wxPyBeginAllowThreads();
16740 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16741 wxPyEndAllowThreads(__tstate);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 }
16744 resultobj = SWIG_Py_Void();
16745 return resultobj;
16746 fail:
16747 return NULL;
16748 }
16749
16750
16751 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16752 PyObject *obj;
16753 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16754 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16755 return SWIG_Py_Void();
16756 }
16757
16758 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16759 return SWIG_Python_InitShadowInstance(args);
16760 }
16761
16762 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16763 PyObject *resultobj = 0;
16764 wxWindow *arg1 = (wxWindow *) 0 ;
16765 wxColourData *arg2 = (wxColourData *) NULL ;
16766 wxColourDialog *result = 0 ;
16767 void *argp1 = 0 ;
16768 int res1 = 0 ;
16769 void *argp2 = 0 ;
16770 int res2 = 0 ;
16771 PyObject * obj0 = 0 ;
16772 PyObject * obj1 = 0 ;
16773 char * kwnames[] = {
16774 (char *) "parent",(char *) "data", NULL
16775 };
16776
16777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16779 if (!SWIG_IsOK(res1)) {
16780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16781 }
16782 arg1 = reinterpret_cast< wxWindow * >(argp1);
16783 if (obj1) {
16784 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16785 if (!SWIG_IsOK(res2)) {
16786 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16787 }
16788 arg2 = reinterpret_cast< wxColourData * >(argp2);
16789 }
16790 {
16791 if (!wxPyCheckForApp()) SWIG_fail;
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16798 return resultobj;
16799 fail:
16800 return NULL;
16801 }
16802
16803
16804 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16805 PyObject *resultobj = 0;
16806 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16807 wxColourData *result = 0 ;
16808 void *argp1 = 0 ;
16809 int res1 = 0 ;
16810 PyObject *swig_obj[1] ;
16811
16812 if (!args) SWIG_fail;
16813 swig_obj[0] = args;
16814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16815 if (!SWIG_IsOK(res1)) {
16816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16817 }
16818 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16819 {
16820 PyThreadState* __tstate = wxPyBeginAllowThreads();
16821 {
16822 wxColourData &_result_ref = (arg1)->GetColourData();
16823 result = (wxColourData *) &_result_ref;
16824 }
16825 wxPyEndAllowThreads(__tstate);
16826 if (PyErr_Occurred()) SWIG_fail;
16827 }
16828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16829 return resultobj;
16830 fail:
16831 return NULL;
16832 }
16833
16834
16835 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16836 PyObject *obj;
16837 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16838 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16839 return SWIG_Py_Void();
16840 }
16841
16842 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16843 return SWIG_Python_InitShadowInstance(args);
16844 }
16845
16846 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj = 0;
16848 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16849 wxColour const &arg2_defvalue = wxNullColour ;
16850 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16851 wxString const &arg3_defvalue = wxPyEmptyString ;
16852 wxString *arg3 = (wxString *) &arg3_defvalue ;
16853 wxColour result;
16854 void *argp1 = 0 ;
16855 int res1 = 0 ;
16856 wxColour temp2 ;
16857 bool temp3 = false ;
16858 PyObject * obj0 = 0 ;
16859 PyObject * obj1 = 0 ;
16860 PyObject * obj2 = 0 ;
16861 char * kwnames[] = {
16862 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16863 };
16864
16865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16866 if (obj0) {
16867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16868 if (!SWIG_IsOK(res1)) {
16869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16870 }
16871 arg1 = reinterpret_cast< wxWindow * >(argp1);
16872 }
16873 if (obj1) {
16874 {
16875 arg2 = &temp2;
16876 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16877 }
16878 }
16879 if (obj2) {
16880 {
16881 arg3 = wxString_in_helper(obj2);
16882 if (arg3 == NULL) SWIG_fail;
16883 temp3 = true;
16884 }
16885 }
16886 {
16887 PyThreadState* __tstate = wxPyBeginAllowThreads();
16888 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16889 wxPyEndAllowThreads(__tstate);
16890 if (PyErr_Occurred()) SWIG_fail;
16891 }
16892 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16893 {
16894 if (temp3)
16895 delete arg3;
16896 }
16897 return resultobj;
16898 fail:
16899 {
16900 if (temp3)
16901 delete arg3;
16902 }
16903 return NULL;
16904 }
16905
16906
16907 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16908 PyObject *resultobj = 0;
16909 wxWindow *arg1 = (wxWindow *) 0 ;
16910 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16911 wxString *arg2 = (wxString *) &arg2_defvalue ;
16912 wxString const &arg3_defvalue = wxPyEmptyString ;
16913 wxString *arg3 = (wxString *) &arg3_defvalue ;
16914 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16915 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16916 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16917 wxSize const &arg6_defvalue = wxDefaultSize ;
16918 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16919 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16920 wxString *arg7 = (wxString *) &arg7_defvalue ;
16921 wxDirDialog *result = 0 ;
16922 void *argp1 = 0 ;
16923 int res1 = 0 ;
16924 bool temp2 = false ;
16925 bool temp3 = false ;
16926 long val4 ;
16927 int ecode4 = 0 ;
16928 wxPoint temp5 ;
16929 wxSize temp6 ;
16930 bool temp7 = false ;
16931 PyObject * obj0 = 0 ;
16932 PyObject * obj1 = 0 ;
16933 PyObject * obj2 = 0 ;
16934 PyObject * obj3 = 0 ;
16935 PyObject * obj4 = 0 ;
16936 PyObject * obj5 = 0 ;
16937 PyObject * obj6 = 0 ;
16938 char * kwnames[] = {
16939 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16940 };
16941
16942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16944 if (!SWIG_IsOK(res1)) {
16945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16946 }
16947 arg1 = reinterpret_cast< wxWindow * >(argp1);
16948 if (obj1) {
16949 {
16950 arg2 = wxString_in_helper(obj1);
16951 if (arg2 == NULL) SWIG_fail;
16952 temp2 = true;
16953 }
16954 }
16955 if (obj2) {
16956 {
16957 arg3 = wxString_in_helper(obj2);
16958 if (arg3 == NULL) SWIG_fail;
16959 temp3 = true;
16960 }
16961 }
16962 if (obj3) {
16963 ecode4 = SWIG_AsVal_long(obj3, &val4);
16964 if (!SWIG_IsOK(ecode4)) {
16965 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16966 }
16967 arg4 = static_cast< long >(val4);
16968 }
16969 if (obj4) {
16970 {
16971 arg5 = &temp5;
16972 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16973 }
16974 }
16975 if (obj5) {
16976 {
16977 arg6 = &temp6;
16978 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16979 }
16980 }
16981 if (obj6) {
16982 {
16983 arg7 = wxString_in_helper(obj6);
16984 if (arg7 == NULL) SWIG_fail;
16985 temp7 = true;
16986 }
16987 }
16988 {
16989 if (!wxPyCheckForApp()) SWIG_fail;
16990 PyThreadState* __tstate = wxPyBeginAllowThreads();
16991 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16992 wxPyEndAllowThreads(__tstate);
16993 if (PyErr_Occurred()) SWIG_fail;
16994 }
16995 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16996 {
16997 if (temp2)
16998 delete arg2;
16999 }
17000 {
17001 if (temp3)
17002 delete arg3;
17003 }
17004 {
17005 if (temp7)
17006 delete arg7;
17007 }
17008 return resultobj;
17009 fail:
17010 {
17011 if (temp2)
17012 delete arg2;
17013 }
17014 {
17015 if (temp3)
17016 delete arg3;
17017 }
17018 {
17019 if (temp7)
17020 delete arg7;
17021 }
17022 return NULL;
17023 }
17024
17025
17026 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17027 PyObject *resultobj = 0;
17028 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17029 wxString result;
17030 void *argp1 = 0 ;
17031 int res1 = 0 ;
17032 PyObject *swig_obj[1] ;
17033
17034 if (!args) SWIG_fail;
17035 swig_obj[0] = args;
17036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17037 if (!SWIG_IsOK(res1)) {
17038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17039 }
17040 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17041 {
17042 PyThreadState* __tstate = wxPyBeginAllowThreads();
17043 result = (arg1)->GetPath();
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 {
17048 #if wxUSE_UNICODE
17049 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17050 #else
17051 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17052 #endif
17053 }
17054 return resultobj;
17055 fail:
17056 return NULL;
17057 }
17058
17059
17060 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17061 PyObject *resultobj = 0;
17062 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17063 wxString result;
17064 void *argp1 = 0 ;
17065 int res1 = 0 ;
17066 PyObject *swig_obj[1] ;
17067
17068 if (!args) SWIG_fail;
17069 swig_obj[0] = args;
17070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17071 if (!SWIG_IsOK(res1)) {
17072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17073 }
17074 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17075 {
17076 PyThreadState* __tstate = wxPyBeginAllowThreads();
17077 result = (arg1)->GetMessage();
17078 wxPyEndAllowThreads(__tstate);
17079 if (PyErr_Occurred()) SWIG_fail;
17080 }
17081 {
17082 #if wxUSE_UNICODE
17083 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17084 #else
17085 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17086 #endif
17087 }
17088 return resultobj;
17089 fail:
17090 return NULL;
17091 }
17092
17093
17094 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17095 PyObject *resultobj = 0;
17096 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17097 wxString *arg2 = 0 ;
17098 void *argp1 = 0 ;
17099 int res1 = 0 ;
17100 bool temp2 = false ;
17101 PyObject * obj0 = 0 ;
17102 PyObject * obj1 = 0 ;
17103 char * kwnames[] = {
17104 (char *) "self",(char *) "message", NULL
17105 };
17106
17107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17109 if (!SWIG_IsOK(res1)) {
17110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17111 }
17112 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17113 {
17114 arg2 = wxString_in_helper(obj1);
17115 if (arg2 == NULL) SWIG_fail;
17116 temp2 = true;
17117 }
17118 {
17119 PyThreadState* __tstate = wxPyBeginAllowThreads();
17120 (arg1)->SetMessage((wxString const &)*arg2);
17121 wxPyEndAllowThreads(__tstate);
17122 if (PyErr_Occurred()) SWIG_fail;
17123 }
17124 resultobj = SWIG_Py_Void();
17125 {
17126 if (temp2)
17127 delete arg2;
17128 }
17129 return resultobj;
17130 fail:
17131 {
17132 if (temp2)
17133 delete arg2;
17134 }
17135 return NULL;
17136 }
17137
17138
17139 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17140 PyObject *resultobj = 0;
17141 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17142 wxString *arg2 = 0 ;
17143 void *argp1 = 0 ;
17144 int res1 = 0 ;
17145 bool temp2 = false ;
17146 PyObject * obj0 = 0 ;
17147 PyObject * obj1 = 0 ;
17148 char * kwnames[] = {
17149 (char *) "self",(char *) "path", NULL
17150 };
17151
17152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17154 if (!SWIG_IsOK(res1)) {
17155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17156 }
17157 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17158 {
17159 arg2 = wxString_in_helper(obj1);
17160 if (arg2 == NULL) SWIG_fail;
17161 temp2 = true;
17162 }
17163 {
17164 PyThreadState* __tstate = wxPyBeginAllowThreads();
17165 (arg1)->SetPath((wxString const &)*arg2);
17166 wxPyEndAllowThreads(__tstate);
17167 if (PyErr_Occurred()) SWIG_fail;
17168 }
17169 resultobj = SWIG_Py_Void();
17170 {
17171 if (temp2)
17172 delete arg2;
17173 }
17174 return resultobj;
17175 fail:
17176 {
17177 if (temp2)
17178 delete arg2;
17179 }
17180 return NULL;
17181 }
17182
17183
17184 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17185 PyObject *obj;
17186 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17187 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17188 return SWIG_Py_Void();
17189 }
17190
17191 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17192 return SWIG_Python_InitShadowInstance(args);
17193 }
17194
17195 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17196 PyObject *resultobj = 0;
17197 wxWindow *arg1 = (wxWindow *) 0 ;
17198 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17199 wxString *arg2 = (wxString *) &arg2_defvalue ;
17200 wxString const &arg3_defvalue = wxPyEmptyString ;
17201 wxString *arg3 = (wxString *) &arg3_defvalue ;
17202 wxString const &arg4_defvalue = wxPyEmptyString ;
17203 wxString *arg4 = (wxString *) &arg4_defvalue ;
17204 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17205 wxString *arg5 = (wxString *) &arg5_defvalue ;
17206 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17207 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17208 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17209 wxFileDialog *result = 0 ;
17210 void *argp1 = 0 ;
17211 int res1 = 0 ;
17212 bool temp2 = false ;
17213 bool temp3 = false ;
17214 bool temp4 = false ;
17215 bool temp5 = false ;
17216 long val6 ;
17217 int ecode6 = 0 ;
17218 wxPoint temp7 ;
17219 PyObject * obj0 = 0 ;
17220 PyObject * obj1 = 0 ;
17221 PyObject * obj2 = 0 ;
17222 PyObject * obj3 = 0 ;
17223 PyObject * obj4 = 0 ;
17224 PyObject * obj5 = 0 ;
17225 PyObject * obj6 = 0 ;
17226 char * kwnames[] = {
17227 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17228 };
17229
17230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17232 if (!SWIG_IsOK(res1)) {
17233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17234 }
17235 arg1 = reinterpret_cast< wxWindow * >(argp1);
17236 if (obj1) {
17237 {
17238 arg2 = wxString_in_helper(obj1);
17239 if (arg2 == NULL) SWIG_fail;
17240 temp2 = true;
17241 }
17242 }
17243 if (obj2) {
17244 {
17245 arg3 = wxString_in_helper(obj2);
17246 if (arg3 == NULL) SWIG_fail;
17247 temp3 = true;
17248 }
17249 }
17250 if (obj3) {
17251 {
17252 arg4 = wxString_in_helper(obj3);
17253 if (arg4 == NULL) SWIG_fail;
17254 temp4 = true;
17255 }
17256 }
17257 if (obj4) {
17258 {
17259 arg5 = wxString_in_helper(obj4);
17260 if (arg5 == NULL) SWIG_fail;
17261 temp5 = true;
17262 }
17263 }
17264 if (obj5) {
17265 ecode6 = SWIG_AsVal_long(obj5, &val6);
17266 if (!SWIG_IsOK(ecode6)) {
17267 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17268 }
17269 arg6 = static_cast< long >(val6);
17270 }
17271 if (obj6) {
17272 {
17273 arg7 = &temp7;
17274 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17275 }
17276 }
17277 {
17278 if (!wxPyCheckForApp()) SWIG_fail;
17279 PyThreadState* __tstate = wxPyBeginAllowThreads();
17280 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17281 wxPyEndAllowThreads(__tstate);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 }
17284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17285 {
17286 if (temp2)
17287 delete arg2;
17288 }
17289 {
17290 if (temp3)
17291 delete arg3;
17292 }
17293 {
17294 if (temp4)
17295 delete arg4;
17296 }
17297 {
17298 if (temp5)
17299 delete arg5;
17300 }
17301 return resultobj;
17302 fail:
17303 {
17304 if (temp2)
17305 delete arg2;
17306 }
17307 {
17308 if (temp3)
17309 delete arg3;
17310 }
17311 {
17312 if (temp4)
17313 delete arg4;
17314 }
17315 {
17316 if (temp5)
17317 delete arg5;
17318 }
17319 return NULL;
17320 }
17321
17322
17323 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17324 PyObject *resultobj = 0;
17325 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17326 wxString *arg2 = 0 ;
17327 void *argp1 = 0 ;
17328 int res1 = 0 ;
17329 bool temp2 = false ;
17330 PyObject * obj0 = 0 ;
17331 PyObject * obj1 = 0 ;
17332 char * kwnames[] = {
17333 (char *) "self",(char *) "message", NULL
17334 };
17335
17336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17338 if (!SWIG_IsOK(res1)) {
17339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17340 }
17341 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17342 {
17343 arg2 = wxString_in_helper(obj1);
17344 if (arg2 == NULL) SWIG_fail;
17345 temp2 = true;
17346 }
17347 {
17348 PyThreadState* __tstate = wxPyBeginAllowThreads();
17349 (arg1)->SetMessage((wxString const &)*arg2);
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 resultobj = SWIG_Py_Void();
17354 {
17355 if (temp2)
17356 delete arg2;
17357 }
17358 return resultobj;
17359 fail:
17360 {
17361 if (temp2)
17362 delete arg2;
17363 }
17364 return NULL;
17365 }
17366
17367
17368 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17369 PyObject *resultobj = 0;
17370 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17371 wxString *arg2 = 0 ;
17372 void *argp1 = 0 ;
17373 int res1 = 0 ;
17374 bool temp2 = false ;
17375 PyObject * obj0 = 0 ;
17376 PyObject * obj1 = 0 ;
17377 char * kwnames[] = {
17378 (char *) "self",(char *) "path", NULL
17379 };
17380
17381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17383 if (!SWIG_IsOK(res1)) {
17384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17385 }
17386 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17387 {
17388 arg2 = wxString_in_helper(obj1);
17389 if (arg2 == NULL) SWIG_fail;
17390 temp2 = true;
17391 }
17392 {
17393 PyThreadState* __tstate = wxPyBeginAllowThreads();
17394 (arg1)->SetPath((wxString const &)*arg2);
17395 wxPyEndAllowThreads(__tstate);
17396 if (PyErr_Occurred()) SWIG_fail;
17397 }
17398 resultobj = SWIG_Py_Void();
17399 {
17400 if (temp2)
17401 delete arg2;
17402 }
17403 return resultobj;
17404 fail:
17405 {
17406 if (temp2)
17407 delete arg2;
17408 }
17409 return NULL;
17410 }
17411
17412
17413 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17414 PyObject *resultobj = 0;
17415 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17416 wxString *arg2 = 0 ;
17417 void *argp1 = 0 ;
17418 int res1 = 0 ;
17419 bool temp2 = false ;
17420 PyObject * obj0 = 0 ;
17421 PyObject * obj1 = 0 ;
17422 char * kwnames[] = {
17423 (char *) "self",(char *) "dir", NULL
17424 };
17425
17426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17428 if (!SWIG_IsOK(res1)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17430 }
17431 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17432 {
17433 arg2 = wxString_in_helper(obj1);
17434 if (arg2 == NULL) SWIG_fail;
17435 temp2 = true;
17436 }
17437 {
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 (arg1)->SetDirectory((wxString const &)*arg2);
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 resultobj = SWIG_Py_Void();
17444 {
17445 if (temp2)
17446 delete arg2;
17447 }
17448 return resultobj;
17449 fail:
17450 {
17451 if (temp2)
17452 delete arg2;
17453 }
17454 return NULL;
17455 }
17456
17457
17458 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17459 PyObject *resultobj = 0;
17460 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17461 wxString *arg2 = 0 ;
17462 void *argp1 = 0 ;
17463 int res1 = 0 ;
17464 bool temp2 = false ;
17465 PyObject * obj0 = 0 ;
17466 PyObject * obj1 = 0 ;
17467 char * kwnames[] = {
17468 (char *) "self",(char *) "name", NULL
17469 };
17470
17471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17473 if (!SWIG_IsOK(res1)) {
17474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17475 }
17476 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17477 {
17478 arg2 = wxString_in_helper(obj1);
17479 if (arg2 == NULL) SWIG_fail;
17480 temp2 = true;
17481 }
17482 {
17483 PyThreadState* __tstate = wxPyBeginAllowThreads();
17484 (arg1)->SetFilename((wxString const &)*arg2);
17485 wxPyEndAllowThreads(__tstate);
17486 if (PyErr_Occurred()) SWIG_fail;
17487 }
17488 resultobj = SWIG_Py_Void();
17489 {
17490 if (temp2)
17491 delete arg2;
17492 }
17493 return resultobj;
17494 fail:
17495 {
17496 if (temp2)
17497 delete arg2;
17498 }
17499 return NULL;
17500 }
17501
17502
17503 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17504 PyObject *resultobj = 0;
17505 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17506 wxString *arg2 = 0 ;
17507 void *argp1 = 0 ;
17508 int res1 = 0 ;
17509 bool temp2 = false ;
17510 PyObject * obj0 = 0 ;
17511 PyObject * obj1 = 0 ;
17512 char * kwnames[] = {
17513 (char *) "self",(char *) "wildCard", NULL
17514 };
17515
17516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17518 if (!SWIG_IsOK(res1)) {
17519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17520 }
17521 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17522 {
17523 arg2 = wxString_in_helper(obj1);
17524 if (arg2 == NULL) SWIG_fail;
17525 temp2 = true;
17526 }
17527 {
17528 PyThreadState* __tstate = wxPyBeginAllowThreads();
17529 (arg1)->SetWildcard((wxString const &)*arg2);
17530 wxPyEndAllowThreads(__tstate);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
17533 resultobj = SWIG_Py_Void();
17534 {
17535 if (temp2)
17536 delete arg2;
17537 }
17538 return resultobj;
17539 fail:
17540 {
17541 if (temp2)
17542 delete arg2;
17543 }
17544 return NULL;
17545 }
17546
17547
17548 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17549 PyObject *resultobj = 0;
17550 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17551 int arg2 ;
17552 void *argp1 = 0 ;
17553 int res1 = 0 ;
17554 int val2 ;
17555 int ecode2 = 0 ;
17556 PyObject * obj0 = 0 ;
17557 PyObject * obj1 = 0 ;
17558 char * kwnames[] = {
17559 (char *) "self",(char *) "filterIndex", NULL
17560 };
17561
17562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17564 if (!SWIG_IsOK(res1)) {
17565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17566 }
17567 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17568 ecode2 = SWIG_AsVal_int(obj1, &val2);
17569 if (!SWIG_IsOK(ecode2)) {
17570 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17571 }
17572 arg2 = static_cast< int >(val2);
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 (arg1)->SetFilterIndex(arg2);
17576 wxPyEndAllowThreads(__tstate);
17577 if (PyErr_Occurred()) SWIG_fail;
17578 }
17579 resultobj = SWIG_Py_Void();
17580 return resultobj;
17581 fail:
17582 return NULL;
17583 }
17584
17585
17586 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17587 PyObject *resultobj = 0;
17588 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17589 wxString result;
17590 void *argp1 = 0 ;
17591 int res1 = 0 ;
17592 PyObject *swig_obj[1] ;
17593
17594 if (!args) SWIG_fail;
17595 swig_obj[0] = args;
17596 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17597 if (!SWIG_IsOK(res1)) {
17598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17599 }
17600 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17601 {
17602 PyThreadState* __tstate = wxPyBeginAllowThreads();
17603 result = ((wxFileDialog const *)arg1)->GetMessage();
17604 wxPyEndAllowThreads(__tstate);
17605 if (PyErr_Occurred()) SWIG_fail;
17606 }
17607 {
17608 #if wxUSE_UNICODE
17609 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17610 #else
17611 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17612 #endif
17613 }
17614 return resultobj;
17615 fail:
17616 return NULL;
17617 }
17618
17619
17620 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17621 PyObject *resultobj = 0;
17622 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17623 wxString result;
17624 void *argp1 = 0 ;
17625 int res1 = 0 ;
17626 PyObject *swig_obj[1] ;
17627
17628 if (!args) SWIG_fail;
17629 swig_obj[0] = args;
17630 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17631 if (!SWIG_IsOK(res1)) {
17632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17633 }
17634 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17635 {
17636 PyThreadState* __tstate = wxPyBeginAllowThreads();
17637 result = ((wxFileDialog const *)arg1)->GetPath();
17638 wxPyEndAllowThreads(__tstate);
17639 if (PyErr_Occurred()) SWIG_fail;
17640 }
17641 {
17642 #if wxUSE_UNICODE
17643 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17644 #else
17645 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17646 #endif
17647 }
17648 return resultobj;
17649 fail:
17650 return NULL;
17651 }
17652
17653
17654 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17655 PyObject *resultobj = 0;
17656 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17657 wxString result;
17658 void *argp1 = 0 ;
17659 int res1 = 0 ;
17660 PyObject *swig_obj[1] ;
17661
17662 if (!args) SWIG_fail;
17663 swig_obj[0] = args;
17664 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17665 if (!SWIG_IsOK(res1)) {
17666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17667 }
17668 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17669 {
17670 PyThreadState* __tstate = wxPyBeginAllowThreads();
17671 result = ((wxFileDialog const *)arg1)->GetDirectory();
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 {
17676 #if wxUSE_UNICODE
17677 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17678 #else
17679 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17680 #endif
17681 }
17682 return resultobj;
17683 fail:
17684 return NULL;
17685 }
17686
17687
17688 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17689 PyObject *resultobj = 0;
17690 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17691 wxString result;
17692 void *argp1 = 0 ;
17693 int res1 = 0 ;
17694 PyObject *swig_obj[1] ;
17695
17696 if (!args) SWIG_fail;
17697 swig_obj[0] = args;
17698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17699 if (!SWIG_IsOK(res1)) {
17700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17701 }
17702 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17703 {
17704 PyThreadState* __tstate = wxPyBeginAllowThreads();
17705 result = ((wxFileDialog const *)arg1)->GetFilename();
17706 wxPyEndAllowThreads(__tstate);
17707 if (PyErr_Occurred()) SWIG_fail;
17708 }
17709 {
17710 #if wxUSE_UNICODE
17711 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17712 #else
17713 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17714 #endif
17715 }
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17723 PyObject *resultobj = 0;
17724 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17725 wxString result;
17726 void *argp1 = 0 ;
17727 int res1 = 0 ;
17728 PyObject *swig_obj[1] ;
17729
17730 if (!args) SWIG_fail;
17731 swig_obj[0] = args;
17732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17733 if (!SWIG_IsOK(res1)) {
17734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17735 }
17736 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17737 {
17738 PyThreadState* __tstate = wxPyBeginAllowThreads();
17739 result = ((wxFileDialog const *)arg1)->GetWildcard();
17740 wxPyEndAllowThreads(__tstate);
17741 if (PyErr_Occurred()) SWIG_fail;
17742 }
17743 {
17744 #if wxUSE_UNICODE
17745 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17746 #else
17747 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17748 #endif
17749 }
17750 return resultobj;
17751 fail:
17752 return NULL;
17753 }
17754
17755
17756 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17757 PyObject *resultobj = 0;
17758 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17759 int result;
17760 void *argp1 = 0 ;
17761 int res1 = 0 ;
17762 PyObject *swig_obj[1] ;
17763
17764 if (!args) SWIG_fail;
17765 swig_obj[0] = args;
17766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17767 if (!SWIG_IsOK(res1)) {
17768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17769 }
17770 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17771 {
17772 PyThreadState* __tstate = wxPyBeginAllowThreads();
17773 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 resultobj = SWIG_From_int(static_cast< int >(result));
17778 return resultobj;
17779 fail:
17780 return NULL;
17781 }
17782
17783
17784 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17785 PyObject *resultobj = 0;
17786 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17787 PyObject *result = 0 ;
17788 void *argp1 = 0 ;
17789 int res1 = 0 ;
17790 PyObject *swig_obj[1] ;
17791
17792 if (!args) SWIG_fail;
17793 swig_obj[0] = args;
17794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17795 if (!SWIG_IsOK(res1)) {
17796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17797 }
17798 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 resultobj = result;
17806 return resultobj;
17807 fail:
17808 return NULL;
17809 }
17810
17811
17812 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17813 PyObject *resultobj = 0;
17814 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17815 PyObject *result = 0 ;
17816 void *argp1 = 0 ;
17817 int res1 = 0 ;
17818 PyObject *swig_obj[1] ;
17819
17820 if (!args) SWIG_fail;
17821 swig_obj[0] = args;
17822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17823 if (!SWIG_IsOK(res1)) {
17824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17825 }
17826 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17827 {
17828 PyThreadState* __tstate = wxPyBeginAllowThreads();
17829 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17830 wxPyEndAllowThreads(__tstate);
17831 if (PyErr_Occurred()) SWIG_fail;
17832 }
17833 resultobj = result;
17834 return resultobj;
17835 fail:
17836 return NULL;
17837 }
17838
17839
17840 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17841 PyObject *obj;
17842 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17843 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17844 return SWIG_Py_Void();
17845 }
17846
17847 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17848 return SWIG_Python_InitShadowInstance(args);
17849 }
17850
17851 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17852 PyObject *resultobj = 0;
17853 wxWindow *arg1 = (wxWindow *) 0 ;
17854 wxString *arg2 = 0 ;
17855 wxString *arg3 = 0 ;
17856 int arg4 = (int) 0 ;
17857 wxString *arg5 = (wxString *) NULL ;
17858 long arg6 = (long) wxCHOICEDLG_STYLE ;
17859 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17860 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17861 wxMultiChoiceDialog *result = 0 ;
17862 void *argp1 = 0 ;
17863 int res1 = 0 ;
17864 bool temp2 = false ;
17865 bool temp3 = false ;
17866 long val6 ;
17867 int ecode6 = 0 ;
17868 wxPoint temp7 ;
17869 PyObject * obj0 = 0 ;
17870 PyObject * obj1 = 0 ;
17871 PyObject * obj2 = 0 ;
17872 PyObject * obj3 = 0 ;
17873 PyObject * obj4 = 0 ;
17874 PyObject * obj5 = 0 ;
17875 char * kwnames[] = {
17876 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17877 };
17878
17879 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17880 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17881 if (!SWIG_IsOK(res1)) {
17882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17883 }
17884 arg1 = reinterpret_cast< wxWindow * >(argp1);
17885 {
17886 arg2 = wxString_in_helper(obj1);
17887 if (arg2 == NULL) SWIG_fail;
17888 temp2 = true;
17889 }
17890 {
17891 arg3 = wxString_in_helper(obj2);
17892 if (arg3 == NULL) SWIG_fail;
17893 temp3 = true;
17894 }
17895 if (obj3) {
17896 {
17897 arg4 = PyList_Size(obj3);
17898 arg5 = wxString_LIST_helper(obj3);
17899 if (arg5 == NULL) SWIG_fail;
17900 }
17901 }
17902 if (obj4) {
17903 ecode6 = SWIG_AsVal_long(obj4, &val6);
17904 if (!SWIG_IsOK(ecode6)) {
17905 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17906 }
17907 arg6 = static_cast< long >(val6);
17908 }
17909 if (obj5) {
17910 {
17911 arg7 = &temp7;
17912 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17913 }
17914 }
17915 {
17916 if (!wxPyCheckForApp()) SWIG_fail;
17917 PyThreadState* __tstate = wxPyBeginAllowThreads();
17918 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17919 wxPyEndAllowThreads(__tstate);
17920 if (PyErr_Occurred()) SWIG_fail;
17921 }
17922 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17923 {
17924 if (temp2)
17925 delete arg2;
17926 }
17927 {
17928 if (temp3)
17929 delete arg3;
17930 }
17931 {
17932 if (arg5) delete [] arg5;
17933 }
17934 return resultobj;
17935 fail:
17936 {
17937 if (temp2)
17938 delete arg2;
17939 }
17940 {
17941 if (temp3)
17942 delete arg3;
17943 }
17944 {
17945 if (arg5) delete [] arg5;
17946 }
17947 return NULL;
17948 }
17949
17950
17951 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17952 PyObject *resultobj = 0;
17953 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17954 wxArrayInt *arg2 = 0 ;
17955 void *argp1 = 0 ;
17956 int res1 = 0 ;
17957 bool temp2 = false ;
17958 PyObject * obj0 = 0 ;
17959 PyObject * obj1 = 0 ;
17960 char * kwnames[] = {
17961 (char *) "self",(char *) "selections", NULL
17962 };
17963
17964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17966 if (!SWIG_IsOK(res1)) {
17967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17968 }
17969 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17970 {
17971 if (! PySequence_Check(obj1)) {
17972 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17973 SWIG_fail;
17974 }
17975 arg2 = new wxArrayInt;
17976 temp2 = true;
17977 int i, len=PySequence_Length(obj1);
17978 for (i=0; i<len; i++) {
17979 PyObject* item = PySequence_GetItem(obj1, i);
17980 PyObject* number = PyNumber_Int(item);
17981 arg2->Add(PyInt_AS_LONG(number));
17982 Py_DECREF(item);
17983 Py_DECREF(number);
17984 }
17985 }
17986 {
17987 PyThreadState* __tstate = wxPyBeginAllowThreads();
17988 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17989 wxPyEndAllowThreads(__tstate);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 resultobj = SWIG_Py_Void();
17993 {
17994 if (temp2) delete arg2;
17995 }
17996 return resultobj;
17997 fail:
17998 {
17999 if (temp2) delete arg2;
18000 }
18001 return NULL;
18002 }
18003
18004
18005 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18006 PyObject *resultobj = 0;
18007 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18008 PyObject *result = 0 ;
18009 void *argp1 = 0 ;
18010 int res1 = 0 ;
18011 PyObject *swig_obj[1] ;
18012
18013 if (!args) SWIG_fail;
18014 swig_obj[0] = args;
18015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18016 if (!SWIG_IsOK(res1)) {
18017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18018 }
18019 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18020 {
18021 PyThreadState* __tstate = wxPyBeginAllowThreads();
18022 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18023 wxPyEndAllowThreads(__tstate);
18024 if (PyErr_Occurred()) SWIG_fail;
18025 }
18026 resultobj = result;
18027 return resultobj;
18028 fail:
18029 return NULL;
18030 }
18031
18032
18033 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18034 PyObject *obj;
18035 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18036 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18037 return SWIG_Py_Void();
18038 }
18039
18040 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18041 return SWIG_Python_InitShadowInstance(args);
18042 }
18043
18044 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18045 PyObject *resultobj = 0;
18046 wxWindow *arg1 = (wxWindow *) 0 ;
18047 wxString *arg2 = 0 ;
18048 wxString *arg3 = 0 ;
18049 int arg4 ;
18050 wxString *arg5 = (wxString *) 0 ;
18051 long arg6 = (long) wxCHOICEDLG_STYLE ;
18052 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18053 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18054 wxSingleChoiceDialog *result = 0 ;
18055 void *argp1 = 0 ;
18056 int res1 = 0 ;
18057 bool temp2 = false ;
18058 bool temp3 = false ;
18059 long val6 ;
18060 int ecode6 = 0 ;
18061 wxPoint temp7 ;
18062 PyObject * obj0 = 0 ;
18063 PyObject * obj1 = 0 ;
18064 PyObject * obj2 = 0 ;
18065 PyObject * obj3 = 0 ;
18066 PyObject * obj4 = 0 ;
18067 PyObject * obj5 = 0 ;
18068 char * kwnames[] = {
18069 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18070 };
18071
18072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18074 if (!SWIG_IsOK(res1)) {
18075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18076 }
18077 arg1 = reinterpret_cast< wxWindow * >(argp1);
18078 {
18079 arg2 = wxString_in_helper(obj1);
18080 if (arg2 == NULL) SWIG_fail;
18081 temp2 = true;
18082 }
18083 {
18084 arg3 = wxString_in_helper(obj2);
18085 if (arg3 == NULL) SWIG_fail;
18086 temp3 = true;
18087 }
18088 {
18089 arg4 = PyList_Size(obj3);
18090 arg5 = wxString_LIST_helper(obj3);
18091 if (arg5 == NULL) SWIG_fail;
18092 }
18093 if (obj4) {
18094 ecode6 = SWIG_AsVal_long(obj4, &val6);
18095 if (!SWIG_IsOK(ecode6)) {
18096 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18097 }
18098 arg6 = static_cast< long >(val6);
18099 }
18100 if (obj5) {
18101 {
18102 arg7 = &temp7;
18103 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18104 }
18105 }
18106 {
18107 if (!wxPyCheckForApp()) SWIG_fail;
18108 PyThreadState* __tstate = wxPyBeginAllowThreads();
18109 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18110 wxPyEndAllowThreads(__tstate);
18111 if (PyErr_Occurred()) SWIG_fail;
18112 }
18113 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18114 {
18115 if (temp2)
18116 delete arg2;
18117 }
18118 {
18119 if (temp3)
18120 delete arg3;
18121 }
18122 {
18123 if (arg5) delete [] arg5;
18124 }
18125 return resultobj;
18126 fail:
18127 {
18128 if (temp2)
18129 delete arg2;
18130 }
18131 {
18132 if (temp3)
18133 delete arg3;
18134 }
18135 {
18136 if (arg5) delete [] arg5;
18137 }
18138 return NULL;
18139 }
18140
18141
18142 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18143 PyObject *resultobj = 0;
18144 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18145 int result;
18146 void *argp1 = 0 ;
18147 int res1 = 0 ;
18148 PyObject *swig_obj[1] ;
18149
18150 if (!args) SWIG_fail;
18151 swig_obj[0] = args;
18152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18153 if (!SWIG_IsOK(res1)) {
18154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18155 }
18156 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 result = (int)(arg1)->GetSelection();
18160 wxPyEndAllowThreads(__tstate);
18161 if (PyErr_Occurred()) SWIG_fail;
18162 }
18163 resultobj = SWIG_From_int(static_cast< int >(result));
18164 return resultobj;
18165 fail:
18166 return NULL;
18167 }
18168
18169
18170 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18171 PyObject *resultobj = 0;
18172 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18173 wxString result;
18174 void *argp1 = 0 ;
18175 int res1 = 0 ;
18176 PyObject *swig_obj[1] ;
18177
18178 if (!args) SWIG_fail;
18179 swig_obj[0] = args;
18180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18181 if (!SWIG_IsOK(res1)) {
18182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18183 }
18184 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18185 {
18186 PyThreadState* __tstate = wxPyBeginAllowThreads();
18187 result = (arg1)->GetStringSelection();
18188 wxPyEndAllowThreads(__tstate);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 }
18191 {
18192 #if wxUSE_UNICODE
18193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18194 #else
18195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18196 #endif
18197 }
18198 return resultobj;
18199 fail:
18200 return NULL;
18201 }
18202
18203
18204 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18205 PyObject *resultobj = 0;
18206 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18207 int arg2 ;
18208 void *argp1 = 0 ;
18209 int res1 = 0 ;
18210 int val2 ;
18211 int ecode2 = 0 ;
18212 PyObject * obj0 = 0 ;
18213 PyObject * obj1 = 0 ;
18214 char * kwnames[] = {
18215 (char *) "self",(char *) "sel", NULL
18216 };
18217
18218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18220 if (!SWIG_IsOK(res1)) {
18221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18222 }
18223 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18224 ecode2 = SWIG_AsVal_int(obj1, &val2);
18225 if (!SWIG_IsOK(ecode2)) {
18226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18227 }
18228 arg2 = static_cast< int >(val2);
18229 {
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 (arg1)->SetSelection(arg2);
18232 wxPyEndAllowThreads(__tstate);
18233 if (PyErr_Occurred()) SWIG_fail;
18234 }
18235 resultobj = SWIG_Py_Void();
18236 return resultobj;
18237 fail:
18238 return NULL;
18239 }
18240
18241
18242 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18243 PyObject *obj;
18244 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18245 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18246 return SWIG_Py_Void();
18247 }
18248
18249 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18250 return SWIG_Python_InitShadowInstance(args);
18251 }
18252
18253 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18254 PyObject *resultobj = 0;
18255 wxWindow *arg1 = (wxWindow *) 0 ;
18256 wxString *arg2 = 0 ;
18257 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18258 wxString *arg3 = (wxString *) &arg3_defvalue ;
18259 wxString const &arg4_defvalue = wxPyEmptyString ;
18260 wxString *arg4 = (wxString *) &arg4_defvalue ;
18261 long arg5 = (long) wxTextEntryDialogStyle ;
18262 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18263 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18264 wxTextEntryDialog *result = 0 ;
18265 void *argp1 = 0 ;
18266 int res1 = 0 ;
18267 bool temp2 = false ;
18268 bool temp3 = false ;
18269 bool temp4 = false ;
18270 long val5 ;
18271 int ecode5 = 0 ;
18272 wxPoint temp6 ;
18273 PyObject * obj0 = 0 ;
18274 PyObject * obj1 = 0 ;
18275 PyObject * obj2 = 0 ;
18276 PyObject * obj3 = 0 ;
18277 PyObject * obj4 = 0 ;
18278 PyObject * obj5 = 0 ;
18279 char * kwnames[] = {
18280 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18281 };
18282
18283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18285 if (!SWIG_IsOK(res1)) {
18286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18287 }
18288 arg1 = reinterpret_cast< wxWindow * >(argp1);
18289 {
18290 arg2 = wxString_in_helper(obj1);
18291 if (arg2 == NULL) SWIG_fail;
18292 temp2 = true;
18293 }
18294 if (obj2) {
18295 {
18296 arg3 = wxString_in_helper(obj2);
18297 if (arg3 == NULL) SWIG_fail;
18298 temp3 = true;
18299 }
18300 }
18301 if (obj3) {
18302 {
18303 arg4 = wxString_in_helper(obj3);
18304 if (arg4 == NULL) SWIG_fail;
18305 temp4 = true;
18306 }
18307 }
18308 if (obj4) {
18309 ecode5 = SWIG_AsVal_long(obj4, &val5);
18310 if (!SWIG_IsOK(ecode5)) {
18311 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18312 }
18313 arg5 = static_cast< long >(val5);
18314 }
18315 if (obj5) {
18316 {
18317 arg6 = &temp6;
18318 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18319 }
18320 }
18321 {
18322 if (!wxPyCheckForApp()) SWIG_fail;
18323 PyThreadState* __tstate = wxPyBeginAllowThreads();
18324 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18325 wxPyEndAllowThreads(__tstate);
18326 if (PyErr_Occurred()) SWIG_fail;
18327 }
18328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18329 {
18330 if (temp2)
18331 delete arg2;
18332 }
18333 {
18334 if (temp3)
18335 delete arg3;
18336 }
18337 {
18338 if (temp4)
18339 delete arg4;
18340 }
18341 return resultobj;
18342 fail:
18343 {
18344 if (temp2)
18345 delete arg2;
18346 }
18347 {
18348 if (temp3)
18349 delete arg3;
18350 }
18351 {
18352 if (temp4)
18353 delete arg4;
18354 }
18355 return NULL;
18356 }
18357
18358
18359 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18360 PyObject *resultobj = 0;
18361 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18362 wxString result;
18363 void *argp1 = 0 ;
18364 int res1 = 0 ;
18365 PyObject *swig_obj[1] ;
18366
18367 if (!args) SWIG_fail;
18368 swig_obj[0] = args;
18369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18370 if (!SWIG_IsOK(res1)) {
18371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18372 }
18373 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18374 {
18375 PyThreadState* __tstate = wxPyBeginAllowThreads();
18376 result = (arg1)->GetValue();
18377 wxPyEndAllowThreads(__tstate);
18378 if (PyErr_Occurred()) SWIG_fail;
18379 }
18380 {
18381 #if wxUSE_UNICODE
18382 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18383 #else
18384 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18385 #endif
18386 }
18387 return resultobj;
18388 fail:
18389 return NULL;
18390 }
18391
18392
18393 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18394 PyObject *resultobj = 0;
18395 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18396 wxString *arg2 = 0 ;
18397 void *argp1 = 0 ;
18398 int res1 = 0 ;
18399 bool temp2 = false ;
18400 PyObject * obj0 = 0 ;
18401 PyObject * obj1 = 0 ;
18402 char * kwnames[] = {
18403 (char *) "self",(char *) "value", NULL
18404 };
18405
18406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18408 if (!SWIG_IsOK(res1)) {
18409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18410 }
18411 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18412 {
18413 arg2 = wxString_in_helper(obj1);
18414 if (arg2 == NULL) SWIG_fail;
18415 temp2 = true;
18416 }
18417 {
18418 PyThreadState* __tstate = wxPyBeginAllowThreads();
18419 (arg1)->SetValue((wxString const &)*arg2);
18420 wxPyEndAllowThreads(__tstate);
18421 if (PyErr_Occurred()) SWIG_fail;
18422 }
18423 resultobj = SWIG_Py_Void();
18424 {
18425 if (temp2)
18426 delete arg2;
18427 }
18428 return resultobj;
18429 fail:
18430 {
18431 if (temp2)
18432 delete arg2;
18433 }
18434 return NULL;
18435 }
18436
18437
18438 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18439 PyObject *obj;
18440 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18441 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18442 return SWIG_Py_Void();
18443 }
18444
18445 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18446 return SWIG_Python_InitShadowInstance(args);
18447 }
18448
18449 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18450 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18451 return 1;
18452 }
18453
18454
18455 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18456 PyObject *pyobj = 0;
18457
18458 {
18459 #if wxUSE_UNICODE
18460 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18461 #else
18462 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18463 #endif
18464 }
18465 return pyobj;
18466 }
18467
18468
18469 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18470 PyObject *resultobj = 0;
18471 wxWindow *arg1 = (wxWindow *) 0 ;
18472 wxString *arg2 = 0 ;
18473 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18474 wxString *arg3 = (wxString *) &arg3_defvalue ;
18475 wxString const &arg4_defvalue = wxPyEmptyString ;
18476 wxString *arg4 = (wxString *) &arg4_defvalue ;
18477 long arg5 = (long) wxTextEntryDialogStyle ;
18478 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18479 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18480 wxPasswordEntryDialog *result = 0 ;
18481 void *argp1 = 0 ;
18482 int res1 = 0 ;
18483 bool temp2 = false ;
18484 bool temp3 = false ;
18485 bool temp4 = false ;
18486 long val5 ;
18487 int ecode5 = 0 ;
18488 wxPoint temp6 ;
18489 PyObject * obj0 = 0 ;
18490 PyObject * obj1 = 0 ;
18491 PyObject * obj2 = 0 ;
18492 PyObject * obj3 = 0 ;
18493 PyObject * obj4 = 0 ;
18494 PyObject * obj5 = 0 ;
18495 char * kwnames[] = {
18496 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18497 };
18498
18499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18501 if (!SWIG_IsOK(res1)) {
18502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18503 }
18504 arg1 = reinterpret_cast< wxWindow * >(argp1);
18505 {
18506 arg2 = wxString_in_helper(obj1);
18507 if (arg2 == NULL) SWIG_fail;
18508 temp2 = true;
18509 }
18510 if (obj2) {
18511 {
18512 arg3 = wxString_in_helper(obj2);
18513 if (arg3 == NULL) SWIG_fail;
18514 temp3 = true;
18515 }
18516 }
18517 if (obj3) {
18518 {
18519 arg4 = wxString_in_helper(obj3);
18520 if (arg4 == NULL) SWIG_fail;
18521 temp4 = true;
18522 }
18523 }
18524 if (obj4) {
18525 ecode5 = SWIG_AsVal_long(obj4, &val5);
18526 if (!SWIG_IsOK(ecode5)) {
18527 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18528 }
18529 arg5 = static_cast< long >(val5);
18530 }
18531 if (obj5) {
18532 {
18533 arg6 = &temp6;
18534 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18535 }
18536 }
18537 {
18538 PyThreadState* __tstate = wxPyBeginAllowThreads();
18539 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18544 {
18545 if (temp2)
18546 delete arg2;
18547 }
18548 {
18549 if (temp3)
18550 delete arg3;
18551 }
18552 {
18553 if (temp4)
18554 delete arg4;
18555 }
18556 return resultobj;
18557 fail:
18558 {
18559 if (temp2)
18560 delete arg2;
18561 }
18562 {
18563 if (temp3)
18564 delete arg3;
18565 }
18566 {
18567 if (temp4)
18568 delete arg4;
18569 }
18570 return NULL;
18571 }
18572
18573
18574 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18575 PyObject *obj;
18576 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18577 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18578 return SWIG_Py_Void();
18579 }
18580
18581 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18582 return SWIG_Python_InitShadowInstance(args);
18583 }
18584
18585 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18586 PyObject *resultobj = 0;
18587 wxWindow *arg1 = (wxWindow *) 0 ;
18588 wxString *arg2 = 0 ;
18589 wxString *arg3 = 0 ;
18590 wxString *arg4 = 0 ;
18591 long arg5 ;
18592 long arg6 ;
18593 long arg7 ;
18594 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18595 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18596 wxNumberEntryDialog *result = 0 ;
18597 void *argp1 = 0 ;
18598 int res1 = 0 ;
18599 bool temp2 = false ;
18600 bool temp3 = false ;
18601 bool temp4 = false ;
18602 long val5 ;
18603 int ecode5 = 0 ;
18604 long val6 ;
18605 int ecode6 = 0 ;
18606 long val7 ;
18607 int ecode7 = 0 ;
18608 wxPoint temp8 ;
18609 PyObject * obj0 = 0 ;
18610 PyObject * obj1 = 0 ;
18611 PyObject * obj2 = 0 ;
18612 PyObject * obj3 = 0 ;
18613 PyObject * obj4 = 0 ;
18614 PyObject * obj5 = 0 ;
18615 PyObject * obj6 = 0 ;
18616 PyObject * obj7 = 0 ;
18617 char * kwnames[] = {
18618 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18619 };
18620
18621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18623 if (!SWIG_IsOK(res1)) {
18624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18625 }
18626 arg1 = reinterpret_cast< wxWindow * >(argp1);
18627 {
18628 arg2 = wxString_in_helper(obj1);
18629 if (arg2 == NULL) SWIG_fail;
18630 temp2 = true;
18631 }
18632 {
18633 arg3 = wxString_in_helper(obj2);
18634 if (arg3 == NULL) SWIG_fail;
18635 temp3 = true;
18636 }
18637 {
18638 arg4 = wxString_in_helper(obj3);
18639 if (arg4 == NULL) SWIG_fail;
18640 temp4 = true;
18641 }
18642 ecode5 = SWIG_AsVal_long(obj4, &val5);
18643 if (!SWIG_IsOK(ecode5)) {
18644 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18645 }
18646 arg5 = static_cast< long >(val5);
18647 ecode6 = SWIG_AsVal_long(obj5, &val6);
18648 if (!SWIG_IsOK(ecode6)) {
18649 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18650 }
18651 arg6 = static_cast< long >(val6);
18652 ecode7 = SWIG_AsVal_long(obj6, &val7);
18653 if (!SWIG_IsOK(ecode7)) {
18654 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18655 }
18656 arg7 = static_cast< long >(val7);
18657 if (obj7) {
18658 {
18659 arg8 = &temp8;
18660 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18661 }
18662 }
18663 {
18664 if (!wxPyCheckForApp()) SWIG_fail;
18665 PyThreadState* __tstate = wxPyBeginAllowThreads();
18666 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18667 wxPyEndAllowThreads(__tstate);
18668 if (PyErr_Occurred()) SWIG_fail;
18669 }
18670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18671 {
18672 if (temp2)
18673 delete arg2;
18674 }
18675 {
18676 if (temp3)
18677 delete arg3;
18678 }
18679 {
18680 if (temp4)
18681 delete arg4;
18682 }
18683 return resultobj;
18684 fail:
18685 {
18686 if (temp2)
18687 delete arg2;
18688 }
18689 {
18690 if (temp3)
18691 delete arg3;
18692 }
18693 {
18694 if (temp4)
18695 delete arg4;
18696 }
18697 return NULL;
18698 }
18699
18700
18701 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18702 PyObject *resultobj = 0;
18703 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18704 long result;
18705 void *argp1 = 0 ;
18706 int res1 = 0 ;
18707 PyObject *swig_obj[1] ;
18708
18709 if (!args) SWIG_fail;
18710 swig_obj[0] = args;
18711 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18712 if (!SWIG_IsOK(res1)) {
18713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18714 }
18715 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18716 {
18717 PyThreadState* __tstate = wxPyBeginAllowThreads();
18718 result = (long)(arg1)->GetValue();
18719 wxPyEndAllowThreads(__tstate);
18720 if (PyErr_Occurred()) SWIG_fail;
18721 }
18722 resultobj = SWIG_From_long(static_cast< long >(result));
18723 return resultobj;
18724 fail:
18725 return NULL;
18726 }
18727
18728
18729 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18730 PyObject *obj;
18731 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18732 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18733 return SWIG_Py_Void();
18734 }
18735
18736 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18737 return SWIG_Python_InitShadowInstance(args);
18738 }
18739
18740 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18741 PyObject *resultobj = 0;
18742 wxFontData *result = 0 ;
18743
18744 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18745 {
18746 PyThreadState* __tstate = wxPyBeginAllowThreads();
18747 result = (wxFontData *)new wxFontData();
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18752 return resultobj;
18753 fail:
18754 return NULL;
18755 }
18756
18757
18758 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18759 PyObject *resultobj = 0;
18760 wxFontData *arg1 = (wxFontData *) 0 ;
18761 void *argp1 = 0 ;
18762 int res1 = 0 ;
18763 PyObject *swig_obj[1] ;
18764
18765 if (!args) SWIG_fail;
18766 swig_obj[0] = args;
18767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18768 if (!SWIG_IsOK(res1)) {
18769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18770 }
18771 arg1 = reinterpret_cast< wxFontData * >(argp1);
18772 {
18773 PyThreadState* __tstate = wxPyBeginAllowThreads();
18774 delete arg1;
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 resultobj = SWIG_Py_Void();
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj = 0;
18788 wxFontData *arg1 = (wxFontData *) 0 ;
18789 bool arg2 ;
18790 void *argp1 = 0 ;
18791 int res1 = 0 ;
18792 bool val2 ;
18793 int ecode2 = 0 ;
18794 PyObject * obj0 = 0 ;
18795 PyObject * obj1 = 0 ;
18796 char * kwnames[] = {
18797 (char *) "self",(char *) "enable", NULL
18798 };
18799
18800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18801 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18802 if (!SWIG_IsOK(res1)) {
18803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18804 }
18805 arg1 = reinterpret_cast< wxFontData * >(argp1);
18806 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18807 if (!SWIG_IsOK(ecode2)) {
18808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18809 }
18810 arg2 = static_cast< bool >(val2);
18811 {
18812 PyThreadState* __tstate = wxPyBeginAllowThreads();
18813 (arg1)->EnableEffects(arg2);
18814 wxPyEndAllowThreads(__tstate);
18815 if (PyErr_Occurred()) SWIG_fail;
18816 }
18817 resultobj = SWIG_Py_Void();
18818 return resultobj;
18819 fail:
18820 return NULL;
18821 }
18822
18823
18824 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18825 PyObject *resultobj = 0;
18826 wxFontData *arg1 = (wxFontData *) 0 ;
18827 bool result;
18828 void *argp1 = 0 ;
18829 int res1 = 0 ;
18830 PyObject *swig_obj[1] ;
18831
18832 if (!args) SWIG_fail;
18833 swig_obj[0] = args;
18834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18835 if (!SWIG_IsOK(res1)) {
18836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18837 }
18838 arg1 = reinterpret_cast< wxFontData * >(argp1);
18839 {
18840 PyThreadState* __tstate = wxPyBeginAllowThreads();
18841 result = (bool)(arg1)->GetAllowSymbols();
18842 wxPyEndAllowThreads(__tstate);
18843 if (PyErr_Occurred()) SWIG_fail;
18844 }
18845 {
18846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18847 }
18848 return resultobj;
18849 fail:
18850 return NULL;
18851 }
18852
18853
18854 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18855 PyObject *resultobj = 0;
18856 wxFontData *arg1 = (wxFontData *) 0 ;
18857 wxColour result;
18858 void *argp1 = 0 ;
18859 int res1 = 0 ;
18860 PyObject *swig_obj[1] ;
18861
18862 if (!args) SWIG_fail;
18863 swig_obj[0] = args;
18864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18865 if (!SWIG_IsOK(res1)) {
18866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18867 }
18868 arg1 = reinterpret_cast< wxFontData * >(argp1);
18869 {
18870 PyThreadState* __tstate = wxPyBeginAllowThreads();
18871 result = (arg1)->GetColour();
18872 wxPyEndAllowThreads(__tstate);
18873 if (PyErr_Occurred()) SWIG_fail;
18874 }
18875 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18876 return resultobj;
18877 fail:
18878 return NULL;
18879 }
18880
18881
18882 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18883 PyObject *resultobj = 0;
18884 wxFontData *arg1 = (wxFontData *) 0 ;
18885 wxFont result;
18886 void *argp1 = 0 ;
18887 int res1 = 0 ;
18888 PyObject *swig_obj[1] ;
18889
18890 if (!args) SWIG_fail;
18891 swig_obj[0] = args;
18892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18893 if (!SWIG_IsOK(res1)) {
18894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18895 }
18896 arg1 = reinterpret_cast< wxFontData * >(argp1);
18897 {
18898 PyThreadState* __tstate = wxPyBeginAllowThreads();
18899 result = (arg1)->GetChosenFont();
18900 wxPyEndAllowThreads(__tstate);
18901 if (PyErr_Occurred()) SWIG_fail;
18902 }
18903 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18904 return resultobj;
18905 fail:
18906 return NULL;
18907 }
18908
18909
18910 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18911 PyObject *resultobj = 0;
18912 wxFontData *arg1 = (wxFontData *) 0 ;
18913 bool result;
18914 void *argp1 = 0 ;
18915 int res1 = 0 ;
18916 PyObject *swig_obj[1] ;
18917
18918 if (!args) SWIG_fail;
18919 swig_obj[0] = args;
18920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18921 if (!SWIG_IsOK(res1)) {
18922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18923 }
18924 arg1 = reinterpret_cast< wxFontData * >(argp1);
18925 {
18926 PyThreadState* __tstate = wxPyBeginAllowThreads();
18927 result = (bool)(arg1)->GetEnableEffects();
18928 wxPyEndAllowThreads(__tstate);
18929 if (PyErr_Occurred()) SWIG_fail;
18930 }
18931 {
18932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18933 }
18934 return resultobj;
18935 fail:
18936 return NULL;
18937 }
18938
18939
18940 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18941 PyObject *resultobj = 0;
18942 wxFontData *arg1 = (wxFontData *) 0 ;
18943 wxFont result;
18944 void *argp1 = 0 ;
18945 int res1 = 0 ;
18946 PyObject *swig_obj[1] ;
18947
18948 if (!args) SWIG_fail;
18949 swig_obj[0] = args;
18950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18951 if (!SWIG_IsOK(res1)) {
18952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18953 }
18954 arg1 = reinterpret_cast< wxFontData * >(argp1);
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 result = (arg1)->GetInitialFont();
18958 wxPyEndAllowThreads(__tstate);
18959 if (PyErr_Occurred()) SWIG_fail;
18960 }
18961 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18962 return resultobj;
18963 fail:
18964 return NULL;
18965 }
18966
18967
18968 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18969 PyObject *resultobj = 0;
18970 wxFontData *arg1 = (wxFontData *) 0 ;
18971 bool result;
18972 void *argp1 = 0 ;
18973 int res1 = 0 ;
18974 PyObject *swig_obj[1] ;
18975
18976 if (!args) SWIG_fail;
18977 swig_obj[0] = args;
18978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18979 if (!SWIG_IsOK(res1)) {
18980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18981 }
18982 arg1 = reinterpret_cast< wxFontData * >(argp1);
18983 {
18984 PyThreadState* __tstate = wxPyBeginAllowThreads();
18985 result = (bool)(arg1)->GetShowHelp();
18986 wxPyEndAllowThreads(__tstate);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 {
18990 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18991 }
18992 return resultobj;
18993 fail:
18994 return NULL;
18995 }
18996
18997
18998 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18999 PyObject *resultobj = 0;
19000 wxFontData *arg1 = (wxFontData *) 0 ;
19001 bool arg2 ;
19002 void *argp1 = 0 ;
19003 int res1 = 0 ;
19004 bool val2 ;
19005 int ecode2 = 0 ;
19006 PyObject * obj0 = 0 ;
19007 PyObject * obj1 = 0 ;
19008 char * kwnames[] = {
19009 (char *) "self",(char *) "allowSymbols", NULL
19010 };
19011
19012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19014 if (!SWIG_IsOK(res1)) {
19015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19016 }
19017 arg1 = reinterpret_cast< wxFontData * >(argp1);
19018 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19019 if (!SWIG_IsOK(ecode2)) {
19020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19021 }
19022 arg2 = static_cast< bool >(val2);
19023 {
19024 PyThreadState* __tstate = wxPyBeginAllowThreads();
19025 (arg1)->SetAllowSymbols(arg2);
19026 wxPyEndAllowThreads(__tstate);
19027 if (PyErr_Occurred()) SWIG_fail;
19028 }
19029 resultobj = SWIG_Py_Void();
19030 return resultobj;
19031 fail:
19032 return NULL;
19033 }
19034
19035
19036 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19037 PyObject *resultobj = 0;
19038 wxFontData *arg1 = (wxFontData *) 0 ;
19039 wxFont *arg2 = 0 ;
19040 void *argp1 = 0 ;
19041 int res1 = 0 ;
19042 void *argp2 = 0 ;
19043 int res2 = 0 ;
19044 PyObject * obj0 = 0 ;
19045 PyObject * obj1 = 0 ;
19046 char * kwnames[] = {
19047 (char *) "self",(char *) "font", NULL
19048 };
19049
19050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19052 if (!SWIG_IsOK(res1)) {
19053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19054 }
19055 arg1 = reinterpret_cast< wxFontData * >(argp1);
19056 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19057 if (!SWIG_IsOK(res2)) {
19058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19059 }
19060 if (!argp2) {
19061 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19062 }
19063 arg2 = reinterpret_cast< wxFont * >(argp2);
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 (arg1)->SetChosenFont((wxFont const &)*arg2);
19067 wxPyEndAllowThreads(__tstate);
19068 if (PyErr_Occurred()) SWIG_fail;
19069 }
19070 resultobj = SWIG_Py_Void();
19071 return resultobj;
19072 fail:
19073 return NULL;
19074 }
19075
19076
19077 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19078 PyObject *resultobj = 0;
19079 wxFontData *arg1 = (wxFontData *) 0 ;
19080 wxColour *arg2 = 0 ;
19081 void *argp1 = 0 ;
19082 int res1 = 0 ;
19083 wxColour temp2 ;
19084 PyObject * obj0 = 0 ;
19085 PyObject * obj1 = 0 ;
19086 char * kwnames[] = {
19087 (char *) "self",(char *) "colour", NULL
19088 };
19089
19090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19092 if (!SWIG_IsOK(res1)) {
19093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19094 }
19095 arg1 = reinterpret_cast< wxFontData * >(argp1);
19096 {
19097 arg2 = &temp2;
19098 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19099 }
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 (arg1)->SetColour((wxColour const &)*arg2);
19103 wxPyEndAllowThreads(__tstate);
19104 if (PyErr_Occurred()) SWIG_fail;
19105 }
19106 resultobj = SWIG_Py_Void();
19107 return resultobj;
19108 fail:
19109 return NULL;
19110 }
19111
19112
19113 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19114 PyObject *resultobj = 0;
19115 wxFontData *arg1 = (wxFontData *) 0 ;
19116 wxFont *arg2 = 0 ;
19117 void *argp1 = 0 ;
19118 int res1 = 0 ;
19119 void *argp2 = 0 ;
19120 int res2 = 0 ;
19121 PyObject * obj0 = 0 ;
19122 PyObject * obj1 = 0 ;
19123 char * kwnames[] = {
19124 (char *) "self",(char *) "font", NULL
19125 };
19126
19127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19129 if (!SWIG_IsOK(res1)) {
19130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19131 }
19132 arg1 = reinterpret_cast< wxFontData * >(argp1);
19133 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19134 if (!SWIG_IsOK(res2)) {
19135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19136 }
19137 if (!argp2) {
19138 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19139 }
19140 arg2 = reinterpret_cast< wxFont * >(argp2);
19141 {
19142 PyThreadState* __tstate = wxPyBeginAllowThreads();
19143 (arg1)->SetInitialFont((wxFont const &)*arg2);
19144 wxPyEndAllowThreads(__tstate);
19145 if (PyErr_Occurred()) SWIG_fail;
19146 }
19147 resultobj = SWIG_Py_Void();
19148 return resultobj;
19149 fail:
19150 return NULL;
19151 }
19152
19153
19154 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19155 PyObject *resultobj = 0;
19156 wxFontData *arg1 = (wxFontData *) 0 ;
19157 int arg2 ;
19158 int arg3 ;
19159 void *argp1 = 0 ;
19160 int res1 = 0 ;
19161 int val2 ;
19162 int ecode2 = 0 ;
19163 int val3 ;
19164 int ecode3 = 0 ;
19165 PyObject * obj0 = 0 ;
19166 PyObject * obj1 = 0 ;
19167 PyObject * obj2 = 0 ;
19168 char * kwnames[] = {
19169 (char *) "self",(char *) "min",(char *) "max", NULL
19170 };
19171
19172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19174 if (!SWIG_IsOK(res1)) {
19175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19176 }
19177 arg1 = reinterpret_cast< wxFontData * >(argp1);
19178 ecode2 = SWIG_AsVal_int(obj1, &val2);
19179 if (!SWIG_IsOK(ecode2)) {
19180 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19181 }
19182 arg2 = static_cast< int >(val2);
19183 ecode3 = SWIG_AsVal_int(obj2, &val3);
19184 if (!SWIG_IsOK(ecode3)) {
19185 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19186 }
19187 arg3 = static_cast< int >(val3);
19188 {
19189 PyThreadState* __tstate = wxPyBeginAllowThreads();
19190 (arg1)->SetRange(arg2,arg3);
19191 wxPyEndAllowThreads(__tstate);
19192 if (PyErr_Occurred()) SWIG_fail;
19193 }
19194 resultobj = SWIG_Py_Void();
19195 return resultobj;
19196 fail:
19197 return NULL;
19198 }
19199
19200
19201 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19202 PyObject *resultobj = 0;
19203 wxFontData *arg1 = (wxFontData *) 0 ;
19204 bool arg2 ;
19205 void *argp1 = 0 ;
19206 int res1 = 0 ;
19207 bool val2 ;
19208 int ecode2 = 0 ;
19209 PyObject * obj0 = 0 ;
19210 PyObject * obj1 = 0 ;
19211 char * kwnames[] = {
19212 (char *) "self",(char *) "showHelp", NULL
19213 };
19214
19215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19217 if (!SWIG_IsOK(res1)) {
19218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19219 }
19220 arg1 = reinterpret_cast< wxFontData * >(argp1);
19221 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19222 if (!SWIG_IsOK(ecode2)) {
19223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19224 }
19225 arg2 = static_cast< bool >(val2);
19226 {
19227 PyThreadState* __tstate = wxPyBeginAllowThreads();
19228 (arg1)->SetShowHelp(arg2);
19229 wxPyEndAllowThreads(__tstate);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
19232 resultobj = SWIG_Py_Void();
19233 return resultobj;
19234 fail:
19235 return NULL;
19236 }
19237
19238
19239 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19240 PyObject *obj;
19241 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19242 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19243 return SWIG_Py_Void();
19244 }
19245
19246 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19247 return SWIG_Python_InitShadowInstance(args);
19248 }
19249
19250 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19251 PyObject *resultobj = 0;
19252 wxWindow *arg1 = (wxWindow *) 0 ;
19253 wxFontData *arg2 = 0 ;
19254 wxFontDialog *result = 0 ;
19255 void *argp1 = 0 ;
19256 int res1 = 0 ;
19257 void *argp2 = 0 ;
19258 int res2 = 0 ;
19259 PyObject * obj0 = 0 ;
19260 PyObject * obj1 = 0 ;
19261 char * kwnames[] = {
19262 (char *) "parent",(char *) "data", NULL
19263 };
19264
19265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19267 if (!SWIG_IsOK(res1)) {
19268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19269 }
19270 arg1 = reinterpret_cast< wxWindow * >(argp1);
19271 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19272 if (!SWIG_IsOK(res2)) {
19273 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19274 }
19275 if (!argp2) {
19276 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19277 }
19278 arg2 = reinterpret_cast< wxFontData * >(argp2);
19279 {
19280 if (!wxPyCheckForApp()) SWIG_fail;
19281 PyThreadState* __tstate = wxPyBeginAllowThreads();
19282 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19283 wxPyEndAllowThreads(__tstate);
19284 if (PyErr_Occurred()) SWIG_fail;
19285 }
19286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19287 return resultobj;
19288 fail:
19289 return NULL;
19290 }
19291
19292
19293 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19294 PyObject *resultobj = 0;
19295 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19296 wxFontData *result = 0 ;
19297 void *argp1 = 0 ;
19298 int res1 = 0 ;
19299 PyObject *swig_obj[1] ;
19300
19301 if (!args) SWIG_fail;
19302 swig_obj[0] = args;
19303 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19304 if (!SWIG_IsOK(res1)) {
19305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19306 }
19307 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19308 {
19309 PyThreadState* __tstate = wxPyBeginAllowThreads();
19310 {
19311 wxFontData &_result_ref = (arg1)->GetFontData();
19312 result = (wxFontData *) &_result_ref;
19313 }
19314 wxPyEndAllowThreads(__tstate);
19315 if (PyErr_Occurred()) SWIG_fail;
19316 }
19317 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19318 return resultobj;
19319 fail:
19320 return NULL;
19321 }
19322
19323
19324 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19325 PyObject *obj;
19326 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19327 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19328 return SWIG_Py_Void();
19329 }
19330
19331 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19332 return SWIG_Python_InitShadowInstance(args);
19333 }
19334
19335 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19336 PyObject *resultobj = 0;
19337 wxWindow *arg1 = (wxWindow *) NULL ;
19338 wxFont const &arg2_defvalue = wxNullFont ;
19339 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19340 wxString const &arg3_defvalue = wxPyEmptyString ;
19341 wxString *arg3 = (wxString *) &arg3_defvalue ;
19342 wxFont result;
19343 void *argp1 = 0 ;
19344 int res1 = 0 ;
19345 void *argp2 = 0 ;
19346 int res2 = 0 ;
19347 bool temp3 = false ;
19348 PyObject * obj0 = 0 ;
19349 PyObject * obj1 = 0 ;
19350 PyObject * obj2 = 0 ;
19351 char * kwnames[] = {
19352 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19353 };
19354
19355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19356 if (obj0) {
19357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19358 if (!SWIG_IsOK(res1)) {
19359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19360 }
19361 arg1 = reinterpret_cast< wxWindow * >(argp1);
19362 }
19363 if (obj1) {
19364 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19365 if (!SWIG_IsOK(res2)) {
19366 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19367 }
19368 if (!argp2) {
19369 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19370 }
19371 arg2 = reinterpret_cast< wxFont * >(argp2);
19372 }
19373 if (obj2) {
19374 {
19375 arg3 = wxString_in_helper(obj2);
19376 if (arg3 == NULL) SWIG_fail;
19377 temp3 = true;
19378 }
19379 }
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19383 wxPyEndAllowThreads(__tstate);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 }
19386 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19387 {
19388 if (temp3)
19389 delete arg3;
19390 }
19391 return resultobj;
19392 fail:
19393 {
19394 if (temp3)
19395 delete arg3;
19396 }
19397 return NULL;
19398 }
19399
19400
19401 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19402 PyObject *resultobj = 0;
19403 wxWindow *arg1 = (wxWindow *) 0 ;
19404 wxString *arg2 = 0 ;
19405 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19406 wxString *arg3 = (wxString *) &arg3_defvalue ;
19407 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19408 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19409 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19410 wxMessageDialog *result = 0 ;
19411 void *argp1 = 0 ;
19412 int res1 = 0 ;
19413 bool temp2 = false ;
19414 bool temp3 = false ;
19415 long val4 ;
19416 int ecode4 = 0 ;
19417 wxPoint temp5 ;
19418 PyObject * obj0 = 0 ;
19419 PyObject * obj1 = 0 ;
19420 PyObject * obj2 = 0 ;
19421 PyObject * obj3 = 0 ;
19422 PyObject * obj4 = 0 ;
19423 char * kwnames[] = {
19424 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19425 };
19426
19427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19429 if (!SWIG_IsOK(res1)) {
19430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19431 }
19432 arg1 = reinterpret_cast< wxWindow * >(argp1);
19433 {
19434 arg2 = wxString_in_helper(obj1);
19435 if (arg2 == NULL) SWIG_fail;
19436 temp2 = true;
19437 }
19438 if (obj2) {
19439 {
19440 arg3 = wxString_in_helper(obj2);
19441 if (arg3 == NULL) SWIG_fail;
19442 temp3 = true;
19443 }
19444 }
19445 if (obj3) {
19446 ecode4 = SWIG_AsVal_long(obj3, &val4);
19447 if (!SWIG_IsOK(ecode4)) {
19448 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19449 }
19450 arg4 = static_cast< long >(val4);
19451 }
19452 if (obj4) {
19453 {
19454 arg5 = &temp5;
19455 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19456 }
19457 }
19458 {
19459 if (!wxPyCheckForApp()) SWIG_fail;
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
19461 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19462 wxPyEndAllowThreads(__tstate);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 }
19465 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19466 {
19467 if (temp2)
19468 delete arg2;
19469 }
19470 {
19471 if (temp3)
19472 delete arg3;
19473 }
19474 return resultobj;
19475 fail:
19476 {
19477 if (temp2)
19478 delete arg2;
19479 }
19480 {
19481 if (temp3)
19482 delete arg3;
19483 }
19484 return NULL;
19485 }
19486
19487
19488 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19489 PyObject *obj;
19490 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19491 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19492 return SWIG_Py_Void();
19493 }
19494
19495 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19496 return SWIG_Python_InitShadowInstance(args);
19497 }
19498
19499 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19500 PyObject *resultobj = 0;
19501 wxString *arg1 = 0 ;
19502 wxString *arg2 = 0 ;
19503 int arg3 = (int) 100 ;
19504 wxWindow *arg4 = (wxWindow *) NULL ;
19505 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19506 wxProgressDialog *result = 0 ;
19507 bool temp1 = false ;
19508 bool temp2 = false ;
19509 int val3 ;
19510 int ecode3 = 0 ;
19511 void *argp4 = 0 ;
19512 int res4 = 0 ;
19513 int val5 ;
19514 int ecode5 = 0 ;
19515 PyObject * obj0 = 0 ;
19516 PyObject * obj1 = 0 ;
19517 PyObject * obj2 = 0 ;
19518 PyObject * obj3 = 0 ;
19519 PyObject * obj4 = 0 ;
19520 char * kwnames[] = {
19521 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19522 };
19523
19524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19525 {
19526 arg1 = wxString_in_helper(obj0);
19527 if (arg1 == NULL) SWIG_fail;
19528 temp1 = true;
19529 }
19530 {
19531 arg2 = wxString_in_helper(obj1);
19532 if (arg2 == NULL) SWIG_fail;
19533 temp2 = true;
19534 }
19535 if (obj2) {
19536 ecode3 = SWIG_AsVal_int(obj2, &val3);
19537 if (!SWIG_IsOK(ecode3)) {
19538 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19539 }
19540 arg3 = static_cast< int >(val3);
19541 }
19542 if (obj3) {
19543 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19544 if (!SWIG_IsOK(res4)) {
19545 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19546 }
19547 arg4 = reinterpret_cast< wxWindow * >(argp4);
19548 }
19549 if (obj4) {
19550 ecode5 = SWIG_AsVal_int(obj4, &val5);
19551 if (!SWIG_IsOK(ecode5)) {
19552 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19553 }
19554 arg5 = static_cast< int >(val5);
19555 }
19556 {
19557 if (!wxPyCheckForApp()) SWIG_fail;
19558 PyThreadState* __tstate = wxPyBeginAllowThreads();
19559 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19560 wxPyEndAllowThreads(__tstate);
19561 if (PyErr_Occurred()) SWIG_fail;
19562 }
19563 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19564 {
19565 if (temp1)
19566 delete arg1;
19567 }
19568 {
19569 if (temp2)
19570 delete arg2;
19571 }
19572 return resultobj;
19573 fail:
19574 {
19575 if (temp1)
19576 delete arg1;
19577 }
19578 {
19579 if (temp2)
19580 delete arg2;
19581 }
19582 return NULL;
19583 }
19584
19585
19586 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19587 PyObject *resultobj = 0;
19588 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19589 int arg2 ;
19590 wxString const &arg3_defvalue = wxPyEmptyString ;
19591 wxString *arg3 = (wxString *) &arg3_defvalue ;
19592 bool *arg4 = (bool *) 0 ;
19593 bool result;
19594 void *argp1 = 0 ;
19595 int res1 = 0 ;
19596 int val2 ;
19597 int ecode2 = 0 ;
19598 bool temp3 = false ;
19599 bool temp4 ;
19600 int res4 = SWIG_TMPOBJ ;
19601 PyObject * obj0 = 0 ;
19602 PyObject * obj1 = 0 ;
19603 PyObject * obj2 = 0 ;
19604 char * kwnames[] = {
19605 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19606 };
19607
19608 arg4 = &temp4;
19609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19611 if (!SWIG_IsOK(res1)) {
19612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19613 }
19614 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19615 ecode2 = SWIG_AsVal_int(obj1, &val2);
19616 if (!SWIG_IsOK(ecode2)) {
19617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19618 }
19619 arg2 = static_cast< int >(val2);
19620 if (obj2) {
19621 {
19622 arg3 = wxString_in_helper(obj2);
19623 if (arg3 == NULL) SWIG_fail;
19624 temp3 = true;
19625 }
19626 }
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 {
19634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19635 }
19636 if (SWIG_IsTmpObj(res4)) {
19637 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19638 } else {
19639 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19640 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19641 }
19642 {
19643 if (temp3)
19644 delete arg3;
19645 }
19646 return resultobj;
19647 fail:
19648 {
19649 if (temp3)
19650 delete arg3;
19651 }
19652 return NULL;
19653 }
19654
19655
19656 SWIGINTERN PyObject *_wrap_ProgressDialog_UpdatePulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19657 PyObject *resultobj = 0;
19658 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19659 wxString const &arg2_defvalue = wxPyEmptyString ;
19660 wxString *arg2 = (wxString *) &arg2_defvalue ;
19661 bool *arg3 = (bool *) 0 ;
19662 bool result;
19663 void *argp1 = 0 ;
19664 int res1 = 0 ;
19665 bool temp2 = false ;
19666 bool temp3 ;
19667 int res3 = SWIG_TMPOBJ ;
19668 PyObject * obj0 = 0 ;
19669 PyObject * obj1 = 0 ;
19670 char * kwnames[] = {
19671 (char *) "self",(char *) "newmsg", NULL
19672 };
19673
19674 arg3 = &temp3;
19675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames,&obj0,&obj1)) SWIG_fail;
19676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19677 if (!SWIG_IsOK(res1)) {
19678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19679 }
19680 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19681 if (obj1) {
19682 {
19683 arg2 = wxString_in_helper(obj1);
19684 if (arg2 == NULL) SWIG_fail;
19685 temp2 = true;
19686 }
19687 }
19688 {
19689 PyThreadState* __tstate = wxPyBeginAllowThreads();
19690 result = (bool)(arg1)->UpdatePulse((wxString const &)*arg2,arg3);
19691 wxPyEndAllowThreads(__tstate);
19692 if (PyErr_Occurred()) SWIG_fail;
19693 }
19694 {
19695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19696 }
19697 if (SWIG_IsTmpObj(res3)) {
19698 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19699 } else {
19700 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19701 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19702 }
19703 {
19704 if (temp2)
19705 delete arg2;
19706 }
19707 return resultobj;
19708 fail:
19709 {
19710 if (temp2)
19711 delete arg2;
19712 }
19713 return NULL;
19714 }
19715
19716
19717 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19718 PyObject *resultobj = 0;
19719 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19720 void *argp1 = 0 ;
19721 int res1 = 0 ;
19722 PyObject *swig_obj[1] ;
19723
19724 if (!args) SWIG_fail;
19725 swig_obj[0] = args;
19726 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19727 if (!SWIG_IsOK(res1)) {
19728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19729 }
19730 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19731 {
19732 PyThreadState* __tstate = wxPyBeginAllowThreads();
19733 (arg1)->Resume();
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 resultobj = SWIG_Py_Void();
19738 return resultobj;
19739 fail:
19740 return NULL;
19741 }
19742
19743
19744 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19745 PyObject *obj;
19746 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19747 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19748 return SWIG_Py_Void();
19749 }
19750
19751 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19752 return SWIG_Python_InitShadowInstance(args);
19753 }
19754
19755 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19756 PyObject *resultobj = 0;
19757 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19758 int arg2 = (int) 0 ;
19759 wxFindDialogEvent *result = 0 ;
19760 int val1 ;
19761 int ecode1 = 0 ;
19762 int val2 ;
19763 int ecode2 = 0 ;
19764 PyObject * obj0 = 0 ;
19765 PyObject * obj1 = 0 ;
19766 char * kwnames[] = {
19767 (char *) "commandType",(char *) "id", NULL
19768 };
19769
19770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19771 if (obj0) {
19772 ecode1 = SWIG_AsVal_int(obj0, &val1);
19773 if (!SWIG_IsOK(ecode1)) {
19774 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19775 }
19776 arg1 = static_cast< wxEventType >(val1);
19777 }
19778 if (obj1) {
19779 ecode2 = SWIG_AsVal_int(obj1, &val2);
19780 if (!SWIG_IsOK(ecode2)) {
19781 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19782 }
19783 arg2 = static_cast< int >(val2);
19784 }
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19788 wxPyEndAllowThreads(__tstate);
19789 if (PyErr_Occurred()) SWIG_fail;
19790 }
19791 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19792 return resultobj;
19793 fail:
19794 return NULL;
19795 }
19796
19797
19798 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19799 PyObject *resultobj = 0;
19800 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19801 int result;
19802 void *argp1 = 0 ;
19803 int res1 = 0 ;
19804 PyObject *swig_obj[1] ;
19805
19806 if (!args) SWIG_fail;
19807 swig_obj[0] = args;
19808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19809 if (!SWIG_IsOK(res1)) {
19810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19811 }
19812 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19813 {
19814 PyThreadState* __tstate = wxPyBeginAllowThreads();
19815 result = (int)(arg1)->GetFlags();
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 resultobj = SWIG_From_int(static_cast< int >(result));
19820 return resultobj;
19821 fail:
19822 return NULL;
19823 }
19824
19825
19826 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19827 PyObject *resultobj = 0;
19828 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19829 wxString *result = 0 ;
19830 void *argp1 = 0 ;
19831 int res1 = 0 ;
19832 PyObject *swig_obj[1] ;
19833
19834 if (!args) SWIG_fail;
19835 swig_obj[0] = args;
19836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19837 if (!SWIG_IsOK(res1)) {
19838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19839 }
19840 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19841 {
19842 PyThreadState* __tstate = wxPyBeginAllowThreads();
19843 {
19844 wxString const &_result_ref = (arg1)->GetFindString();
19845 result = (wxString *) &_result_ref;
19846 }
19847 wxPyEndAllowThreads(__tstate);
19848 if (PyErr_Occurred()) SWIG_fail;
19849 }
19850 {
19851 #if wxUSE_UNICODE
19852 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19853 #else
19854 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19855 #endif
19856 }
19857 return resultobj;
19858 fail:
19859 return NULL;
19860 }
19861
19862
19863 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19864 PyObject *resultobj = 0;
19865 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19866 wxString *result = 0 ;
19867 void *argp1 = 0 ;
19868 int res1 = 0 ;
19869 PyObject *swig_obj[1] ;
19870
19871 if (!args) SWIG_fail;
19872 swig_obj[0] = args;
19873 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19874 if (!SWIG_IsOK(res1)) {
19875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19876 }
19877 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19878 {
19879 PyThreadState* __tstate = wxPyBeginAllowThreads();
19880 {
19881 wxString const &_result_ref = (arg1)->GetReplaceString();
19882 result = (wxString *) &_result_ref;
19883 }
19884 wxPyEndAllowThreads(__tstate);
19885 if (PyErr_Occurred()) SWIG_fail;
19886 }
19887 {
19888 #if wxUSE_UNICODE
19889 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19890 #else
19891 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19892 #endif
19893 }
19894 return resultobj;
19895 fail:
19896 return NULL;
19897 }
19898
19899
19900 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19901 PyObject *resultobj = 0;
19902 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19903 wxFindReplaceDialog *result = 0 ;
19904 void *argp1 = 0 ;
19905 int res1 = 0 ;
19906 PyObject *swig_obj[1] ;
19907
19908 if (!args) SWIG_fail;
19909 swig_obj[0] = args;
19910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19911 if (!SWIG_IsOK(res1)) {
19912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19913 }
19914 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19918 wxPyEndAllowThreads(__tstate);
19919 if (PyErr_Occurred()) SWIG_fail;
19920 }
19921 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19922 return resultobj;
19923 fail:
19924 return NULL;
19925 }
19926
19927
19928 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19929 PyObject *resultobj = 0;
19930 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19931 int arg2 ;
19932 void *argp1 = 0 ;
19933 int res1 = 0 ;
19934 int val2 ;
19935 int ecode2 = 0 ;
19936 PyObject * obj0 = 0 ;
19937 PyObject * obj1 = 0 ;
19938 char * kwnames[] = {
19939 (char *) "self",(char *) "flags", NULL
19940 };
19941
19942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19944 if (!SWIG_IsOK(res1)) {
19945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19946 }
19947 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19948 ecode2 = SWIG_AsVal_int(obj1, &val2);
19949 if (!SWIG_IsOK(ecode2)) {
19950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19951 }
19952 arg2 = static_cast< int >(val2);
19953 {
19954 PyThreadState* __tstate = wxPyBeginAllowThreads();
19955 (arg1)->SetFlags(arg2);
19956 wxPyEndAllowThreads(__tstate);
19957 if (PyErr_Occurred()) SWIG_fail;
19958 }
19959 resultobj = SWIG_Py_Void();
19960 return resultobj;
19961 fail:
19962 return NULL;
19963 }
19964
19965
19966 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19967 PyObject *resultobj = 0;
19968 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19969 wxString *arg2 = 0 ;
19970 void *argp1 = 0 ;
19971 int res1 = 0 ;
19972 bool temp2 = false ;
19973 PyObject * obj0 = 0 ;
19974 PyObject * obj1 = 0 ;
19975 char * kwnames[] = {
19976 (char *) "self",(char *) "str", NULL
19977 };
19978
19979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19981 if (!SWIG_IsOK(res1)) {
19982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19983 }
19984 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19985 {
19986 arg2 = wxString_in_helper(obj1);
19987 if (arg2 == NULL) SWIG_fail;
19988 temp2 = true;
19989 }
19990 {
19991 PyThreadState* __tstate = wxPyBeginAllowThreads();
19992 (arg1)->SetFindString((wxString const &)*arg2);
19993 wxPyEndAllowThreads(__tstate);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
19996 resultobj = SWIG_Py_Void();
19997 {
19998 if (temp2)
19999 delete arg2;
20000 }
20001 return resultobj;
20002 fail:
20003 {
20004 if (temp2)
20005 delete arg2;
20006 }
20007 return NULL;
20008 }
20009
20010
20011 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20012 PyObject *resultobj = 0;
20013 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20014 wxString *arg2 = 0 ;
20015 void *argp1 = 0 ;
20016 int res1 = 0 ;
20017 bool temp2 = false ;
20018 PyObject * obj0 = 0 ;
20019 PyObject * obj1 = 0 ;
20020 char * kwnames[] = {
20021 (char *) "self",(char *) "str", NULL
20022 };
20023
20024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20026 if (!SWIG_IsOK(res1)) {
20027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20028 }
20029 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20030 {
20031 arg2 = wxString_in_helper(obj1);
20032 if (arg2 == NULL) SWIG_fail;
20033 temp2 = true;
20034 }
20035 {
20036 PyThreadState* __tstate = wxPyBeginAllowThreads();
20037 (arg1)->SetReplaceString((wxString const &)*arg2);
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 resultobj = SWIG_Py_Void();
20042 {
20043 if (temp2)
20044 delete arg2;
20045 }
20046 return resultobj;
20047 fail:
20048 {
20049 if (temp2)
20050 delete arg2;
20051 }
20052 return NULL;
20053 }
20054
20055
20056 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20057 PyObject *obj;
20058 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20059 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20060 return SWIG_Py_Void();
20061 }
20062
20063 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20064 return SWIG_Python_InitShadowInstance(args);
20065 }
20066
20067 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20068 PyObject *resultobj = 0;
20069 int arg1 = (int) 0 ;
20070 wxFindReplaceData *result = 0 ;
20071 int val1 ;
20072 int ecode1 = 0 ;
20073 PyObject * obj0 = 0 ;
20074 char * kwnames[] = {
20075 (char *) "flags", NULL
20076 };
20077
20078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20079 if (obj0) {
20080 ecode1 = SWIG_AsVal_int(obj0, &val1);
20081 if (!SWIG_IsOK(ecode1)) {
20082 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20083 }
20084 arg1 = static_cast< int >(val1);
20085 }
20086 {
20087 PyThreadState* __tstate = wxPyBeginAllowThreads();
20088 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20089 wxPyEndAllowThreads(__tstate);
20090 if (PyErr_Occurred()) SWIG_fail;
20091 }
20092 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20093 return resultobj;
20094 fail:
20095 return NULL;
20096 }
20097
20098
20099 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20100 PyObject *resultobj = 0;
20101 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20102 void *argp1 = 0 ;
20103 int res1 = 0 ;
20104 PyObject *swig_obj[1] ;
20105
20106 if (!args) SWIG_fail;
20107 swig_obj[0] = args;
20108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20109 if (!SWIG_IsOK(res1)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20111 }
20112 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20113 {
20114 PyThreadState* __tstate = wxPyBeginAllowThreads();
20115 delete arg1;
20116
20117 wxPyEndAllowThreads(__tstate);
20118 if (PyErr_Occurred()) SWIG_fail;
20119 }
20120 resultobj = SWIG_Py_Void();
20121 return resultobj;
20122 fail:
20123 return NULL;
20124 }
20125
20126
20127 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20128 PyObject *resultobj = 0;
20129 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20130 wxString *result = 0 ;
20131 void *argp1 = 0 ;
20132 int res1 = 0 ;
20133 PyObject *swig_obj[1] ;
20134
20135 if (!args) SWIG_fail;
20136 swig_obj[0] = args;
20137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20138 if (!SWIG_IsOK(res1)) {
20139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20140 }
20141 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 {
20145 wxString const &_result_ref = (arg1)->GetFindString();
20146 result = (wxString *) &_result_ref;
20147 }
20148 wxPyEndAllowThreads(__tstate);
20149 if (PyErr_Occurred()) SWIG_fail;
20150 }
20151 {
20152 #if wxUSE_UNICODE
20153 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20154 #else
20155 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20156 #endif
20157 }
20158 return resultobj;
20159 fail:
20160 return NULL;
20161 }
20162
20163
20164 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20165 PyObject *resultobj = 0;
20166 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20167 wxString *result = 0 ;
20168 void *argp1 = 0 ;
20169 int res1 = 0 ;
20170 PyObject *swig_obj[1] ;
20171
20172 if (!args) SWIG_fail;
20173 swig_obj[0] = args;
20174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20175 if (!SWIG_IsOK(res1)) {
20176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20177 }
20178 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20179 {
20180 PyThreadState* __tstate = wxPyBeginAllowThreads();
20181 {
20182 wxString const &_result_ref = (arg1)->GetReplaceString();
20183 result = (wxString *) &_result_ref;
20184 }
20185 wxPyEndAllowThreads(__tstate);
20186 if (PyErr_Occurred()) SWIG_fail;
20187 }
20188 {
20189 #if wxUSE_UNICODE
20190 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20191 #else
20192 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20193 #endif
20194 }
20195 return resultobj;
20196 fail:
20197 return NULL;
20198 }
20199
20200
20201 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20202 PyObject *resultobj = 0;
20203 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20204 int result;
20205 void *argp1 = 0 ;
20206 int res1 = 0 ;
20207 PyObject *swig_obj[1] ;
20208
20209 if (!args) SWIG_fail;
20210 swig_obj[0] = args;
20211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20212 if (!SWIG_IsOK(res1)) {
20213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20214 }
20215 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 result = (int)(arg1)->GetFlags();
20219 wxPyEndAllowThreads(__tstate);
20220 if (PyErr_Occurred()) SWIG_fail;
20221 }
20222 resultobj = SWIG_From_int(static_cast< int >(result));
20223 return resultobj;
20224 fail:
20225 return NULL;
20226 }
20227
20228
20229 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20230 PyObject *resultobj = 0;
20231 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20232 int arg2 ;
20233 void *argp1 = 0 ;
20234 int res1 = 0 ;
20235 int val2 ;
20236 int ecode2 = 0 ;
20237 PyObject * obj0 = 0 ;
20238 PyObject * obj1 = 0 ;
20239 char * kwnames[] = {
20240 (char *) "self",(char *) "flags", NULL
20241 };
20242
20243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20245 if (!SWIG_IsOK(res1)) {
20246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20247 }
20248 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20249 ecode2 = SWIG_AsVal_int(obj1, &val2);
20250 if (!SWIG_IsOK(ecode2)) {
20251 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20252 }
20253 arg2 = static_cast< int >(val2);
20254 {
20255 PyThreadState* __tstate = wxPyBeginAllowThreads();
20256 (arg1)->SetFlags(arg2);
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
20260 resultobj = SWIG_Py_Void();
20261 return resultobj;
20262 fail:
20263 return NULL;
20264 }
20265
20266
20267 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20268 PyObject *resultobj = 0;
20269 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20270 wxString *arg2 = 0 ;
20271 void *argp1 = 0 ;
20272 int res1 = 0 ;
20273 bool temp2 = false ;
20274 PyObject * obj0 = 0 ;
20275 PyObject * obj1 = 0 ;
20276 char * kwnames[] = {
20277 (char *) "self",(char *) "str", NULL
20278 };
20279
20280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20282 if (!SWIG_IsOK(res1)) {
20283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20284 }
20285 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20286 {
20287 arg2 = wxString_in_helper(obj1);
20288 if (arg2 == NULL) SWIG_fail;
20289 temp2 = true;
20290 }
20291 {
20292 PyThreadState* __tstate = wxPyBeginAllowThreads();
20293 (arg1)->SetFindString((wxString const &)*arg2);
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
20297 resultobj = SWIG_Py_Void();
20298 {
20299 if (temp2)
20300 delete arg2;
20301 }
20302 return resultobj;
20303 fail:
20304 {
20305 if (temp2)
20306 delete arg2;
20307 }
20308 return NULL;
20309 }
20310
20311
20312 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20313 PyObject *resultobj = 0;
20314 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20315 wxString *arg2 = 0 ;
20316 void *argp1 = 0 ;
20317 int res1 = 0 ;
20318 bool temp2 = false ;
20319 PyObject * obj0 = 0 ;
20320 PyObject * obj1 = 0 ;
20321 char * kwnames[] = {
20322 (char *) "self",(char *) "str", NULL
20323 };
20324
20325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20327 if (!SWIG_IsOK(res1)) {
20328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20329 }
20330 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20331 {
20332 arg2 = wxString_in_helper(obj1);
20333 if (arg2 == NULL) SWIG_fail;
20334 temp2 = true;
20335 }
20336 {
20337 PyThreadState* __tstate = wxPyBeginAllowThreads();
20338 (arg1)->SetReplaceString((wxString const &)*arg2);
20339 wxPyEndAllowThreads(__tstate);
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
20342 resultobj = SWIG_Py_Void();
20343 {
20344 if (temp2)
20345 delete arg2;
20346 }
20347 return resultobj;
20348 fail:
20349 {
20350 if (temp2)
20351 delete arg2;
20352 }
20353 return NULL;
20354 }
20355
20356
20357 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20358 PyObject *obj;
20359 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20360 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20361 return SWIG_Py_Void();
20362 }
20363
20364 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20365 return SWIG_Python_InitShadowInstance(args);
20366 }
20367
20368 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20369 PyObject *resultobj = 0;
20370 wxWindow *arg1 = (wxWindow *) 0 ;
20371 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20372 wxString *arg3 = 0 ;
20373 int arg4 = (int) 0 ;
20374 wxFindReplaceDialog *result = 0 ;
20375 void *argp1 = 0 ;
20376 int res1 = 0 ;
20377 void *argp2 = 0 ;
20378 int res2 = 0 ;
20379 bool temp3 = false ;
20380 int val4 ;
20381 int ecode4 = 0 ;
20382 PyObject * obj0 = 0 ;
20383 PyObject * obj1 = 0 ;
20384 PyObject * obj2 = 0 ;
20385 PyObject * obj3 = 0 ;
20386 char * kwnames[] = {
20387 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20388 };
20389
20390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20392 if (!SWIG_IsOK(res1)) {
20393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20394 }
20395 arg1 = reinterpret_cast< wxWindow * >(argp1);
20396 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20397 if (!SWIG_IsOK(res2)) {
20398 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20399 }
20400 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20401 {
20402 arg3 = wxString_in_helper(obj2);
20403 if (arg3 == NULL) SWIG_fail;
20404 temp3 = true;
20405 }
20406 if (obj3) {
20407 ecode4 = SWIG_AsVal_int(obj3, &val4);
20408 if (!SWIG_IsOK(ecode4)) {
20409 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20410 }
20411 arg4 = static_cast< int >(val4);
20412 }
20413 {
20414 if (!wxPyCheckForApp()) SWIG_fail;
20415 PyThreadState* __tstate = wxPyBeginAllowThreads();
20416 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
20420 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20421 {
20422 if (temp3)
20423 delete arg3;
20424 }
20425 return resultobj;
20426 fail:
20427 {
20428 if (temp3)
20429 delete arg3;
20430 }
20431 return NULL;
20432 }
20433
20434
20435 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20436 PyObject *resultobj = 0;
20437 wxFindReplaceDialog *result = 0 ;
20438
20439 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20440 {
20441 if (!wxPyCheckForApp()) SWIG_fail;
20442 PyThreadState* __tstate = wxPyBeginAllowThreads();
20443 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20444 wxPyEndAllowThreads(__tstate);
20445 if (PyErr_Occurred()) SWIG_fail;
20446 }
20447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20448 return resultobj;
20449 fail:
20450 return NULL;
20451 }
20452
20453
20454 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20455 PyObject *resultobj = 0;
20456 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20457 wxWindow *arg2 = (wxWindow *) 0 ;
20458 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20459 wxString *arg4 = 0 ;
20460 int arg5 = (int) 0 ;
20461 bool result;
20462 void *argp1 = 0 ;
20463 int res1 = 0 ;
20464 void *argp2 = 0 ;
20465 int res2 = 0 ;
20466 void *argp3 = 0 ;
20467 int res3 = 0 ;
20468 bool temp4 = false ;
20469 int val5 ;
20470 int ecode5 = 0 ;
20471 PyObject * obj0 = 0 ;
20472 PyObject * obj1 = 0 ;
20473 PyObject * obj2 = 0 ;
20474 PyObject * obj3 = 0 ;
20475 PyObject * obj4 = 0 ;
20476 char * kwnames[] = {
20477 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20478 };
20479
20480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20482 if (!SWIG_IsOK(res1)) {
20483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20484 }
20485 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20486 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20487 if (!SWIG_IsOK(res2)) {
20488 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20489 }
20490 arg2 = reinterpret_cast< wxWindow * >(argp2);
20491 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20492 if (!SWIG_IsOK(res3)) {
20493 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20494 }
20495 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20496 {
20497 arg4 = wxString_in_helper(obj3);
20498 if (arg4 == NULL) SWIG_fail;
20499 temp4 = true;
20500 }
20501 if (obj4) {
20502 ecode5 = SWIG_AsVal_int(obj4, &val5);
20503 if (!SWIG_IsOK(ecode5)) {
20504 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20505 }
20506 arg5 = static_cast< int >(val5);
20507 }
20508 {
20509 PyThreadState* __tstate = wxPyBeginAllowThreads();
20510 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20511 wxPyEndAllowThreads(__tstate);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 }
20514 {
20515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20516 }
20517 {
20518 if (temp4)
20519 delete arg4;
20520 }
20521 return resultobj;
20522 fail:
20523 {
20524 if (temp4)
20525 delete arg4;
20526 }
20527 return NULL;
20528 }
20529
20530
20531 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20532 PyObject *resultobj = 0;
20533 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20534 wxFindReplaceData *result = 0 ;
20535 void *argp1 = 0 ;
20536 int res1 = 0 ;
20537 PyObject *swig_obj[1] ;
20538
20539 if (!args) SWIG_fail;
20540 swig_obj[0] = args;
20541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20542 if (!SWIG_IsOK(res1)) {
20543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20544 }
20545 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20546 {
20547 PyThreadState* __tstate = wxPyBeginAllowThreads();
20548 result = (wxFindReplaceData *)(arg1)->GetData();
20549 wxPyEndAllowThreads(__tstate);
20550 if (PyErr_Occurred()) SWIG_fail;
20551 }
20552 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20553 return resultobj;
20554 fail:
20555 return NULL;
20556 }
20557
20558
20559 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20560 PyObject *resultobj = 0;
20561 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20562 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20563 void *argp1 = 0 ;
20564 int res1 = 0 ;
20565 void *argp2 = 0 ;
20566 int res2 = 0 ;
20567 PyObject * obj0 = 0 ;
20568 PyObject * obj1 = 0 ;
20569 char * kwnames[] = {
20570 (char *) "self",(char *) "data", NULL
20571 };
20572
20573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20575 if (!SWIG_IsOK(res1)) {
20576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20577 }
20578 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20580 if (!SWIG_IsOK(res2)) {
20581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20582 }
20583 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20584 {
20585 PyThreadState* __tstate = wxPyBeginAllowThreads();
20586 (arg1)->SetData(arg2);
20587 wxPyEndAllowThreads(__tstate);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 }
20590 resultobj = SWIG_Py_Void();
20591 return resultobj;
20592 fail:
20593 return NULL;
20594 }
20595
20596
20597 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20598 PyObject *obj;
20599 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20600 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20601 return SWIG_Py_Void();
20602 }
20603
20604 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20605 return SWIG_Python_InitShadowInstance(args);
20606 }
20607
20608 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20609 PyObject *resultobj = 0;
20610 wxWindow *arg1 = (wxWindow *) 0 ;
20611 int arg2 = (int) (int)-1 ;
20612 wxString const &arg3_defvalue = wxPyEmptyString ;
20613 wxString *arg3 = (wxString *) &arg3_defvalue ;
20614 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20615 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20616 wxSize const &arg5_defvalue = wxDefaultSize ;
20617 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20618 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20619 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20620 wxString *arg7 = (wxString *) &arg7_defvalue ;
20621 wxMDIParentFrame *result = 0 ;
20622 void *argp1 = 0 ;
20623 int res1 = 0 ;
20624 int val2 ;
20625 int ecode2 = 0 ;
20626 bool temp3 = false ;
20627 wxPoint temp4 ;
20628 wxSize temp5 ;
20629 long val6 ;
20630 int ecode6 = 0 ;
20631 bool temp7 = false ;
20632 PyObject * obj0 = 0 ;
20633 PyObject * obj1 = 0 ;
20634 PyObject * obj2 = 0 ;
20635 PyObject * obj3 = 0 ;
20636 PyObject * obj4 = 0 ;
20637 PyObject * obj5 = 0 ;
20638 PyObject * obj6 = 0 ;
20639 char * kwnames[] = {
20640 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20641 };
20642
20643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20645 if (!SWIG_IsOK(res1)) {
20646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20647 }
20648 arg1 = reinterpret_cast< wxWindow * >(argp1);
20649 if (obj1) {
20650 ecode2 = SWIG_AsVal_int(obj1, &val2);
20651 if (!SWIG_IsOK(ecode2)) {
20652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20653 }
20654 arg2 = static_cast< int >(val2);
20655 }
20656 if (obj2) {
20657 {
20658 arg3 = wxString_in_helper(obj2);
20659 if (arg3 == NULL) SWIG_fail;
20660 temp3 = true;
20661 }
20662 }
20663 if (obj3) {
20664 {
20665 arg4 = &temp4;
20666 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20667 }
20668 }
20669 if (obj4) {
20670 {
20671 arg5 = &temp5;
20672 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20673 }
20674 }
20675 if (obj5) {
20676 ecode6 = SWIG_AsVal_long(obj5, &val6);
20677 if (!SWIG_IsOK(ecode6)) {
20678 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20679 }
20680 arg6 = static_cast< long >(val6);
20681 }
20682 if (obj6) {
20683 {
20684 arg7 = wxString_in_helper(obj6);
20685 if (arg7 == NULL) SWIG_fail;
20686 temp7 = true;
20687 }
20688 }
20689 {
20690 if (!wxPyCheckForApp()) SWIG_fail;
20691 PyThreadState* __tstate = wxPyBeginAllowThreads();
20692 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20693 wxPyEndAllowThreads(__tstate);
20694 if (PyErr_Occurred()) SWIG_fail;
20695 }
20696 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20697 {
20698 if (temp3)
20699 delete arg3;
20700 }
20701 {
20702 if (temp7)
20703 delete arg7;
20704 }
20705 return resultobj;
20706 fail:
20707 {
20708 if (temp3)
20709 delete arg3;
20710 }
20711 {
20712 if (temp7)
20713 delete arg7;
20714 }
20715 return NULL;
20716 }
20717
20718
20719 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20720 PyObject *resultobj = 0;
20721 wxMDIParentFrame *result = 0 ;
20722
20723 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20724 {
20725 if (!wxPyCheckForApp()) SWIG_fail;
20726 PyThreadState* __tstate = wxPyBeginAllowThreads();
20727 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20728 wxPyEndAllowThreads(__tstate);
20729 if (PyErr_Occurred()) SWIG_fail;
20730 }
20731 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20732 return resultobj;
20733 fail:
20734 return NULL;
20735 }
20736
20737
20738 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20739 PyObject *resultobj = 0;
20740 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20741 wxWindow *arg2 = (wxWindow *) 0 ;
20742 int arg3 = (int) (int)-1 ;
20743 wxString const &arg4_defvalue = wxPyEmptyString ;
20744 wxString *arg4 = (wxString *) &arg4_defvalue ;
20745 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20746 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20747 wxSize const &arg6_defvalue = wxDefaultSize ;
20748 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20749 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20750 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20751 wxString *arg8 = (wxString *) &arg8_defvalue ;
20752 bool result;
20753 void *argp1 = 0 ;
20754 int res1 = 0 ;
20755 void *argp2 = 0 ;
20756 int res2 = 0 ;
20757 int val3 ;
20758 int ecode3 = 0 ;
20759 bool temp4 = false ;
20760 wxPoint temp5 ;
20761 wxSize temp6 ;
20762 long val7 ;
20763 int ecode7 = 0 ;
20764 bool temp8 = false ;
20765 PyObject * obj0 = 0 ;
20766 PyObject * obj1 = 0 ;
20767 PyObject * obj2 = 0 ;
20768 PyObject * obj3 = 0 ;
20769 PyObject * obj4 = 0 ;
20770 PyObject * obj5 = 0 ;
20771 PyObject * obj6 = 0 ;
20772 PyObject * obj7 = 0 ;
20773 char * kwnames[] = {
20774 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20775 };
20776
20777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20779 if (!SWIG_IsOK(res1)) {
20780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20781 }
20782 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20783 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20784 if (!SWIG_IsOK(res2)) {
20785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20786 }
20787 arg2 = reinterpret_cast< wxWindow * >(argp2);
20788 if (obj2) {
20789 ecode3 = SWIG_AsVal_int(obj2, &val3);
20790 if (!SWIG_IsOK(ecode3)) {
20791 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20792 }
20793 arg3 = static_cast< int >(val3);
20794 }
20795 if (obj3) {
20796 {
20797 arg4 = wxString_in_helper(obj3);
20798 if (arg4 == NULL) SWIG_fail;
20799 temp4 = true;
20800 }
20801 }
20802 if (obj4) {
20803 {
20804 arg5 = &temp5;
20805 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20806 }
20807 }
20808 if (obj5) {
20809 {
20810 arg6 = &temp6;
20811 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20812 }
20813 }
20814 if (obj6) {
20815 ecode7 = SWIG_AsVal_long(obj6, &val7);
20816 if (!SWIG_IsOK(ecode7)) {
20817 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20818 }
20819 arg7 = static_cast< long >(val7);
20820 }
20821 if (obj7) {
20822 {
20823 arg8 = wxString_in_helper(obj7);
20824 if (arg8 == NULL) SWIG_fail;
20825 temp8 = true;
20826 }
20827 }
20828 {
20829 PyThreadState* __tstate = wxPyBeginAllowThreads();
20830 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20831 wxPyEndAllowThreads(__tstate);
20832 if (PyErr_Occurred()) SWIG_fail;
20833 }
20834 {
20835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20836 }
20837 {
20838 if (temp4)
20839 delete arg4;
20840 }
20841 {
20842 if (temp8)
20843 delete arg8;
20844 }
20845 return resultobj;
20846 fail:
20847 {
20848 if (temp4)
20849 delete arg4;
20850 }
20851 {
20852 if (temp8)
20853 delete arg8;
20854 }
20855 return NULL;
20856 }
20857
20858
20859 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20860 PyObject *resultobj = 0;
20861 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20862 void *argp1 = 0 ;
20863 int res1 = 0 ;
20864 PyObject *swig_obj[1] ;
20865
20866 if (!args) SWIG_fail;
20867 swig_obj[0] = args;
20868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20869 if (!SWIG_IsOK(res1)) {
20870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20871 }
20872 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20873 {
20874 PyThreadState* __tstate = wxPyBeginAllowThreads();
20875 (arg1)->ActivateNext();
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 resultobj = SWIG_Py_Void();
20880 return resultobj;
20881 fail:
20882 return NULL;
20883 }
20884
20885
20886 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20887 PyObject *resultobj = 0;
20888 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20889 void *argp1 = 0 ;
20890 int res1 = 0 ;
20891 PyObject *swig_obj[1] ;
20892
20893 if (!args) SWIG_fail;
20894 swig_obj[0] = args;
20895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20896 if (!SWIG_IsOK(res1)) {
20897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20898 }
20899 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20900 {
20901 PyThreadState* __tstate = wxPyBeginAllowThreads();
20902 (arg1)->ActivatePrevious();
20903 wxPyEndAllowThreads(__tstate);
20904 if (PyErr_Occurred()) SWIG_fail;
20905 }
20906 resultobj = SWIG_Py_Void();
20907 return resultobj;
20908 fail:
20909 return NULL;
20910 }
20911
20912
20913 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20914 PyObject *resultobj = 0;
20915 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20916 void *argp1 = 0 ;
20917 int res1 = 0 ;
20918 PyObject *swig_obj[1] ;
20919
20920 if (!args) SWIG_fail;
20921 swig_obj[0] = args;
20922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20923 if (!SWIG_IsOK(res1)) {
20924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20925 }
20926 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20927 {
20928 PyThreadState* __tstate = wxPyBeginAllowThreads();
20929 (arg1)->ArrangeIcons();
20930 wxPyEndAllowThreads(__tstate);
20931 if (PyErr_Occurred()) SWIG_fail;
20932 }
20933 resultobj = SWIG_Py_Void();
20934 return resultobj;
20935 fail:
20936 return NULL;
20937 }
20938
20939
20940 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20941 PyObject *resultobj = 0;
20942 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20943 void *argp1 = 0 ;
20944 int res1 = 0 ;
20945 PyObject *swig_obj[1] ;
20946
20947 if (!args) SWIG_fail;
20948 swig_obj[0] = args;
20949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20950 if (!SWIG_IsOK(res1)) {
20951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20952 }
20953 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20954 {
20955 PyThreadState* __tstate = wxPyBeginAllowThreads();
20956 (arg1)->Cascade();
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 resultobj = SWIG_Py_Void();
20961 return resultobj;
20962 fail:
20963 return NULL;
20964 }
20965
20966
20967 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20968 PyObject *resultobj = 0;
20969 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20970 wxMDIChildFrame *result = 0 ;
20971 void *argp1 = 0 ;
20972 int res1 = 0 ;
20973 PyObject *swig_obj[1] ;
20974
20975 if (!args) SWIG_fail;
20976 swig_obj[0] = args;
20977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20978 if (!SWIG_IsOK(res1)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20980 }
20981 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20982 {
20983 PyThreadState* __tstate = wxPyBeginAllowThreads();
20984 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20985 wxPyEndAllowThreads(__tstate);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 }
20988 {
20989 resultobj = wxPyMake_wxObject(result, (bool)0);
20990 }
20991 return resultobj;
20992 fail:
20993 return NULL;
20994 }
20995
20996
20997 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20998 PyObject *resultobj = 0;
20999 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21000 wxMDIClientWindow *result = 0 ;
21001 void *argp1 = 0 ;
21002 int res1 = 0 ;
21003 PyObject *swig_obj[1] ;
21004
21005 if (!args) SWIG_fail;
21006 swig_obj[0] = args;
21007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21008 if (!SWIG_IsOK(res1)) {
21009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21010 }
21011 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
21018 {
21019 resultobj = wxPyMake_wxObject(result, (bool)0);
21020 }
21021 return resultobj;
21022 fail:
21023 return NULL;
21024 }
21025
21026
21027 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21028 PyObject *resultobj = 0;
21029 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21030 wxMenu *result = 0 ;
21031 void *argp1 = 0 ;
21032 int res1 = 0 ;
21033 PyObject *swig_obj[1] ;
21034
21035 if (!args) SWIG_fail;
21036 swig_obj[0] = args;
21037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21038 if (!SWIG_IsOK(res1)) {
21039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21040 }
21041 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21042 {
21043 PyThreadState* __tstate = wxPyBeginAllowThreads();
21044 result = (wxMenu *)(arg1)->GetWindowMenu();
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
21048 {
21049 resultobj = wxPyMake_wxObject(result, 0);
21050 }
21051 return resultobj;
21052 fail:
21053 return NULL;
21054 }
21055
21056
21057 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21058 PyObject *resultobj = 0;
21059 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21060 wxMenu *arg2 = (wxMenu *) 0 ;
21061 void *argp1 = 0 ;
21062 int res1 = 0 ;
21063 void *argp2 = 0 ;
21064 int res2 = 0 ;
21065 PyObject * obj0 = 0 ;
21066 PyObject * obj1 = 0 ;
21067 char * kwnames[] = {
21068 (char *) "self",(char *) "menu", NULL
21069 };
21070
21071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
21072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21073 if (!SWIG_IsOK(res1)) {
21074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21075 }
21076 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21077 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
21078 if (!SWIG_IsOK(res2)) {
21079 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21080 }
21081 arg2 = reinterpret_cast< wxMenu * >(argp2);
21082 {
21083 PyThreadState* __tstate = wxPyBeginAllowThreads();
21084 (arg1)->SetWindowMenu(arg2);
21085 wxPyEndAllowThreads(__tstate);
21086 if (PyErr_Occurred()) SWIG_fail;
21087 }
21088 resultobj = SWIG_Py_Void();
21089 return resultobj;
21090 fail:
21091 return NULL;
21092 }
21093
21094
21095 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21096 PyObject *resultobj = 0;
21097 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21098 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21099 void *argp1 = 0 ;
21100 int res1 = 0 ;
21101 int val2 ;
21102 int ecode2 = 0 ;
21103 PyObject * obj0 = 0 ;
21104 PyObject * obj1 = 0 ;
21105 char * kwnames[] = {
21106 (char *) "self",(char *) "orient", NULL
21107 };
21108
21109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21111 if (!SWIG_IsOK(res1)) {
21112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21113 }
21114 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21115 if (obj1) {
21116 ecode2 = SWIG_AsVal_int(obj1, &val2);
21117 if (!SWIG_IsOK(ecode2)) {
21118 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21119 }
21120 arg2 = static_cast< wxOrientation >(val2);
21121 }
21122 {
21123 PyThreadState* __tstate = wxPyBeginAllowThreads();
21124 (arg1)->Tile(arg2);
21125 wxPyEndAllowThreads(__tstate);
21126 if (PyErr_Occurred()) SWIG_fail;
21127 }
21128 resultobj = SWIG_Py_Void();
21129 return resultobj;
21130 fail:
21131 return NULL;
21132 }
21133
21134
21135 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21136 PyObject *obj;
21137 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21138 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21139 return SWIG_Py_Void();
21140 }
21141
21142 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21143 return SWIG_Python_InitShadowInstance(args);
21144 }
21145
21146 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21147 PyObject *resultobj = 0;
21148 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21149 int arg2 = (int) (int)-1 ;
21150 wxString const &arg3_defvalue = wxPyEmptyString ;
21151 wxString *arg3 = (wxString *) &arg3_defvalue ;
21152 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21153 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21154 wxSize const &arg5_defvalue = wxDefaultSize ;
21155 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21156 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21157 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21158 wxString *arg7 = (wxString *) &arg7_defvalue ;
21159 wxMDIChildFrame *result = 0 ;
21160 void *argp1 = 0 ;
21161 int res1 = 0 ;
21162 int val2 ;
21163 int ecode2 = 0 ;
21164 bool temp3 = false ;
21165 wxPoint temp4 ;
21166 wxSize temp5 ;
21167 long val6 ;
21168 int ecode6 = 0 ;
21169 bool temp7 = false ;
21170 PyObject * obj0 = 0 ;
21171 PyObject * obj1 = 0 ;
21172 PyObject * obj2 = 0 ;
21173 PyObject * obj3 = 0 ;
21174 PyObject * obj4 = 0 ;
21175 PyObject * obj5 = 0 ;
21176 PyObject * obj6 = 0 ;
21177 char * kwnames[] = {
21178 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21179 };
21180
21181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21183 if (!SWIG_IsOK(res1)) {
21184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21185 }
21186 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21187 if (obj1) {
21188 ecode2 = SWIG_AsVal_int(obj1, &val2);
21189 if (!SWIG_IsOK(ecode2)) {
21190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21191 }
21192 arg2 = static_cast< int >(val2);
21193 }
21194 if (obj2) {
21195 {
21196 arg3 = wxString_in_helper(obj2);
21197 if (arg3 == NULL) SWIG_fail;
21198 temp3 = true;
21199 }
21200 }
21201 if (obj3) {
21202 {
21203 arg4 = &temp4;
21204 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21205 }
21206 }
21207 if (obj4) {
21208 {
21209 arg5 = &temp5;
21210 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21211 }
21212 }
21213 if (obj5) {
21214 ecode6 = SWIG_AsVal_long(obj5, &val6);
21215 if (!SWIG_IsOK(ecode6)) {
21216 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21217 }
21218 arg6 = static_cast< long >(val6);
21219 }
21220 if (obj6) {
21221 {
21222 arg7 = wxString_in_helper(obj6);
21223 if (arg7 == NULL) SWIG_fail;
21224 temp7 = true;
21225 }
21226 }
21227 {
21228 if (!wxPyCheckForApp()) SWIG_fail;
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21231 wxPyEndAllowThreads(__tstate);
21232 if (PyErr_Occurred()) SWIG_fail;
21233 }
21234 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21235 {
21236 if (temp3)
21237 delete arg3;
21238 }
21239 {
21240 if (temp7)
21241 delete arg7;
21242 }
21243 return resultobj;
21244 fail:
21245 {
21246 if (temp3)
21247 delete arg3;
21248 }
21249 {
21250 if (temp7)
21251 delete arg7;
21252 }
21253 return NULL;
21254 }
21255
21256
21257 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21258 PyObject *resultobj = 0;
21259 wxMDIChildFrame *result = 0 ;
21260
21261 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21262 {
21263 if (!wxPyCheckForApp()) SWIG_fail;
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21266 wxPyEndAllowThreads(__tstate);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 }
21269 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21270 return resultobj;
21271 fail:
21272 return NULL;
21273 }
21274
21275
21276 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21277 PyObject *resultobj = 0;
21278 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21279 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21280 int arg3 = (int) (int)-1 ;
21281 wxString const &arg4_defvalue = wxPyEmptyString ;
21282 wxString *arg4 = (wxString *) &arg4_defvalue ;
21283 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21284 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21285 wxSize const &arg6_defvalue = wxDefaultSize ;
21286 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21287 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21288 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21289 wxString *arg8 = (wxString *) &arg8_defvalue ;
21290 bool result;
21291 void *argp1 = 0 ;
21292 int res1 = 0 ;
21293 void *argp2 = 0 ;
21294 int res2 = 0 ;
21295 int val3 ;
21296 int ecode3 = 0 ;
21297 bool temp4 = false ;
21298 wxPoint temp5 ;
21299 wxSize temp6 ;
21300 long val7 ;
21301 int ecode7 = 0 ;
21302 bool temp8 = false ;
21303 PyObject * obj0 = 0 ;
21304 PyObject * obj1 = 0 ;
21305 PyObject * obj2 = 0 ;
21306 PyObject * obj3 = 0 ;
21307 PyObject * obj4 = 0 ;
21308 PyObject * obj5 = 0 ;
21309 PyObject * obj6 = 0 ;
21310 PyObject * obj7 = 0 ;
21311 char * kwnames[] = {
21312 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21313 };
21314
21315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21317 if (!SWIG_IsOK(res1)) {
21318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21319 }
21320 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21321 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21322 if (!SWIG_IsOK(res2)) {
21323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21324 }
21325 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21326 if (obj2) {
21327 ecode3 = SWIG_AsVal_int(obj2, &val3);
21328 if (!SWIG_IsOK(ecode3)) {
21329 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21330 }
21331 arg3 = static_cast< int >(val3);
21332 }
21333 if (obj3) {
21334 {
21335 arg4 = wxString_in_helper(obj3);
21336 if (arg4 == NULL) SWIG_fail;
21337 temp4 = true;
21338 }
21339 }
21340 if (obj4) {
21341 {
21342 arg5 = &temp5;
21343 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21344 }
21345 }
21346 if (obj5) {
21347 {
21348 arg6 = &temp6;
21349 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21350 }
21351 }
21352 if (obj6) {
21353 ecode7 = SWIG_AsVal_long(obj6, &val7);
21354 if (!SWIG_IsOK(ecode7)) {
21355 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21356 }
21357 arg7 = static_cast< long >(val7);
21358 }
21359 if (obj7) {
21360 {
21361 arg8 = wxString_in_helper(obj7);
21362 if (arg8 == NULL) SWIG_fail;
21363 temp8 = true;
21364 }
21365 }
21366 {
21367 PyThreadState* __tstate = wxPyBeginAllowThreads();
21368 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21369 wxPyEndAllowThreads(__tstate);
21370 if (PyErr_Occurred()) SWIG_fail;
21371 }
21372 {
21373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21374 }
21375 {
21376 if (temp4)
21377 delete arg4;
21378 }
21379 {
21380 if (temp8)
21381 delete arg8;
21382 }
21383 return resultobj;
21384 fail:
21385 {
21386 if (temp4)
21387 delete arg4;
21388 }
21389 {
21390 if (temp8)
21391 delete arg8;
21392 }
21393 return NULL;
21394 }
21395
21396
21397 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21398 PyObject *resultobj = 0;
21399 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21400 void *argp1 = 0 ;
21401 int res1 = 0 ;
21402 PyObject *swig_obj[1] ;
21403
21404 if (!args) SWIG_fail;
21405 swig_obj[0] = args;
21406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21407 if (!SWIG_IsOK(res1)) {
21408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21409 }
21410 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21411 {
21412 PyThreadState* __tstate = wxPyBeginAllowThreads();
21413 (arg1)->Activate();
21414 wxPyEndAllowThreads(__tstate);
21415 if (PyErr_Occurred()) SWIG_fail;
21416 }
21417 resultobj = SWIG_Py_Void();
21418 return resultobj;
21419 fail:
21420 return NULL;
21421 }
21422
21423
21424 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21425 PyObject *obj;
21426 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21427 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21428 return SWIG_Py_Void();
21429 }
21430
21431 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21432 return SWIG_Python_InitShadowInstance(args);
21433 }
21434
21435 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21436 PyObject *resultobj = 0;
21437 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21438 long arg2 = (long) 0 ;
21439 wxMDIClientWindow *result = 0 ;
21440 void *argp1 = 0 ;
21441 int res1 = 0 ;
21442 long val2 ;
21443 int ecode2 = 0 ;
21444 PyObject * obj0 = 0 ;
21445 PyObject * obj1 = 0 ;
21446 char * kwnames[] = {
21447 (char *) "parent",(char *) "style", NULL
21448 };
21449
21450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21452 if (!SWIG_IsOK(res1)) {
21453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21454 }
21455 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21456 if (obj1) {
21457 ecode2 = SWIG_AsVal_long(obj1, &val2);
21458 if (!SWIG_IsOK(ecode2)) {
21459 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21460 }
21461 arg2 = static_cast< long >(val2);
21462 }
21463 {
21464 if (!wxPyCheckForApp()) SWIG_fail;
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
21466 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21467 wxPyEndAllowThreads(__tstate);
21468 if (PyErr_Occurred()) SWIG_fail;
21469 }
21470 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21471 return resultobj;
21472 fail:
21473 return NULL;
21474 }
21475
21476
21477 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21478 PyObject *resultobj = 0;
21479 wxMDIClientWindow *result = 0 ;
21480
21481 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21482 {
21483 if (!wxPyCheckForApp()) SWIG_fail;
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21490 return resultobj;
21491 fail:
21492 return NULL;
21493 }
21494
21495
21496 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21497 PyObject *resultobj = 0;
21498 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21499 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21500 long arg3 = (long) 0 ;
21501 bool result;
21502 void *argp1 = 0 ;
21503 int res1 = 0 ;
21504 void *argp2 = 0 ;
21505 int res2 = 0 ;
21506 long val3 ;
21507 int ecode3 = 0 ;
21508 PyObject * obj0 = 0 ;
21509 PyObject * obj1 = 0 ;
21510 PyObject * obj2 = 0 ;
21511 char * kwnames[] = {
21512 (char *) "self",(char *) "parent",(char *) "style", NULL
21513 };
21514
21515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21517 if (!SWIG_IsOK(res1)) {
21518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21519 }
21520 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21521 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21522 if (!SWIG_IsOK(res2)) {
21523 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21524 }
21525 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21526 if (obj2) {
21527 ecode3 = SWIG_AsVal_long(obj2, &val3);
21528 if (!SWIG_IsOK(ecode3)) {
21529 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21530 }
21531 arg3 = static_cast< long >(val3);
21532 }
21533 {
21534 PyThreadState* __tstate = wxPyBeginAllowThreads();
21535 result = (bool)(arg1)->Create(arg2,arg3);
21536 wxPyEndAllowThreads(__tstate);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 }
21539 {
21540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21541 }
21542 return resultobj;
21543 fail:
21544 return NULL;
21545 }
21546
21547
21548 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21549 PyObject *obj;
21550 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21551 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21552 return SWIG_Py_Void();
21553 }
21554
21555 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21556 return SWIG_Python_InitShadowInstance(args);
21557 }
21558
21559 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21560 PyObject *resultobj = 0;
21561 wxWindow *arg1 = (wxWindow *) 0 ;
21562 int arg2 = (int) (int)-1 ;
21563 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21564 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21565 wxSize const &arg4_defvalue = wxDefaultSize ;
21566 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21567 long arg5 = (long) 0 ;
21568 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21569 wxString *arg6 = (wxString *) &arg6_defvalue ;
21570 wxPyWindow *result = 0 ;
21571 void *argp1 = 0 ;
21572 int res1 = 0 ;
21573 int val2 ;
21574 int ecode2 = 0 ;
21575 wxPoint temp3 ;
21576 wxSize temp4 ;
21577 long val5 ;
21578 int ecode5 = 0 ;
21579 bool temp6 = false ;
21580 PyObject * obj0 = 0 ;
21581 PyObject * obj1 = 0 ;
21582 PyObject * obj2 = 0 ;
21583 PyObject * obj3 = 0 ;
21584 PyObject * obj4 = 0 ;
21585 PyObject * obj5 = 0 ;
21586 char * kwnames[] = {
21587 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21588 };
21589
21590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21592 if (!SWIG_IsOK(res1)) {
21593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21594 }
21595 arg1 = reinterpret_cast< wxWindow * >(argp1);
21596 if (obj1) {
21597 ecode2 = SWIG_AsVal_int(obj1, &val2);
21598 if (!SWIG_IsOK(ecode2)) {
21599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21600 }
21601 arg2 = static_cast< int >(val2);
21602 }
21603 if (obj2) {
21604 {
21605 arg3 = &temp3;
21606 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21607 }
21608 }
21609 if (obj3) {
21610 {
21611 arg4 = &temp4;
21612 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21613 }
21614 }
21615 if (obj4) {
21616 ecode5 = SWIG_AsVal_long(obj4, &val5);
21617 if (!SWIG_IsOK(ecode5)) {
21618 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21619 }
21620 arg5 = static_cast< long >(val5);
21621 }
21622 if (obj5) {
21623 {
21624 arg6 = wxString_in_helper(obj5);
21625 if (arg6 == NULL) SWIG_fail;
21626 temp6 = true;
21627 }
21628 }
21629 {
21630 if (!wxPyCheckForApp()) SWIG_fail;
21631 PyThreadState* __tstate = wxPyBeginAllowThreads();
21632 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21637 {
21638 if (temp6)
21639 delete arg6;
21640 }
21641 return resultobj;
21642 fail:
21643 {
21644 if (temp6)
21645 delete arg6;
21646 }
21647 return NULL;
21648 }
21649
21650
21651 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21652 PyObject *resultobj = 0;
21653 wxPyWindow *result = 0 ;
21654
21655 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21656 {
21657 if (!wxPyCheckForApp()) SWIG_fail;
21658 PyThreadState* __tstate = wxPyBeginAllowThreads();
21659 result = (wxPyWindow *)new wxPyWindow();
21660 wxPyEndAllowThreads(__tstate);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 }
21663 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21664 return resultobj;
21665 fail:
21666 return NULL;
21667 }
21668
21669
21670 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21671 PyObject *resultobj = 0;
21672 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21673 PyObject *arg2 = (PyObject *) 0 ;
21674 PyObject *arg3 = (PyObject *) 0 ;
21675 void *argp1 = 0 ;
21676 int res1 = 0 ;
21677 PyObject * obj0 = 0 ;
21678 PyObject * obj1 = 0 ;
21679 PyObject * obj2 = 0 ;
21680 char * kwnames[] = {
21681 (char *) "self",(char *) "self",(char *) "_class", NULL
21682 };
21683
21684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21686 if (!SWIG_IsOK(res1)) {
21687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21688 }
21689 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21690 arg2 = obj1;
21691 arg3 = obj2;
21692 {
21693 PyThreadState* __tstate = wxPyBeginAllowThreads();
21694 (arg1)->_setCallbackInfo(arg2,arg3);
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 resultobj = SWIG_Py_Void();
21699 return resultobj;
21700 fail:
21701 return NULL;
21702 }
21703
21704
21705 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21706 PyObject *resultobj = 0;
21707 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21708 wxSize *arg2 = 0 ;
21709 void *argp1 = 0 ;
21710 int res1 = 0 ;
21711 wxSize temp2 ;
21712 PyObject * obj0 = 0 ;
21713 PyObject * obj1 = 0 ;
21714 char * kwnames[] = {
21715 (char *) "self",(char *) "size", NULL
21716 };
21717
21718 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21719 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21720 if (!SWIG_IsOK(res1)) {
21721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21722 }
21723 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21724 {
21725 arg2 = &temp2;
21726 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21727 }
21728 {
21729 PyThreadState* __tstate = wxPyBeginAllowThreads();
21730 (arg1)->SetBestSize((wxSize const &)*arg2);
21731 wxPyEndAllowThreads(__tstate);
21732 if (PyErr_Occurred()) SWIG_fail;
21733 }
21734 resultobj = SWIG_Py_Void();
21735 return resultobj;
21736 fail:
21737 return NULL;
21738 }
21739
21740
21741 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21742 PyObject *resultobj = 0;
21743 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21744 wxDC *arg2 = (wxDC *) 0 ;
21745 bool result;
21746 void *argp1 = 0 ;
21747 int res1 = 0 ;
21748 void *argp2 = 0 ;
21749 int res2 = 0 ;
21750 PyObject * obj0 = 0 ;
21751 PyObject * obj1 = 0 ;
21752 char * kwnames[] = {
21753 (char *) "self",(char *) "dc", NULL
21754 };
21755
21756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21758 if (!SWIG_IsOK(res1)) {
21759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21760 }
21761 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21762 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21763 if (!SWIG_IsOK(res2)) {
21764 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21765 }
21766 arg2 = reinterpret_cast< wxDC * >(argp2);
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 result = (bool)(arg1)->DoEraseBackground(arg2);
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 {
21774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21775 }
21776 return resultobj;
21777 fail:
21778 return NULL;
21779 }
21780
21781
21782 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21783 PyObject *resultobj = 0;
21784 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21785 int arg2 ;
21786 int arg3 ;
21787 int arg4 ;
21788 int arg5 ;
21789 void *argp1 = 0 ;
21790 int res1 = 0 ;
21791 int val2 ;
21792 int ecode2 = 0 ;
21793 int val3 ;
21794 int ecode3 = 0 ;
21795 int val4 ;
21796 int ecode4 = 0 ;
21797 int val5 ;
21798 int ecode5 = 0 ;
21799 PyObject * obj0 = 0 ;
21800 PyObject * obj1 = 0 ;
21801 PyObject * obj2 = 0 ;
21802 PyObject * obj3 = 0 ;
21803 PyObject * obj4 = 0 ;
21804 char * kwnames[] = {
21805 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21806 };
21807
21808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21810 if (!SWIG_IsOK(res1)) {
21811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21812 }
21813 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21814 ecode2 = SWIG_AsVal_int(obj1, &val2);
21815 if (!SWIG_IsOK(ecode2)) {
21816 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21817 }
21818 arg2 = static_cast< int >(val2);
21819 ecode3 = SWIG_AsVal_int(obj2, &val3);
21820 if (!SWIG_IsOK(ecode3)) {
21821 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21822 }
21823 arg3 = static_cast< int >(val3);
21824 ecode4 = SWIG_AsVal_int(obj3, &val4);
21825 if (!SWIG_IsOK(ecode4)) {
21826 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21827 }
21828 arg4 = static_cast< int >(val4);
21829 ecode5 = SWIG_AsVal_int(obj4, &val5);
21830 if (!SWIG_IsOK(ecode5)) {
21831 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21832 }
21833 arg5 = static_cast< int >(val5);
21834 {
21835 PyThreadState* __tstate = wxPyBeginAllowThreads();
21836 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
21840 resultobj = SWIG_Py_Void();
21841 return resultobj;
21842 fail:
21843 return NULL;
21844 }
21845
21846
21847 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj = 0;
21849 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21850 int arg2 ;
21851 int arg3 ;
21852 int arg4 ;
21853 int arg5 ;
21854 int arg6 = (int) wxSIZE_AUTO ;
21855 void *argp1 = 0 ;
21856 int res1 = 0 ;
21857 int val2 ;
21858 int ecode2 = 0 ;
21859 int val3 ;
21860 int ecode3 = 0 ;
21861 int val4 ;
21862 int ecode4 = 0 ;
21863 int val5 ;
21864 int ecode5 = 0 ;
21865 int val6 ;
21866 int ecode6 = 0 ;
21867 PyObject * obj0 = 0 ;
21868 PyObject * obj1 = 0 ;
21869 PyObject * obj2 = 0 ;
21870 PyObject * obj3 = 0 ;
21871 PyObject * obj4 = 0 ;
21872 PyObject * obj5 = 0 ;
21873 char * kwnames[] = {
21874 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21875 };
21876
21877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21879 if (!SWIG_IsOK(res1)) {
21880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21881 }
21882 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21883 ecode2 = SWIG_AsVal_int(obj1, &val2);
21884 if (!SWIG_IsOK(ecode2)) {
21885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21886 }
21887 arg2 = static_cast< int >(val2);
21888 ecode3 = SWIG_AsVal_int(obj2, &val3);
21889 if (!SWIG_IsOK(ecode3)) {
21890 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21891 }
21892 arg3 = static_cast< int >(val3);
21893 ecode4 = SWIG_AsVal_int(obj3, &val4);
21894 if (!SWIG_IsOK(ecode4)) {
21895 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21896 }
21897 arg4 = static_cast< int >(val4);
21898 ecode5 = SWIG_AsVal_int(obj4, &val5);
21899 if (!SWIG_IsOK(ecode5)) {
21900 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21901 }
21902 arg5 = static_cast< int >(val5);
21903 if (obj5) {
21904 ecode6 = SWIG_AsVal_int(obj5, &val6);
21905 if (!SWIG_IsOK(ecode6)) {
21906 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21907 }
21908 arg6 = static_cast< int >(val6);
21909 }
21910 {
21911 PyThreadState* __tstate = wxPyBeginAllowThreads();
21912 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21913 wxPyEndAllowThreads(__tstate);
21914 if (PyErr_Occurred()) SWIG_fail;
21915 }
21916 resultobj = SWIG_Py_Void();
21917 return resultobj;
21918 fail:
21919 return NULL;
21920 }
21921
21922
21923 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21924 PyObject *resultobj = 0;
21925 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21926 int arg2 ;
21927 int arg3 ;
21928 void *argp1 = 0 ;
21929 int res1 = 0 ;
21930 int val2 ;
21931 int ecode2 = 0 ;
21932 int val3 ;
21933 int ecode3 = 0 ;
21934 PyObject * obj0 = 0 ;
21935 PyObject * obj1 = 0 ;
21936 PyObject * obj2 = 0 ;
21937 char * kwnames[] = {
21938 (char *) "self",(char *) "width",(char *) "height", NULL
21939 };
21940
21941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21943 if (!SWIG_IsOK(res1)) {
21944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21945 }
21946 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21947 ecode2 = SWIG_AsVal_int(obj1, &val2);
21948 if (!SWIG_IsOK(ecode2)) {
21949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21950 }
21951 arg2 = static_cast< int >(val2);
21952 ecode3 = SWIG_AsVal_int(obj2, &val3);
21953 if (!SWIG_IsOK(ecode3)) {
21954 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21955 }
21956 arg3 = static_cast< int >(val3);
21957 {
21958 PyThreadState* __tstate = wxPyBeginAllowThreads();
21959 (arg1)->DoSetClientSize(arg2,arg3);
21960 wxPyEndAllowThreads(__tstate);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 }
21963 resultobj = SWIG_Py_Void();
21964 return resultobj;
21965 fail:
21966 return NULL;
21967 }
21968
21969
21970 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21971 PyObject *resultobj = 0;
21972 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21973 int arg2 ;
21974 int arg3 ;
21975 void *argp1 = 0 ;
21976 int res1 = 0 ;
21977 int val2 ;
21978 int ecode2 = 0 ;
21979 int val3 ;
21980 int ecode3 = 0 ;
21981 PyObject * obj0 = 0 ;
21982 PyObject * obj1 = 0 ;
21983 PyObject * obj2 = 0 ;
21984 char * kwnames[] = {
21985 (char *) "self",(char *) "x",(char *) "y", NULL
21986 };
21987
21988 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21989 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21990 if (!SWIG_IsOK(res1)) {
21991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21992 }
21993 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21994 ecode2 = SWIG_AsVal_int(obj1, &val2);
21995 if (!SWIG_IsOK(ecode2)) {
21996 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21997 }
21998 arg2 = static_cast< int >(val2);
21999 ecode3 = SWIG_AsVal_int(obj2, &val3);
22000 if (!SWIG_IsOK(ecode3)) {
22001 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22002 }
22003 arg3 = static_cast< int >(val3);
22004 {
22005 PyThreadState* __tstate = wxPyBeginAllowThreads();
22006 (arg1)->DoSetVirtualSize(arg2,arg3);
22007 wxPyEndAllowThreads(__tstate);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 }
22010 resultobj = SWIG_Py_Void();
22011 return resultobj;
22012 fail:
22013 return NULL;
22014 }
22015
22016
22017 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22018 PyObject *resultobj = 0;
22019 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22020 int *arg2 = (int *) 0 ;
22021 int *arg3 = (int *) 0 ;
22022 void *argp1 = 0 ;
22023 int res1 = 0 ;
22024 int temp2 ;
22025 int res2 = SWIG_TMPOBJ ;
22026 int temp3 ;
22027 int res3 = SWIG_TMPOBJ ;
22028 PyObject *swig_obj[1] ;
22029
22030 arg2 = &temp2;
22031 arg3 = &temp3;
22032 if (!args) SWIG_fail;
22033 swig_obj[0] = args;
22034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22035 if (!SWIG_IsOK(res1)) {
22036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22037 }
22038 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22042 wxPyEndAllowThreads(__tstate);
22043 if (PyErr_Occurred()) SWIG_fail;
22044 }
22045 resultobj = SWIG_Py_Void();
22046 if (SWIG_IsTmpObj(res2)) {
22047 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22048 } else {
22049 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22050 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22051 }
22052 if (SWIG_IsTmpObj(res3)) {
22053 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22054 } else {
22055 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22056 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22057 }
22058 return resultobj;
22059 fail:
22060 return NULL;
22061 }
22062
22063
22064 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22065 PyObject *resultobj = 0;
22066 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22067 int *arg2 = (int *) 0 ;
22068 int *arg3 = (int *) 0 ;
22069 void *argp1 = 0 ;
22070 int res1 = 0 ;
22071 int temp2 ;
22072 int res2 = SWIG_TMPOBJ ;
22073 int temp3 ;
22074 int res3 = SWIG_TMPOBJ ;
22075 PyObject *swig_obj[1] ;
22076
22077 arg2 = &temp2;
22078 arg3 = &temp3;
22079 if (!args) SWIG_fail;
22080 swig_obj[0] = args;
22081 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22082 if (!SWIG_IsOK(res1)) {
22083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22084 }
22085 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22086 {
22087 PyThreadState* __tstate = wxPyBeginAllowThreads();
22088 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22089 wxPyEndAllowThreads(__tstate);
22090 if (PyErr_Occurred()) SWIG_fail;
22091 }
22092 resultobj = SWIG_Py_Void();
22093 if (SWIG_IsTmpObj(res2)) {
22094 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22095 } else {
22096 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22097 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22098 }
22099 if (SWIG_IsTmpObj(res3)) {
22100 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22101 } else {
22102 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22103 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22104 }
22105 return resultobj;
22106 fail:
22107 return NULL;
22108 }
22109
22110
22111 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22112 PyObject *resultobj = 0;
22113 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22114 int *arg2 = (int *) 0 ;
22115 int *arg3 = (int *) 0 ;
22116 void *argp1 = 0 ;
22117 int res1 = 0 ;
22118 int temp2 ;
22119 int res2 = SWIG_TMPOBJ ;
22120 int temp3 ;
22121 int res3 = SWIG_TMPOBJ ;
22122 PyObject *swig_obj[1] ;
22123
22124 arg2 = &temp2;
22125 arg3 = &temp3;
22126 if (!args) SWIG_fail;
22127 swig_obj[0] = args;
22128 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22129 if (!SWIG_IsOK(res1)) {
22130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22131 }
22132 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22133 {
22134 PyThreadState* __tstate = wxPyBeginAllowThreads();
22135 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22136 wxPyEndAllowThreads(__tstate);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 }
22139 resultobj = SWIG_Py_Void();
22140 if (SWIG_IsTmpObj(res2)) {
22141 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22142 } else {
22143 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22144 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22145 }
22146 if (SWIG_IsTmpObj(res3)) {
22147 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22148 } else {
22149 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22150 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22151 }
22152 return resultobj;
22153 fail:
22154 return NULL;
22155 }
22156
22157
22158 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22159 PyObject *resultobj = 0;
22160 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22161 wxSize result;
22162 void *argp1 = 0 ;
22163 int res1 = 0 ;
22164 PyObject *swig_obj[1] ;
22165
22166 if (!args) SWIG_fail;
22167 swig_obj[0] = args;
22168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22169 if (!SWIG_IsOK(res1)) {
22170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22171 }
22172 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22173 {
22174 PyThreadState* __tstate = wxPyBeginAllowThreads();
22175 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22176 wxPyEndAllowThreads(__tstate);
22177 if (PyErr_Occurred()) SWIG_fail;
22178 }
22179 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22180 return resultobj;
22181 fail:
22182 return NULL;
22183 }
22184
22185
22186 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22187 PyObject *resultobj = 0;
22188 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22189 wxSize result;
22190 void *argp1 = 0 ;
22191 int res1 = 0 ;
22192 PyObject *swig_obj[1] ;
22193
22194 if (!args) SWIG_fail;
22195 swig_obj[0] = args;
22196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22197 if (!SWIG_IsOK(res1)) {
22198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22199 }
22200 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22201 {
22202 PyThreadState* __tstate = wxPyBeginAllowThreads();
22203 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22204 wxPyEndAllowThreads(__tstate);
22205 if (PyErr_Occurred()) SWIG_fail;
22206 }
22207 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22208 return resultobj;
22209 fail:
22210 return NULL;
22211 }
22212
22213
22214 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22215 PyObject *resultobj = 0;
22216 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22217 SwigValueWrapper<wxVisualAttributes > result;
22218 void *argp1 = 0 ;
22219 int res1 = 0 ;
22220 PyObject *swig_obj[1] ;
22221
22222 if (!args) SWIG_fail;
22223 swig_obj[0] = args;
22224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22225 if (!SWIG_IsOK(res1)) {
22226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22227 }
22228 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22229 {
22230 PyThreadState* __tstate = wxPyBeginAllowThreads();
22231 result = (arg1)->GetDefaultAttributes();
22232 wxPyEndAllowThreads(__tstate);
22233 if (PyErr_Occurred()) SWIG_fail;
22234 }
22235 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22236 return resultobj;
22237 fail:
22238 return NULL;
22239 }
22240
22241
22242 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22243 PyObject *resultobj = 0;
22244 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22245 void *argp1 = 0 ;
22246 int res1 = 0 ;
22247 PyObject *swig_obj[1] ;
22248
22249 if (!args) SWIG_fail;
22250 swig_obj[0] = args;
22251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22252 if (!SWIG_IsOK(res1)) {
22253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22254 }
22255 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22256 {
22257 PyThreadState* __tstate = wxPyBeginAllowThreads();
22258 (arg1)->OnInternalIdle();
22259 wxPyEndAllowThreads(__tstate);
22260 if (PyErr_Occurred()) SWIG_fail;
22261 }
22262 resultobj = SWIG_Py_Void();
22263 return resultobj;
22264 fail:
22265 return NULL;
22266 }
22267
22268
22269 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22270 PyObject *obj;
22271 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22272 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22273 return SWIG_Py_Void();
22274 }
22275
22276 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22277 return SWIG_Python_InitShadowInstance(args);
22278 }
22279
22280 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22281 PyObject *resultobj = 0;
22282 wxWindow *arg1 = (wxWindow *) 0 ;
22283 int arg2 = (int) (int)-1 ;
22284 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22285 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22286 wxSize const &arg4_defvalue = wxDefaultSize ;
22287 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22288 long arg5 = (long) 0 ;
22289 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22290 wxString *arg6 = (wxString *) &arg6_defvalue ;
22291 wxPyPanel *result = 0 ;
22292 void *argp1 = 0 ;
22293 int res1 = 0 ;
22294 int val2 ;
22295 int ecode2 = 0 ;
22296 wxPoint temp3 ;
22297 wxSize temp4 ;
22298 long val5 ;
22299 int ecode5 = 0 ;
22300 bool temp6 = false ;
22301 PyObject * obj0 = 0 ;
22302 PyObject * obj1 = 0 ;
22303 PyObject * obj2 = 0 ;
22304 PyObject * obj3 = 0 ;
22305 PyObject * obj4 = 0 ;
22306 PyObject * obj5 = 0 ;
22307 char * kwnames[] = {
22308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22309 };
22310
22311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22313 if (!SWIG_IsOK(res1)) {
22314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22315 }
22316 arg1 = reinterpret_cast< wxWindow * >(argp1);
22317 if (obj1) {
22318 ecode2 = SWIG_AsVal_int(obj1, &val2);
22319 if (!SWIG_IsOK(ecode2)) {
22320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22321 }
22322 arg2 = static_cast< int >(val2);
22323 }
22324 if (obj2) {
22325 {
22326 arg3 = &temp3;
22327 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22328 }
22329 }
22330 if (obj3) {
22331 {
22332 arg4 = &temp4;
22333 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22334 }
22335 }
22336 if (obj4) {
22337 ecode5 = SWIG_AsVal_long(obj4, &val5);
22338 if (!SWIG_IsOK(ecode5)) {
22339 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22340 }
22341 arg5 = static_cast< long >(val5);
22342 }
22343 if (obj5) {
22344 {
22345 arg6 = wxString_in_helper(obj5);
22346 if (arg6 == NULL) SWIG_fail;
22347 temp6 = true;
22348 }
22349 }
22350 {
22351 if (!wxPyCheckForApp()) SWIG_fail;
22352 PyThreadState* __tstate = wxPyBeginAllowThreads();
22353 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22354 wxPyEndAllowThreads(__tstate);
22355 if (PyErr_Occurred()) SWIG_fail;
22356 }
22357 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22358 {
22359 if (temp6)
22360 delete arg6;
22361 }
22362 return resultobj;
22363 fail:
22364 {
22365 if (temp6)
22366 delete arg6;
22367 }
22368 return NULL;
22369 }
22370
22371
22372 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22373 PyObject *resultobj = 0;
22374 wxPyPanel *result = 0 ;
22375
22376 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22377 {
22378 if (!wxPyCheckForApp()) SWIG_fail;
22379 PyThreadState* __tstate = wxPyBeginAllowThreads();
22380 result = (wxPyPanel *)new wxPyPanel();
22381 wxPyEndAllowThreads(__tstate);
22382 if (PyErr_Occurred()) SWIG_fail;
22383 }
22384 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22385 return resultobj;
22386 fail:
22387 return NULL;
22388 }
22389
22390
22391 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22392 PyObject *resultobj = 0;
22393 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22394 PyObject *arg2 = (PyObject *) 0 ;
22395 PyObject *arg3 = (PyObject *) 0 ;
22396 void *argp1 = 0 ;
22397 int res1 = 0 ;
22398 PyObject * obj0 = 0 ;
22399 PyObject * obj1 = 0 ;
22400 PyObject * obj2 = 0 ;
22401 char * kwnames[] = {
22402 (char *) "self",(char *) "self",(char *) "_class", NULL
22403 };
22404
22405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22407 if (!SWIG_IsOK(res1)) {
22408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22409 }
22410 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22411 arg2 = obj1;
22412 arg3 = obj2;
22413 {
22414 PyThreadState* __tstate = wxPyBeginAllowThreads();
22415 (arg1)->_setCallbackInfo(arg2,arg3);
22416 wxPyEndAllowThreads(__tstate);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 }
22419 resultobj = SWIG_Py_Void();
22420 return resultobj;
22421 fail:
22422 return NULL;
22423 }
22424
22425
22426 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22427 PyObject *resultobj = 0;
22428 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22429 wxSize *arg2 = 0 ;
22430 void *argp1 = 0 ;
22431 int res1 = 0 ;
22432 wxSize temp2 ;
22433 PyObject * obj0 = 0 ;
22434 PyObject * obj1 = 0 ;
22435 char * kwnames[] = {
22436 (char *) "self",(char *) "size", NULL
22437 };
22438
22439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22441 if (!SWIG_IsOK(res1)) {
22442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22443 }
22444 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22445 {
22446 arg2 = &temp2;
22447 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22448 }
22449 {
22450 PyThreadState* __tstate = wxPyBeginAllowThreads();
22451 (arg1)->SetBestSize((wxSize const &)*arg2);
22452 wxPyEndAllowThreads(__tstate);
22453 if (PyErr_Occurred()) SWIG_fail;
22454 }
22455 resultobj = SWIG_Py_Void();
22456 return resultobj;
22457 fail:
22458 return NULL;
22459 }
22460
22461
22462 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22463 PyObject *resultobj = 0;
22464 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22465 wxDC *arg2 = (wxDC *) 0 ;
22466 bool result;
22467 void *argp1 = 0 ;
22468 int res1 = 0 ;
22469 void *argp2 = 0 ;
22470 int res2 = 0 ;
22471 PyObject * obj0 = 0 ;
22472 PyObject * obj1 = 0 ;
22473 char * kwnames[] = {
22474 (char *) "self",(char *) "dc", NULL
22475 };
22476
22477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22479 if (!SWIG_IsOK(res1)) {
22480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22481 }
22482 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22483 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22484 if (!SWIG_IsOK(res2)) {
22485 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22486 }
22487 arg2 = reinterpret_cast< wxDC * >(argp2);
22488 {
22489 PyThreadState* __tstate = wxPyBeginAllowThreads();
22490 result = (bool)(arg1)->DoEraseBackground(arg2);
22491 wxPyEndAllowThreads(__tstate);
22492 if (PyErr_Occurred()) SWIG_fail;
22493 }
22494 {
22495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22496 }
22497 return resultobj;
22498 fail:
22499 return NULL;
22500 }
22501
22502
22503 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22504 PyObject *resultobj = 0;
22505 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22506 int arg2 ;
22507 int arg3 ;
22508 int arg4 ;
22509 int arg5 ;
22510 void *argp1 = 0 ;
22511 int res1 = 0 ;
22512 int val2 ;
22513 int ecode2 = 0 ;
22514 int val3 ;
22515 int ecode3 = 0 ;
22516 int val4 ;
22517 int ecode4 = 0 ;
22518 int val5 ;
22519 int ecode5 = 0 ;
22520 PyObject * obj0 = 0 ;
22521 PyObject * obj1 = 0 ;
22522 PyObject * obj2 = 0 ;
22523 PyObject * obj3 = 0 ;
22524 PyObject * obj4 = 0 ;
22525 char * kwnames[] = {
22526 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22527 };
22528
22529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22531 if (!SWIG_IsOK(res1)) {
22532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22533 }
22534 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22535 ecode2 = SWIG_AsVal_int(obj1, &val2);
22536 if (!SWIG_IsOK(ecode2)) {
22537 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22538 }
22539 arg2 = static_cast< int >(val2);
22540 ecode3 = SWIG_AsVal_int(obj2, &val3);
22541 if (!SWIG_IsOK(ecode3)) {
22542 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22543 }
22544 arg3 = static_cast< int >(val3);
22545 ecode4 = SWIG_AsVal_int(obj3, &val4);
22546 if (!SWIG_IsOK(ecode4)) {
22547 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22548 }
22549 arg4 = static_cast< int >(val4);
22550 ecode5 = SWIG_AsVal_int(obj4, &val5);
22551 if (!SWIG_IsOK(ecode5)) {
22552 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22553 }
22554 arg5 = static_cast< int >(val5);
22555 {
22556 PyThreadState* __tstate = wxPyBeginAllowThreads();
22557 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22558 wxPyEndAllowThreads(__tstate);
22559 if (PyErr_Occurred()) SWIG_fail;
22560 }
22561 resultobj = SWIG_Py_Void();
22562 return resultobj;
22563 fail:
22564 return NULL;
22565 }
22566
22567
22568 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22569 PyObject *resultobj = 0;
22570 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22571 int arg2 ;
22572 int arg3 ;
22573 int arg4 ;
22574 int arg5 ;
22575 int arg6 = (int) wxSIZE_AUTO ;
22576 void *argp1 = 0 ;
22577 int res1 = 0 ;
22578 int val2 ;
22579 int ecode2 = 0 ;
22580 int val3 ;
22581 int ecode3 = 0 ;
22582 int val4 ;
22583 int ecode4 = 0 ;
22584 int val5 ;
22585 int ecode5 = 0 ;
22586 int val6 ;
22587 int ecode6 = 0 ;
22588 PyObject * obj0 = 0 ;
22589 PyObject * obj1 = 0 ;
22590 PyObject * obj2 = 0 ;
22591 PyObject * obj3 = 0 ;
22592 PyObject * obj4 = 0 ;
22593 PyObject * obj5 = 0 ;
22594 char * kwnames[] = {
22595 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22596 };
22597
22598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22600 if (!SWIG_IsOK(res1)) {
22601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22602 }
22603 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22604 ecode2 = SWIG_AsVal_int(obj1, &val2);
22605 if (!SWIG_IsOK(ecode2)) {
22606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22607 }
22608 arg2 = static_cast< int >(val2);
22609 ecode3 = SWIG_AsVal_int(obj2, &val3);
22610 if (!SWIG_IsOK(ecode3)) {
22611 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22612 }
22613 arg3 = static_cast< int >(val3);
22614 ecode4 = SWIG_AsVal_int(obj3, &val4);
22615 if (!SWIG_IsOK(ecode4)) {
22616 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22617 }
22618 arg4 = static_cast< int >(val4);
22619 ecode5 = SWIG_AsVal_int(obj4, &val5);
22620 if (!SWIG_IsOK(ecode5)) {
22621 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22622 }
22623 arg5 = static_cast< int >(val5);
22624 if (obj5) {
22625 ecode6 = SWIG_AsVal_int(obj5, &val6);
22626 if (!SWIG_IsOK(ecode6)) {
22627 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22628 }
22629 arg6 = static_cast< int >(val6);
22630 }
22631 {
22632 PyThreadState* __tstate = wxPyBeginAllowThreads();
22633 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22634 wxPyEndAllowThreads(__tstate);
22635 if (PyErr_Occurred()) SWIG_fail;
22636 }
22637 resultobj = SWIG_Py_Void();
22638 return resultobj;
22639 fail:
22640 return NULL;
22641 }
22642
22643
22644 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22645 PyObject *resultobj = 0;
22646 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22647 int arg2 ;
22648 int arg3 ;
22649 void *argp1 = 0 ;
22650 int res1 = 0 ;
22651 int val2 ;
22652 int ecode2 = 0 ;
22653 int val3 ;
22654 int ecode3 = 0 ;
22655 PyObject * obj0 = 0 ;
22656 PyObject * obj1 = 0 ;
22657 PyObject * obj2 = 0 ;
22658 char * kwnames[] = {
22659 (char *) "self",(char *) "width",(char *) "height", NULL
22660 };
22661
22662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22664 if (!SWIG_IsOK(res1)) {
22665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22666 }
22667 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22668 ecode2 = SWIG_AsVal_int(obj1, &val2);
22669 if (!SWIG_IsOK(ecode2)) {
22670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22671 }
22672 arg2 = static_cast< int >(val2);
22673 ecode3 = SWIG_AsVal_int(obj2, &val3);
22674 if (!SWIG_IsOK(ecode3)) {
22675 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22676 }
22677 arg3 = static_cast< int >(val3);
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 (arg1)->DoSetClientSize(arg2,arg3);
22681 wxPyEndAllowThreads(__tstate);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 }
22684 resultobj = SWIG_Py_Void();
22685 return resultobj;
22686 fail:
22687 return NULL;
22688 }
22689
22690
22691 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22692 PyObject *resultobj = 0;
22693 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22694 int arg2 ;
22695 int arg3 ;
22696 void *argp1 = 0 ;
22697 int res1 = 0 ;
22698 int val2 ;
22699 int ecode2 = 0 ;
22700 int val3 ;
22701 int ecode3 = 0 ;
22702 PyObject * obj0 = 0 ;
22703 PyObject * obj1 = 0 ;
22704 PyObject * obj2 = 0 ;
22705 char * kwnames[] = {
22706 (char *) "self",(char *) "x",(char *) "y", NULL
22707 };
22708
22709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22711 if (!SWIG_IsOK(res1)) {
22712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22713 }
22714 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22715 ecode2 = SWIG_AsVal_int(obj1, &val2);
22716 if (!SWIG_IsOK(ecode2)) {
22717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22718 }
22719 arg2 = static_cast< int >(val2);
22720 ecode3 = SWIG_AsVal_int(obj2, &val3);
22721 if (!SWIG_IsOK(ecode3)) {
22722 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22723 }
22724 arg3 = static_cast< int >(val3);
22725 {
22726 PyThreadState* __tstate = wxPyBeginAllowThreads();
22727 (arg1)->DoSetVirtualSize(arg2,arg3);
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 resultobj = SWIG_Py_Void();
22732 return resultobj;
22733 fail:
22734 return NULL;
22735 }
22736
22737
22738 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22739 PyObject *resultobj = 0;
22740 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22741 int *arg2 = (int *) 0 ;
22742 int *arg3 = (int *) 0 ;
22743 void *argp1 = 0 ;
22744 int res1 = 0 ;
22745 int temp2 ;
22746 int res2 = SWIG_TMPOBJ ;
22747 int temp3 ;
22748 int res3 = SWIG_TMPOBJ ;
22749 PyObject *swig_obj[1] ;
22750
22751 arg2 = &temp2;
22752 arg3 = &temp3;
22753 if (!args) SWIG_fail;
22754 swig_obj[0] = args;
22755 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22756 if (!SWIG_IsOK(res1)) {
22757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22758 }
22759 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22763 wxPyEndAllowThreads(__tstate);
22764 if (PyErr_Occurred()) SWIG_fail;
22765 }
22766 resultobj = SWIG_Py_Void();
22767 if (SWIG_IsTmpObj(res2)) {
22768 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22769 } else {
22770 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22771 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22772 }
22773 if (SWIG_IsTmpObj(res3)) {
22774 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22775 } else {
22776 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22777 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22778 }
22779 return resultobj;
22780 fail:
22781 return NULL;
22782 }
22783
22784
22785 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22786 PyObject *resultobj = 0;
22787 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22788 int *arg2 = (int *) 0 ;
22789 int *arg3 = (int *) 0 ;
22790 void *argp1 = 0 ;
22791 int res1 = 0 ;
22792 int temp2 ;
22793 int res2 = SWIG_TMPOBJ ;
22794 int temp3 ;
22795 int res3 = SWIG_TMPOBJ ;
22796 PyObject *swig_obj[1] ;
22797
22798 arg2 = &temp2;
22799 arg3 = &temp3;
22800 if (!args) SWIG_fail;
22801 swig_obj[0] = args;
22802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22803 if (!SWIG_IsOK(res1)) {
22804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22805 }
22806 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22807 {
22808 PyThreadState* __tstate = wxPyBeginAllowThreads();
22809 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22810 wxPyEndAllowThreads(__tstate);
22811 if (PyErr_Occurred()) SWIG_fail;
22812 }
22813 resultobj = SWIG_Py_Void();
22814 if (SWIG_IsTmpObj(res2)) {
22815 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22816 } else {
22817 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22818 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22819 }
22820 if (SWIG_IsTmpObj(res3)) {
22821 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22822 } else {
22823 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22824 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22825 }
22826 return resultobj;
22827 fail:
22828 return NULL;
22829 }
22830
22831
22832 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22833 PyObject *resultobj = 0;
22834 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22835 int *arg2 = (int *) 0 ;
22836 int *arg3 = (int *) 0 ;
22837 void *argp1 = 0 ;
22838 int res1 = 0 ;
22839 int temp2 ;
22840 int res2 = SWIG_TMPOBJ ;
22841 int temp3 ;
22842 int res3 = SWIG_TMPOBJ ;
22843 PyObject *swig_obj[1] ;
22844
22845 arg2 = &temp2;
22846 arg3 = &temp3;
22847 if (!args) SWIG_fail;
22848 swig_obj[0] = args;
22849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22850 if (!SWIG_IsOK(res1)) {
22851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22852 }
22853 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22854 {
22855 PyThreadState* __tstate = wxPyBeginAllowThreads();
22856 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22857 wxPyEndAllowThreads(__tstate);
22858 if (PyErr_Occurred()) SWIG_fail;
22859 }
22860 resultobj = SWIG_Py_Void();
22861 if (SWIG_IsTmpObj(res2)) {
22862 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22863 } else {
22864 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22865 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22866 }
22867 if (SWIG_IsTmpObj(res3)) {
22868 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22869 } else {
22870 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22871 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22872 }
22873 return resultobj;
22874 fail:
22875 return NULL;
22876 }
22877
22878
22879 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22880 PyObject *resultobj = 0;
22881 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22882 wxSize result;
22883 void *argp1 = 0 ;
22884 int res1 = 0 ;
22885 PyObject *swig_obj[1] ;
22886
22887 if (!args) SWIG_fail;
22888 swig_obj[0] = args;
22889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22890 if (!SWIG_IsOK(res1)) {
22891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22892 }
22893 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22894 {
22895 PyThreadState* __tstate = wxPyBeginAllowThreads();
22896 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22901 return resultobj;
22902 fail:
22903 return NULL;
22904 }
22905
22906
22907 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22908 PyObject *resultobj = 0;
22909 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22910 wxSize result;
22911 void *argp1 = 0 ;
22912 int res1 = 0 ;
22913 PyObject *swig_obj[1] ;
22914
22915 if (!args) SWIG_fail;
22916 swig_obj[0] = args;
22917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22918 if (!SWIG_IsOK(res1)) {
22919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22920 }
22921 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22922 {
22923 PyThreadState* __tstate = wxPyBeginAllowThreads();
22924 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22925 wxPyEndAllowThreads(__tstate);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
22928 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22929 return resultobj;
22930 fail:
22931 return NULL;
22932 }
22933
22934
22935 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22936 PyObject *resultobj = 0;
22937 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22938 SwigValueWrapper<wxVisualAttributes > result;
22939 void *argp1 = 0 ;
22940 int res1 = 0 ;
22941 PyObject *swig_obj[1] ;
22942
22943 if (!args) SWIG_fail;
22944 swig_obj[0] = args;
22945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22946 if (!SWIG_IsOK(res1)) {
22947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22948 }
22949 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22950 {
22951 PyThreadState* __tstate = wxPyBeginAllowThreads();
22952 result = (arg1)->GetDefaultAttributes();
22953 wxPyEndAllowThreads(__tstate);
22954 if (PyErr_Occurred()) SWIG_fail;
22955 }
22956 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22957 return resultobj;
22958 fail:
22959 return NULL;
22960 }
22961
22962
22963 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22964 PyObject *resultobj = 0;
22965 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22966 void *argp1 = 0 ;
22967 int res1 = 0 ;
22968 PyObject *swig_obj[1] ;
22969
22970 if (!args) SWIG_fail;
22971 swig_obj[0] = args;
22972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22973 if (!SWIG_IsOK(res1)) {
22974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22975 }
22976 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22977 {
22978 PyThreadState* __tstate = wxPyBeginAllowThreads();
22979 (arg1)->OnInternalIdle();
22980 wxPyEndAllowThreads(__tstate);
22981 if (PyErr_Occurred()) SWIG_fail;
22982 }
22983 resultobj = SWIG_Py_Void();
22984 return resultobj;
22985 fail:
22986 return NULL;
22987 }
22988
22989
22990 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22991 PyObject *obj;
22992 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22993 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22994 return SWIG_Py_Void();
22995 }
22996
22997 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22998 return SWIG_Python_InitShadowInstance(args);
22999 }
23000
23001 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23002 PyObject *resultobj = 0;
23003 wxWindow *arg1 = (wxWindow *) 0 ;
23004 int arg2 = (int) (int)-1 ;
23005 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23006 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23007 wxSize const &arg4_defvalue = wxDefaultSize ;
23008 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23009 long arg5 = (long) 0 ;
23010 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23011 wxString *arg6 = (wxString *) &arg6_defvalue ;
23012 wxPyScrolledWindow *result = 0 ;
23013 void *argp1 = 0 ;
23014 int res1 = 0 ;
23015 int val2 ;
23016 int ecode2 = 0 ;
23017 wxPoint temp3 ;
23018 wxSize temp4 ;
23019 long val5 ;
23020 int ecode5 = 0 ;
23021 bool temp6 = false ;
23022 PyObject * obj0 = 0 ;
23023 PyObject * obj1 = 0 ;
23024 PyObject * obj2 = 0 ;
23025 PyObject * obj3 = 0 ;
23026 PyObject * obj4 = 0 ;
23027 PyObject * obj5 = 0 ;
23028 char * kwnames[] = {
23029 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23030 };
23031
23032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23034 if (!SWIG_IsOK(res1)) {
23035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23036 }
23037 arg1 = reinterpret_cast< wxWindow * >(argp1);
23038 if (obj1) {
23039 ecode2 = SWIG_AsVal_int(obj1, &val2);
23040 if (!SWIG_IsOK(ecode2)) {
23041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23042 }
23043 arg2 = static_cast< int >(val2);
23044 }
23045 if (obj2) {
23046 {
23047 arg3 = &temp3;
23048 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23049 }
23050 }
23051 if (obj3) {
23052 {
23053 arg4 = &temp4;
23054 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23055 }
23056 }
23057 if (obj4) {
23058 ecode5 = SWIG_AsVal_long(obj4, &val5);
23059 if (!SWIG_IsOK(ecode5)) {
23060 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23061 }
23062 arg5 = static_cast< long >(val5);
23063 }
23064 if (obj5) {
23065 {
23066 arg6 = wxString_in_helper(obj5);
23067 if (arg6 == NULL) SWIG_fail;
23068 temp6 = true;
23069 }
23070 }
23071 {
23072 if (!wxPyCheckForApp()) SWIG_fail;
23073 PyThreadState* __tstate = wxPyBeginAllowThreads();
23074 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23075 wxPyEndAllowThreads(__tstate);
23076 if (PyErr_Occurred()) SWIG_fail;
23077 }
23078 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23079 {
23080 if (temp6)
23081 delete arg6;
23082 }
23083 return resultobj;
23084 fail:
23085 {
23086 if (temp6)
23087 delete arg6;
23088 }
23089 return NULL;
23090 }
23091
23092
23093 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23094 PyObject *resultobj = 0;
23095 wxPyScrolledWindow *result = 0 ;
23096
23097 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23098 {
23099 if (!wxPyCheckForApp()) SWIG_fail;
23100 PyThreadState* __tstate = wxPyBeginAllowThreads();
23101 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23102 wxPyEndAllowThreads(__tstate);
23103 if (PyErr_Occurred()) SWIG_fail;
23104 }
23105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23106 return resultobj;
23107 fail:
23108 return NULL;
23109 }
23110
23111
23112 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23113 PyObject *resultobj = 0;
23114 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23115 PyObject *arg2 = (PyObject *) 0 ;
23116 PyObject *arg3 = (PyObject *) 0 ;
23117 void *argp1 = 0 ;
23118 int res1 = 0 ;
23119 PyObject * obj0 = 0 ;
23120 PyObject * obj1 = 0 ;
23121 PyObject * obj2 = 0 ;
23122 char * kwnames[] = {
23123 (char *) "self",(char *) "self",(char *) "_class", NULL
23124 };
23125
23126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23128 if (!SWIG_IsOK(res1)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23130 }
23131 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23132 arg2 = obj1;
23133 arg3 = obj2;
23134 {
23135 PyThreadState* __tstate = wxPyBeginAllowThreads();
23136 (arg1)->_setCallbackInfo(arg2,arg3);
23137 wxPyEndAllowThreads(__tstate);
23138 if (PyErr_Occurred()) SWIG_fail;
23139 }
23140 resultobj = SWIG_Py_Void();
23141 return resultobj;
23142 fail:
23143 return NULL;
23144 }
23145
23146
23147 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23148 PyObject *resultobj = 0;
23149 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23150 wxSize *arg2 = 0 ;
23151 void *argp1 = 0 ;
23152 int res1 = 0 ;
23153 wxSize temp2 ;
23154 PyObject * obj0 = 0 ;
23155 PyObject * obj1 = 0 ;
23156 char * kwnames[] = {
23157 (char *) "self",(char *) "size", NULL
23158 };
23159
23160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
23161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23162 if (!SWIG_IsOK(res1)) {
23163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23164 }
23165 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23166 {
23167 arg2 = &temp2;
23168 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23169 }
23170 {
23171 PyThreadState* __tstate = wxPyBeginAllowThreads();
23172 (arg1)->SetBestSize((wxSize const &)*arg2);
23173 wxPyEndAllowThreads(__tstate);
23174 if (PyErr_Occurred()) SWIG_fail;
23175 }
23176 resultobj = SWIG_Py_Void();
23177 return resultobj;
23178 fail:
23179 return NULL;
23180 }
23181
23182
23183 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23184 PyObject *resultobj = 0;
23185 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23186 wxDC *arg2 = (wxDC *) 0 ;
23187 bool result;
23188 void *argp1 = 0 ;
23189 int res1 = 0 ;
23190 void *argp2 = 0 ;
23191 int res2 = 0 ;
23192 PyObject * obj0 = 0 ;
23193 PyObject * obj1 = 0 ;
23194 char * kwnames[] = {
23195 (char *) "self",(char *) "dc", NULL
23196 };
23197
23198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23200 if (!SWIG_IsOK(res1)) {
23201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23202 }
23203 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23204 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23205 if (!SWIG_IsOK(res2)) {
23206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23207 }
23208 arg2 = reinterpret_cast< wxDC * >(argp2);
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 result = (bool)(arg1)->DoEraseBackground(arg2);
23212 wxPyEndAllowThreads(__tstate);
23213 if (PyErr_Occurred()) SWIG_fail;
23214 }
23215 {
23216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23217 }
23218 return resultobj;
23219 fail:
23220 return NULL;
23221 }
23222
23223
23224 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23225 PyObject *resultobj = 0;
23226 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23227 int arg2 ;
23228 int arg3 ;
23229 int arg4 ;
23230 int arg5 ;
23231 void *argp1 = 0 ;
23232 int res1 = 0 ;
23233 int val2 ;
23234 int ecode2 = 0 ;
23235 int val3 ;
23236 int ecode3 = 0 ;
23237 int val4 ;
23238 int ecode4 = 0 ;
23239 int val5 ;
23240 int ecode5 = 0 ;
23241 PyObject * obj0 = 0 ;
23242 PyObject * obj1 = 0 ;
23243 PyObject * obj2 = 0 ;
23244 PyObject * obj3 = 0 ;
23245 PyObject * obj4 = 0 ;
23246 char * kwnames[] = {
23247 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23248 };
23249
23250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23252 if (!SWIG_IsOK(res1)) {
23253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23254 }
23255 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23256 ecode2 = SWIG_AsVal_int(obj1, &val2);
23257 if (!SWIG_IsOK(ecode2)) {
23258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23259 }
23260 arg2 = static_cast< int >(val2);
23261 ecode3 = SWIG_AsVal_int(obj2, &val3);
23262 if (!SWIG_IsOK(ecode3)) {
23263 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23264 }
23265 arg3 = static_cast< int >(val3);
23266 ecode4 = SWIG_AsVal_int(obj3, &val4);
23267 if (!SWIG_IsOK(ecode4)) {
23268 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23269 }
23270 arg4 = static_cast< int >(val4);
23271 ecode5 = SWIG_AsVal_int(obj4, &val5);
23272 if (!SWIG_IsOK(ecode5)) {
23273 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23274 }
23275 arg5 = static_cast< int >(val5);
23276 {
23277 PyThreadState* __tstate = wxPyBeginAllowThreads();
23278 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23279 wxPyEndAllowThreads(__tstate);
23280 if (PyErr_Occurred()) SWIG_fail;
23281 }
23282 resultobj = SWIG_Py_Void();
23283 return resultobj;
23284 fail:
23285 return NULL;
23286 }
23287
23288
23289 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23290 PyObject *resultobj = 0;
23291 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23292 int arg2 ;
23293 int arg3 ;
23294 int arg4 ;
23295 int arg5 ;
23296 int arg6 = (int) wxSIZE_AUTO ;
23297 void *argp1 = 0 ;
23298 int res1 = 0 ;
23299 int val2 ;
23300 int ecode2 = 0 ;
23301 int val3 ;
23302 int ecode3 = 0 ;
23303 int val4 ;
23304 int ecode4 = 0 ;
23305 int val5 ;
23306 int ecode5 = 0 ;
23307 int val6 ;
23308 int ecode6 = 0 ;
23309 PyObject * obj0 = 0 ;
23310 PyObject * obj1 = 0 ;
23311 PyObject * obj2 = 0 ;
23312 PyObject * obj3 = 0 ;
23313 PyObject * obj4 = 0 ;
23314 PyObject * obj5 = 0 ;
23315 char * kwnames[] = {
23316 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23317 };
23318
23319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23321 if (!SWIG_IsOK(res1)) {
23322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23323 }
23324 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23325 ecode2 = SWIG_AsVal_int(obj1, &val2);
23326 if (!SWIG_IsOK(ecode2)) {
23327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23328 }
23329 arg2 = static_cast< int >(val2);
23330 ecode3 = SWIG_AsVal_int(obj2, &val3);
23331 if (!SWIG_IsOK(ecode3)) {
23332 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23333 }
23334 arg3 = static_cast< int >(val3);
23335 ecode4 = SWIG_AsVal_int(obj3, &val4);
23336 if (!SWIG_IsOK(ecode4)) {
23337 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23338 }
23339 arg4 = static_cast< int >(val4);
23340 ecode5 = SWIG_AsVal_int(obj4, &val5);
23341 if (!SWIG_IsOK(ecode5)) {
23342 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23343 }
23344 arg5 = static_cast< int >(val5);
23345 if (obj5) {
23346 ecode6 = SWIG_AsVal_int(obj5, &val6);
23347 if (!SWIG_IsOK(ecode6)) {
23348 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23349 }
23350 arg6 = static_cast< int >(val6);
23351 }
23352 {
23353 PyThreadState* __tstate = wxPyBeginAllowThreads();
23354 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23355 wxPyEndAllowThreads(__tstate);
23356 if (PyErr_Occurred()) SWIG_fail;
23357 }
23358 resultobj = SWIG_Py_Void();
23359 return resultobj;
23360 fail:
23361 return NULL;
23362 }
23363
23364
23365 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23366 PyObject *resultobj = 0;
23367 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23368 int arg2 ;
23369 int arg3 ;
23370 void *argp1 = 0 ;
23371 int res1 = 0 ;
23372 int val2 ;
23373 int ecode2 = 0 ;
23374 int val3 ;
23375 int ecode3 = 0 ;
23376 PyObject * obj0 = 0 ;
23377 PyObject * obj1 = 0 ;
23378 PyObject * obj2 = 0 ;
23379 char * kwnames[] = {
23380 (char *) "self",(char *) "width",(char *) "height", NULL
23381 };
23382
23383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23385 if (!SWIG_IsOK(res1)) {
23386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23387 }
23388 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23389 ecode2 = SWIG_AsVal_int(obj1, &val2);
23390 if (!SWIG_IsOK(ecode2)) {
23391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23392 }
23393 arg2 = static_cast< int >(val2);
23394 ecode3 = SWIG_AsVal_int(obj2, &val3);
23395 if (!SWIG_IsOK(ecode3)) {
23396 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23397 }
23398 arg3 = static_cast< int >(val3);
23399 {
23400 PyThreadState* __tstate = wxPyBeginAllowThreads();
23401 (arg1)->DoSetClientSize(arg2,arg3);
23402 wxPyEndAllowThreads(__tstate);
23403 if (PyErr_Occurred()) SWIG_fail;
23404 }
23405 resultobj = SWIG_Py_Void();
23406 return resultobj;
23407 fail:
23408 return NULL;
23409 }
23410
23411
23412 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23413 PyObject *resultobj = 0;
23414 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23415 int arg2 ;
23416 int arg3 ;
23417 void *argp1 = 0 ;
23418 int res1 = 0 ;
23419 int val2 ;
23420 int ecode2 = 0 ;
23421 int val3 ;
23422 int ecode3 = 0 ;
23423 PyObject * obj0 = 0 ;
23424 PyObject * obj1 = 0 ;
23425 PyObject * obj2 = 0 ;
23426 char * kwnames[] = {
23427 (char *) "self",(char *) "x",(char *) "y", NULL
23428 };
23429
23430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23432 if (!SWIG_IsOK(res1)) {
23433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23434 }
23435 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23436 ecode2 = SWIG_AsVal_int(obj1, &val2);
23437 if (!SWIG_IsOK(ecode2)) {
23438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23439 }
23440 arg2 = static_cast< int >(val2);
23441 ecode3 = SWIG_AsVal_int(obj2, &val3);
23442 if (!SWIG_IsOK(ecode3)) {
23443 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23444 }
23445 arg3 = static_cast< int >(val3);
23446 {
23447 PyThreadState* __tstate = wxPyBeginAllowThreads();
23448 (arg1)->DoSetVirtualSize(arg2,arg3);
23449 wxPyEndAllowThreads(__tstate);
23450 if (PyErr_Occurred()) SWIG_fail;
23451 }
23452 resultobj = SWIG_Py_Void();
23453 return resultobj;
23454 fail:
23455 return NULL;
23456 }
23457
23458
23459 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23460 PyObject *resultobj = 0;
23461 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23462 int *arg2 = (int *) 0 ;
23463 int *arg3 = (int *) 0 ;
23464 void *argp1 = 0 ;
23465 int res1 = 0 ;
23466 int temp2 ;
23467 int res2 = SWIG_TMPOBJ ;
23468 int temp3 ;
23469 int res3 = SWIG_TMPOBJ ;
23470 PyObject *swig_obj[1] ;
23471
23472 arg2 = &temp2;
23473 arg3 = &temp3;
23474 if (!args) SWIG_fail;
23475 swig_obj[0] = args;
23476 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23477 if (!SWIG_IsOK(res1)) {
23478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23479 }
23480 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23481 {
23482 PyThreadState* __tstate = wxPyBeginAllowThreads();
23483 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23484 wxPyEndAllowThreads(__tstate);
23485 if (PyErr_Occurred()) SWIG_fail;
23486 }
23487 resultobj = SWIG_Py_Void();
23488 if (SWIG_IsTmpObj(res2)) {
23489 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23490 } else {
23491 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23492 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23493 }
23494 if (SWIG_IsTmpObj(res3)) {
23495 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23496 } else {
23497 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23498 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23499 }
23500 return resultobj;
23501 fail:
23502 return NULL;
23503 }
23504
23505
23506 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23507 PyObject *resultobj = 0;
23508 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23509 int *arg2 = (int *) 0 ;
23510 int *arg3 = (int *) 0 ;
23511 void *argp1 = 0 ;
23512 int res1 = 0 ;
23513 int temp2 ;
23514 int res2 = SWIG_TMPOBJ ;
23515 int temp3 ;
23516 int res3 = SWIG_TMPOBJ ;
23517 PyObject *swig_obj[1] ;
23518
23519 arg2 = &temp2;
23520 arg3 = &temp3;
23521 if (!args) SWIG_fail;
23522 swig_obj[0] = args;
23523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23524 if (!SWIG_IsOK(res1)) {
23525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23526 }
23527 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23528 {
23529 PyThreadState* __tstate = wxPyBeginAllowThreads();
23530 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23531 wxPyEndAllowThreads(__tstate);
23532 if (PyErr_Occurred()) SWIG_fail;
23533 }
23534 resultobj = SWIG_Py_Void();
23535 if (SWIG_IsTmpObj(res2)) {
23536 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23537 } else {
23538 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23539 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23540 }
23541 if (SWIG_IsTmpObj(res3)) {
23542 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23543 } else {
23544 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23545 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23546 }
23547 return resultobj;
23548 fail:
23549 return NULL;
23550 }
23551
23552
23553 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23554 PyObject *resultobj = 0;
23555 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23556 int *arg2 = (int *) 0 ;
23557 int *arg3 = (int *) 0 ;
23558 void *argp1 = 0 ;
23559 int res1 = 0 ;
23560 int temp2 ;
23561 int res2 = SWIG_TMPOBJ ;
23562 int temp3 ;
23563 int res3 = SWIG_TMPOBJ ;
23564 PyObject *swig_obj[1] ;
23565
23566 arg2 = &temp2;
23567 arg3 = &temp3;
23568 if (!args) SWIG_fail;
23569 swig_obj[0] = args;
23570 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23571 if (!SWIG_IsOK(res1)) {
23572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23573 }
23574 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23575 {
23576 PyThreadState* __tstate = wxPyBeginAllowThreads();
23577 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 resultobj = SWIG_Py_Void();
23582 if (SWIG_IsTmpObj(res2)) {
23583 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23584 } else {
23585 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23586 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23587 }
23588 if (SWIG_IsTmpObj(res3)) {
23589 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23590 } else {
23591 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23592 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23593 }
23594 return resultobj;
23595 fail:
23596 return NULL;
23597 }
23598
23599
23600 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23601 PyObject *resultobj = 0;
23602 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23603 wxSize result;
23604 void *argp1 = 0 ;
23605 int res1 = 0 ;
23606 PyObject *swig_obj[1] ;
23607
23608 if (!args) SWIG_fail;
23609 swig_obj[0] = args;
23610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23611 if (!SWIG_IsOK(res1)) {
23612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23613 }
23614 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23618 wxPyEndAllowThreads(__tstate);
23619 if (PyErr_Occurred()) SWIG_fail;
23620 }
23621 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23622 return resultobj;
23623 fail:
23624 return NULL;
23625 }
23626
23627
23628 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23629 PyObject *resultobj = 0;
23630 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23631 wxSize result;
23632 void *argp1 = 0 ;
23633 int res1 = 0 ;
23634 PyObject *swig_obj[1] ;
23635
23636 if (!args) SWIG_fail;
23637 swig_obj[0] = args;
23638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23639 if (!SWIG_IsOK(res1)) {
23640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23641 }
23642 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23646 wxPyEndAllowThreads(__tstate);
23647 if (PyErr_Occurred()) SWIG_fail;
23648 }
23649 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23650 return resultobj;
23651 fail:
23652 return NULL;
23653 }
23654
23655
23656 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23657 PyObject *resultobj = 0;
23658 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23659 SwigValueWrapper<wxVisualAttributes > result;
23660 void *argp1 = 0 ;
23661 int res1 = 0 ;
23662 PyObject *swig_obj[1] ;
23663
23664 if (!args) SWIG_fail;
23665 swig_obj[0] = args;
23666 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23667 if (!SWIG_IsOK(res1)) {
23668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23669 }
23670 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23671 {
23672 PyThreadState* __tstate = wxPyBeginAllowThreads();
23673 result = (arg1)->GetDefaultAttributes();
23674 wxPyEndAllowThreads(__tstate);
23675 if (PyErr_Occurred()) SWIG_fail;
23676 }
23677 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23678 return resultobj;
23679 fail:
23680 return NULL;
23681 }
23682
23683
23684 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23685 PyObject *resultobj = 0;
23686 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23687 void *argp1 = 0 ;
23688 int res1 = 0 ;
23689 PyObject *swig_obj[1] ;
23690
23691 if (!args) SWIG_fail;
23692 swig_obj[0] = args;
23693 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23694 if (!SWIG_IsOK(res1)) {
23695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23696 }
23697 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23698 {
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 (arg1)->OnInternalIdle();
23701 wxPyEndAllowThreads(__tstate);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 resultobj = SWIG_Py_Void();
23705 return resultobj;
23706 fail:
23707 return NULL;
23708 }
23709
23710
23711 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23712 PyObject *obj;
23713 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23714 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23715 return SWIG_Py_Void();
23716 }
23717
23718 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23719 return SWIG_Python_InitShadowInstance(args);
23720 }
23721
23722 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23723 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23724 return 1;
23725 }
23726
23727
23728 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23729 PyObject *pyobj = 0;
23730
23731 {
23732 #if wxUSE_UNICODE
23733 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23734 #else
23735 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23736 #endif
23737 }
23738 return pyobj;
23739 }
23740
23741
23742 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23743 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23744 return 1;
23745 }
23746
23747
23748 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23749 PyObject *pyobj = 0;
23750
23751 {
23752 #if wxUSE_UNICODE
23753 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23754 #else
23755 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23756 #endif
23757 }
23758 return pyobj;
23759 }
23760
23761
23762 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23763 PyObject *resultobj = 0;
23764 wxPrintData *result = 0 ;
23765
23766 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23767 {
23768 PyThreadState* __tstate = wxPyBeginAllowThreads();
23769 result = (wxPrintData *)new wxPrintData();
23770 wxPyEndAllowThreads(__tstate);
23771 if (PyErr_Occurred()) SWIG_fail;
23772 }
23773 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23774 return resultobj;
23775 fail:
23776 return NULL;
23777 }
23778
23779
23780 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23781 PyObject *resultobj = 0;
23782 wxPrintData *arg1 = 0 ;
23783 wxPrintData *result = 0 ;
23784 void *argp1 = 0 ;
23785 int res1 = 0 ;
23786
23787 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23789 if (!SWIG_IsOK(res1)) {
23790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23791 }
23792 if (!argp1) {
23793 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23794 }
23795 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23796 {
23797 PyThreadState* __tstate = wxPyBeginAllowThreads();
23798 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23799 wxPyEndAllowThreads(__tstate);
23800 if (PyErr_Occurred()) SWIG_fail;
23801 }
23802 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23803 return resultobj;
23804 fail:
23805 return NULL;
23806 }
23807
23808
23809 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23810 int argc;
23811 PyObject *argv[2];
23812
23813 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23814 --argc;
23815 if (argc == 0) {
23816 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23817 }
23818 if (argc == 1) {
23819 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23820 }
23821
23822 fail:
23823 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23824 return NULL;
23825 }
23826
23827
23828 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23829 PyObject *resultobj = 0;
23830 wxPrintData *arg1 = (wxPrintData *) 0 ;
23831 void *argp1 = 0 ;
23832 int res1 = 0 ;
23833 PyObject *swig_obj[1] ;
23834
23835 if (!args) SWIG_fail;
23836 swig_obj[0] = args;
23837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23838 if (!SWIG_IsOK(res1)) {
23839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23840 }
23841 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23842 {
23843 PyThreadState* __tstate = wxPyBeginAllowThreads();
23844 delete arg1;
23845
23846 wxPyEndAllowThreads(__tstate);
23847 if (PyErr_Occurred()) SWIG_fail;
23848 }
23849 resultobj = SWIG_Py_Void();
23850 return resultobj;
23851 fail:
23852 return NULL;
23853 }
23854
23855
23856 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23857 PyObject *resultobj = 0;
23858 wxPrintData *arg1 = (wxPrintData *) 0 ;
23859 int result;
23860 void *argp1 = 0 ;
23861 int res1 = 0 ;
23862 PyObject *swig_obj[1] ;
23863
23864 if (!args) SWIG_fail;
23865 swig_obj[0] = args;
23866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23867 if (!SWIG_IsOK(res1)) {
23868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23869 }
23870 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23871 {
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 result = (int)(arg1)->GetNoCopies();
23874 wxPyEndAllowThreads(__tstate);
23875 if (PyErr_Occurred()) SWIG_fail;
23876 }
23877 resultobj = SWIG_From_int(static_cast< int >(result));
23878 return resultobj;
23879 fail:
23880 return NULL;
23881 }
23882
23883
23884 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23885 PyObject *resultobj = 0;
23886 wxPrintData *arg1 = (wxPrintData *) 0 ;
23887 bool result;
23888 void *argp1 = 0 ;
23889 int res1 = 0 ;
23890 PyObject *swig_obj[1] ;
23891
23892 if (!args) SWIG_fail;
23893 swig_obj[0] = args;
23894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23895 if (!SWIG_IsOK(res1)) {
23896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23897 }
23898 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23899 {
23900 PyThreadState* __tstate = wxPyBeginAllowThreads();
23901 result = (bool)(arg1)->GetCollate();
23902 wxPyEndAllowThreads(__tstate);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 }
23905 {
23906 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23907 }
23908 return resultobj;
23909 fail:
23910 return NULL;
23911 }
23912
23913
23914 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23915 PyObject *resultobj = 0;
23916 wxPrintData *arg1 = (wxPrintData *) 0 ;
23917 int result;
23918 void *argp1 = 0 ;
23919 int res1 = 0 ;
23920 PyObject *swig_obj[1] ;
23921
23922 if (!args) SWIG_fail;
23923 swig_obj[0] = args;
23924 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23925 if (!SWIG_IsOK(res1)) {
23926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23927 }
23928 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23929 {
23930 PyThreadState* __tstate = wxPyBeginAllowThreads();
23931 result = (int)(arg1)->GetOrientation();
23932 wxPyEndAllowThreads(__tstate);
23933 if (PyErr_Occurred()) SWIG_fail;
23934 }
23935 resultobj = SWIG_From_int(static_cast< int >(result));
23936 return resultobj;
23937 fail:
23938 return NULL;
23939 }
23940
23941
23942 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23943 PyObject *resultobj = 0;
23944 wxPrintData *arg1 = (wxPrintData *) 0 ;
23945 bool result;
23946 void *argp1 = 0 ;
23947 int res1 = 0 ;
23948 PyObject *swig_obj[1] ;
23949
23950 if (!args) SWIG_fail;
23951 swig_obj[0] = args;
23952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23953 if (!SWIG_IsOK(res1)) {
23954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23955 }
23956 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23957 {
23958 PyThreadState* __tstate = wxPyBeginAllowThreads();
23959 result = (bool)(arg1)->IsOk();
23960 wxPyEndAllowThreads(__tstate);
23961 if (PyErr_Occurred()) SWIG_fail;
23962 }
23963 {
23964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23965 }
23966 return resultobj;
23967 fail:
23968 return NULL;
23969 }
23970
23971
23972 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23973 PyObject *resultobj = 0;
23974 wxPrintData *arg1 = (wxPrintData *) 0 ;
23975 wxString *result = 0 ;
23976 void *argp1 = 0 ;
23977 int res1 = 0 ;
23978 PyObject *swig_obj[1] ;
23979
23980 if (!args) SWIG_fail;
23981 swig_obj[0] = args;
23982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23983 if (!SWIG_IsOK(res1)) {
23984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23985 }
23986 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23987 {
23988 PyThreadState* __tstate = wxPyBeginAllowThreads();
23989 {
23990 wxString const &_result_ref = (arg1)->GetPrinterName();
23991 result = (wxString *) &_result_ref;
23992 }
23993 wxPyEndAllowThreads(__tstate);
23994 if (PyErr_Occurred()) SWIG_fail;
23995 }
23996 {
23997 #if wxUSE_UNICODE
23998 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23999 #else
24000 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24001 #endif
24002 }
24003 return resultobj;
24004 fail:
24005 return NULL;
24006 }
24007
24008
24009 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24010 PyObject *resultobj = 0;
24011 wxPrintData *arg1 = (wxPrintData *) 0 ;
24012 bool result;
24013 void *argp1 = 0 ;
24014 int res1 = 0 ;
24015 PyObject *swig_obj[1] ;
24016
24017 if (!args) SWIG_fail;
24018 swig_obj[0] = args;
24019 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24020 if (!SWIG_IsOK(res1)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24022 }
24023 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24024 {
24025 PyThreadState* __tstate = wxPyBeginAllowThreads();
24026 result = (bool)(arg1)->GetColour();
24027 wxPyEndAllowThreads(__tstate);
24028 if (PyErr_Occurred()) SWIG_fail;
24029 }
24030 {
24031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24032 }
24033 return resultobj;
24034 fail:
24035 return NULL;
24036 }
24037
24038
24039 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24040 PyObject *resultobj = 0;
24041 wxPrintData *arg1 = (wxPrintData *) 0 ;
24042 wxDuplexMode result;
24043 void *argp1 = 0 ;
24044 int res1 = 0 ;
24045 PyObject *swig_obj[1] ;
24046
24047 if (!args) SWIG_fail;
24048 swig_obj[0] = args;
24049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24050 if (!SWIG_IsOK(res1)) {
24051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24052 }
24053 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24054 {
24055 PyThreadState* __tstate = wxPyBeginAllowThreads();
24056 result = (wxDuplexMode)(arg1)->GetDuplex();
24057 wxPyEndAllowThreads(__tstate);
24058 if (PyErr_Occurred()) SWIG_fail;
24059 }
24060 resultobj = SWIG_From_int(static_cast< int >(result));
24061 return resultobj;
24062 fail:
24063 return NULL;
24064 }
24065
24066
24067 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24068 PyObject *resultobj = 0;
24069 wxPrintData *arg1 = (wxPrintData *) 0 ;
24070 wxPaperSize result;
24071 void *argp1 = 0 ;
24072 int res1 = 0 ;
24073 PyObject *swig_obj[1] ;
24074
24075 if (!args) SWIG_fail;
24076 swig_obj[0] = args;
24077 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24078 if (!SWIG_IsOK(res1)) {
24079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24080 }
24081 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24082 {
24083 PyThreadState* __tstate = wxPyBeginAllowThreads();
24084 result = (wxPaperSize)(arg1)->GetPaperId();
24085 wxPyEndAllowThreads(__tstate);
24086 if (PyErr_Occurred()) SWIG_fail;
24087 }
24088 resultobj = SWIG_From_int(static_cast< int >(result));
24089 return resultobj;
24090 fail:
24091 return NULL;
24092 }
24093
24094
24095 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24096 PyObject *resultobj = 0;
24097 wxPrintData *arg1 = (wxPrintData *) 0 ;
24098 wxSize *result = 0 ;
24099 void *argp1 = 0 ;
24100 int res1 = 0 ;
24101 PyObject *swig_obj[1] ;
24102
24103 if (!args) SWIG_fail;
24104 swig_obj[0] = args;
24105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24106 if (!SWIG_IsOK(res1)) {
24107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24108 }
24109 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24110 {
24111 PyThreadState* __tstate = wxPyBeginAllowThreads();
24112 {
24113 wxSize const &_result_ref = (arg1)->GetPaperSize();
24114 result = (wxSize *) &_result_ref;
24115 }
24116 wxPyEndAllowThreads(__tstate);
24117 if (PyErr_Occurred()) SWIG_fail;
24118 }
24119 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24120 return resultobj;
24121 fail:
24122 return NULL;
24123 }
24124
24125
24126 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24127 PyObject *resultobj = 0;
24128 wxPrintData *arg1 = (wxPrintData *) 0 ;
24129 int result;
24130 void *argp1 = 0 ;
24131 int res1 = 0 ;
24132 PyObject *swig_obj[1] ;
24133
24134 if (!args) SWIG_fail;
24135 swig_obj[0] = args;
24136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24137 if (!SWIG_IsOK(res1)) {
24138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24139 }
24140 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24141 {
24142 PyThreadState* __tstate = wxPyBeginAllowThreads();
24143 result = (int)(arg1)->GetQuality();
24144 wxPyEndAllowThreads(__tstate);
24145 if (PyErr_Occurred()) SWIG_fail;
24146 }
24147 resultobj = SWIG_From_int(static_cast< int >(result));
24148 return resultobj;
24149 fail:
24150 return NULL;
24151 }
24152
24153
24154 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24155 PyObject *resultobj = 0;
24156 wxPrintData *arg1 = (wxPrintData *) 0 ;
24157 wxPrintBin result;
24158 void *argp1 = 0 ;
24159 int res1 = 0 ;
24160 PyObject *swig_obj[1] ;
24161
24162 if (!args) SWIG_fail;
24163 swig_obj[0] = args;
24164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24165 if (!SWIG_IsOK(res1)) {
24166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24167 }
24168 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24169 {
24170 PyThreadState* __tstate = wxPyBeginAllowThreads();
24171 result = (wxPrintBin)(arg1)->GetBin();
24172 wxPyEndAllowThreads(__tstate);
24173 if (PyErr_Occurred()) SWIG_fail;
24174 }
24175 resultobj = SWIG_From_int(static_cast< int >(result));
24176 return resultobj;
24177 fail:
24178 return NULL;
24179 }
24180
24181
24182 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24183 PyObject *resultobj = 0;
24184 wxPrintData *arg1 = (wxPrintData *) 0 ;
24185 wxPrintMode result;
24186 void *argp1 = 0 ;
24187 int res1 = 0 ;
24188 PyObject *swig_obj[1] ;
24189
24190 if (!args) SWIG_fail;
24191 swig_obj[0] = args;
24192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24193 if (!SWIG_IsOK(res1)) {
24194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24195 }
24196 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24197 {
24198 PyThreadState* __tstate = wxPyBeginAllowThreads();
24199 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24200 wxPyEndAllowThreads(__tstate);
24201 if (PyErr_Occurred()) SWIG_fail;
24202 }
24203 resultobj = SWIG_From_int(static_cast< int >(result));
24204 return resultobj;
24205 fail:
24206 return NULL;
24207 }
24208
24209
24210 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24211 PyObject *resultobj = 0;
24212 wxPrintData *arg1 = (wxPrintData *) 0 ;
24213 int arg2 ;
24214 void *argp1 = 0 ;
24215 int res1 = 0 ;
24216 int val2 ;
24217 int ecode2 = 0 ;
24218 PyObject * obj0 = 0 ;
24219 PyObject * obj1 = 0 ;
24220 char * kwnames[] = {
24221 (char *) "self",(char *) "v", NULL
24222 };
24223
24224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24226 if (!SWIG_IsOK(res1)) {
24227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24228 }
24229 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24230 ecode2 = SWIG_AsVal_int(obj1, &val2);
24231 if (!SWIG_IsOK(ecode2)) {
24232 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24233 }
24234 arg2 = static_cast< int >(val2);
24235 {
24236 PyThreadState* __tstate = wxPyBeginAllowThreads();
24237 (arg1)->SetNoCopies(arg2);
24238 wxPyEndAllowThreads(__tstate);
24239 if (PyErr_Occurred()) SWIG_fail;
24240 }
24241 resultobj = SWIG_Py_Void();
24242 return resultobj;
24243 fail:
24244 return NULL;
24245 }
24246
24247
24248 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24249 PyObject *resultobj = 0;
24250 wxPrintData *arg1 = (wxPrintData *) 0 ;
24251 bool arg2 ;
24252 void *argp1 = 0 ;
24253 int res1 = 0 ;
24254 bool val2 ;
24255 int ecode2 = 0 ;
24256 PyObject * obj0 = 0 ;
24257 PyObject * obj1 = 0 ;
24258 char * kwnames[] = {
24259 (char *) "self",(char *) "flag", NULL
24260 };
24261
24262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24264 if (!SWIG_IsOK(res1)) {
24265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24266 }
24267 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24268 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24269 if (!SWIG_IsOK(ecode2)) {
24270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24271 }
24272 arg2 = static_cast< bool >(val2);
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 (arg1)->SetCollate(arg2);
24276 wxPyEndAllowThreads(__tstate);
24277 if (PyErr_Occurred()) SWIG_fail;
24278 }
24279 resultobj = SWIG_Py_Void();
24280 return resultobj;
24281 fail:
24282 return NULL;
24283 }
24284
24285
24286 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24287 PyObject *resultobj = 0;
24288 wxPrintData *arg1 = (wxPrintData *) 0 ;
24289 int arg2 ;
24290 void *argp1 = 0 ;
24291 int res1 = 0 ;
24292 int val2 ;
24293 int ecode2 = 0 ;
24294 PyObject * obj0 = 0 ;
24295 PyObject * obj1 = 0 ;
24296 char * kwnames[] = {
24297 (char *) "self",(char *) "orient", NULL
24298 };
24299
24300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24302 if (!SWIG_IsOK(res1)) {
24303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24304 }
24305 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24306 ecode2 = SWIG_AsVal_int(obj1, &val2);
24307 if (!SWIG_IsOK(ecode2)) {
24308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24309 }
24310 arg2 = static_cast< int >(val2);
24311 {
24312 PyThreadState* __tstate = wxPyBeginAllowThreads();
24313 (arg1)->SetOrientation(arg2);
24314 wxPyEndAllowThreads(__tstate);
24315 if (PyErr_Occurred()) SWIG_fail;
24316 }
24317 resultobj = SWIG_Py_Void();
24318 return resultobj;
24319 fail:
24320 return NULL;
24321 }
24322
24323
24324 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24325 PyObject *resultobj = 0;
24326 wxPrintData *arg1 = (wxPrintData *) 0 ;
24327 wxString *arg2 = 0 ;
24328 void *argp1 = 0 ;
24329 int res1 = 0 ;
24330 bool temp2 = false ;
24331 PyObject * obj0 = 0 ;
24332 PyObject * obj1 = 0 ;
24333 char * kwnames[] = {
24334 (char *) "self",(char *) "name", NULL
24335 };
24336
24337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24339 if (!SWIG_IsOK(res1)) {
24340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24341 }
24342 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24343 {
24344 arg2 = wxString_in_helper(obj1);
24345 if (arg2 == NULL) SWIG_fail;
24346 temp2 = true;
24347 }
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 (arg1)->SetPrinterName((wxString const &)*arg2);
24351 wxPyEndAllowThreads(__tstate);
24352 if (PyErr_Occurred()) SWIG_fail;
24353 }
24354 resultobj = SWIG_Py_Void();
24355 {
24356 if (temp2)
24357 delete arg2;
24358 }
24359 return resultobj;
24360 fail:
24361 {
24362 if (temp2)
24363 delete arg2;
24364 }
24365 return NULL;
24366 }
24367
24368
24369 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24370 PyObject *resultobj = 0;
24371 wxPrintData *arg1 = (wxPrintData *) 0 ;
24372 bool arg2 ;
24373 void *argp1 = 0 ;
24374 int res1 = 0 ;
24375 bool val2 ;
24376 int ecode2 = 0 ;
24377 PyObject * obj0 = 0 ;
24378 PyObject * obj1 = 0 ;
24379 char * kwnames[] = {
24380 (char *) "self",(char *) "colour", NULL
24381 };
24382
24383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24385 if (!SWIG_IsOK(res1)) {
24386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24387 }
24388 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24389 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24390 if (!SWIG_IsOK(ecode2)) {
24391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24392 }
24393 arg2 = static_cast< bool >(val2);
24394 {
24395 PyThreadState* __tstate = wxPyBeginAllowThreads();
24396 (arg1)->SetColour(arg2);
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 resultobj = SWIG_Py_Void();
24401 return resultobj;
24402 fail:
24403 return NULL;
24404 }
24405
24406
24407 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24408 PyObject *resultobj = 0;
24409 wxPrintData *arg1 = (wxPrintData *) 0 ;
24410 wxDuplexMode arg2 ;
24411 void *argp1 = 0 ;
24412 int res1 = 0 ;
24413 int val2 ;
24414 int ecode2 = 0 ;
24415 PyObject * obj0 = 0 ;
24416 PyObject * obj1 = 0 ;
24417 char * kwnames[] = {
24418 (char *) "self",(char *) "duplex", NULL
24419 };
24420
24421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24423 if (!SWIG_IsOK(res1)) {
24424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24425 }
24426 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24427 ecode2 = SWIG_AsVal_int(obj1, &val2);
24428 if (!SWIG_IsOK(ecode2)) {
24429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24430 }
24431 arg2 = static_cast< wxDuplexMode >(val2);
24432 {
24433 PyThreadState* __tstate = wxPyBeginAllowThreads();
24434 (arg1)->SetDuplex(arg2);
24435 wxPyEndAllowThreads(__tstate);
24436 if (PyErr_Occurred()) SWIG_fail;
24437 }
24438 resultobj = SWIG_Py_Void();
24439 return resultobj;
24440 fail:
24441 return NULL;
24442 }
24443
24444
24445 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24446 PyObject *resultobj = 0;
24447 wxPrintData *arg1 = (wxPrintData *) 0 ;
24448 wxPaperSize arg2 ;
24449 void *argp1 = 0 ;
24450 int res1 = 0 ;
24451 int val2 ;
24452 int ecode2 = 0 ;
24453 PyObject * obj0 = 0 ;
24454 PyObject * obj1 = 0 ;
24455 char * kwnames[] = {
24456 (char *) "self",(char *) "sizeId", NULL
24457 };
24458
24459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24461 if (!SWIG_IsOK(res1)) {
24462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24463 }
24464 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24465 ecode2 = SWIG_AsVal_int(obj1, &val2);
24466 if (!SWIG_IsOK(ecode2)) {
24467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24468 }
24469 arg2 = static_cast< wxPaperSize >(val2);
24470 {
24471 PyThreadState* __tstate = wxPyBeginAllowThreads();
24472 (arg1)->SetPaperId(arg2);
24473 wxPyEndAllowThreads(__tstate);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
24476 resultobj = SWIG_Py_Void();
24477 return resultobj;
24478 fail:
24479 return NULL;
24480 }
24481
24482
24483 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24484 PyObject *resultobj = 0;
24485 wxPrintData *arg1 = (wxPrintData *) 0 ;
24486 wxSize *arg2 = 0 ;
24487 void *argp1 = 0 ;
24488 int res1 = 0 ;
24489 wxSize temp2 ;
24490 PyObject * obj0 = 0 ;
24491 PyObject * obj1 = 0 ;
24492 char * kwnames[] = {
24493 (char *) "self",(char *) "sz", NULL
24494 };
24495
24496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24498 if (!SWIG_IsOK(res1)) {
24499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24500 }
24501 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24502 {
24503 arg2 = &temp2;
24504 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24505 }
24506 {
24507 PyThreadState* __tstate = wxPyBeginAllowThreads();
24508 (arg1)->SetPaperSize((wxSize const &)*arg2);
24509 wxPyEndAllowThreads(__tstate);
24510 if (PyErr_Occurred()) SWIG_fail;
24511 }
24512 resultobj = SWIG_Py_Void();
24513 return resultobj;
24514 fail:
24515 return NULL;
24516 }
24517
24518
24519 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24520 PyObject *resultobj = 0;
24521 wxPrintData *arg1 = (wxPrintData *) 0 ;
24522 int arg2 ;
24523 void *argp1 = 0 ;
24524 int res1 = 0 ;
24525 int val2 ;
24526 int ecode2 = 0 ;
24527 PyObject * obj0 = 0 ;
24528 PyObject * obj1 = 0 ;
24529 char * kwnames[] = {
24530 (char *) "self",(char *) "quality", NULL
24531 };
24532
24533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24535 if (!SWIG_IsOK(res1)) {
24536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24537 }
24538 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24539 ecode2 = SWIG_AsVal_int(obj1, &val2);
24540 if (!SWIG_IsOK(ecode2)) {
24541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24542 }
24543 arg2 = static_cast< int >(val2);
24544 {
24545 PyThreadState* __tstate = wxPyBeginAllowThreads();
24546 (arg1)->SetQuality(arg2);
24547 wxPyEndAllowThreads(__tstate);
24548 if (PyErr_Occurred()) SWIG_fail;
24549 }
24550 resultobj = SWIG_Py_Void();
24551 return resultobj;
24552 fail:
24553 return NULL;
24554 }
24555
24556
24557 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24558 PyObject *resultobj = 0;
24559 wxPrintData *arg1 = (wxPrintData *) 0 ;
24560 wxPrintBin arg2 ;
24561 void *argp1 = 0 ;
24562 int res1 = 0 ;
24563 int val2 ;
24564 int ecode2 = 0 ;
24565 PyObject * obj0 = 0 ;
24566 PyObject * obj1 = 0 ;
24567 char * kwnames[] = {
24568 (char *) "self",(char *) "bin", NULL
24569 };
24570
24571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24573 if (!SWIG_IsOK(res1)) {
24574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24575 }
24576 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24577 ecode2 = SWIG_AsVal_int(obj1, &val2);
24578 if (!SWIG_IsOK(ecode2)) {
24579 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24580 }
24581 arg2 = static_cast< wxPrintBin >(val2);
24582 {
24583 PyThreadState* __tstate = wxPyBeginAllowThreads();
24584 (arg1)->SetBin(arg2);
24585 wxPyEndAllowThreads(__tstate);
24586 if (PyErr_Occurred()) SWIG_fail;
24587 }
24588 resultobj = SWIG_Py_Void();
24589 return resultobj;
24590 fail:
24591 return NULL;
24592 }
24593
24594
24595 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24596 PyObject *resultobj = 0;
24597 wxPrintData *arg1 = (wxPrintData *) 0 ;
24598 wxPrintMode arg2 ;
24599 void *argp1 = 0 ;
24600 int res1 = 0 ;
24601 int val2 ;
24602 int ecode2 = 0 ;
24603 PyObject * obj0 = 0 ;
24604 PyObject * obj1 = 0 ;
24605 char * kwnames[] = {
24606 (char *) "self",(char *) "printMode", NULL
24607 };
24608
24609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24611 if (!SWIG_IsOK(res1)) {
24612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24613 }
24614 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24615 ecode2 = SWIG_AsVal_int(obj1, &val2);
24616 if (!SWIG_IsOK(ecode2)) {
24617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24618 }
24619 arg2 = static_cast< wxPrintMode >(val2);
24620 {
24621 PyThreadState* __tstate = wxPyBeginAllowThreads();
24622 (arg1)->SetPrintMode(arg2);
24623 wxPyEndAllowThreads(__tstate);
24624 if (PyErr_Occurred()) SWIG_fail;
24625 }
24626 resultobj = SWIG_Py_Void();
24627 return resultobj;
24628 fail:
24629 return NULL;
24630 }
24631
24632
24633 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24634 PyObject *resultobj = 0;
24635 wxPrintData *arg1 = (wxPrintData *) 0 ;
24636 wxString result;
24637 void *argp1 = 0 ;
24638 int res1 = 0 ;
24639 PyObject *swig_obj[1] ;
24640
24641 if (!args) SWIG_fail;
24642 swig_obj[0] = args;
24643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24644 if (!SWIG_IsOK(res1)) {
24645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24646 }
24647 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24648 {
24649 PyThreadState* __tstate = wxPyBeginAllowThreads();
24650 result = ((wxPrintData const *)arg1)->GetFilename();
24651 wxPyEndAllowThreads(__tstate);
24652 if (PyErr_Occurred()) SWIG_fail;
24653 }
24654 {
24655 #if wxUSE_UNICODE
24656 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24657 #else
24658 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24659 #endif
24660 }
24661 return resultobj;
24662 fail:
24663 return NULL;
24664 }
24665
24666
24667 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24668 PyObject *resultobj = 0;
24669 wxPrintData *arg1 = (wxPrintData *) 0 ;
24670 wxString *arg2 = 0 ;
24671 void *argp1 = 0 ;
24672 int res1 = 0 ;
24673 bool temp2 = false ;
24674 PyObject * obj0 = 0 ;
24675 PyObject * obj1 = 0 ;
24676 char * kwnames[] = {
24677 (char *) "self",(char *) "filename", NULL
24678 };
24679
24680 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24681 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24682 if (!SWIG_IsOK(res1)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24684 }
24685 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24686 {
24687 arg2 = wxString_in_helper(obj1);
24688 if (arg2 == NULL) SWIG_fail;
24689 temp2 = true;
24690 }
24691 {
24692 PyThreadState* __tstate = wxPyBeginAllowThreads();
24693 (arg1)->SetFilename((wxString const &)*arg2);
24694 wxPyEndAllowThreads(__tstate);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 }
24697 resultobj = SWIG_Py_Void();
24698 {
24699 if (temp2)
24700 delete arg2;
24701 }
24702 return resultobj;
24703 fail:
24704 {
24705 if (temp2)
24706 delete arg2;
24707 }
24708 return NULL;
24709 }
24710
24711
24712 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24713 PyObject *resultobj = 0;
24714 wxPrintData *arg1 = (wxPrintData *) 0 ;
24715 PyObject *result = 0 ;
24716 void *argp1 = 0 ;
24717 int res1 = 0 ;
24718 PyObject *swig_obj[1] ;
24719
24720 if (!args) SWIG_fail;
24721 swig_obj[0] = args;
24722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24723 if (!SWIG_IsOK(res1)) {
24724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24725 }
24726 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24727 {
24728 PyThreadState* __tstate = wxPyBeginAllowThreads();
24729 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24730 wxPyEndAllowThreads(__tstate);
24731 if (PyErr_Occurred()) SWIG_fail;
24732 }
24733 resultobj = result;
24734 return resultobj;
24735 fail:
24736 return NULL;
24737 }
24738
24739
24740 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24741 PyObject *resultobj = 0;
24742 wxPrintData *arg1 = (wxPrintData *) 0 ;
24743 PyObject *arg2 = (PyObject *) 0 ;
24744 void *argp1 = 0 ;
24745 int res1 = 0 ;
24746 PyObject * obj0 = 0 ;
24747 PyObject * obj1 = 0 ;
24748 char * kwnames[] = {
24749 (char *) "self",(char *) "data", NULL
24750 };
24751
24752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24754 if (!SWIG_IsOK(res1)) {
24755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24756 }
24757 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24758 arg2 = obj1;
24759 {
24760 PyThreadState* __tstate = wxPyBeginAllowThreads();
24761 wxPrintData_SetPrivData(arg1,arg2);
24762 wxPyEndAllowThreads(__tstate);
24763 if (PyErr_Occurred()) SWIG_fail;
24764 }
24765 resultobj = SWIG_Py_Void();
24766 return resultobj;
24767 fail:
24768 return NULL;
24769 }
24770
24771
24772 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24773 PyObject *obj;
24774 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24775 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24776 return SWIG_Py_Void();
24777 }
24778
24779 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24780 return SWIG_Python_InitShadowInstance(args);
24781 }
24782
24783 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24784 PyObject *resultobj = 0;
24785 wxPageSetupDialogData *result = 0 ;
24786
24787 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24788 {
24789 PyThreadState* __tstate = wxPyBeginAllowThreads();
24790 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24795 return resultobj;
24796 fail:
24797 return NULL;
24798 }
24799
24800
24801 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24802 PyObject *resultobj = 0;
24803 wxPageSetupDialogData *arg1 = 0 ;
24804 wxPageSetupDialogData *result = 0 ;
24805 void *argp1 = 0 ;
24806 int res1 = 0 ;
24807
24808 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24810 if (!SWIG_IsOK(res1)) {
24811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24812 }
24813 if (!argp1) {
24814 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24815 }
24816 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24820 wxPyEndAllowThreads(__tstate);
24821 if (PyErr_Occurred()) SWIG_fail;
24822 }
24823 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24824 return resultobj;
24825 fail:
24826 return NULL;
24827 }
24828
24829
24830 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24831 PyObject *resultobj = 0;
24832 wxPrintData *arg1 = 0 ;
24833 wxPageSetupDialogData *result = 0 ;
24834 void *argp1 = 0 ;
24835 int res1 = 0 ;
24836
24837 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24839 if (!SWIG_IsOK(res1)) {
24840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24841 }
24842 if (!argp1) {
24843 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24844 }
24845 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24846 {
24847 PyThreadState* __tstate = wxPyBeginAllowThreads();
24848 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24849 wxPyEndAllowThreads(__tstate);
24850 if (PyErr_Occurred()) SWIG_fail;
24851 }
24852 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24853 return resultobj;
24854 fail:
24855 return NULL;
24856 }
24857
24858
24859 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24860 int argc;
24861 PyObject *argv[2];
24862
24863 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24864 --argc;
24865 if (argc == 0) {
24866 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24867 }
24868 if (argc == 1) {
24869 int _v = 0;
24870 {
24871 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24872 _v = SWIG_CheckState(res);
24873 }
24874 if (!_v) goto check_2;
24875 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24876 }
24877 check_2:
24878
24879 if (argc == 1) {
24880 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24881 }
24882
24883 fail:
24884 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24885 return NULL;
24886 }
24887
24888
24889 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24890 PyObject *resultobj = 0;
24891 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24892 void *argp1 = 0 ;
24893 int res1 = 0 ;
24894 PyObject *swig_obj[1] ;
24895
24896 if (!args) SWIG_fail;
24897 swig_obj[0] = args;
24898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24899 if (!SWIG_IsOK(res1)) {
24900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24901 }
24902 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24903 {
24904 PyThreadState* __tstate = wxPyBeginAllowThreads();
24905 delete arg1;
24906
24907 wxPyEndAllowThreads(__tstate);
24908 if (PyErr_Occurred()) SWIG_fail;
24909 }
24910 resultobj = SWIG_Py_Void();
24911 return resultobj;
24912 fail:
24913 return NULL;
24914 }
24915
24916
24917 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24918 PyObject *resultobj = 0;
24919 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24920 bool arg2 ;
24921 void *argp1 = 0 ;
24922 int res1 = 0 ;
24923 bool val2 ;
24924 int ecode2 = 0 ;
24925 PyObject * obj0 = 0 ;
24926 PyObject * obj1 = 0 ;
24927 char * kwnames[] = {
24928 (char *) "self",(char *) "flag", NULL
24929 };
24930
24931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24933 if (!SWIG_IsOK(res1)) {
24934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24935 }
24936 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24937 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24938 if (!SWIG_IsOK(ecode2)) {
24939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24940 }
24941 arg2 = static_cast< bool >(val2);
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 (arg1)->EnableHelp(arg2);
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 resultobj = SWIG_Py_Void();
24949 return resultobj;
24950 fail:
24951 return NULL;
24952 }
24953
24954
24955 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24956 PyObject *resultobj = 0;
24957 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24958 bool arg2 ;
24959 void *argp1 = 0 ;
24960 int res1 = 0 ;
24961 bool val2 ;
24962 int ecode2 = 0 ;
24963 PyObject * obj0 = 0 ;
24964 PyObject * obj1 = 0 ;
24965 char * kwnames[] = {
24966 (char *) "self",(char *) "flag", NULL
24967 };
24968
24969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24971 if (!SWIG_IsOK(res1)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24973 }
24974 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24975 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24976 if (!SWIG_IsOK(ecode2)) {
24977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24978 }
24979 arg2 = static_cast< bool >(val2);
24980 {
24981 PyThreadState* __tstate = wxPyBeginAllowThreads();
24982 (arg1)->EnableMargins(arg2);
24983 wxPyEndAllowThreads(__tstate);
24984 if (PyErr_Occurred()) SWIG_fail;
24985 }
24986 resultobj = SWIG_Py_Void();
24987 return resultobj;
24988 fail:
24989 return NULL;
24990 }
24991
24992
24993 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24994 PyObject *resultobj = 0;
24995 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24996 bool arg2 ;
24997 void *argp1 = 0 ;
24998 int res1 = 0 ;
24999 bool val2 ;
25000 int ecode2 = 0 ;
25001 PyObject * obj0 = 0 ;
25002 PyObject * obj1 = 0 ;
25003 char * kwnames[] = {
25004 (char *) "self",(char *) "flag", NULL
25005 };
25006
25007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25009 if (!SWIG_IsOK(res1)) {
25010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25011 }
25012 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25013 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25014 if (!SWIG_IsOK(ecode2)) {
25015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25016 }
25017 arg2 = static_cast< bool >(val2);
25018 {
25019 PyThreadState* __tstate = wxPyBeginAllowThreads();
25020 (arg1)->EnableOrientation(arg2);
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
25024 resultobj = SWIG_Py_Void();
25025 return resultobj;
25026 fail:
25027 return NULL;
25028 }
25029
25030
25031 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25032 PyObject *resultobj = 0;
25033 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25034 bool arg2 ;
25035 void *argp1 = 0 ;
25036 int res1 = 0 ;
25037 bool val2 ;
25038 int ecode2 = 0 ;
25039 PyObject * obj0 = 0 ;
25040 PyObject * obj1 = 0 ;
25041 char * kwnames[] = {
25042 (char *) "self",(char *) "flag", NULL
25043 };
25044
25045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25047 if (!SWIG_IsOK(res1)) {
25048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25049 }
25050 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25051 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25052 if (!SWIG_IsOK(ecode2)) {
25053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25054 }
25055 arg2 = static_cast< bool >(val2);
25056 {
25057 PyThreadState* __tstate = wxPyBeginAllowThreads();
25058 (arg1)->EnablePaper(arg2);
25059 wxPyEndAllowThreads(__tstate);
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 resultobj = SWIG_Py_Void();
25063 return resultobj;
25064 fail:
25065 return NULL;
25066 }
25067
25068
25069 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25070 PyObject *resultobj = 0;
25071 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25072 bool arg2 ;
25073 void *argp1 = 0 ;
25074 int res1 = 0 ;
25075 bool val2 ;
25076 int ecode2 = 0 ;
25077 PyObject * obj0 = 0 ;
25078 PyObject * obj1 = 0 ;
25079 char * kwnames[] = {
25080 (char *) "self",(char *) "flag", NULL
25081 };
25082
25083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25085 if (!SWIG_IsOK(res1)) {
25086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25087 }
25088 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25089 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25090 if (!SWIG_IsOK(ecode2)) {
25091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25092 }
25093 arg2 = static_cast< bool >(val2);
25094 {
25095 PyThreadState* __tstate = wxPyBeginAllowThreads();
25096 (arg1)->EnablePrinter(arg2);
25097 wxPyEndAllowThreads(__tstate);
25098 if (PyErr_Occurred()) SWIG_fail;
25099 }
25100 resultobj = SWIG_Py_Void();
25101 return resultobj;
25102 fail:
25103 return NULL;
25104 }
25105
25106
25107 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25108 PyObject *resultobj = 0;
25109 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25110 bool result;
25111 void *argp1 = 0 ;
25112 int res1 = 0 ;
25113 PyObject *swig_obj[1] ;
25114
25115 if (!args) SWIG_fail;
25116 swig_obj[0] = args;
25117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25118 if (!SWIG_IsOK(res1)) {
25119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25120 }
25121 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25122 {
25123 PyThreadState* __tstate = wxPyBeginAllowThreads();
25124 result = (bool)(arg1)->GetDefaultMinMargins();
25125 wxPyEndAllowThreads(__tstate);
25126 if (PyErr_Occurred()) SWIG_fail;
25127 }
25128 {
25129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25130 }
25131 return resultobj;
25132 fail:
25133 return NULL;
25134 }
25135
25136
25137 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25138 PyObject *resultobj = 0;
25139 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25140 bool result;
25141 void *argp1 = 0 ;
25142 int res1 = 0 ;
25143 PyObject *swig_obj[1] ;
25144
25145 if (!args) SWIG_fail;
25146 swig_obj[0] = args;
25147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25148 if (!SWIG_IsOK(res1)) {
25149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25150 }
25151 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 result = (bool)(arg1)->GetEnableMargins();
25155 wxPyEndAllowThreads(__tstate);
25156 if (PyErr_Occurred()) SWIG_fail;
25157 }
25158 {
25159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25160 }
25161 return resultobj;
25162 fail:
25163 return NULL;
25164 }
25165
25166
25167 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25168 PyObject *resultobj = 0;
25169 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25170 bool result;
25171 void *argp1 = 0 ;
25172 int res1 = 0 ;
25173 PyObject *swig_obj[1] ;
25174
25175 if (!args) SWIG_fail;
25176 swig_obj[0] = args;
25177 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25178 if (!SWIG_IsOK(res1)) {
25179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25180 }
25181 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 result = (bool)(arg1)->GetEnableOrientation();
25185 wxPyEndAllowThreads(__tstate);
25186 if (PyErr_Occurred()) SWIG_fail;
25187 }
25188 {
25189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25190 }
25191 return resultobj;
25192 fail:
25193 return NULL;
25194 }
25195
25196
25197 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25198 PyObject *resultobj = 0;
25199 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25200 bool result;
25201 void *argp1 = 0 ;
25202 int res1 = 0 ;
25203 PyObject *swig_obj[1] ;
25204
25205 if (!args) SWIG_fail;
25206 swig_obj[0] = args;
25207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25208 if (!SWIG_IsOK(res1)) {
25209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25210 }
25211 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25212 {
25213 PyThreadState* __tstate = wxPyBeginAllowThreads();
25214 result = (bool)(arg1)->GetEnablePaper();
25215 wxPyEndAllowThreads(__tstate);
25216 if (PyErr_Occurred()) SWIG_fail;
25217 }
25218 {
25219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25220 }
25221 return resultobj;
25222 fail:
25223 return NULL;
25224 }
25225
25226
25227 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25228 PyObject *resultobj = 0;
25229 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25230 bool result;
25231 void *argp1 = 0 ;
25232 int res1 = 0 ;
25233 PyObject *swig_obj[1] ;
25234
25235 if (!args) SWIG_fail;
25236 swig_obj[0] = args;
25237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25238 if (!SWIG_IsOK(res1)) {
25239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25240 }
25241 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25242 {
25243 PyThreadState* __tstate = wxPyBeginAllowThreads();
25244 result = (bool)(arg1)->GetEnablePrinter();
25245 wxPyEndAllowThreads(__tstate);
25246 if (PyErr_Occurred()) SWIG_fail;
25247 }
25248 {
25249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25250 }
25251 return resultobj;
25252 fail:
25253 return NULL;
25254 }
25255
25256
25257 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25258 PyObject *resultobj = 0;
25259 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25260 bool result;
25261 void *argp1 = 0 ;
25262 int res1 = 0 ;
25263 PyObject *swig_obj[1] ;
25264
25265 if (!args) SWIG_fail;
25266 swig_obj[0] = args;
25267 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25268 if (!SWIG_IsOK(res1)) {
25269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25270 }
25271 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25272 {
25273 PyThreadState* __tstate = wxPyBeginAllowThreads();
25274 result = (bool)(arg1)->GetEnableHelp();
25275 wxPyEndAllowThreads(__tstate);
25276 if (PyErr_Occurred()) SWIG_fail;
25277 }
25278 {
25279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25280 }
25281 return resultobj;
25282 fail:
25283 return NULL;
25284 }
25285
25286
25287 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25288 PyObject *resultobj = 0;
25289 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25290 bool result;
25291 void *argp1 = 0 ;
25292 int res1 = 0 ;
25293 PyObject *swig_obj[1] ;
25294
25295 if (!args) SWIG_fail;
25296 swig_obj[0] = args;
25297 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25298 if (!SWIG_IsOK(res1)) {
25299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25300 }
25301 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25302 {
25303 PyThreadState* __tstate = wxPyBeginAllowThreads();
25304 result = (bool)(arg1)->GetDefaultInfo();
25305 wxPyEndAllowThreads(__tstate);
25306 if (PyErr_Occurred()) SWIG_fail;
25307 }
25308 {
25309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25310 }
25311 return resultobj;
25312 fail:
25313 return NULL;
25314 }
25315
25316
25317 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25318 PyObject *resultobj = 0;
25319 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25320 wxPoint result;
25321 void *argp1 = 0 ;
25322 int res1 = 0 ;
25323 PyObject *swig_obj[1] ;
25324
25325 if (!args) SWIG_fail;
25326 swig_obj[0] = args;
25327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25328 if (!SWIG_IsOK(res1)) {
25329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25330 }
25331 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25332 {
25333 PyThreadState* __tstate = wxPyBeginAllowThreads();
25334 result = (arg1)->GetMarginTopLeft();
25335 wxPyEndAllowThreads(__tstate);
25336 if (PyErr_Occurred()) SWIG_fail;
25337 }
25338 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25339 return resultobj;
25340 fail:
25341 return NULL;
25342 }
25343
25344
25345 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25346 PyObject *resultobj = 0;
25347 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25348 wxPoint result;
25349 void *argp1 = 0 ;
25350 int res1 = 0 ;
25351 PyObject *swig_obj[1] ;
25352
25353 if (!args) SWIG_fail;
25354 swig_obj[0] = args;
25355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25356 if (!SWIG_IsOK(res1)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25358 }
25359 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25360 {
25361 PyThreadState* __tstate = wxPyBeginAllowThreads();
25362 result = (arg1)->GetMarginBottomRight();
25363 wxPyEndAllowThreads(__tstate);
25364 if (PyErr_Occurred()) SWIG_fail;
25365 }
25366 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25367 return resultobj;
25368 fail:
25369 return NULL;
25370 }
25371
25372
25373 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25374 PyObject *resultobj = 0;
25375 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25376 wxPoint result;
25377 void *argp1 = 0 ;
25378 int res1 = 0 ;
25379 PyObject *swig_obj[1] ;
25380
25381 if (!args) SWIG_fail;
25382 swig_obj[0] = args;
25383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25384 if (!SWIG_IsOK(res1)) {
25385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25386 }
25387 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 result = (arg1)->GetMinMarginTopLeft();
25391 wxPyEndAllowThreads(__tstate);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 }
25394 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25395 return resultobj;
25396 fail:
25397 return NULL;
25398 }
25399
25400
25401 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25402 PyObject *resultobj = 0;
25403 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25404 wxPoint result;
25405 void *argp1 = 0 ;
25406 int res1 = 0 ;
25407 PyObject *swig_obj[1] ;
25408
25409 if (!args) SWIG_fail;
25410 swig_obj[0] = args;
25411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25412 if (!SWIG_IsOK(res1)) {
25413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25414 }
25415 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25416 {
25417 PyThreadState* __tstate = wxPyBeginAllowThreads();
25418 result = (arg1)->GetMinMarginBottomRight();
25419 wxPyEndAllowThreads(__tstate);
25420 if (PyErr_Occurred()) SWIG_fail;
25421 }
25422 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25423 return resultobj;
25424 fail:
25425 return NULL;
25426 }
25427
25428
25429 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25430 PyObject *resultobj = 0;
25431 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25432 wxPaperSize result;
25433 void *argp1 = 0 ;
25434 int res1 = 0 ;
25435 PyObject *swig_obj[1] ;
25436
25437 if (!args) SWIG_fail;
25438 swig_obj[0] = args;
25439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25440 if (!SWIG_IsOK(res1)) {
25441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25442 }
25443 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25444 {
25445 PyThreadState* __tstate = wxPyBeginAllowThreads();
25446 result = (wxPaperSize)(arg1)->GetPaperId();
25447 wxPyEndAllowThreads(__tstate);
25448 if (PyErr_Occurred()) SWIG_fail;
25449 }
25450 resultobj = SWIG_From_int(static_cast< int >(result));
25451 return resultobj;
25452 fail:
25453 return NULL;
25454 }
25455
25456
25457 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25458 PyObject *resultobj = 0;
25459 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25460 wxSize result;
25461 void *argp1 = 0 ;
25462 int res1 = 0 ;
25463 PyObject *swig_obj[1] ;
25464
25465 if (!args) SWIG_fail;
25466 swig_obj[0] = args;
25467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25468 if (!SWIG_IsOK(res1)) {
25469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25470 }
25471 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25472 {
25473 PyThreadState* __tstate = wxPyBeginAllowThreads();
25474 result = (arg1)->GetPaperSize();
25475 wxPyEndAllowThreads(__tstate);
25476 if (PyErr_Occurred()) SWIG_fail;
25477 }
25478 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25479 return resultobj;
25480 fail:
25481 return NULL;
25482 }
25483
25484
25485 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25486 PyObject *resultobj = 0;
25487 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25488 wxPrintData *result = 0 ;
25489 void *argp1 = 0 ;
25490 int res1 = 0 ;
25491 PyObject *swig_obj[1] ;
25492
25493 if (!args) SWIG_fail;
25494 swig_obj[0] = args;
25495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25496 if (!SWIG_IsOK(res1)) {
25497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25498 }
25499 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25500 {
25501 PyThreadState* __tstate = wxPyBeginAllowThreads();
25502 {
25503 wxPrintData &_result_ref = (arg1)->GetPrintData();
25504 result = (wxPrintData *) &_result_ref;
25505 }
25506 wxPyEndAllowThreads(__tstate);
25507 if (PyErr_Occurred()) SWIG_fail;
25508 }
25509 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25510 return resultobj;
25511 fail:
25512 return NULL;
25513 }
25514
25515
25516 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25517 PyObject *resultobj = 0;
25518 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25519 bool result;
25520 void *argp1 = 0 ;
25521 int res1 = 0 ;
25522 PyObject *swig_obj[1] ;
25523
25524 if (!args) SWIG_fail;
25525 swig_obj[0] = args;
25526 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25527 if (!SWIG_IsOK(res1)) {
25528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25529 }
25530 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25531 {
25532 PyThreadState* __tstate = wxPyBeginAllowThreads();
25533 result = (bool)(arg1)->IsOk();
25534 wxPyEndAllowThreads(__tstate);
25535 if (PyErr_Occurred()) SWIG_fail;
25536 }
25537 {
25538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25539 }
25540 return resultobj;
25541 fail:
25542 return NULL;
25543 }
25544
25545
25546 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25547 PyObject *resultobj = 0;
25548 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25549 bool arg2 ;
25550 void *argp1 = 0 ;
25551 int res1 = 0 ;
25552 bool val2 ;
25553 int ecode2 = 0 ;
25554 PyObject * obj0 = 0 ;
25555 PyObject * obj1 = 0 ;
25556 char * kwnames[] = {
25557 (char *) "self",(char *) "flag", NULL
25558 };
25559
25560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25562 if (!SWIG_IsOK(res1)) {
25563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25564 }
25565 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25566 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25567 if (!SWIG_IsOK(ecode2)) {
25568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25569 }
25570 arg2 = static_cast< bool >(val2);
25571 {
25572 PyThreadState* __tstate = wxPyBeginAllowThreads();
25573 (arg1)->SetDefaultInfo(arg2);
25574 wxPyEndAllowThreads(__tstate);
25575 if (PyErr_Occurred()) SWIG_fail;
25576 }
25577 resultobj = SWIG_Py_Void();
25578 return resultobj;
25579 fail:
25580 return NULL;
25581 }
25582
25583
25584 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25585 PyObject *resultobj = 0;
25586 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25587 bool arg2 ;
25588 void *argp1 = 0 ;
25589 int res1 = 0 ;
25590 bool val2 ;
25591 int ecode2 = 0 ;
25592 PyObject * obj0 = 0 ;
25593 PyObject * obj1 = 0 ;
25594 char * kwnames[] = {
25595 (char *) "self",(char *) "flag", NULL
25596 };
25597
25598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25600 if (!SWIG_IsOK(res1)) {
25601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25602 }
25603 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25604 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25605 if (!SWIG_IsOK(ecode2)) {
25606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25607 }
25608 arg2 = static_cast< bool >(val2);
25609 {
25610 PyThreadState* __tstate = wxPyBeginAllowThreads();
25611 (arg1)->SetDefaultMinMargins(arg2);
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 resultobj = SWIG_Py_Void();
25616 return resultobj;
25617 fail:
25618 return NULL;
25619 }
25620
25621
25622 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25623 PyObject *resultobj = 0;
25624 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25625 wxPoint *arg2 = 0 ;
25626 void *argp1 = 0 ;
25627 int res1 = 0 ;
25628 wxPoint temp2 ;
25629 PyObject * obj0 = 0 ;
25630 PyObject * obj1 = 0 ;
25631 char * kwnames[] = {
25632 (char *) "self",(char *) "pt", NULL
25633 };
25634
25635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25637 if (!SWIG_IsOK(res1)) {
25638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25639 }
25640 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25641 {
25642 arg2 = &temp2;
25643 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25644 }
25645 {
25646 PyThreadState* __tstate = wxPyBeginAllowThreads();
25647 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25648 wxPyEndAllowThreads(__tstate);
25649 if (PyErr_Occurred()) SWIG_fail;
25650 }
25651 resultobj = SWIG_Py_Void();
25652 return resultobj;
25653 fail:
25654 return NULL;
25655 }
25656
25657
25658 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25659 PyObject *resultobj = 0;
25660 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25661 wxPoint *arg2 = 0 ;
25662 void *argp1 = 0 ;
25663 int res1 = 0 ;
25664 wxPoint temp2 ;
25665 PyObject * obj0 = 0 ;
25666 PyObject * obj1 = 0 ;
25667 char * kwnames[] = {
25668 (char *) "self",(char *) "pt", NULL
25669 };
25670
25671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25673 if (!SWIG_IsOK(res1)) {
25674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25675 }
25676 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25677 {
25678 arg2 = &temp2;
25679 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25680 }
25681 {
25682 PyThreadState* __tstate = wxPyBeginAllowThreads();
25683 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25684 wxPyEndAllowThreads(__tstate);
25685 if (PyErr_Occurred()) SWIG_fail;
25686 }
25687 resultobj = SWIG_Py_Void();
25688 return resultobj;
25689 fail:
25690 return NULL;
25691 }
25692
25693
25694 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25695 PyObject *resultobj = 0;
25696 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25697 wxPoint *arg2 = 0 ;
25698 void *argp1 = 0 ;
25699 int res1 = 0 ;
25700 wxPoint temp2 ;
25701 PyObject * obj0 = 0 ;
25702 PyObject * obj1 = 0 ;
25703 char * kwnames[] = {
25704 (char *) "self",(char *) "pt", NULL
25705 };
25706
25707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25709 if (!SWIG_IsOK(res1)) {
25710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25711 }
25712 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25713 {
25714 arg2 = &temp2;
25715 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25716 }
25717 {
25718 PyThreadState* __tstate = wxPyBeginAllowThreads();
25719 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25720 wxPyEndAllowThreads(__tstate);
25721 if (PyErr_Occurred()) SWIG_fail;
25722 }
25723 resultobj = SWIG_Py_Void();
25724 return resultobj;
25725 fail:
25726 return NULL;
25727 }
25728
25729
25730 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25731 PyObject *resultobj = 0;
25732 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25733 wxPoint *arg2 = 0 ;
25734 void *argp1 = 0 ;
25735 int res1 = 0 ;
25736 wxPoint temp2 ;
25737 PyObject * obj0 = 0 ;
25738 PyObject * obj1 = 0 ;
25739 char * kwnames[] = {
25740 (char *) "self",(char *) "pt", NULL
25741 };
25742
25743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25745 if (!SWIG_IsOK(res1)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25747 }
25748 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25749 {
25750 arg2 = &temp2;
25751 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25752 }
25753 {
25754 PyThreadState* __tstate = wxPyBeginAllowThreads();
25755 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25756 wxPyEndAllowThreads(__tstate);
25757 if (PyErr_Occurred()) SWIG_fail;
25758 }
25759 resultobj = SWIG_Py_Void();
25760 return resultobj;
25761 fail:
25762 return NULL;
25763 }
25764
25765
25766 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25767 PyObject *resultobj = 0;
25768 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25769 wxPaperSize arg2 ;
25770 void *argp1 = 0 ;
25771 int res1 = 0 ;
25772 int val2 ;
25773 int ecode2 = 0 ;
25774 PyObject * obj0 = 0 ;
25775 PyObject * obj1 = 0 ;
25776 char * kwnames[] = {
25777 (char *) "self",(char *) "id", NULL
25778 };
25779
25780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25782 if (!SWIG_IsOK(res1)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25784 }
25785 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25786 ecode2 = SWIG_AsVal_int(obj1, &val2);
25787 if (!SWIG_IsOK(ecode2)) {
25788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25789 }
25790 arg2 = static_cast< wxPaperSize >(val2);
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 (arg1)->SetPaperId(arg2);
25794 wxPyEndAllowThreads(__tstate);
25795 if (PyErr_Occurred()) SWIG_fail;
25796 }
25797 resultobj = SWIG_Py_Void();
25798 return resultobj;
25799 fail:
25800 return NULL;
25801 }
25802
25803
25804 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25805 PyObject *resultobj = 0;
25806 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25807 wxSize *arg2 = 0 ;
25808 void *argp1 = 0 ;
25809 int res1 = 0 ;
25810 wxSize temp2 ;
25811 PyObject * obj0 = 0 ;
25812 PyObject * obj1 = 0 ;
25813 char * kwnames[] = {
25814 (char *) "self",(char *) "size", NULL
25815 };
25816
25817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25819 if (!SWIG_IsOK(res1)) {
25820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25821 }
25822 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25823 {
25824 arg2 = &temp2;
25825 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25826 }
25827 {
25828 PyThreadState* __tstate = wxPyBeginAllowThreads();
25829 (arg1)->SetPaperSize((wxSize const &)*arg2);
25830 wxPyEndAllowThreads(__tstate);
25831 if (PyErr_Occurred()) SWIG_fail;
25832 }
25833 resultobj = SWIG_Py_Void();
25834 return resultobj;
25835 fail:
25836 return NULL;
25837 }
25838
25839
25840 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25841 PyObject *resultobj = 0;
25842 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25843 wxPrintData *arg2 = 0 ;
25844 void *argp1 = 0 ;
25845 int res1 = 0 ;
25846 void *argp2 = 0 ;
25847 int res2 = 0 ;
25848 PyObject * obj0 = 0 ;
25849 PyObject * obj1 = 0 ;
25850 char * kwnames[] = {
25851 (char *) "self",(char *) "printData", NULL
25852 };
25853
25854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25856 if (!SWIG_IsOK(res1)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25858 }
25859 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25860 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25861 if (!SWIG_IsOK(res2)) {
25862 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25863 }
25864 if (!argp2) {
25865 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25866 }
25867 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25868 {
25869 PyThreadState* __tstate = wxPyBeginAllowThreads();
25870 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25871 wxPyEndAllowThreads(__tstate);
25872 if (PyErr_Occurred()) SWIG_fail;
25873 }
25874 resultobj = SWIG_Py_Void();
25875 return resultobj;
25876 fail:
25877 return NULL;
25878 }
25879
25880
25881 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25882 PyObject *resultobj = 0;
25883 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25884 void *argp1 = 0 ;
25885 int res1 = 0 ;
25886 PyObject *swig_obj[1] ;
25887
25888 if (!args) SWIG_fail;
25889 swig_obj[0] = args;
25890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25891 if (!SWIG_IsOK(res1)) {
25892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25893 }
25894 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25895 {
25896 PyThreadState* __tstate = wxPyBeginAllowThreads();
25897 (arg1)->CalculateIdFromPaperSize();
25898 wxPyEndAllowThreads(__tstate);
25899 if (PyErr_Occurred()) SWIG_fail;
25900 }
25901 resultobj = SWIG_Py_Void();
25902 return resultobj;
25903 fail:
25904 return NULL;
25905 }
25906
25907
25908 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25909 PyObject *resultobj = 0;
25910 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25911 void *argp1 = 0 ;
25912 int res1 = 0 ;
25913 PyObject *swig_obj[1] ;
25914
25915 if (!args) SWIG_fail;
25916 swig_obj[0] = args;
25917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25918 if (!SWIG_IsOK(res1)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25920 }
25921 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25922 {
25923 PyThreadState* __tstate = wxPyBeginAllowThreads();
25924 (arg1)->CalculatePaperSizeFromId();
25925 wxPyEndAllowThreads(__tstate);
25926 if (PyErr_Occurred()) SWIG_fail;
25927 }
25928 resultobj = SWIG_Py_Void();
25929 return resultobj;
25930 fail:
25931 return NULL;
25932 }
25933
25934
25935 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25936 PyObject *obj;
25937 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25938 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25939 return SWIG_Py_Void();
25940 }
25941
25942 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25943 return SWIG_Python_InitShadowInstance(args);
25944 }
25945
25946 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25947 PyObject *resultobj = 0;
25948 wxWindow *arg1 = (wxWindow *) 0 ;
25949 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25950 wxPageSetupDialog *result = 0 ;
25951 void *argp1 = 0 ;
25952 int res1 = 0 ;
25953 void *argp2 = 0 ;
25954 int res2 = 0 ;
25955 PyObject * obj0 = 0 ;
25956 PyObject * obj1 = 0 ;
25957 char * kwnames[] = {
25958 (char *) "parent",(char *) "data", NULL
25959 };
25960
25961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25963 if (!SWIG_IsOK(res1)) {
25964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25965 }
25966 arg1 = reinterpret_cast< wxWindow * >(argp1);
25967 if (obj1) {
25968 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25969 if (!SWIG_IsOK(res2)) {
25970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25971 }
25972 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25973 }
25974 {
25975 if (!wxPyCheckForApp()) SWIG_fail;
25976 PyThreadState* __tstate = wxPyBeginAllowThreads();
25977 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25978 wxPyEndAllowThreads(__tstate);
25979 if (PyErr_Occurred()) SWIG_fail;
25980 }
25981 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25982 return resultobj;
25983 fail:
25984 return NULL;
25985 }
25986
25987
25988 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25989 PyObject *resultobj = 0;
25990 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25991 void *argp1 = 0 ;
25992 int res1 = 0 ;
25993 PyObject *swig_obj[1] ;
25994
25995 if (!args) SWIG_fail;
25996 swig_obj[0] = args;
25997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25998 if (!SWIG_IsOK(res1)) {
25999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26000 }
26001 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26002 {
26003 PyThreadState* __tstate = wxPyBeginAllowThreads();
26004 delete arg1;
26005
26006 wxPyEndAllowThreads(__tstate);
26007 if (PyErr_Occurred()) SWIG_fail;
26008 }
26009 resultobj = SWIG_Py_Void();
26010 return resultobj;
26011 fail:
26012 return NULL;
26013 }
26014
26015
26016 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26017 PyObject *resultobj = 0;
26018 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26019 wxPageSetupDialogData *result = 0 ;
26020 void *argp1 = 0 ;
26021 int res1 = 0 ;
26022 PyObject *swig_obj[1] ;
26023
26024 if (!args) SWIG_fail;
26025 swig_obj[0] = args;
26026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26027 if (!SWIG_IsOK(res1)) {
26028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26029 }
26030 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26031 {
26032 PyThreadState* __tstate = wxPyBeginAllowThreads();
26033 {
26034 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26035 result = (wxPageSetupDialogData *) &_result_ref;
26036 }
26037 wxPyEndAllowThreads(__tstate);
26038 if (PyErr_Occurred()) SWIG_fail;
26039 }
26040 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26041 return resultobj;
26042 fail:
26043 return NULL;
26044 }
26045
26046
26047 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26048 PyObject *resultobj = 0;
26049 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26050 wxPageSetupDialogData *result = 0 ;
26051 void *argp1 = 0 ;
26052 int res1 = 0 ;
26053 PyObject *swig_obj[1] ;
26054
26055 if (!args) SWIG_fail;
26056 swig_obj[0] = args;
26057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26058 if (!SWIG_IsOK(res1)) {
26059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26060 }
26061 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26062 {
26063 PyThreadState* __tstate = wxPyBeginAllowThreads();
26064 {
26065 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26066 result = (wxPageSetupDialogData *) &_result_ref;
26067 }
26068 wxPyEndAllowThreads(__tstate);
26069 if (PyErr_Occurred()) SWIG_fail;
26070 }
26071 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26072 return resultobj;
26073 fail:
26074 return NULL;
26075 }
26076
26077
26078 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26079 PyObject *resultobj = 0;
26080 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26081 int result;
26082 void *argp1 = 0 ;
26083 int res1 = 0 ;
26084 PyObject *swig_obj[1] ;
26085
26086 if (!args) SWIG_fail;
26087 swig_obj[0] = args;
26088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26089 if (!SWIG_IsOK(res1)) {
26090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26091 }
26092 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26093 {
26094 PyThreadState* __tstate = wxPyBeginAllowThreads();
26095 result = (int)(arg1)->ShowModal();
26096 wxPyEndAllowThreads(__tstate);
26097 if (PyErr_Occurred()) SWIG_fail;
26098 }
26099 resultobj = SWIG_From_int(static_cast< int >(result));
26100 return resultobj;
26101 fail:
26102 return NULL;
26103 }
26104
26105
26106 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26107 PyObject *obj;
26108 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26109 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26110 return SWIG_Py_Void();
26111 }
26112
26113 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26114 return SWIG_Python_InitShadowInstance(args);
26115 }
26116
26117 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26118 PyObject *resultobj = 0;
26119 wxPrintDialogData *result = 0 ;
26120
26121 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26122 {
26123 PyThreadState* __tstate = wxPyBeginAllowThreads();
26124 result = (wxPrintDialogData *)new wxPrintDialogData();
26125 wxPyEndAllowThreads(__tstate);
26126 if (PyErr_Occurred()) SWIG_fail;
26127 }
26128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26129 return resultobj;
26130 fail:
26131 return NULL;
26132 }
26133
26134
26135 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26136 PyObject *resultobj = 0;
26137 wxPrintData *arg1 = 0 ;
26138 wxPrintDialogData *result = 0 ;
26139 void *argp1 = 0 ;
26140 int res1 = 0 ;
26141
26142 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26144 if (!SWIG_IsOK(res1)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26146 }
26147 if (!argp1) {
26148 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26149 }
26150 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26151 {
26152 PyThreadState* __tstate = wxPyBeginAllowThreads();
26153 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26154 wxPyEndAllowThreads(__tstate);
26155 if (PyErr_Occurred()) SWIG_fail;
26156 }
26157 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26158 return resultobj;
26159 fail:
26160 return NULL;
26161 }
26162
26163
26164 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26165 PyObject *resultobj = 0;
26166 wxPrintDialogData *arg1 = 0 ;
26167 wxPrintDialogData *result = 0 ;
26168 void *argp1 = 0 ;
26169 int res1 = 0 ;
26170
26171 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26173 if (!SWIG_IsOK(res1)) {
26174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26175 }
26176 if (!argp1) {
26177 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26178 }
26179 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
26182 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26183 wxPyEndAllowThreads(__tstate);
26184 if (PyErr_Occurred()) SWIG_fail;
26185 }
26186 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26187 return resultobj;
26188 fail:
26189 return NULL;
26190 }
26191
26192
26193 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26194 int argc;
26195 PyObject *argv[2];
26196
26197 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26198 --argc;
26199 if (argc == 0) {
26200 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26201 }
26202 if (argc == 1) {
26203 int _v = 0;
26204 {
26205 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26206 _v = SWIG_CheckState(res);
26207 }
26208 if (!_v) goto check_2;
26209 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26210 }
26211 check_2:
26212
26213 if (argc == 1) {
26214 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26215 }
26216
26217 fail:
26218 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26219 return NULL;
26220 }
26221
26222
26223 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26224 PyObject *resultobj = 0;
26225 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26226 void *argp1 = 0 ;
26227 int res1 = 0 ;
26228 PyObject *swig_obj[1] ;
26229
26230 if (!args) SWIG_fail;
26231 swig_obj[0] = args;
26232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26233 if (!SWIG_IsOK(res1)) {
26234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26235 }
26236 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26237 {
26238 PyThreadState* __tstate = wxPyBeginAllowThreads();
26239 delete arg1;
26240
26241 wxPyEndAllowThreads(__tstate);
26242 if (PyErr_Occurred()) SWIG_fail;
26243 }
26244 resultobj = SWIG_Py_Void();
26245 return resultobj;
26246 fail:
26247 return NULL;
26248 }
26249
26250
26251 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26252 PyObject *resultobj = 0;
26253 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26254 int result;
26255 void *argp1 = 0 ;
26256 int res1 = 0 ;
26257 PyObject *swig_obj[1] ;
26258
26259 if (!args) SWIG_fail;
26260 swig_obj[0] = args;
26261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26262 if (!SWIG_IsOK(res1)) {
26263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26264 }
26265 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26266 {
26267 PyThreadState* __tstate = wxPyBeginAllowThreads();
26268 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26269 wxPyEndAllowThreads(__tstate);
26270 if (PyErr_Occurred()) SWIG_fail;
26271 }
26272 resultobj = SWIG_From_int(static_cast< int >(result));
26273 return resultobj;
26274 fail:
26275 return NULL;
26276 }
26277
26278
26279 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26280 PyObject *resultobj = 0;
26281 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26282 int result;
26283 void *argp1 = 0 ;
26284 int res1 = 0 ;
26285 PyObject *swig_obj[1] ;
26286
26287 if (!args) SWIG_fail;
26288 swig_obj[0] = args;
26289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26290 if (!SWIG_IsOK(res1)) {
26291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26292 }
26293 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26294 {
26295 PyThreadState* __tstate = wxPyBeginAllowThreads();
26296 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26297 wxPyEndAllowThreads(__tstate);
26298 if (PyErr_Occurred()) SWIG_fail;
26299 }
26300 resultobj = SWIG_From_int(static_cast< int >(result));
26301 return resultobj;
26302 fail:
26303 return NULL;
26304 }
26305
26306
26307 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26308 PyObject *resultobj = 0;
26309 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26310 int result;
26311 void *argp1 = 0 ;
26312 int res1 = 0 ;
26313 PyObject *swig_obj[1] ;
26314
26315 if (!args) SWIG_fail;
26316 swig_obj[0] = args;
26317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26318 if (!SWIG_IsOK(res1)) {
26319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26320 }
26321 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26322 {
26323 PyThreadState* __tstate = wxPyBeginAllowThreads();
26324 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26325 wxPyEndAllowThreads(__tstate);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 }
26328 resultobj = SWIG_From_int(static_cast< int >(result));
26329 return resultobj;
26330 fail:
26331 return NULL;
26332 }
26333
26334
26335 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26336 PyObject *resultobj = 0;
26337 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26338 int result;
26339 void *argp1 = 0 ;
26340 int res1 = 0 ;
26341 PyObject *swig_obj[1] ;
26342
26343 if (!args) SWIG_fail;
26344 swig_obj[0] = args;
26345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26346 if (!SWIG_IsOK(res1)) {
26347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26348 }
26349 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26350 {
26351 PyThreadState* __tstate = wxPyBeginAllowThreads();
26352 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26353 wxPyEndAllowThreads(__tstate);
26354 if (PyErr_Occurred()) SWIG_fail;
26355 }
26356 resultobj = SWIG_From_int(static_cast< int >(result));
26357 return resultobj;
26358 fail:
26359 return NULL;
26360 }
26361
26362
26363 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26364 PyObject *resultobj = 0;
26365 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26366 int result;
26367 void *argp1 = 0 ;
26368 int res1 = 0 ;
26369 PyObject *swig_obj[1] ;
26370
26371 if (!args) SWIG_fail;
26372 swig_obj[0] = args;
26373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26374 if (!SWIG_IsOK(res1)) {
26375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26376 }
26377 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26378 {
26379 PyThreadState* __tstate = wxPyBeginAllowThreads();
26380 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26381 wxPyEndAllowThreads(__tstate);
26382 if (PyErr_Occurred()) SWIG_fail;
26383 }
26384 resultobj = SWIG_From_int(static_cast< int >(result));
26385 return resultobj;
26386 fail:
26387 return NULL;
26388 }
26389
26390
26391 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26392 PyObject *resultobj = 0;
26393 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26394 bool result;
26395 void *argp1 = 0 ;
26396 int res1 = 0 ;
26397 PyObject *swig_obj[1] ;
26398
26399 if (!args) SWIG_fail;
26400 swig_obj[0] = args;
26401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26402 if (!SWIG_IsOK(res1)) {
26403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26404 }
26405 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26409 wxPyEndAllowThreads(__tstate);
26410 if (PyErr_Occurred()) SWIG_fail;
26411 }
26412 {
26413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26414 }
26415 return resultobj;
26416 fail:
26417 return NULL;
26418 }
26419
26420
26421 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26422 PyObject *resultobj = 0;
26423 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26424 bool result;
26425 void *argp1 = 0 ;
26426 int res1 = 0 ;
26427 PyObject *swig_obj[1] ;
26428
26429 if (!args) SWIG_fail;
26430 swig_obj[0] = args;
26431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26432 if (!SWIG_IsOK(res1)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26434 }
26435 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26436 {
26437 PyThreadState* __tstate = wxPyBeginAllowThreads();
26438 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26439 wxPyEndAllowThreads(__tstate);
26440 if (PyErr_Occurred()) SWIG_fail;
26441 }
26442 {
26443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26444 }
26445 return resultobj;
26446 fail:
26447 return NULL;
26448 }
26449
26450
26451 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26452 PyObject *resultobj = 0;
26453 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26454 bool result;
26455 void *argp1 = 0 ;
26456 int res1 = 0 ;
26457 PyObject *swig_obj[1] ;
26458
26459 if (!args) SWIG_fail;
26460 swig_obj[0] = args;
26461 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26462 if (!SWIG_IsOK(res1)) {
26463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26464 }
26465 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26466 {
26467 PyThreadState* __tstate = wxPyBeginAllowThreads();
26468 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26469 wxPyEndAllowThreads(__tstate);
26470 if (PyErr_Occurred()) SWIG_fail;
26471 }
26472 {
26473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26474 }
26475 return resultobj;
26476 fail:
26477 return NULL;
26478 }
26479
26480
26481 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26482 PyObject *resultobj = 0;
26483 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26484 bool 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_wxPrintDialogData, 0 | 0 );
26492 if (!SWIG_IsOK(res1)) {
26493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26494 }
26495 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26496 {
26497 PyThreadState* __tstate = wxPyBeginAllowThreads();
26498 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26499 wxPyEndAllowThreads(__tstate);
26500 if (PyErr_Occurred()) SWIG_fail;
26501 }
26502 {
26503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26504 }
26505 return resultobj;
26506 fail:
26507 return NULL;
26508 }
26509
26510
26511 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26512 PyObject *resultobj = 0;
26513 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26514 int arg2 ;
26515 void *argp1 = 0 ;
26516 int res1 = 0 ;
26517 int val2 ;
26518 int ecode2 = 0 ;
26519 PyObject * obj0 = 0 ;
26520 PyObject * obj1 = 0 ;
26521 char * kwnames[] = {
26522 (char *) "self",(char *) "v", NULL
26523 };
26524
26525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26527 if (!SWIG_IsOK(res1)) {
26528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26529 }
26530 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26531 ecode2 = SWIG_AsVal_int(obj1, &val2);
26532 if (!SWIG_IsOK(ecode2)) {
26533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26534 }
26535 arg2 = static_cast< int >(val2);
26536 {
26537 PyThreadState* __tstate = wxPyBeginAllowThreads();
26538 (arg1)->SetFromPage(arg2);
26539 wxPyEndAllowThreads(__tstate);
26540 if (PyErr_Occurred()) SWIG_fail;
26541 }
26542 resultobj = SWIG_Py_Void();
26543 return resultobj;
26544 fail:
26545 return NULL;
26546 }
26547
26548
26549 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26550 PyObject *resultobj = 0;
26551 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26552 int arg2 ;
26553 void *argp1 = 0 ;
26554 int res1 = 0 ;
26555 int val2 ;
26556 int ecode2 = 0 ;
26557 PyObject * obj0 = 0 ;
26558 PyObject * obj1 = 0 ;
26559 char * kwnames[] = {
26560 (char *) "self",(char *) "v", NULL
26561 };
26562
26563 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26564 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26565 if (!SWIG_IsOK(res1)) {
26566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26567 }
26568 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26569 ecode2 = SWIG_AsVal_int(obj1, &val2);
26570 if (!SWIG_IsOK(ecode2)) {
26571 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26572 }
26573 arg2 = static_cast< int >(val2);
26574 {
26575 PyThreadState* __tstate = wxPyBeginAllowThreads();
26576 (arg1)->SetToPage(arg2);
26577 wxPyEndAllowThreads(__tstate);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 }
26580 resultobj = SWIG_Py_Void();
26581 return resultobj;
26582 fail:
26583 return NULL;
26584 }
26585
26586
26587 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26588 PyObject *resultobj = 0;
26589 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26590 int arg2 ;
26591 void *argp1 = 0 ;
26592 int res1 = 0 ;
26593 int val2 ;
26594 int ecode2 = 0 ;
26595 PyObject * obj0 = 0 ;
26596 PyObject * obj1 = 0 ;
26597 char * kwnames[] = {
26598 (char *) "self",(char *) "v", NULL
26599 };
26600
26601 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26602 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26603 if (!SWIG_IsOK(res1)) {
26604 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26605 }
26606 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26607 ecode2 = SWIG_AsVal_int(obj1, &val2);
26608 if (!SWIG_IsOK(ecode2)) {
26609 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26610 }
26611 arg2 = static_cast< int >(val2);
26612 {
26613 PyThreadState* __tstate = wxPyBeginAllowThreads();
26614 (arg1)->SetMinPage(arg2);
26615 wxPyEndAllowThreads(__tstate);
26616 if (PyErr_Occurred()) SWIG_fail;
26617 }
26618 resultobj = SWIG_Py_Void();
26619 return resultobj;
26620 fail:
26621 return NULL;
26622 }
26623
26624
26625 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26626 PyObject *resultobj = 0;
26627 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26628 int arg2 ;
26629 void *argp1 = 0 ;
26630 int res1 = 0 ;
26631 int val2 ;
26632 int ecode2 = 0 ;
26633 PyObject * obj0 = 0 ;
26634 PyObject * obj1 = 0 ;
26635 char * kwnames[] = {
26636 (char *) "self",(char *) "v", NULL
26637 };
26638
26639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26641 if (!SWIG_IsOK(res1)) {
26642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26643 }
26644 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26645 ecode2 = SWIG_AsVal_int(obj1, &val2);
26646 if (!SWIG_IsOK(ecode2)) {
26647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26648 }
26649 arg2 = static_cast< int >(val2);
26650 {
26651 PyThreadState* __tstate = wxPyBeginAllowThreads();
26652 (arg1)->SetMaxPage(arg2);
26653 wxPyEndAllowThreads(__tstate);
26654 if (PyErr_Occurred()) SWIG_fail;
26655 }
26656 resultobj = SWIG_Py_Void();
26657 return resultobj;
26658 fail:
26659 return NULL;
26660 }
26661
26662
26663 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26664 PyObject *resultobj = 0;
26665 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26666 int arg2 ;
26667 void *argp1 = 0 ;
26668 int res1 = 0 ;
26669 int val2 ;
26670 int ecode2 = 0 ;
26671 PyObject * obj0 = 0 ;
26672 PyObject * obj1 = 0 ;
26673 char * kwnames[] = {
26674 (char *) "self",(char *) "v", NULL
26675 };
26676
26677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26679 if (!SWIG_IsOK(res1)) {
26680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26681 }
26682 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26683 ecode2 = SWIG_AsVal_int(obj1, &val2);
26684 if (!SWIG_IsOK(ecode2)) {
26685 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26686 }
26687 arg2 = static_cast< int >(val2);
26688 {
26689 PyThreadState* __tstate = wxPyBeginAllowThreads();
26690 (arg1)->SetNoCopies(arg2);
26691 wxPyEndAllowThreads(__tstate);
26692 if (PyErr_Occurred()) SWIG_fail;
26693 }
26694 resultobj = SWIG_Py_Void();
26695 return resultobj;
26696 fail:
26697 return NULL;
26698 }
26699
26700
26701 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26702 PyObject *resultobj = 0;
26703 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26704 bool arg2 ;
26705 void *argp1 = 0 ;
26706 int res1 = 0 ;
26707 bool val2 ;
26708 int ecode2 = 0 ;
26709 PyObject * obj0 = 0 ;
26710 PyObject * obj1 = 0 ;
26711 char * kwnames[] = {
26712 (char *) "self",(char *) "flag", NULL
26713 };
26714
26715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26717 if (!SWIG_IsOK(res1)) {
26718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26719 }
26720 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26721 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26722 if (!SWIG_IsOK(ecode2)) {
26723 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26724 }
26725 arg2 = static_cast< bool >(val2);
26726 {
26727 PyThreadState* __tstate = wxPyBeginAllowThreads();
26728 (arg1)->SetAllPages(arg2);
26729 wxPyEndAllowThreads(__tstate);
26730 if (PyErr_Occurred()) SWIG_fail;
26731 }
26732 resultobj = SWIG_Py_Void();
26733 return resultobj;
26734 fail:
26735 return NULL;
26736 }
26737
26738
26739 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26740 PyObject *resultobj = 0;
26741 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26742 bool arg2 ;
26743 void *argp1 = 0 ;
26744 int res1 = 0 ;
26745 bool val2 ;
26746 int ecode2 = 0 ;
26747 PyObject * obj0 = 0 ;
26748 PyObject * obj1 = 0 ;
26749 char * kwnames[] = {
26750 (char *) "self",(char *) "flag", NULL
26751 };
26752
26753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26755 if (!SWIG_IsOK(res1)) {
26756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26757 }
26758 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26759 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26760 if (!SWIG_IsOK(ecode2)) {
26761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26762 }
26763 arg2 = static_cast< bool >(val2);
26764 {
26765 PyThreadState* __tstate = wxPyBeginAllowThreads();
26766 (arg1)->SetSelection(arg2);
26767 wxPyEndAllowThreads(__tstate);
26768 if (PyErr_Occurred()) SWIG_fail;
26769 }
26770 resultobj = SWIG_Py_Void();
26771 return resultobj;
26772 fail:
26773 return NULL;
26774 }
26775
26776
26777 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26778 PyObject *resultobj = 0;
26779 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26780 bool arg2 ;
26781 void *argp1 = 0 ;
26782 int res1 = 0 ;
26783 bool val2 ;
26784 int ecode2 = 0 ;
26785 PyObject * obj0 = 0 ;
26786 PyObject * obj1 = 0 ;
26787 char * kwnames[] = {
26788 (char *) "self",(char *) "flag", NULL
26789 };
26790
26791 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26792 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26793 if (!SWIG_IsOK(res1)) {
26794 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26795 }
26796 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26797 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26798 if (!SWIG_IsOK(ecode2)) {
26799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26800 }
26801 arg2 = static_cast< bool >(val2);
26802 {
26803 PyThreadState* __tstate = wxPyBeginAllowThreads();
26804 (arg1)->SetCollate(arg2);
26805 wxPyEndAllowThreads(__tstate);
26806 if (PyErr_Occurred()) SWIG_fail;
26807 }
26808 resultobj = SWIG_Py_Void();
26809 return resultobj;
26810 fail:
26811 return NULL;
26812 }
26813
26814
26815 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26816 PyObject *resultobj = 0;
26817 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26818 bool arg2 ;
26819 void *argp1 = 0 ;
26820 int res1 = 0 ;
26821 bool val2 ;
26822 int ecode2 = 0 ;
26823 PyObject * obj0 = 0 ;
26824 PyObject * obj1 = 0 ;
26825 char * kwnames[] = {
26826 (char *) "self",(char *) "flag", NULL
26827 };
26828
26829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26831 if (!SWIG_IsOK(res1)) {
26832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26833 }
26834 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26835 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26836 if (!SWIG_IsOK(ecode2)) {
26837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26838 }
26839 arg2 = static_cast< bool >(val2);
26840 {
26841 PyThreadState* __tstate = wxPyBeginAllowThreads();
26842 (arg1)->SetPrintToFile(arg2);
26843 wxPyEndAllowThreads(__tstate);
26844 if (PyErr_Occurred()) SWIG_fail;
26845 }
26846 resultobj = SWIG_Py_Void();
26847 return resultobj;
26848 fail:
26849 return NULL;
26850 }
26851
26852
26853 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26854 PyObject *resultobj = 0;
26855 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26856 bool arg2 ;
26857 void *argp1 = 0 ;
26858 int res1 = 0 ;
26859 bool val2 ;
26860 int ecode2 = 0 ;
26861 PyObject * obj0 = 0 ;
26862 PyObject * obj1 = 0 ;
26863 char * kwnames[] = {
26864 (char *) "self",(char *) "flag", NULL
26865 };
26866
26867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26869 if (!SWIG_IsOK(res1)) {
26870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26871 }
26872 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26873 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26874 if (!SWIG_IsOK(ecode2)) {
26875 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26876 }
26877 arg2 = static_cast< bool >(val2);
26878 {
26879 PyThreadState* __tstate = wxPyBeginAllowThreads();
26880 (arg1)->EnablePrintToFile(arg2);
26881 wxPyEndAllowThreads(__tstate);
26882 if (PyErr_Occurred()) SWIG_fail;
26883 }
26884 resultobj = SWIG_Py_Void();
26885 return resultobj;
26886 fail:
26887 return NULL;
26888 }
26889
26890
26891 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26892 PyObject *resultobj = 0;
26893 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26894 bool arg2 ;
26895 void *argp1 = 0 ;
26896 int res1 = 0 ;
26897 bool val2 ;
26898 int ecode2 = 0 ;
26899 PyObject * obj0 = 0 ;
26900 PyObject * obj1 = 0 ;
26901 char * kwnames[] = {
26902 (char *) "self",(char *) "flag", NULL
26903 };
26904
26905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26907 if (!SWIG_IsOK(res1)) {
26908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26909 }
26910 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26911 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26912 if (!SWIG_IsOK(ecode2)) {
26913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26914 }
26915 arg2 = static_cast< bool >(val2);
26916 {
26917 PyThreadState* __tstate = wxPyBeginAllowThreads();
26918 (arg1)->EnableSelection(arg2);
26919 wxPyEndAllowThreads(__tstate);
26920 if (PyErr_Occurred()) SWIG_fail;
26921 }
26922 resultobj = SWIG_Py_Void();
26923 return resultobj;
26924 fail:
26925 return NULL;
26926 }
26927
26928
26929 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26930 PyObject *resultobj = 0;
26931 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26932 bool arg2 ;
26933 void *argp1 = 0 ;
26934 int res1 = 0 ;
26935 bool val2 ;
26936 int ecode2 = 0 ;
26937 PyObject * obj0 = 0 ;
26938 PyObject * obj1 = 0 ;
26939 char * kwnames[] = {
26940 (char *) "self",(char *) "flag", NULL
26941 };
26942
26943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26945 if (!SWIG_IsOK(res1)) {
26946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26947 }
26948 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26949 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26950 if (!SWIG_IsOK(ecode2)) {
26951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26952 }
26953 arg2 = static_cast< bool >(val2);
26954 {
26955 PyThreadState* __tstate = wxPyBeginAllowThreads();
26956 (arg1)->EnablePageNumbers(arg2);
26957 wxPyEndAllowThreads(__tstate);
26958 if (PyErr_Occurred()) SWIG_fail;
26959 }
26960 resultobj = SWIG_Py_Void();
26961 return resultobj;
26962 fail:
26963 return NULL;
26964 }
26965
26966
26967 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26968 PyObject *resultobj = 0;
26969 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26970 bool arg2 ;
26971 void *argp1 = 0 ;
26972 int res1 = 0 ;
26973 bool val2 ;
26974 int ecode2 = 0 ;
26975 PyObject * obj0 = 0 ;
26976 PyObject * obj1 = 0 ;
26977 char * kwnames[] = {
26978 (char *) "self",(char *) "flag", NULL
26979 };
26980
26981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26983 if (!SWIG_IsOK(res1)) {
26984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26985 }
26986 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26987 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26988 if (!SWIG_IsOK(ecode2)) {
26989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26990 }
26991 arg2 = static_cast< bool >(val2);
26992 {
26993 PyThreadState* __tstate = wxPyBeginAllowThreads();
26994 (arg1)->EnableHelp(arg2);
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 resultobj = SWIG_Py_Void();
26999 return resultobj;
27000 fail:
27001 return NULL;
27002 }
27003
27004
27005 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27006 PyObject *resultobj = 0;
27007 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27008 bool result;
27009 void *argp1 = 0 ;
27010 int res1 = 0 ;
27011 PyObject *swig_obj[1] ;
27012
27013 if (!args) SWIG_fail;
27014 swig_obj[0] = args;
27015 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27016 if (!SWIG_IsOK(res1)) {
27017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27018 }
27019 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27020 {
27021 PyThreadState* __tstate = wxPyBeginAllowThreads();
27022 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27023 wxPyEndAllowThreads(__tstate);
27024 if (PyErr_Occurred()) SWIG_fail;
27025 }
27026 {
27027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27028 }
27029 return resultobj;
27030 fail:
27031 return NULL;
27032 }
27033
27034
27035 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27036 PyObject *resultobj = 0;
27037 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27038 bool result;
27039 void *argp1 = 0 ;
27040 int res1 = 0 ;
27041 PyObject *swig_obj[1] ;
27042
27043 if (!args) SWIG_fail;
27044 swig_obj[0] = args;
27045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27046 if (!SWIG_IsOK(res1)) {
27047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27048 }
27049 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27050 {
27051 PyThreadState* __tstate = wxPyBeginAllowThreads();
27052 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27053 wxPyEndAllowThreads(__tstate);
27054 if (PyErr_Occurred()) SWIG_fail;
27055 }
27056 {
27057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27058 }
27059 return resultobj;
27060 fail:
27061 return NULL;
27062 }
27063
27064
27065 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27066 PyObject *resultobj = 0;
27067 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27068 bool result;
27069 void *argp1 = 0 ;
27070 int res1 = 0 ;
27071 PyObject *swig_obj[1] ;
27072
27073 if (!args) SWIG_fail;
27074 swig_obj[0] = args;
27075 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27076 if (!SWIG_IsOK(res1)) {
27077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27078 }
27079 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27080 {
27081 PyThreadState* __tstate = wxPyBeginAllowThreads();
27082 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27083 wxPyEndAllowThreads(__tstate);
27084 if (PyErr_Occurred()) SWIG_fail;
27085 }
27086 {
27087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27088 }
27089 return resultobj;
27090 fail:
27091 return NULL;
27092 }
27093
27094
27095 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27096 PyObject *resultobj = 0;
27097 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27098 bool result;
27099 void *argp1 = 0 ;
27100 int res1 = 0 ;
27101 PyObject *swig_obj[1] ;
27102
27103 if (!args) SWIG_fail;
27104 swig_obj[0] = args;
27105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27106 if (!SWIG_IsOK(res1)) {
27107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27108 }
27109 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27110 {
27111 PyThreadState* __tstate = wxPyBeginAllowThreads();
27112 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27113 wxPyEndAllowThreads(__tstate);
27114 if (PyErr_Occurred()) SWIG_fail;
27115 }
27116 {
27117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27118 }
27119 return resultobj;
27120 fail:
27121 return NULL;
27122 }
27123
27124
27125 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27126 PyObject *resultobj = 0;
27127 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27128 bool result;
27129 void *argp1 = 0 ;
27130 int res1 = 0 ;
27131 PyObject *swig_obj[1] ;
27132
27133 if (!args) SWIG_fail;
27134 swig_obj[0] = args;
27135 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27136 if (!SWIG_IsOK(res1)) {
27137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27138 }
27139 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27140 {
27141 PyThreadState* __tstate = wxPyBeginAllowThreads();
27142 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27143 wxPyEndAllowThreads(__tstate);
27144 if (PyErr_Occurred()) SWIG_fail;
27145 }
27146 {
27147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27148 }
27149 return resultobj;
27150 fail:
27151 return NULL;
27152 }
27153
27154
27155 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27156 PyObject *resultobj = 0;
27157 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27158 wxPrintData *result = 0 ;
27159 void *argp1 = 0 ;
27160 int res1 = 0 ;
27161 PyObject *swig_obj[1] ;
27162
27163 if (!args) SWIG_fail;
27164 swig_obj[0] = args;
27165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27166 if (!SWIG_IsOK(res1)) {
27167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27168 }
27169 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27170 {
27171 PyThreadState* __tstate = wxPyBeginAllowThreads();
27172 {
27173 wxPrintData &_result_ref = (arg1)->GetPrintData();
27174 result = (wxPrintData *) &_result_ref;
27175 }
27176 wxPyEndAllowThreads(__tstate);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 }
27179 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27180 return resultobj;
27181 fail:
27182 return NULL;
27183 }
27184
27185
27186 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27187 PyObject *resultobj = 0;
27188 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27189 wxPrintData *arg2 = 0 ;
27190 void *argp1 = 0 ;
27191 int res1 = 0 ;
27192 void *argp2 = 0 ;
27193 int res2 = 0 ;
27194 PyObject * obj0 = 0 ;
27195 PyObject * obj1 = 0 ;
27196 char * kwnames[] = {
27197 (char *) "self",(char *) "printData", NULL
27198 };
27199
27200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27202 if (!SWIG_IsOK(res1)) {
27203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27204 }
27205 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27206 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27207 if (!SWIG_IsOK(res2)) {
27208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27209 }
27210 if (!argp2) {
27211 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27212 }
27213 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27214 {
27215 PyThreadState* __tstate = wxPyBeginAllowThreads();
27216 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27217 wxPyEndAllowThreads(__tstate);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 }
27220 resultobj = SWIG_Py_Void();
27221 return resultobj;
27222 fail:
27223 return NULL;
27224 }
27225
27226
27227 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27228 PyObject *obj;
27229 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27230 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27231 return SWIG_Py_Void();
27232 }
27233
27234 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27235 return SWIG_Python_InitShadowInstance(args);
27236 }
27237
27238 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27239 PyObject *resultobj = 0;
27240 wxWindow *arg1 = (wxWindow *) 0 ;
27241 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27242 wxPrintDialog *result = 0 ;
27243 void *argp1 = 0 ;
27244 int res1 = 0 ;
27245 void *argp2 = 0 ;
27246 int res2 = 0 ;
27247 PyObject * obj0 = 0 ;
27248 PyObject * obj1 = 0 ;
27249 char * kwnames[] = {
27250 (char *) "parent",(char *) "data", NULL
27251 };
27252
27253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27255 if (!SWIG_IsOK(res1)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27257 }
27258 arg1 = reinterpret_cast< wxWindow * >(argp1);
27259 if (obj1) {
27260 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27261 if (!SWIG_IsOK(res2)) {
27262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27263 }
27264 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27265 }
27266 {
27267 if (!wxPyCheckForApp()) SWIG_fail;
27268 PyThreadState* __tstate = wxPyBeginAllowThreads();
27269 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27270 wxPyEndAllowThreads(__tstate);
27271 if (PyErr_Occurred()) SWIG_fail;
27272 }
27273 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27274 return resultobj;
27275 fail:
27276 return NULL;
27277 }
27278
27279
27280 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27281 PyObject *resultobj = 0;
27282 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27283 void *argp1 = 0 ;
27284 int res1 = 0 ;
27285 PyObject *swig_obj[1] ;
27286
27287 if (!args) SWIG_fail;
27288 swig_obj[0] = args;
27289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27290 if (!SWIG_IsOK(res1)) {
27291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27292 }
27293 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27294 {
27295 PyThreadState* __tstate = wxPyBeginAllowThreads();
27296 delete arg1;
27297
27298 wxPyEndAllowThreads(__tstate);
27299 if (PyErr_Occurred()) SWIG_fail;
27300 }
27301 resultobj = SWIG_Py_Void();
27302 return resultobj;
27303 fail:
27304 return NULL;
27305 }
27306
27307
27308 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27309 PyObject *resultobj = 0;
27310 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27311 int result;
27312 void *argp1 = 0 ;
27313 int res1 = 0 ;
27314 PyObject *swig_obj[1] ;
27315
27316 if (!args) SWIG_fail;
27317 swig_obj[0] = args;
27318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27319 if (!SWIG_IsOK(res1)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27321 }
27322 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27323 {
27324 PyThreadState* __tstate = wxPyBeginAllowThreads();
27325 result = (int)(arg1)->ShowModal();
27326 wxPyEndAllowThreads(__tstate);
27327 if (PyErr_Occurred()) SWIG_fail;
27328 }
27329 resultobj = SWIG_From_int(static_cast< int >(result));
27330 return resultobj;
27331 fail:
27332 return NULL;
27333 }
27334
27335
27336 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27337 PyObject *resultobj = 0;
27338 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27339 wxPrintDialogData *result = 0 ;
27340 void *argp1 = 0 ;
27341 int res1 = 0 ;
27342 PyObject *swig_obj[1] ;
27343
27344 if (!args) SWIG_fail;
27345 swig_obj[0] = args;
27346 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27347 if (!SWIG_IsOK(res1)) {
27348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27349 }
27350 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27351 {
27352 PyThreadState* __tstate = wxPyBeginAllowThreads();
27353 {
27354 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27355 result = (wxPrintDialogData *) &_result_ref;
27356 }
27357 wxPyEndAllowThreads(__tstate);
27358 if (PyErr_Occurred()) SWIG_fail;
27359 }
27360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27361 return resultobj;
27362 fail:
27363 return NULL;
27364 }
27365
27366
27367 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27368 PyObject *resultobj = 0;
27369 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27370 wxPrintData *result = 0 ;
27371 void *argp1 = 0 ;
27372 int res1 = 0 ;
27373 PyObject *swig_obj[1] ;
27374
27375 if (!args) SWIG_fail;
27376 swig_obj[0] = args;
27377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27378 if (!SWIG_IsOK(res1)) {
27379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27380 }
27381 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27382 {
27383 PyThreadState* __tstate = wxPyBeginAllowThreads();
27384 {
27385 wxPrintData &_result_ref = (arg1)->GetPrintData();
27386 result = (wxPrintData *) &_result_ref;
27387 }
27388 wxPyEndAllowThreads(__tstate);
27389 if (PyErr_Occurred()) SWIG_fail;
27390 }
27391 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27392 return resultobj;
27393 fail:
27394 return NULL;
27395 }
27396
27397
27398 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27399 PyObject *resultobj = 0;
27400 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27401 wxDC *result = 0 ;
27402 void *argp1 = 0 ;
27403 int res1 = 0 ;
27404 PyObject *swig_obj[1] ;
27405
27406 if (!args) SWIG_fail;
27407 swig_obj[0] = args;
27408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27409 if (!SWIG_IsOK(res1)) {
27410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27411 }
27412 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27413 {
27414 PyThreadState* __tstate = wxPyBeginAllowThreads();
27415 result = (wxDC *)(arg1)->GetPrintDC();
27416 wxPyEndAllowThreads(__tstate);
27417 if (PyErr_Occurred()) SWIG_fail;
27418 }
27419 {
27420 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27421 }
27422 return resultobj;
27423 fail:
27424 return NULL;
27425 }
27426
27427
27428 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27429 PyObject *obj;
27430 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27431 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27432 return SWIG_Py_Void();
27433 }
27434
27435 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27436 return SWIG_Python_InitShadowInstance(args);
27437 }
27438
27439 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27440 PyObject *resultobj = 0;
27441 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27442 wxPrinter *result = 0 ;
27443 void *argp1 = 0 ;
27444 int res1 = 0 ;
27445 PyObject * obj0 = 0 ;
27446 char * kwnames[] = {
27447 (char *) "data", NULL
27448 };
27449
27450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27451 if (obj0) {
27452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27453 if (!SWIG_IsOK(res1)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27455 }
27456 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27457 }
27458 {
27459 if (!wxPyCheckForApp()) SWIG_fail;
27460 PyThreadState* __tstate = wxPyBeginAllowThreads();
27461 result = (wxPrinter *)new wxPrinter(arg1);
27462 wxPyEndAllowThreads(__tstate);
27463 if (PyErr_Occurred()) SWIG_fail;
27464 }
27465 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27466 return resultobj;
27467 fail:
27468 return NULL;
27469 }
27470
27471
27472 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27473 PyObject *resultobj = 0;
27474 wxPrinter *arg1 = (wxPrinter *) 0 ;
27475 void *argp1 = 0 ;
27476 int res1 = 0 ;
27477 PyObject *swig_obj[1] ;
27478
27479 if (!args) SWIG_fail;
27480 swig_obj[0] = args;
27481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27482 if (!SWIG_IsOK(res1)) {
27483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27484 }
27485 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27486 {
27487 PyThreadState* __tstate = wxPyBeginAllowThreads();
27488 delete arg1;
27489
27490 wxPyEndAllowThreads(__tstate);
27491 if (PyErr_Occurred()) SWIG_fail;
27492 }
27493 resultobj = SWIG_Py_Void();
27494 return resultobj;
27495 fail:
27496 return NULL;
27497 }
27498
27499
27500 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27501 PyObject *resultobj = 0;
27502 wxPrinter *arg1 = (wxPrinter *) 0 ;
27503 wxWindow *arg2 = (wxWindow *) 0 ;
27504 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27505 wxWindow *result = 0 ;
27506 void *argp1 = 0 ;
27507 int res1 = 0 ;
27508 void *argp2 = 0 ;
27509 int res2 = 0 ;
27510 void *argp3 = 0 ;
27511 int res3 = 0 ;
27512 PyObject * obj0 = 0 ;
27513 PyObject * obj1 = 0 ;
27514 PyObject * obj2 = 0 ;
27515 char * kwnames[] = {
27516 (char *) "self",(char *) "parent",(char *) "printout", NULL
27517 };
27518
27519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27521 if (!SWIG_IsOK(res1)) {
27522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27523 }
27524 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27525 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27526 if (!SWIG_IsOK(res2)) {
27527 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27528 }
27529 arg2 = reinterpret_cast< wxWindow * >(argp2);
27530 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27531 if (!SWIG_IsOK(res3)) {
27532 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27533 }
27534 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27535 {
27536 PyThreadState* __tstate = wxPyBeginAllowThreads();
27537 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27538 wxPyEndAllowThreads(__tstate);
27539 if (PyErr_Occurred()) SWIG_fail;
27540 }
27541 {
27542 resultobj = wxPyMake_wxObject(result, 0);
27543 }
27544 return resultobj;
27545 fail:
27546 return NULL;
27547 }
27548
27549
27550 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27551 PyObject *resultobj = 0;
27552 wxPrinter *arg1 = (wxPrinter *) 0 ;
27553 wxWindow *arg2 = (wxWindow *) 0 ;
27554 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27555 wxString *arg4 = 0 ;
27556 void *argp1 = 0 ;
27557 int res1 = 0 ;
27558 void *argp2 = 0 ;
27559 int res2 = 0 ;
27560 void *argp3 = 0 ;
27561 int res3 = 0 ;
27562 bool temp4 = false ;
27563 PyObject * obj0 = 0 ;
27564 PyObject * obj1 = 0 ;
27565 PyObject * obj2 = 0 ;
27566 PyObject * obj3 = 0 ;
27567 char * kwnames[] = {
27568 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27569 };
27570
27571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27573 if (!SWIG_IsOK(res1)) {
27574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27575 }
27576 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27577 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27578 if (!SWIG_IsOK(res2)) {
27579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27580 }
27581 arg2 = reinterpret_cast< wxWindow * >(argp2);
27582 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27583 if (!SWIG_IsOK(res3)) {
27584 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27585 }
27586 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27587 {
27588 arg4 = wxString_in_helper(obj3);
27589 if (arg4 == NULL) SWIG_fail;
27590 temp4 = true;
27591 }
27592 {
27593 PyThreadState* __tstate = wxPyBeginAllowThreads();
27594 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27595 wxPyEndAllowThreads(__tstate);
27596 if (PyErr_Occurred()) SWIG_fail;
27597 }
27598 resultobj = SWIG_Py_Void();
27599 {
27600 if (temp4)
27601 delete arg4;
27602 }
27603 return resultobj;
27604 fail:
27605 {
27606 if (temp4)
27607 delete arg4;
27608 }
27609 return NULL;
27610 }
27611
27612
27613 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27614 PyObject *resultobj = 0;
27615 wxPrinter *arg1 = (wxPrinter *) 0 ;
27616 wxWindow *arg2 = (wxWindow *) 0 ;
27617 bool result;
27618 void *argp1 = 0 ;
27619 int res1 = 0 ;
27620 void *argp2 = 0 ;
27621 int res2 = 0 ;
27622 PyObject * obj0 = 0 ;
27623 PyObject * obj1 = 0 ;
27624 char * kwnames[] = {
27625 (char *) "self",(char *) "parent", NULL
27626 };
27627
27628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27630 if (!SWIG_IsOK(res1)) {
27631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27632 }
27633 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27634 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27635 if (!SWIG_IsOK(res2)) {
27636 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27637 }
27638 arg2 = reinterpret_cast< wxWindow * >(argp2);
27639 {
27640 PyThreadState* __tstate = wxPyBeginAllowThreads();
27641 result = (bool)(arg1)->Setup(arg2);
27642 wxPyEndAllowThreads(__tstate);
27643 if (PyErr_Occurred()) SWIG_fail;
27644 }
27645 {
27646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27647 }
27648 return resultobj;
27649 fail:
27650 return NULL;
27651 }
27652
27653
27654 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27655 PyObject *resultobj = 0;
27656 wxPrinter *arg1 = (wxPrinter *) 0 ;
27657 wxWindow *arg2 = (wxWindow *) 0 ;
27658 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27659 bool arg4 = (bool) true ;
27660 bool result;
27661 void *argp1 = 0 ;
27662 int res1 = 0 ;
27663 void *argp2 = 0 ;
27664 int res2 = 0 ;
27665 void *argp3 = 0 ;
27666 int res3 = 0 ;
27667 bool val4 ;
27668 int ecode4 = 0 ;
27669 PyObject * obj0 = 0 ;
27670 PyObject * obj1 = 0 ;
27671 PyObject * obj2 = 0 ;
27672 PyObject * obj3 = 0 ;
27673 char * kwnames[] = {
27674 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27675 };
27676
27677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27679 if (!SWIG_IsOK(res1)) {
27680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27681 }
27682 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27683 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27684 if (!SWIG_IsOK(res2)) {
27685 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27686 }
27687 arg2 = reinterpret_cast< wxWindow * >(argp2);
27688 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27689 if (!SWIG_IsOK(res3)) {
27690 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27691 }
27692 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27693 if (obj3) {
27694 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27695 if (!SWIG_IsOK(ecode4)) {
27696 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27697 }
27698 arg4 = static_cast< bool >(val4);
27699 }
27700 {
27701 PyThreadState* __tstate = wxPyBeginAllowThreads();
27702 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27703 wxPyEndAllowThreads(__tstate);
27704 if (PyErr_Occurred()) SWIG_fail;
27705 }
27706 {
27707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27708 }
27709 return resultobj;
27710 fail:
27711 return NULL;
27712 }
27713
27714
27715 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27716 PyObject *resultobj = 0;
27717 wxPrinter *arg1 = (wxPrinter *) 0 ;
27718 wxWindow *arg2 = (wxWindow *) 0 ;
27719 wxDC *result = 0 ;
27720 void *argp1 = 0 ;
27721 int res1 = 0 ;
27722 void *argp2 = 0 ;
27723 int res2 = 0 ;
27724 PyObject * obj0 = 0 ;
27725 PyObject * obj1 = 0 ;
27726 char * kwnames[] = {
27727 (char *) "self",(char *) "parent", NULL
27728 };
27729
27730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27732 if (!SWIG_IsOK(res1)) {
27733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27734 }
27735 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27736 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27737 if (!SWIG_IsOK(res2)) {
27738 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27739 }
27740 arg2 = reinterpret_cast< wxWindow * >(argp2);
27741 {
27742 PyThreadState* __tstate = wxPyBeginAllowThreads();
27743 result = (wxDC *)(arg1)->PrintDialog(arg2);
27744 wxPyEndAllowThreads(__tstate);
27745 if (PyErr_Occurred()) SWIG_fail;
27746 }
27747 {
27748 resultobj = wxPyMake_wxObject(result, (bool)0);
27749 }
27750 return resultobj;
27751 fail:
27752 return NULL;
27753 }
27754
27755
27756 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27757 PyObject *resultobj = 0;
27758 wxPrinter *arg1 = (wxPrinter *) 0 ;
27759 wxPrintDialogData *result = 0 ;
27760 void *argp1 = 0 ;
27761 int res1 = 0 ;
27762 PyObject *swig_obj[1] ;
27763
27764 if (!args) SWIG_fail;
27765 swig_obj[0] = args;
27766 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27767 if (!SWIG_IsOK(res1)) {
27768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27769 }
27770 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27771 {
27772 PyThreadState* __tstate = wxPyBeginAllowThreads();
27773 {
27774 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27775 result = (wxPrintDialogData *) &_result_ref;
27776 }
27777 wxPyEndAllowThreads(__tstate);
27778 if (PyErr_Occurred()) SWIG_fail;
27779 }
27780 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27781 return resultobj;
27782 fail:
27783 return NULL;
27784 }
27785
27786
27787 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27788 PyObject *resultobj = 0;
27789 wxPrinter *arg1 = (wxPrinter *) 0 ;
27790 bool result;
27791 void *argp1 = 0 ;
27792 int res1 = 0 ;
27793 PyObject *swig_obj[1] ;
27794
27795 if (!args) SWIG_fail;
27796 swig_obj[0] = args;
27797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27798 if (!SWIG_IsOK(res1)) {
27799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27800 }
27801 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27802 {
27803 PyThreadState* __tstate = wxPyBeginAllowThreads();
27804 result = (bool)(arg1)->GetAbort();
27805 wxPyEndAllowThreads(__tstate);
27806 if (PyErr_Occurred()) SWIG_fail;
27807 }
27808 {
27809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27810 }
27811 return resultobj;
27812 fail:
27813 return NULL;
27814 }
27815
27816
27817 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27818 PyObject *resultobj = 0;
27819 wxPrinterError result;
27820
27821 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27822 {
27823 PyThreadState* __tstate = wxPyBeginAllowThreads();
27824 result = (wxPrinterError)wxPrinter::GetLastError();
27825 wxPyEndAllowThreads(__tstate);
27826 if (PyErr_Occurred()) SWIG_fail;
27827 }
27828 resultobj = SWIG_From_int(static_cast< int >(result));
27829 return resultobj;
27830 fail:
27831 return NULL;
27832 }
27833
27834
27835 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27836 PyObject *obj;
27837 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27838 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27839 return SWIG_Py_Void();
27840 }
27841
27842 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27843 return SWIG_Python_InitShadowInstance(args);
27844 }
27845
27846 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27847 PyObject *resultobj = 0;
27848 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27849 wxString *arg1 = (wxString *) &arg1_defvalue ;
27850 wxPyPrintout *result = 0 ;
27851 bool temp1 = false ;
27852 PyObject * obj0 = 0 ;
27853 char * kwnames[] = {
27854 (char *) "title", NULL
27855 };
27856
27857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27858 if (obj0) {
27859 {
27860 arg1 = wxString_in_helper(obj0);
27861 if (arg1 == NULL) SWIG_fail;
27862 temp1 = true;
27863 }
27864 }
27865 {
27866 if (!wxPyCheckForApp()) SWIG_fail;
27867 PyThreadState* __tstate = wxPyBeginAllowThreads();
27868 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27869 wxPyEndAllowThreads(__tstate);
27870 if (PyErr_Occurred()) SWIG_fail;
27871 }
27872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27873 {
27874 if (temp1)
27875 delete arg1;
27876 }
27877 return resultobj;
27878 fail:
27879 {
27880 if (temp1)
27881 delete arg1;
27882 }
27883 return NULL;
27884 }
27885
27886
27887 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27888 PyObject *resultobj = 0;
27889 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27890 void *argp1 = 0 ;
27891 int res1 = 0 ;
27892 PyObject *swig_obj[1] ;
27893
27894 if (!args) SWIG_fail;
27895 swig_obj[0] = args;
27896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27897 if (!SWIG_IsOK(res1)) {
27898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27899 }
27900 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27901 {
27902 PyThreadState* __tstate = wxPyBeginAllowThreads();
27903 delete arg1;
27904
27905 wxPyEndAllowThreads(__tstate);
27906 if (PyErr_Occurred()) SWIG_fail;
27907 }
27908 resultobj = SWIG_Py_Void();
27909 return resultobj;
27910 fail:
27911 return NULL;
27912 }
27913
27914
27915 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27916 PyObject *resultobj = 0;
27917 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27918 PyObject *arg2 = (PyObject *) 0 ;
27919 PyObject *arg3 = (PyObject *) 0 ;
27920 void *argp1 = 0 ;
27921 int res1 = 0 ;
27922 PyObject * obj0 = 0 ;
27923 PyObject * obj1 = 0 ;
27924 PyObject * obj2 = 0 ;
27925 char * kwnames[] = {
27926 (char *) "self",(char *) "self",(char *) "_class", NULL
27927 };
27928
27929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27931 if (!SWIG_IsOK(res1)) {
27932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27933 }
27934 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27935 arg2 = obj1;
27936 arg3 = obj2;
27937 {
27938 PyThreadState* __tstate = wxPyBeginAllowThreads();
27939 (arg1)->_setCallbackInfo(arg2,arg3);
27940 wxPyEndAllowThreads(__tstate);
27941 if (PyErr_Occurred()) SWIG_fail;
27942 }
27943 resultobj = SWIG_Py_Void();
27944 return resultobj;
27945 fail:
27946 return NULL;
27947 }
27948
27949
27950 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27951 PyObject *resultobj = 0;
27952 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27953 wxString result;
27954 void *argp1 = 0 ;
27955 int res1 = 0 ;
27956 PyObject *swig_obj[1] ;
27957
27958 if (!args) SWIG_fail;
27959 swig_obj[0] = args;
27960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27961 if (!SWIG_IsOK(res1)) {
27962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27963 }
27964 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27965 {
27966 PyThreadState* __tstate = wxPyBeginAllowThreads();
27967 result = ((wxPyPrintout const *)arg1)->GetTitle();
27968 wxPyEndAllowThreads(__tstate);
27969 if (PyErr_Occurred()) SWIG_fail;
27970 }
27971 {
27972 #if wxUSE_UNICODE
27973 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27974 #else
27975 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27976 #endif
27977 }
27978 return resultobj;
27979 fail:
27980 return NULL;
27981 }
27982
27983
27984 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27985 PyObject *resultobj = 0;
27986 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27987 wxDC *result = 0 ;
27988 void *argp1 = 0 ;
27989 int res1 = 0 ;
27990 PyObject *swig_obj[1] ;
27991
27992 if (!args) SWIG_fail;
27993 swig_obj[0] = args;
27994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27995 if (!SWIG_IsOK(res1)) {
27996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27997 }
27998 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27999 {
28000 PyThreadState* __tstate = wxPyBeginAllowThreads();
28001 result = (wxDC *)(arg1)->GetDC();
28002 wxPyEndAllowThreads(__tstate);
28003 if (PyErr_Occurred()) SWIG_fail;
28004 }
28005 {
28006 resultobj = wxPyMake_wxObject(result, (bool)0);
28007 }
28008 return resultobj;
28009 fail:
28010 return NULL;
28011 }
28012
28013
28014 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28015 PyObject *resultobj = 0;
28016 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28017 wxDC *arg2 = (wxDC *) 0 ;
28018 void *argp1 = 0 ;
28019 int res1 = 0 ;
28020 void *argp2 = 0 ;
28021 int res2 = 0 ;
28022 PyObject * obj0 = 0 ;
28023 PyObject * obj1 = 0 ;
28024 char * kwnames[] = {
28025 (char *) "self",(char *) "dc", NULL
28026 };
28027
28028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28030 if (!SWIG_IsOK(res1)) {
28031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28032 }
28033 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28034 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28035 if (!SWIG_IsOK(res2)) {
28036 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28037 }
28038 arg2 = reinterpret_cast< wxDC * >(argp2);
28039 {
28040 PyThreadState* __tstate = wxPyBeginAllowThreads();
28041 (arg1)->SetDC(arg2);
28042 wxPyEndAllowThreads(__tstate);
28043 if (PyErr_Occurred()) SWIG_fail;
28044 }
28045 resultobj = SWIG_Py_Void();
28046 return resultobj;
28047 fail:
28048 return NULL;
28049 }
28050
28051
28052 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28053 PyObject *resultobj = 0;
28054 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28055 int arg2 ;
28056 int arg3 ;
28057 void *argp1 = 0 ;
28058 int res1 = 0 ;
28059 int val2 ;
28060 int ecode2 = 0 ;
28061 int val3 ;
28062 int ecode3 = 0 ;
28063 PyObject * obj0 = 0 ;
28064 PyObject * obj1 = 0 ;
28065 PyObject * obj2 = 0 ;
28066 char * kwnames[] = {
28067 (char *) "self",(char *) "w",(char *) "h", NULL
28068 };
28069
28070 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28071 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28072 if (!SWIG_IsOK(res1)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28074 }
28075 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28076 ecode2 = SWIG_AsVal_int(obj1, &val2);
28077 if (!SWIG_IsOK(ecode2)) {
28078 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28079 }
28080 arg2 = static_cast< int >(val2);
28081 ecode3 = SWIG_AsVal_int(obj2, &val3);
28082 if (!SWIG_IsOK(ecode3)) {
28083 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28084 }
28085 arg3 = static_cast< int >(val3);
28086 {
28087 PyThreadState* __tstate = wxPyBeginAllowThreads();
28088 (arg1)->SetPageSizePixels(arg2,arg3);
28089 wxPyEndAllowThreads(__tstate);
28090 if (PyErr_Occurred()) SWIG_fail;
28091 }
28092 resultobj = SWIG_Py_Void();
28093 return resultobj;
28094 fail:
28095 return NULL;
28096 }
28097
28098
28099 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28100 PyObject *resultobj = 0;
28101 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28102 int *arg2 = (int *) 0 ;
28103 int *arg3 = (int *) 0 ;
28104 void *argp1 = 0 ;
28105 int res1 = 0 ;
28106 int temp2 ;
28107 int res2 = SWIG_TMPOBJ ;
28108 int temp3 ;
28109 int res3 = SWIG_TMPOBJ ;
28110 PyObject *swig_obj[1] ;
28111
28112 arg2 = &temp2;
28113 arg3 = &temp3;
28114 if (!args) SWIG_fail;
28115 swig_obj[0] = args;
28116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28117 if (!SWIG_IsOK(res1)) {
28118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28119 }
28120 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28121 {
28122 PyThreadState* __tstate = wxPyBeginAllowThreads();
28123 (arg1)->GetPageSizePixels(arg2,arg3);
28124 wxPyEndAllowThreads(__tstate);
28125 if (PyErr_Occurred()) SWIG_fail;
28126 }
28127 resultobj = SWIG_Py_Void();
28128 if (SWIG_IsTmpObj(res2)) {
28129 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28130 } else {
28131 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28132 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28133 }
28134 if (SWIG_IsTmpObj(res3)) {
28135 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28136 } else {
28137 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28138 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28139 }
28140 return resultobj;
28141 fail:
28142 return NULL;
28143 }
28144
28145
28146 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28147 PyObject *resultobj = 0;
28148 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28149 int arg2 ;
28150 int arg3 ;
28151 void *argp1 = 0 ;
28152 int res1 = 0 ;
28153 int val2 ;
28154 int ecode2 = 0 ;
28155 int val3 ;
28156 int ecode3 = 0 ;
28157 PyObject * obj0 = 0 ;
28158 PyObject * obj1 = 0 ;
28159 PyObject * obj2 = 0 ;
28160 char * kwnames[] = {
28161 (char *) "self",(char *) "w",(char *) "h", NULL
28162 };
28163
28164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28166 if (!SWIG_IsOK(res1)) {
28167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28168 }
28169 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28170 ecode2 = SWIG_AsVal_int(obj1, &val2);
28171 if (!SWIG_IsOK(ecode2)) {
28172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28173 }
28174 arg2 = static_cast< int >(val2);
28175 ecode3 = SWIG_AsVal_int(obj2, &val3);
28176 if (!SWIG_IsOK(ecode3)) {
28177 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28178 }
28179 arg3 = static_cast< int >(val3);
28180 {
28181 PyThreadState* __tstate = wxPyBeginAllowThreads();
28182 (arg1)->SetPageSizeMM(arg2,arg3);
28183 wxPyEndAllowThreads(__tstate);
28184 if (PyErr_Occurred()) SWIG_fail;
28185 }
28186 resultobj = SWIG_Py_Void();
28187 return resultobj;
28188 fail:
28189 return NULL;
28190 }
28191
28192
28193 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28194 PyObject *resultobj = 0;
28195 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28196 int *arg2 = (int *) 0 ;
28197 int *arg3 = (int *) 0 ;
28198 void *argp1 = 0 ;
28199 int res1 = 0 ;
28200 int temp2 ;
28201 int res2 = SWIG_TMPOBJ ;
28202 int temp3 ;
28203 int res3 = SWIG_TMPOBJ ;
28204 PyObject *swig_obj[1] ;
28205
28206 arg2 = &temp2;
28207 arg3 = &temp3;
28208 if (!args) SWIG_fail;
28209 swig_obj[0] = args;
28210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28211 if (!SWIG_IsOK(res1)) {
28212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28213 }
28214 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28215 {
28216 PyThreadState* __tstate = wxPyBeginAllowThreads();
28217 (arg1)->GetPageSizeMM(arg2,arg3);
28218 wxPyEndAllowThreads(__tstate);
28219 if (PyErr_Occurred()) SWIG_fail;
28220 }
28221 resultobj = SWIG_Py_Void();
28222 if (SWIG_IsTmpObj(res2)) {
28223 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28224 } else {
28225 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28226 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28227 }
28228 if (SWIG_IsTmpObj(res3)) {
28229 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28230 } else {
28231 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28232 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28233 }
28234 return resultobj;
28235 fail:
28236 return NULL;
28237 }
28238
28239
28240 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28241 PyObject *resultobj = 0;
28242 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28243 int arg2 ;
28244 int arg3 ;
28245 void *argp1 = 0 ;
28246 int res1 = 0 ;
28247 int val2 ;
28248 int ecode2 = 0 ;
28249 int val3 ;
28250 int ecode3 = 0 ;
28251 PyObject * obj0 = 0 ;
28252 PyObject * obj1 = 0 ;
28253 PyObject * obj2 = 0 ;
28254 char * kwnames[] = {
28255 (char *) "self",(char *) "x",(char *) "y", NULL
28256 };
28257
28258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28260 if (!SWIG_IsOK(res1)) {
28261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28262 }
28263 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28264 ecode2 = SWIG_AsVal_int(obj1, &val2);
28265 if (!SWIG_IsOK(ecode2)) {
28266 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28267 }
28268 arg2 = static_cast< int >(val2);
28269 ecode3 = SWIG_AsVal_int(obj2, &val3);
28270 if (!SWIG_IsOK(ecode3)) {
28271 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28272 }
28273 arg3 = static_cast< int >(val3);
28274 {
28275 PyThreadState* __tstate = wxPyBeginAllowThreads();
28276 (arg1)->SetPPIScreen(arg2,arg3);
28277 wxPyEndAllowThreads(__tstate);
28278 if (PyErr_Occurred()) SWIG_fail;
28279 }
28280 resultobj = SWIG_Py_Void();
28281 return resultobj;
28282 fail:
28283 return NULL;
28284 }
28285
28286
28287 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28288 PyObject *resultobj = 0;
28289 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28290 int *arg2 = (int *) 0 ;
28291 int *arg3 = (int *) 0 ;
28292 void *argp1 = 0 ;
28293 int res1 = 0 ;
28294 int temp2 ;
28295 int res2 = SWIG_TMPOBJ ;
28296 int temp3 ;
28297 int res3 = SWIG_TMPOBJ ;
28298 PyObject *swig_obj[1] ;
28299
28300 arg2 = &temp2;
28301 arg3 = &temp3;
28302 if (!args) SWIG_fail;
28303 swig_obj[0] = args;
28304 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28305 if (!SWIG_IsOK(res1)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28307 }
28308 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28309 {
28310 PyThreadState* __tstate = wxPyBeginAllowThreads();
28311 (arg1)->GetPPIScreen(arg2,arg3);
28312 wxPyEndAllowThreads(__tstate);
28313 if (PyErr_Occurred()) SWIG_fail;
28314 }
28315 resultobj = SWIG_Py_Void();
28316 if (SWIG_IsTmpObj(res2)) {
28317 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28318 } else {
28319 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28320 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28321 }
28322 if (SWIG_IsTmpObj(res3)) {
28323 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28324 } else {
28325 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28326 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28327 }
28328 return resultobj;
28329 fail:
28330 return NULL;
28331 }
28332
28333
28334 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28335 PyObject *resultobj = 0;
28336 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28337 int arg2 ;
28338 int arg3 ;
28339 void *argp1 = 0 ;
28340 int res1 = 0 ;
28341 int val2 ;
28342 int ecode2 = 0 ;
28343 int val3 ;
28344 int ecode3 = 0 ;
28345 PyObject * obj0 = 0 ;
28346 PyObject * obj1 = 0 ;
28347 PyObject * obj2 = 0 ;
28348 char * kwnames[] = {
28349 (char *) "self",(char *) "x",(char *) "y", NULL
28350 };
28351
28352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28354 if (!SWIG_IsOK(res1)) {
28355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28356 }
28357 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28358 ecode2 = SWIG_AsVal_int(obj1, &val2);
28359 if (!SWIG_IsOK(ecode2)) {
28360 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28361 }
28362 arg2 = static_cast< int >(val2);
28363 ecode3 = SWIG_AsVal_int(obj2, &val3);
28364 if (!SWIG_IsOK(ecode3)) {
28365 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28366 }
28367 arg3 = static_cast< int >(val3);
28368 {
28369 PyThreadState* __tstate = wxPyBeginAllowThreads();
28370 (arg1)->SetPPIPrinter(arg2,arg3);
28371 wxPyEndAllowThreads(__tstate);
28372 if (PyErr_Occurred()) SWIG_fail;
28373 }
28374 resultobj = SWIG_Py_Void();
28375 return resultobj;
28376 fail:
28377 return NULL;
28378 }
28379
28380
28381 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28382 PyObject *resultobj = 0;
28383 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28384 int *arg2 = (int *) 0 ;
28385 int *arg3 = (int *) 0 ;
28386 void *argp1 = 0 ;
28387 int res1 = 0 ;
28388 int temp2 ;
28389 int res2 = SWIG_TMPOBJ ;
28390 int temp3 ;
28391 int res3 = SWIG_TMPOBJ ;
28392 PyObject *swig_obj[1] ;
28393
28394 arg2 = &temp2;
28395 arg3 = &temp3;
28396 if (!args) SWIG_fail;
28397 swig_obj[0] = args;
28398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28399 if (!SWIG_IsOK(res1)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28401 }
28402 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28403 {
28404 PyThreadState* __tstate = wxPyBeginAllowThreads();
28405 (arg1)->GetPPIPrinter(arg2,arg3);
28406 wxPyEndAllowThreads(__tstate);
28407 if (PyErr_Occurred()) SWIG_fail;
28408 }
28409 resultobj = SWIG_Py_Void();
28410 if (SWIG_IsTmpObj(res2)) {
28411 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28412 } else {
28413 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28414 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28415 }
28416 if (SWIG_IsTmpObj(res3)) {
28417 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28418 } else {
28419 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28420 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28421 }
28422 return resultobj;
28423 fail:
28424 return NULL;
28425 }
28426
28427
28428 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28429 PyObject *resultobj = 0;
28430 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28431 bool result;
28432 void *argp1 = 0 ;
28433 int res1 = 0 ;
28434 PyObject *swig_obj[1] ;
28435
28436 if (!args) SWIG_fail;
28437 swig_obj[0] = args;
28438 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28439 if (!SWIG_IsOK(res1)) {
28440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28441 }
28442 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28443 {
28444 PyThreadState* __tstate = wxPyBeginAllowThreads();
28445 result = (bool)(arg1)->IsPreview();
28446 wxPyEndAllowThreads(__tstate);
28447 if (PyErr_Occurred()) SWIG_fail;
28448 }
28449 {
28450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28451 }
28452 return resultobj;
28453 fail:
28454 return NULL;
28455 }
28456
28457
28458 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28459 PyObject *resultobj = 0;
28460 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28461 bool arg2 ;
28462 void *argp1 = 0 ;
28463 int res1 = 0 ;
28464 bool val2 ;
28465 int ecode2 = 0 ;
28466 PyObject * obj0 = 0 ;
28467 PyObject * obj1 = 0 ;
28468 char * kwnames[] = {
28469 (char *) "self",(char *) "p", NULL
28470 };
28471
28472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28474 if (!SWIG_IsOK(res1)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28476 }
28477 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28478 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28479 if (!SWIG_IsOK(ecode2)) {
28480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28481 }
28482 arg2 = static_cast< bool >(val2);
28483 {
28484 PyThreadState* __tstate = wxPyBeginAllowThreads();
28485 (arg1)->SetIsPreview(arg2);
28486 wxPyEndAllowThreads(__tstate);
28487 if (PyErr_Occurred()) SWIG_fail;
28488 }
28489 resultobj = SWIG_Py_Void();
28490 return resultobj;
28491 fail:
28492 return NULL;
28493 }
28494
28495
28496 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28497 PyObject *resultobj = 0;
28498 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28499 int arg2 ;
28500 int arg3 ;
28501 bool result;
28502 void *argp1 = 0 ;
28503 int res1 = 0 ;
28504 int val2 ;
28505 int ecode2 = 0 ;
28506 int val3 ;
28507 int ecode3 = 0 ;
28508 PyObject * obj0 = 0 ;
28509 PyObject * obj1 = 0 ;
28510 PyObject * obj2 = 0 ;
28511 char * kwnames[] = {
28512 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28513 };
28514
28515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28517 if (!SWIG_IsOK(res1)) {
28518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28519 }
28520 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28521 ecode2 = SWIG_AsVal_int(obj1, &val2);
28522 if (!SWIG_IsOK(ecode2)) {
28523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28524 }
28525 arg2 = static_cast< int >(val2);
28526 ecode3 = SWIG_AsVal_int(obj2, &val3);
28527 if (!SWIG_IsOK(ecode3)) {
28528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28529 }
28530 arg3 = static_cast< int >(val3);
28531 {
28532 PyThreadState* __tstate = wxPyBeginAllowThreads();
28533 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28534 wxPyEndAllowThreads(__tstate);
28535 if (PyErr_Occurred()) SWIG_fail;
28536 }
28537 {
28538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28539 }
28540 return resultobj;
28541 fail:
28542 return NULL;
28543 }
28544
28545
28546 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28547 PyObject *resultobj = 0;
28548 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28549 void *argp1 = 0 ;
28550 int res1 = 0 ;
28551 PyObject *swig_obj[1] ;
28552
28553 if (!args) SWIG_fail;
28554 swig_obj[0] = args;
28555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28556 if (!SWIG_IsOK(res1)) {
28557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28558 }
28559 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28560 {
28561 PyThreadState* __tstate = wxPyBeginAllowThreads();
28562 (arg1)->OnEndDocument();
28563 wxPyEndAllowThreads(__tstate);
28564 if (PyErr_Occurred()) SWIG_fail;
28565 }
28566 resultobj = SWIG_Py_Void();
28567 return resultobj;
28568 fail:
28569 return NULL;
28570 }
28571
28572
28573 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28574 PyObject *resultobj = 0;
28575 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28576 void *argp1 = 0 ;
28577 int res1 = 0 ;
28578 PyObject *swig_obj[1] ;
28579
28580 if (!args) SWIG_fail;
28581 swig_obj[0] = args;
28582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28583 if (!SWIG_IsOK(res1)) {
28584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28585 }
28586 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28587 {
28588 PyThreadState* __tstate = wxPyBeginAllowThreads();
28589 (arg1)->OnBeginPrinting();
28590 wxPyEndAllowThreads(__tstate);
28591 if (PyErr_Occurred()) SWIG_fail;
28592 }
28593 resultobj = SWIG_Py_Void();
28594 return resultobj;
28595 fail:
28596 return NULL;
28597 }
28598
28599
28600 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28601 PyObject *resultobj = 0;
28602 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28603 void *argp1 = 0 ;
28604 int res1 = 0 ;
28605 PyObject *swig_obj[1] ;
28606
28607 if (!args) SWIG_fail;
28608 swig_obj[0] = args;
28609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28610 if (!SWIG_IsOK(res1)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28612 }
28613 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28614 {
28615 PyThreadState* __tstate = wxPyBeginAllowThreads();
28616 (arg1)->OnEndPrinting();
28617 wxPyEndAllowThreads(__tstate);
28618 if (PyErr_Occurred()) SWIG_fail;
28619 }
28620 resultobj = SWIG_Py_Void();
28621 return resultobj;
28622 fail:
28623 return NULL;
28624 }
28625
28626
28627 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28628 PyObject *resultobj = 0;
28629 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28630 void *argp1 = 0 ;
28631 int res1 = 0 ;
28632 PyObject *swig_obj[1] ;
28633
28634 if (!args) SWIG_fail;
28635 swig_obj[0] = args;
28636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28637 if (!SWIG_IsOK(res1)) {
28638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28639 }
28640 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28641 {
28642 PyThreadState* __tstate = wxPyBeginAllowThreads();
28643 (arg1)->OnPreparePrinting();
28644 wxPyEndAllowThreads(__tstate);
28645 if (PyErr_Occurred()) SWIG_fail;
28646 }
28647 resultobj = SWIG_Py_Void();
28648 return resultobj;
28649 fail:
28650 return NULL;
28651 }
28652
28653
28654 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28655 PyObject *resultobj = 0;
28656 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28657 int arg2 ;
28658 bool result;
28659 void *argp1 = 0 ;
28660 int res1 = 0 ;
28661 int val2 ;
28662 int ecode2 = 0 ;
28663 PyObject * obj0 = 0 ;
28664 PyObject * obj1 = 0 ;
28665 char * kwnames[] = {
28666 (char *) "self",(char *) "page", NULL
28667 };
28668
28669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28671 if (!SWIG_IsOK(res1)) {
28672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28673 }
28674 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28675 ecode2 = SWIG_AsVal_int(obj1, &val2);
28676 if (!SWIG_IsOK(ecode2)) {
28677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28678 }
28679 arg2 = static_cast< int >(val2);
28680 {
28681 PyThreadState* __tstate = wxPyBeginAllowThreads();
28682 result = (bool)(arg1)->HasPage(arg2);
28683 wxPyEndAllowThreads(__tstate);
28684 if (PyErr_Occurred()) SWIG_fail;
28685 }
28686 {
28687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28688 }
28689 return resultobj;
28690 fail:
28691 return NULL;
28692 }
28693
28694
28695 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28696 PyObject *resultobj = 0;
28697 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28698 int *arg2 = (int *) 0 ;
28699 int *arg3 = (int *) 0 ;
28700 int *arg4 = (int *) 0 ;
28701 int *arg5 = (int *) 0 ;
28702 void *argp1 = 0 ;
28703 int res1 = 0 ;
28704 int temp2 ;
28705 int res2 = SWIG_TMPOBJ ;
28706 int temp3 ;
28707 int res3 = SWIG_TMPOBJ ;
28708 int temp4 ;
28709 int res4 = SWIG_TMPOBJ ;
28710 int temp5 ;
28711 int res5 = SWIG_TMPOBJ ;
28712 PyObject *swig_obj[1] ;
28713
28714 arg2 = &temp2;
28715 arg3 = &temp3;
28716 arg4 = &temp4;
28717 arg5 = &temp5;
28718 if (!args) SWIG_fail;
28719 swig_obj[0] = args;
28720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28721 if (!SWIG_IsOK(res1)) {
28722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28723 }
28724 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28725 {
28726 PyThreadState* __tstate = wxPyBeginAllowThreads();
28727 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28728 wxPyEndAllowThreads(__tstate);
28729 if (PyErr_Occurred()) SWIG_fail;
28730 }
28731 resultobj = SWIG_Py_Void();
28732 if (SWIG_IsTmpObj(res2)) {
28733 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28734 } else {
28735 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28736 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28737 }
28738 if (SWIG_IsTmpObj(res3)) {
28739 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28740 } else {
28741 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28742 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28743 }
28744 if (SWIG_IsTmpObj(res4)) {
28745 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28746 } else {
28747 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28748 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28749 }
28750 if (SWIG_IsTmpObj(res5)) {
28751 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28752 } else {
28753 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28754 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28755 }
28756 return resultobj;
28757 fail:
28758 return NULL;
28759 }
28760
28761
28762 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28763 PyObject *obj;
28764 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28765 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28766 return SWIG_Py_Void();
28767 }
28768
28769 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28770 return SWIG_Python_InitShadowInstance(args);
28771 }
28772
28773 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28774 PyObject *resultobj = 0;
28775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28776 wxWindow *arg2 = (wxWindow *) 0 ;
28777 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28778 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28779 wxSize const &arg4_defvalue = wxDefaultSize ;
28780 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28781 long arg5 = (long) 0 ;
28782 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28783 wxString *arg6 = (wxString *) &arg6_defvalue ;
28784 wxPreviewCanvas *result = 0 ;
28785 void *argp1 = 0 ;
28786 int res1 = 0 ;
28787 void *argp2 = 0 ;
28788 int res2 = 0 ;
28789 wxPoint temp3 ;
28790 wxSize temp4 ;
28791 long val5 ;
28792 int ecode5 = 0 ;
28793 bool temp6 = false ;
28794 PyObject * obj0 = 0 ;
28795 PyObject * obj1 = 0 ;
28796 PyObject * obj2 = 0 ;
28797 PyObject * obj3 = 0 ;
28798 PyObject * obj4 = 0 ;
28799 PyObject * obj5 = 0 ;
28800 char * kwnames[] = {
28801 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28802 };
28803
28804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28806 if (!SWIG_IsOK(res1)) {
28807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28808 }
28809 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28810 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28811 if (!SWIG_IsOK(res2)) {
28812 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28813 }
28814 arg2 = reinterpret_cast< wxWindow * >(argp2);
28815 if (obj2) {
28816 {
28817 arg3 = &temp3;
28818 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28819 }
28820 }
28821 if (obj3) {
28822 {
28823 arg4 = &temp4;
28824 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28825 }
28826 }
28827 if (obj4) {
28828 ecode5 = SWIG_AsVal_long(obj4, &val5);
28829 if (!SWIG_IsOK(ecode5)) {
28830 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28831 }
28832 arg5 = static_cast< long >(val5);
28833 }
28834 if (obj5) {
28835 {
28836 arg6 = wxString_in_helper(obj5);
28837 if (arg6 == NULL) SWIG_fail;
28838 temp6 = true;
28839 }
28840 }
28841 {
28842 if (!wxPyCheckForApp()) SWIG_fail;
28843 PyThreadState* __tstate = wxPyBeginAllowThreads();
28844 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28845 wxPyEndAllowThreads(__tstate);
28846 if (PyErr_Occurred()) SWIG_fail;
28847 }
28848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28849 {
28850 if (temp6)
28851 delete arg6;
28852 }
28853 return resultobj;
28854 fail:
28855 {
28856 if (temp6)
28857 delete arg6;
28858 }
28859 return NULL;
28860 }
28861
28862
28863 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28864 PyObject *obj;
28865 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28866 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28867 return SWIG_Py_Void();
28868 }
28869
28870 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28871 return SWIG_Python_InitShadowInstance(args);
28872 }
28873
28874 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28875 PyObject *resultobj = 0;
28876 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28877 wxFrame *arg2 = (wxFrame *) 0 ;
28878 wxString *arg3 = 0 ;
28879 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28880 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28881 wxSize const &arg5_defvalue = wxDefaultSize ;
28882 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28883 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28884 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28885 wxString *arg7 = (wxString *) &arg7_defvalue ;
28886 wxPreviewFrame *result = 0 ;
28887 int res1 = 0 ;
28888 void *argp2 = 0 ;
28889 int res2 = 0 ;
28890 bool temp3 = false ;
28891 wxPoint temp4 ;
28892 wxSize temp5 ;
28893 long val6 ;
28894 int ecode6 = 0 ;
28895 bool temp7 = false ;
28896 PyObject * obj0 = 0 ;
28897 PyObject * obj1 = 0 ;
28898 PyObject * obj2 = 0 ;
28899 PyObject * obj3 = 0 ;
28900 PyObject * obj4 = 0 ;
28901 PyObject * obj5 = 0 ;
28902 PyObject * obj6 = 0 ;
28903 char * kwnames[] = {
28904 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28905 };
28906
28907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28908 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28909 if (!SWIG_IsOK(res1)) {
28910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28911 }
28912 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28913 if (!SWIG_IsOK(res2)) {
28914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28915 }
28916 arg2 = reinterpret_cast< wxFrame * >(argp2);
28917 {
28918 arg3 = wxString_in_helper(obj2);
28919 if (arg3 == NULL) SWIG_fail;
28920 temp3 = true;
28921 }
28922 if (obj3) {
28923 {
28924 arg4 = &temp4;
28925 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28926 }
28927 }
28928 if (obj4) {
28929 {
28930 arg5 = &temp5;
28931 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28932 }
28933 }
28934 if (obj5) {
28935 ecode6 = SWIG_AsVal_long(obj5, &val6);
28936 if (!SWIG_IsOK(ecode6)) {
28937 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28938 }
28939 arg6 = static_cast< long >(val6);
28940 }
28941 if (obj6) {
28942 {
28943 arg7 = wxString_in_helper(obj6);
28944 if (arg7 == NULL) SWIG_fail;
28945 temp7 = true;
28946 }
28947 }
28948 {
28949 if (!wxPyCheckForApp()) SWIG_fail;
28950 PyThreadState* __tstate = wxPyBeginAllowThreads();
28951 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28952 wxPyEndAllowThreads(__tstate);
28953 if (PyErr_Occurred()) SWIG_fail;
28954 }
28955 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28956 {
28957 if (temp3)
28958 delete arg3;
28959 }
28960 {
28961 if (temp7)
28962 delete arg7;
28963 }
28964 return resultobj;
28965 fail:
28966 {
28967 if (temp3)
28968 delete arg3;
28969 }
28970 {
28971 if (temp7)
28972 delete arg7;
28973 }
28974 return NULL;
28975 }
28976
28977
28978 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28979 PyObject *resultobj = 0;
28980 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28981 void *argp1 = 0 ;
28982 int res1 = 0 ;
28983 PyObject *swig_obj[1] ;
28984
28985 if (!args) SWIG_fail;
28986 swig_obj[0] = args;
28987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28988 if (!SWIG_IsOK(res1)) {
28989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28990 }
28991 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28992 {
28993 PyThreadState* __tstate = wxPyBeginAllowThreads();
28994 (arg1)->Initialize();
28995 wxPyEndAllowThreads(__tstate);
28996 if (PyErr_Occurred()) SWIG_fail;
28997 }
28998 resultobj = SWIG_Py_Void();
28999 return resultobj;
29000 fail:
29001 return NULL;
29002 }
29003
29004
29005 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29006 PyObject *resultobj = 0;
29007 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29008 void *argp1 = 0 ;
29009 int res1 = 0 ;
29010 PyObject *swig_obj[1] ;
29011
29012 if (!args) SWIG_fail;
29013 swig_obj[0] = args;
29014 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29015 if (!SWIG_IsOK(res1)) {
29016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29017 }
29018 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29019 {
29020 PyThreadState* __tstate = wxPyBeginAllowThreads();
29021 (arg1)->CreateControlBar();
29022 wxPyEndAllowThreads(__tstate);
29023 if (PyErr_Occurred()) SWIG_fail;
29024 }
29025 resultobj = SWIG_Py_Void();
29026 return resultobj;
29027 fail:
29028 return NULL;
29029 }
29030
29031
29032 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29033 PyObject *resultobj = 0;
29034 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29035 void *argp1 = 0 ;
29036 int res1 = 0 ;
29037 PyObject *swig_obj[1] ;
29038
29039 if (!args) SWIG_fail;
29040 swig_obj[0] = args;
29041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29042 if (!SWIG_IsOK(res1)) {
29043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29044 }
29045 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29046 {
29047 PyThreadState* __tstate = wxPyBeginAllowThreads();
29048 (arg1)->CreateCanvas();
29049 wxPyEndAllowThreads(__tstate);
29050 if (PyErr_Occurred()) SWIG_fail;
29051 }
29052 resultobj = SWIG_Py_Void();
29053 return resultobj;
29054 fail:
29055 return NULL;
29056 }
29057
29058
29059 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29060 PyObject *resultobj = 0;
29061 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29062 wxPreviewControlBar *result = 0 ;
29063 void *argp1 = 0 ;
29064 int res1 = 0 ;
29065 PyObject *swig_obj[1] ;
29066
29067 if (!args) SWIG_fail;
29068 swig_obj[0] = args;
29069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29070 if (!SWIG_IsOK(res1)) {
29071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29072 }
29073 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29074 {
29075 PyThreadState* __tstate = wxPyBeginAllowThreads();
29076 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29077 wxPyEndAllowThreads(__tstate);
29078 if (PyErr_Occurred()) SWIG_fail;
29079 }
29080 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29081 return resultobj;
29082 fail:
29083 return NULL;
29084 }
29085
29086
29087 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29088 PyObject *obj;
29089 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29090 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29091 return SWIG_Py_Void();
29092 }
29093
29094 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29095 return SWIG_Python_InitShadowInstance(args);
29096 }
29097
29098 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29099 PyObject *resultobj = 0;
29100 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29101 long arg2 ;
29102 wxWindow *arg3 = (wxWindow *) 0 ;
29103 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29104 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29105 wxSize const &arg5_defvalue = wxDefaultSize ;
29106 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29107 long arg6 = (long) wxTAB_TRAVERSAL ;
29108 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29109 wxString *arg7 = (wxString *) &arg7_defvalue ;
29110 wxPreviewControlBar *result = 0 ;
29111 void *argp1 = 0 ;
29112 int res1 = 0 ;
29113 long val2 ;
29114 int ecode2 = 0 ;
29115 void *argp3 = 0 ;
29116 int res3 = 0 ;
29117 wxPoint temp4 ;
29118 wxSize temp5 ;
29119 long val6 ;
29120 int ecode6 = 0 ;
29121 bool temp7 = false ;
29122 PyObject * obj0 = 0 ;
29123 PyObject * obj1 = 0 ;
29124 PyObject * obj2 = 0 ;
29125 PyObject * obj3 = 0 ;
29126 PyObject * obj4 = 0 ;
29127 PyObject * obj5 = 0 ;
29128 PyObject * obj6 = 0 ;
29129 char * kwnames[] = {
29130 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29131 };
29132
29133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29135 if (!SWIG_IsOK(res1)) {
29136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29137 }
29138 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29139 ecode2 = SWIG_AsVal_long(obj1, &val2);
29140 if (!SWIG_IsOK(ecode2)) {
29141 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29142 }
29143 arg2 = static_cast< long >(val2);
29144 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29145 if (!SWIG_IsOK(res3)) {
29146 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29147 }
29148 arg3 = reinterpret_cast< wxWindow * >(argp3);
29149 if (obj3) {
29150 {
29151 arg4 = &temp4;
29152 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29153 }
29154 }
29155 if (obj4) {
29156 {
29157 arg5 = &temp5;
29158 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29159 }
29160 }
29161 if (obj5) {
29162 ecode6 = SWIG_AsVal_long(obj5, &val6);
29163 if (!SWIG_IsOK(ecode6)) {
29164 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29165 }
29166 arg6 = static_cast< long >(val6);
29167 }
29168 if (obj6) {
29169 {
29170 arg7 = wxString_in_helper(obj6);
29171 if (arg7 == NULL) SWIG_fail;
29172 temp7 = true;
29173 }
29174 }
29175 {
29176 if (!wxPyCheckForApp()) SWIG_fail;
29177 PyThreadState* __tstate = wxPyBeginAllowThreads();
29178 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29179 wxPyEndAllowThreads(__tstate);
29180 if (PyErr_Occurred()) SWIG_fail;
29181 }
29182 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29183 {
29184 if (temp7)
29185 delete arg7;
29186 }
29187 return resultobj;
29188 fail:
29189 {
29190 if (temp7)
29191 delete arg7;
29192 }
29193 return NULL;
29194 }
29195
29196
29197 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29198 PyObject *resultobj = 0;
29199 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29200 int result;
29201 void *argp1 = 0 ;
29202 int res1 = 0 ;
29203 PyObject *swig_obj[1] ;
29204
29205 if (!args) SWIG_fail;
29206 swig_obj[0] = args;
29207 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29208 if (!SWIG_IsOK(res1)) {
29209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29210 }
29211 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29212 {
29213 PyThreadState* __tstate = wxPyBeginAllowThreads();
29214 result = (int)(arg1)->GetZoomControl();
29215 wxPyEndAllowThreads(__tstate);
29216 if (PyErr_Occurred()) SWIG_fail;
29217 }
29218 resultobj = SWIG_From_int(static_cast< int >(result));
29219 return resultobj;
29220 fail:
29221 return NULL;
29222 }
29223
29224
29225 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29226 PyObject *resultobj = 0;
29227 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29228 int arg2 ;
29229 void *argp1 = 0 ;
29230 int res1 = 0 ;
29231 int val2 ;
29232 int ecode2 = 0 ;
29233 PyObject * obj0 = 0 ;
29234 PyObject * obj1 = 0 ;
29235 char * kwnames[] = {
29236 (char *) "self",(char *) "zoom", NULL
29237 };
29238
29239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29241 if (!SWIG_IsOK(res1)) {
29242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29243 }
29244 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29245 ecode2 = SWIG_AsVal_int(obj1, &val2);
29246 if (!SWIG_IsOK(ecode2)) {
29247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29248 }
29249 arg2 = static_cast< int >(val2);
29250 {
29251 PyThreadState* __tstate = wxPyBeginAllowThreads();
29252 (arg1)->SetZoomControl(arg2);
29253 wxPyEndAllowThreads(__tstate);
29254 if (PyErr_Occurred()) SWIG_fail;
29255 }
29256 resultobj = SWIG_Py_Void();
29257 return resultobj;
29258 fail:
29259 return NULL;
29260 }
29261
29262
29263 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29264 PyObject *resultobj = 0;
29265 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29266 wxPrintPreview *result = 0 ;
29267 void *argp1 = 0 ;
29268 int res1 = 0 ;
29269 PyObject *swig_obj[1] ;
29270
29271 if (!args) SWIG_fail;
29272 swig_obj[0] = args;
29273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29274 if (!SWIG_IsOK(res1)) {
29275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29276 }
29277 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29278 {
29279 PyThreadState* __tstate = wxPyBeginAllowThreads();
29280 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29281 wxPyEndAllowThreads(__tstate);
29282 if (PyErr_Occurred()) SWIG_fail;
29283 }
29284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29285 return resultobj;
29286 fail:
29287 return NULL;
29288 }
29289
29290
29291 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29292 PyObject *resultobj = 0;
29293 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29294 void *argp1 = 0 ;
29295 int res1 = 0 ;
29296 PyObject *swig_obj[1] ;
29297
29298 if (!args) SWIG_fail;
29299 swig_obj[0] = args;
29300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29301 if (!SWIG_IsOK(res1)) {
29302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29303 }
29304 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29305 {
29306 PyThreadState* __tstate = wxPyBeginAllowThreads();
29307 (arg1)->OnNext();
29308 wxPyEndAllowThreads(__tstate);
29309 if (PyErr_Occurred()) SWIG_fail;
29310 }
29311 resultobj = SWIG_Py_Void();
29312 return resultobj;
29313 fail:
29314 return NULL;
29315 }
29316
29317
29318 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29319 PyObject *resultobj = 0;
29320 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29321 void *argp1 = 0 ;
29322 int res1 = 0 ;
29323 PyObject *swig_obj[1] ;
29324
29325 if (!args) SWIG_fail;
29326 swig_obj[0] = args;
29327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29328 if (!SWIG_IsOK(res1)) {
29329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29330 }
29331 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29332 {
29333 PyThreadState* __tstate = wxPyBeginAllowThreads();
29334 (arg1)->OnPrevious();
29335 wxPyEndAllowThreads(__tstate);
29336 if (PyErr_Occurred()) SWIG_fail;
29337 }
29338 resultobj = SWIG_Py_Void();
29339 return resultobj;
29340 fail:
29341 return NULL;
29342 }
29343
29344
29345 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29346 PyObject *resultobj = 0;
29347 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29348 void *argp1 = 0 ;
29349 int res1 = 0 ;
29350 PyObject *swig_obj[1] ;
29351
29352 if (!args) SWIG_fail;
29353 swig_obj[0] = args;
29354 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29355 if (!SWIG_IsOK(res1)) {
29356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29357 }
29358 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29359 {
29360 PyThreadState* __tstate = wxPyBeginAllowThreads();
29361 (arg1)->OnFirst();
29362 wxPyEndAllowThreads(__tstate);
29363 if (PyErr_Occurred()) SWIG_fail;
29364 }
29365 resultobj = SWIG_Py_Void();
29366 return resultobj;
29367 fail:
29368 return NULL;
29369 }
29370
29371
29372 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29373 PyObject *resultobj = 0;
29374 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29375 void *argp1 = 0 ;
29376 int res1 = 0 ;
29377 PyObject *swig_obj[1] ;
29378
29379 if (!args) SWIG_fail;
29380 swig_obj[0] = args;
29381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29382 if (!SWIG_IsOK(res1)) {
29383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29384 }
29385 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29386 {
29387 PyThreadState* __tstate = wxPyBeginAllowThreads();
29388 (arg1)->OnLast();
29389 wxPyEndAllowThreads(__tstate);
29390 if (PyErr_Occurred()) SWIG_fail;
29391 }
29392 resultobj = SWIG_Py_Void();
29393 return resultobj;
29394 fail:
29395 return NULL;
29396 }
29397
29398
29399 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29400 PyObject *resultobj = 0;
29401 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29402 void *argp1 = 0 ;
29403 int res1 = 0 ;
29404 PyObject *swig_obj[1] ;
29405
29406 if (!args) SWIG_fail;
29407 swig_obj[0] = args;
29408 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29409 if (!SWIG_IsOK(res1)) {
29410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29411 }
29412 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29413 {
29414 PyThreadState* __tstate = wxPyBeginAllowThreads();
29415 (arg1)->OnGoto();
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 *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29427 PyObject *obj;
29428 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29429 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29430 return SWIG_Py_Void();
29431 }
29432
29433 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29434 return SWIG_Python_InitShadowInstance(args);
29435 }
29436
29437 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29438 PyObject *resultobj = 0;
29439 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29440 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29441 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29442 wxPrintPreview *result = 0 ;
29443 int res1 = 0 ;
29444 int res2 = 0 ;
29445 void *argp3 = 0 ;
29446 int res3 = 0 ;
29447
29448 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29449 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29450 if (!SWIG_IsOK(res1)) {
29451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29452 }
29453 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29454 if (!SWIG_IsOK(res2)) {
29455 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29456 }
29457 if (swig_obj[2]) {
29458 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29459 if (!SWIG_IsOK(res3)) {
29460 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29461 }
29462 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29463 }
29464 {
29465 if (!wxPyCheckForApp()) SWIG_fail;
29466 PyThreadState* __tstate = wxPyBeginAllowThreads();
29467 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29468 wxPyEndAllowThreads(__tstate);
29469 if (PyErr_Occurred()) SWIG_fail;
29470 }
29471 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29472 return resultobj;
29473 fail:
29474 return NULL;
29475 }
29476
29477
29478 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29479 PyObject *resultobj = 0;
29480 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29481 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29482 wxPrintData *arg3 = (wxPrintData *) 0 ;
29483 wxPrintPreview *result = 0 ;
29484 int res1 = 0 ;
29485 int res2 = 0 ;
29486 void *argp3 = 0 ;
29487 int res3 = 0 ;
29488
29489 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29490 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29491 if (!SWIG_IsOK(res1)) {
29492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29493 }
29494 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29495 if (!SWIG_IsOK(res2)) {
29496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29497 }
29498 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29499 if (!SWIG_IsOK(res3)) {
29500 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29501 }
29502 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29503 {
29504 if (!wxPyCheckForApp()) SWIG_fail;
29505 PyThreadState* __tstate = wxPyBeginAllowThreads();
29506 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29507 wxPyEndAllowThreads(__tstate);
29508 if (PyErr_Occurred()) SWIG_fail;
29509 }
29510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29511 return resultobj;
29512 fail:
29513 return NULL;
29514 }
29515
29516
29517 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29518 int argc;
29519 PyObject *argv[4];
29520
29521 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29522 --argc;
29523 if ((argc >= 2) && (argc <= 3)) {
29524 int _v = 0;
29525 if (argc > 2) {
29526 {
29527 void *vptr = 0;
29528 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29529 _v = SWIG_CheckState(res);
29530 }
29531 if (!_v) goto check_1;
29532 }
29533 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29534 }
29535 check_1:
29536
29537 if (argc == 3) {
29538 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29539 }
29540
29541 fail:
29542 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29543 return NULL;
29544 }
29545
29546
29547 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29548 PyObject *resultobj = 0;
29549 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29550 void *argp1 = 0 ;
29551 int res1 = 0 ;
29552 PyObject *swig_obj[1] ;
29553
29554 if (!args) SWIG_fail;
29555 swig_obj[0] = args;
29556 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29557 if (!SWIG_IsOK(res1)) {
29558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29559 }
29560 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29561 {
29562 PyThreadState* __tstate = wxPyBeginAllowThreads();
29563 delete arg1;
29564
29565 wxPyEndAllowThreads(__tstate);
29566 if (PyErr_Occurred()) SWIG_fail;
29567 }
29568 resultobj = SWIG_Py_Void();
29569 return resultobj;
29570 fail:
29571 return NULL;
29572 }
29573
29574
29575 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29576 PyObject *resultobj = 0;
29577 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29578 int arg2 ;
29579 bool result;
29580 void *argp1 = 0 ;
29581 int res1 = 0 ;
29582 int val2 ;
29583 int ecode2 = 0 ;
29584 PyObject * obj0 = 0 ;
29585 PyObject * obj1 = 0 ;
29586 char * kwnames[] = {
29587 (char *) "self",(char *) "pageNum", NULL
29588 };
29589
29590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29592 if (!SWIG_IsOK(res1)) {
29593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29594 }
29595 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29596 ecode2 = SWIG_AsVal_int(obj1, &val2);
29597 if (!SWIG_IsOK(ecode2)) {
29598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29599 }
29600 arg2 = static_cast< int >(val2);
29601 {
29602 PyThreadState* __tstate = wxPyBeginAllowThreads();
29603 result = (bool)(arg1)->SetCurrentPage(arg2);
29604 wxPyEndAllowThreads(__tstate);
29605 if (PyErr_Occurred()) SWIG_fail;
29606 }
29607 {
29608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29609 }
29610 return resultobj;
29611 fail:
29612 return NULL;
29613 }
29614
29615
29616 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29617 PyObject *resultobj = 0;
29618 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29619 int result;
29620 void *argp1 = 0 ;
29621 int res1 = 0 ;
29622 PyObject *swig_obj[1] ;
29623
29624 if (!args) SWIG_fail;
29625 swig_obj[0] = args;
29626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29627 if (!SWIG_IsOK(res1)) {
29628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29629 }
29630 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29631 {
29632 PyThreadState* __tstate = wxPyBeginAllowThreads();
29633 result = (int)(arg1)->GetCurrentPage();
29634 wxPyEndAllowThreads(__tstate);
29635 if (PyErr_Occurred()) SWIG_fail;
29636 }
29637 resultobj = SWIG_From_int(static_cast< int >(result));
29638 return resultobj;
29639 fail:
29640 return NULL;
29641 }
29642
29643
29644 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29645 PyObject *resultobj = 0;
29646 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29647 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29648 void *argp1 = 0 ;
29649 int res1 = 0 ;
29650 int res2 = 0 ;
29651 PyObject * obj0 = 0 ;
29652 PyObject * obj1 = 0 ;
29653 char * kwnames[] = {
29654 (char *) "self",(char *) "printout", NULL
29655 };
29656
29657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29659 if (!SWIG_IsOK(res1)) {
29660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29661 }
29662 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29663 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29664 if (!SWIG_IsOK(res2)) {
29665 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29666 }
29667 {
29668 PyThreadState* __tstate = wxPyBeginAllowThreads();
29669 (arg1)->SetPrintout(arg2);
29670 wxPyEndAllowThreads(__tstate);
29671 if (PyErr_Occurred()) SWIG_fail;
29672 }
29673 resultobj = SWIG_Py_Void();
29674 return resultobj;
29675 fail:
29676 return NULL;
29677 }
29678
29679
29680 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29681 PyObject *resultobj = 0;
29682 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29683 wxPyPrintout *result = 0 ;
29684 void *argp1 = 0 ;
29685 int res1 = 0 ;
29686 PyObject *swig_obj[1] ;
29687
29688 if (!args) SWIG_fail;
29689 swig_obj[0] = args;
29690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29691 if (!SWIG_IsOK(res1)) {
29692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29693 }
29694 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29695 {
29696 PyThreadState* __tstate = wxPyBeginAllowThreads();
29697 result = (wxPyPrintout *)(arg1)->GetPrintout();
29698 wxPyEndAllowThreads(__tstate);
29699 if (PyErr_Occurred()) SWIG_fail;
29700 }
29701 {
29702 resultobj = wxPyMake_wxObject(result, 0);
29703 }
29704 return resultobj;
29705 fail:
29706 return NULL;
29707 }
29708
29709
29710 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29711 PyObject *resultobj = 0;
29712 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29713 wxPyPrintout *result = 0 ;
29714 void *argp1 = 0 ;
29715 int res1 = 0 ;
29716 PyObject *swig_obj[1] ;
29717
29718 if (!args) SWIG_fail;
29719 swig_obj[0] = args;
29720 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29721 if (!SWIG_IsOK(res1)) {
29722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29723 }
29724 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29725 {
29726 PyThreadState* __tstate = wxPyBeginAllowThreads();
29727 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29728 wxPyEndAllowThreads(__tstate);
29729 if (PyErr_Occurred()) SWIG_fail;
29730 }
29731 {
29732 resultobj = wxPyMake_wxObject(result, 0);
29733 }
29734 return resultobj;
29735 fail:
29736 return NULL;
29737 }
29738
29739
29740 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29741 PyObject *resultobj = 0;
29742 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29743 wxFrame *arg2 = (wxFrame *) 0 ;
29744 void *argp1 = 0 ;
29745 int res1 = 0 ;
29746 void *argp2 = 0 ;
29747 int res2 = 0 ;
29748 PyObject * obj0 = 0 ;
29749 PyObject * obj1 = 0 ;
29750 char * kwnames[] = {
29751 (char *) "self",(char *) "frame", NULL
29752 };
29753
29754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29756 if (!SWIG_IsOK(res1)) {
29757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29758 }
29759 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29760 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29761 if (!SWIG_IsOK(res2)) {
29762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29763 }
29764 arg2 = reinterpret_cast< wxFrame * >(argp2);
29765 {
29766 PyThreadState* __tstate = wxPyBeginAllowThreads();
29767 (arg1)->SetFrame(arg2);
29768 wxPyEndAllowThreads(__tstate);
29769 if (PyErr_Occurred()) SWIG_fail;
29770 }
29771 resultobj = SWIG_Py_Void();
29772 return resultobj;
29773 fail:
29774 return NULL;
29775 }
29776
29777
29778 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29779 PyObject *resultobj = 0;
29780 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29781 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29782 void *argp1 = 0 ;
29783 int res1 = 0 ;
29784 void *argp2 = 0 ;
29785 int res2 = 0 ;
29786 PyObject * obj0 = 0 ;
29787 PyObject * obj1 = 0 ;
29788 char * kwnames[] = {
29789 (char *) "self",(char *) "canvas", NULL
29790 };
29791
29792 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29793 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29794 if (!SWIG_IsOK(res1)) {
29795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29796 }
29797 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29798 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29799 if (!SWIG_IsOK(res2)) {
29800 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29801 }
29802 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29803 {
29804 PyThreadState* __tstate = wxPyBeginAllowThreads();
29805 (arg1)->SetCanvas(arg2);
29806 wxPyEndAllowThreads(__tstate);
29807 if (PyErr_Occurred()) SWIG_fail;
29808 }
29809 resultobj = SWIG_Py_Void();
29810 return resultobj;
29811 fail:
29812 return NULL;
29813 }
29814
29815
29816 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29817 PyObject *resultobj = 0;
29818 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29819 wxFrame *result = 0 ;
29820 void *argp1 = 0 ;
29821 int res1 = 0 ;
29822 PyObject *swig_obj[1] ;
29823
29824 if (!args) SWIG_fail;
29825 swig_obj[0] = args;
29826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29827 if (!SWIG_IsOK(res1)) {
29828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29829 }
29830 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29831 {
29832 PyThreadState* __tstate = wxPyBeginAllowThreads();
29833 result = (wxFrame *)(arg1)->GetFrame();
29834 wxPyEndAllowThreads(__tstate);
29835 if (PyErr_Occurred()) SWIG_fail;
29836 }
29837 {
29838 resultobj = wxPyMake_wxObject(result, 0);
29839 }
29840 return resultobj;
29841 fail:
29842 return NULL;
29843 }
29844
29845
29846 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29847 PyObject *resultobj = 0;
29848 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29849 wxPreviewCanvas *result = 0 ;
29850 void *argp1 = 0 ;
29851 int res1 = 0 ;
29852 PyObject *swig_obj[1] ;
29853
29854 if (!args) SWIG_fail;
29855 swig_obj[0] = args;
29856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29857 if (!SWIG_IsOK(res1)) {
29858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29859 }
29860 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29861 {
29862 PyThreadState* __tstate = wxPyBeginAllowThreads();
29863 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29864 wxPyEndAllowThreads(__tstate);
29865 if (PyErr_Occurred()) SWIG_fail;
29866 }
29867 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29868 return resultobj;
29869 fail:
29870 return NULL;
29871 }
29872
29873
29874 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29875 PyObject *resultobj = 0;
29876 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29877 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29878 wxDC *arg3 = 0 ;
29879 bool result;
29880 void *argp1 = 0 ;
29881 int res1 = 0 ;
29882 void *argp2 = 0 ;
29883 int res2 = 0 ;
29884 void *argp3 = 0 ;
29885 int res3 = 0 ;
29886 PyObject * obj0 = 0 ;
29887 PyObject * obj1 = 0 ;
29888 PyObject * obj2 = 0 ;
29889 char * kwnames[] = {
29890 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29891 };
29892
29893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29895 if (!SWIG_IsOK(res1)) {
29896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29897 }
29898 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29899 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29900 if (!SWIG_IsOK(res2)) {
29901 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29902 }
29903 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29904 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29905 if (!SWIG_IsOK(res3)) {
29906 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29907 }
29908 if (!argp3) {
29909 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29910 }
29911 arg3 = reinterpret_cast< wxDC * >(argp3);
29912 {
29913 PyThreadState* __tstate = wxPyBeginAllowThreads();
29914 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29915 wxPyEndAllowThreads(__tstate);
29916 if (PyErr_Occurred()) SWIG_fail;
29917 }
29918 {
29919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29920 }
29921 return resultobj;
29922 fail:
29923 return NULL;
29924 }
29925
29926
29927 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29928 PyObject *resultobj = 0;
29929 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29930 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29931 wxDC *arg3 = 0 ;
29932 bool result;
29933 void *argp1 = 0 ;
29934 int res1 = 0 ;
29935 void *argp2 = 0 ;
29936 int res2 = 0 ;
29937 void *argp3 = 0 ;
29938 int res3 = 0 ;
29939 PyObject * obj0 = 0 ;
29940 PyObject * obj1 = 0 ;
29941 PyObject * obj2 = 0 ;
29942 char * kwnames[] = {
29943 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29944 };
29945
29946 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29947 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29948 if (!SWIG_IsOK(res1)) {
29949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29950 }
29951 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29952 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29953 if (!SWIG_IsOK(res2)) {
29954 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29955 }
29956 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29957 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29958 if (!SWIG_IsOK(res3)) {
29959 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29960 }
29961 if (!argp3) {
29962 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29963 }
29964 arg3 = reinterpret_cast< wxDC * >(argp3);
29965 {
29966 PyThreadState* __tstate = wxPyBeginAllowThreads();
29967 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29968 wxPyEndAllowThreads(__tstate);
29969 if (PyErr_Occurred()) SWIG_fail;
29970 }
29971 {
29972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29973 }
29974 return resultobj;
29975 fail:
29976 return NULL;
29977 }
29978
29979
29980 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29981 PyObject *resultobj = 0;
29982 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29983 int arg2 ;
29984 bool result;
29985 void *argp1 = 0 ;
29986 int res1 = 0 ;
29987 int val2 ;
29988 int ecode2 = 0 ;
29989 PyObject * obj0 = 0 ;
29990 PyObject * obj1 = 0 ;
29991 char * kwnames[] = {
29992 (char *) "self",(char *) "pageNum", NULL
29993 };
29994
29995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29997 if (!SWIG_IsOK(res1)) {
29998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29999 }
30000 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30001 ecode2 = SWIG_AsVal_int(obj1, &val2);
30002 if (!SWIG_IsOK(ecode2)) {
30003 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30004 }
30005 arg2 = static_cast< int >(val2);
30006 {
30007 PyThreadState* __tstate = wxPyBeginAllowThreads();
30008 result = (bool)(arg1)->RenderPage(arg2);
30009 wxPyEndAllowThreads(__tstate);
30010 if (PyErr_Occurred()) SWIG_fail;
30011 }
30012 {
30013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30014 }
30015 return resultobj;
30016 fail:
30017 return NULL;
30018 }
30019
30020
30021 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30022 PyObject *resultobj = 0;
30023 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30024 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30025 void *argp1 = 0 ;
30026 int res1 = 0 ;
30027 void *argp2 = 0 ;
30028 int res2 = 0 ;
30029 PyObject * obj0 = 0 ;
30030 PyObject * obj1 = 0 ;
30031 char * kwnames[] = {
30032 (char *) "self",(char *) "canvas", NULL
30033 };
30034
30035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30037 if (!SWIG_IsOK(res1)) {
30038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30039 }
30040 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30041 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30042 if (!SWIG_IsOK(res2)) {
30043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30044 }
30045 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30046 {
30047 PyThreadState* __tstate = wxPyBeginAllowThreads();
30048 (arg1)->AdjustScrollbars(arg2);
30049 wxPyEndAllowThreads(__tstate);
30050 if (PyErr_Occurred()) SWIG_fail;
30051 }
30052 resultobj = SWIG_Py_Void();
30053 return resultobj;
30054 fail:
30055 return NULL;
30056 }
30057
30058
30059 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30060 PyObject *resultobj = 0;
30061 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30062 wxPrintDialogData *result = 0 ;
30063 void *argp1 = 0 ;
30064 int res1 = 0 ;
30065 PyObject *swig_obj[1] ;
30066
30067 if (!args) SWIG_fail;
30068 swig_obj[0] = args;
30069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30070 if (!SWIG_IsOK(res1)) {
30071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30072 }
30073 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30074 {
30075 PyThreadState* __tstate = wxPyBeginAllowThreads();
30076 {
30077 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30078 result = (wxPrintDialogData *) &_result_ref;
30079 }
30080 wxPyEndAllowThreads(__tstate);
30081 if (PyErr_Occurred()) SWIG_fail;
30082 }
30083 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30084 return resultobj;
30085 fail:
30086 return NULL;
30087 }
30088
30089
30090 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30091 PyObject *resultobj = 0;
30092 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30093 int arg2 ;
30094 void *argp1 = 0 ;
30095 int res1 = 0 ;
30096 int val2 ;
30097 int ecode2 = 0 ;
30098 PyObject * obj0 = 0 ;
30099 PyObject * obj1 = 0 ;
30100 char * kwnames[] = {
30101 (char *) "self",(char *) "percent", NULL
30102 };
30103
30104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30106 if (!SWIG_IsOK(res1)) {
30107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30108 }
30109 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30110 ecode2 = SWIG_AsVal_int(obj1, &val2);
30111 if (!SWIG_IsOK(ecode2)) {
30112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30113 }
30114 arg2 = static_cast< int >(val2);
30115 {
30116 PyThreadState* __tstate = wxPyBeginAllowThreads();
30117 (arg1)->SetZoom(arg2);
30118 wxPyEndAllowThreads(__tstate);
30119 if (PyErr_Occurred()) SWIG_fail;
30120 }
30121 resultobj = SWIG_Py_Void();
30122 return resultobj;
30123 fail:
30124 return NULL;
30125 }
30126
30127
30128 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30129 PyObject *resultobj = 0;
30130 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30131 int result;
30132 void *argp1 = 0 ;
30133 int res1 = 0 ;
30134 PyObject *swig_obj[1] ;
30135
30136 if (!args) SWIG_fail;
30137 swig_obj[0] = args;
30138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30139 if (!SWIG_IsOK(res1)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30141 }
30142 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30143 {
30144 PyThreadState* __tstate = wxPyBeginAllowThreads();
30145 result = (int)(arg1)->GetZoom();
30146 wxPyEndAllowThreads(__tstate);
30147 if (PyErr_Occurred()) SWIG_fail;
30148 }
30149 resultobj = SWIG_From_int(static_cast< int >(result));
30150 return resultobj;
30151 fail:
30152 return NULL;
30153 }
30154
30155
30156 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30157 PyObject *resultobj = 0;
30158 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30159 int result;
30160 void *argp1 = 0 ;
30161 int res1 = 0 ;
30162 PyObject *swig_obj[1] ;
30163
30164 if (!args) SWIG_fail;
30165 swig_obj[0] = args;
30166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30167 if (!SWIG_IsOK(res1)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30169 }
30170 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30171 {
30172 PyThreadState* __tstate = wxPyBeginAllowThreads();
30173 result = (int)(arg1)->GetMaxPage();
30174 wxPyEndAllowThreads(__tstate);
30175 if (PyErr_Occurred()) SWIG_fail;
30176 }
30177 resultobj = SWIG_From_int(static_cast< int >(result));
30178 return resultobj;
30179 fail:
30180 return NULL;
30181 }
30182
30183
30184 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30185 PyObject *resultobj = 0;
30186 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30187 int result;
30188 void *argp1 = 0 ;
30189 int res1 = 0 ;
30190 PyObject *swig_obj[1] ;
30191
30192 if (!args) SWIG_fail;
30193 swig_obj[0] = args;
30194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30195 if (!SWIG_IsOK(res1)) {
30196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30197 }
30198 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30199 {
30200 PyThreadState* __tstate = wxPyBeginAllowThreads();
30201 result = (int)(arg1)->GetMinPage();
30202 wxPyEndAllowThreads(__tstate);
30203 if (PyErr_Occurred()) SWIG_fail;
30204 }
30205 resultobj = SWIG_From_int(static_cast< int >(result));
30206 return resultobj;
30207 fail:
30208 return NULL;
30209 }
30210
30211
30212 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30213 PyObject *resultobj = 0;
30214 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30215 bool result;
30216 void *argp1 = 0 ;
30217 int res1 = 0 ;
30218 PyObject *swig_obj[1] ;
30219
30220 if (!args) SWIG_fail;
30221 swig_obj[0] = args;
30222 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30223 if (!SWIG_IsOK(res1)) {
30224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30225 }
30226 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30227 {
30228 PyThreadState* __tstate = wxPyBeginAllowThreads();
30229 result = (bool)(arg1)->IsOk();
30230 wxPyEndAllowThreads(__tstate);
30231 if (PyErr_Occurred()) SWIG_fail;
30232 }
30233 {
30234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30235 }
30236 return resultobj;
30237 fail:
30238 return NULL;
30239 }
30240
30241
30242 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30243 PyObject *resultobj = 0;
30244 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30245 bool arg2 ;
30246 void *argp1 = 0 ;
30247 int res1 = 0 ;
30248 bool val2 ;
30249 int ecode2 = 0 ;
30250 PyObject * obj0 = 0 ;
30251 PyObject * obj1 = 0 ;
30252 char * kwnames[] = {
30253 (char *) "self",(char *) "ok", NULL
30254 };
30255
30256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30258 if (!SWIG_IsOK(res1)) {
30259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30260 }
30261 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30262 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30263 if (!SWIG_IsOK(ecode2)) {
30264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30265 }
30266 arg2 = static_cast< bool >(val2);
30267 {
30268 PyThreadState* __tstate = wxPyBeginAllowThreads();
30269 (arg1)->SetOk(arg2);
30270 wxPyEndAllowThreads(__tstate);
30271 if (PyErr_Occurred()) SWIG_fail;
30272 }
30273 resultobj = SWIG_Py_Void();
30274 return resultobj;
30275 fail:
30276 return NULL;
30277 }
30278
30279
30280 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30281 PyObject *resultobj = 0;
30282 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30283 bool arg2 ;
30284 bool result;
30285 void *argp1 = 0 ;
30286 int res1 = 0 ;
30287 bool val2 ;
30288 int ecode2 = 0 ;
30289 PyObject * obj0 = 0 ;
30290 PyObject * obj1 = 0 ;
30291 char * kwnames[] = {
30292 (char *) "self",(char *) "interactive", NULL
30293 };
30294
30295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30297 if (!SWIG_IsOK(res1)) {
30298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30299 }
30300 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30301 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30302 if (!SWIG_IsOK(ecode2)) {
30303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30304 }
30305 arg2 = static_cast< bool >(val2);
30306 {
30307 PyThreadState* __tstate = wxPyBeginAllowThreads();
30308 result = (bool)(arg1)->Print(arg2);
30309 wxPyEndAllowThreads(__tstate);
30310 if (PyErr_Occurred()) SWIG_fail;
30311 }
30312 {
30313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30314 }
30315 return resultobj;
30316 fail:
30317 return NULL;
30318 }
30319
30320
30321 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30322 PyObject *resultobj = 0;
30323 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30324 void *argp1 = 0 ;
30325 int res1 = 0 ;
30326 PyObject *swig_obj[1] ;
30327
30328 if (!args) SWIG_fail;
30329 swig_obj[0] = args;
30330 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30331 if (!SWIG_IsOK(res1)) {
30332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30333 }
30334 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30335 {
30336 PyThreadState* __tstate = wxPyBeginAllowThreads();
30337 (arg1)->DetermineScaling();
30338 wxPyEndAllowThreads(__tstate);
30339 if (PyErr_Occurred()) SWIG_fail;
30340 }
30341 resultobj = SWIG_Py_Void();
30342 return resultobj;
30343 fail:
30344 return NULL;
30345 }
30346
30347
30348 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30349 PyObject *obj;
30350 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30351 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30352 return SWIG_Py_Void();
30353 }
30354
30355 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30356 return SWIG_Python_InitShadowInstance(args);
30357 }
30358
30359 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30360 PyObject *resultobj = 0;
30361 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30362 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30363 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30364 wxPyPrintPreview *result = 0 ;
30365 int res1 = 0 ;
30366 int res2 = 0 ;
30367 void *argp3 = 0 ;
30368 int res3 = 0 ;
30369
30370 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30371 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30372 if (!SWIG_IsOK(res1)) {
30373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30374 }
30375 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30376 if (!SWIG_IsOK(res2)) {
30377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30378 }
30379 if (swig_obj[2]) {
30380 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30381 if (!SWIG_IsOK(res3)) {
30382 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30383 }
30384 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30385 }
30386 {
30387 if (!wxPyCheckForApp()) SWIG_fail;
30388 PyThreadState* __tstate = wxPyBeginAllowThreads();
30389 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30390 wxPyEndAllowThreads(__tstate);
30391 if (PyErr_Occurred()) SWIG_fail;
30392 }
30393 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30394 return resultobj;
30395 fail:
30396 return NULL;
30397 }
30398
30399
30400 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30401 PyObject *resultobj = 0;
30402 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30403 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30404 wxPrintData *arg3 = (wxPrintData *) 0 ;
30405 wxPyPrintPreview *result = 0 ;
30406 int res1 = 0 ;
30407 int res2 = 0 ;
30408 void *argp3 = 0 ;
30409 int res3 = 0 ;
30410
30411 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30412 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30413 if (!SWIG_IsOK(res1)) {
30414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30415 }
30416 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30417 if (!SWIG_IsOK(res2)) {
30418 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30419 }
30420 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30421 if (!SWIG_IsOK(res3)) {
30422 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30423 }
30424 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30425 {
30426 if (!wxPyCheckForApp()) SWIG_fail;
30427 PyThreadState* __tstate = wxPyBeginAllowThreads();
30428 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30429 wxPyEndAllowThreads(__tstate);
30430 if (PyErr_Occurred()) SWIG_fail;
30431 }
30432 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30433 return resultobj;
30434 fail:
30435 return NULL;
30436 }
30437
30438
30439 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30440 int argc;
30441 PyObject *argv[4];
30442
30443 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30444 --argc;
30445 if ((argc >= 2) && (argc <= 3)) {
30446 int _v = 0;
30447 if (argc > 2) {
30448 {
30449 void *vptr = 0;
30450 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30451 _v = SWIG_CheckState(res);
30452 }
30453 if (!_v) goto check_1;
30454 }
30455 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30456 }
30457 check_1:
30458
30459 if (argc == 3) {
30460 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30461 }
30462
30463 fail:
30464 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30465 return NULL;
30466 }
30467
30468
30469 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30470 PyObject *resultobj = 0;
30471 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30472 PyObject *arg2 = (PyObject *) 0 ;
30473 PyObject *arg3 = (PyObject *) 0 ;
30474 void *argp1 = 0 ;
30475 int res1 = 0 ;
30476 PyObject * obj0 = 0 ;
30477 PyObject * obj1 = 0 ;
30478 PyObject * obj2 = 0 ;
30479 char * kwnames[] = {
30480 (char *) "self",(char *) "self",(char *) "_class", NULL
30481 };
30482
30483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30485 if (!SWIG_IsOK(res1)) {
30486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30487 }
30488 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30489 arg2 = obj1;
30490 arg3 = obj2;
30491 {
30492 PyThreadState* __tstate = wxPyBeginAllowThreads();
30493 (arg1)->_setCallbackInfo(arg2,arg3);
30494 wxPyEndAllowThreads(__tstate);
30495 if (PyErr_Occurred()) SWIG_fail;
30496 }
30497 resultobj = SWIG_Py_Void();
30498 return resultobj;
30499 fail:
30500 return NULL;
30501 }
30502
30503
30504 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30505 PyObject *obj;
30506 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30507 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30508 return SWIG_Py_Void();
30509 }
30510
30511 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30512 return SWIG_Python_InitShadowInstance(args);
30513 }
30514
30515 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30516 PyObject *resultobj = 0;
30517 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30518 wxFrame *arg2 = (wxFrame *) 0 ;
30519 wxString *arg3 = 0 ;
30520 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30521 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30522 wxSize const &arg5_defvalue = wxDefaultSize ;
30523 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30524 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30525 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30526 wxString *arg7 = (wxString *) &arg7_defvalue ;
30527 wxPyPreviewFrame *result = 0 ;
30528 void *argp1 = 0 ;
30529 int res1 = 0 ;
30530 void *argp2 = 0 ;
30531 int res2 = 0 ;
30532 bool temp3 = false ;
30533 wxPoint temp4 ;
30534 wxSize temp5 ;
30535 long val6 ;
30536 int ecode6 = 0 ;
30537 bool temp7 = false ;
30538 PyObject * obj0 = 0 ;
30539 PyObject * obj1 = 0 ;
30540 PyObject * obj2 = 0 ;
30541 PyObject * obj3 = 0 ;
30542 PyObject * obj4 = 0 ;
30543 PyObject * obj5 = 0 ;
30544 PyObject * obj6 = 0 ;
30545 char * kwnames[] = {
30546 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30547 };
30548
30549 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30550 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30551 if (!SWIG_IsOK(res1)) {
30552 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30553 }
30554 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30555 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30556 if (!SWIG_IsOK(res2)) {
30557 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30558 }
30559 arg2 = reinterpret_cast< wxFrame * >(argp2);
30560 {
30561 arg3 = wxString_in_helper(obj2);
30562 if (arg3 == NULL) SWIG_fail;
30563 temp3 = true;
30564 }
30565 if (obj3) {
30566 {
30567 arg4 = &temp4;
30568 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30569 }
30570 }
30571 if (obj4) {
30572 {
30573 arg5 = &temp5;
30574 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30575 }
30576 }
30577 if (obj5) {
30578 ecode6 = SWIG_AsVal_long(obj5, &val6);
30579 if (!SWIG_IsOK(ecode6)) {
30580 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30581 }
30582 arg6 = static_cast< long >(val6);
30583 }
30584 if (obj6) {
30585 {
30586 arg7 = wxString_in_helper(obj6);
30587 if (arg7 == NULL) SWIG_fail;
30588 temp7 = true;
30589 }
30590 }
30591 {
30592 if (!wxPyCheckForApp()) SWIG_fail;
30593 PyThreadState* __tstate = wxPyBeginAllowThreads();
30594 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30595 wxPyEndAllowThreads(__tstate);
30596 if (PyErr_Occurred()) SWIG_fail;
30597 }
30598 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30599 {
30600 if (temp3)
30601 delete arg3;
30602 }
30603 {
30604 if (temp7)
30605 delete arg7;
30606 }
30607 return resultobj;
30608 fail:
30609 {
30610 if (temp3)
30611 delete arg3;
30612 }
30613 {
30614 if (temp7)
30615 delete arg7;
30616 }
30617 return NULL;
30618 }
30619
30620
30621 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30622 PyObject *resultobj = 0;
30623 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30624 PyObject *arg2 = (PyObject *) 0 ;
30625 PyObject *arg3 = (PyObject *) 0 ;
30626 void *argp1 = 0 ;
30627 int res1 = 0 ;
30628 PyObject * obj0 = 0 ;
30629 PyObject * obj1 = 0 ;
30630 PyObject * obj2 = 0 ;
30631 char * kwnames[] = {
30632 (char *) "self",(char *) "self",(char *) "_class", NULL
30633 };
30634
30635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30637 if (!SWIG_IsOK(res1)) {
30638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30639 }
30640 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30641 arg2 = obj1;
30642 arg3 = obj2;
30643 {
30644 PyThreadState* __tstate = wxPyBeginAllowThreads();
30645 (arg1)->_setCallbackInfo(arg2,arg3);
30646 wxPyEndAllowThreads(__tstate);
30647 if (PyErr_Occurred()) SWIG_fail;
30648 }
30649 resultobj = SWIG_Py_Void();
30650 return resultobj;
30651 fail:
30652 return NULL;
30653 }
30654
30655
30656 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30657 PyObject *resultobj = 0;
30658 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30659 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30660 void *argp1 = 0 ;
30661 int res1 = 0 ;
30662 void *argp2 = 0 ;
30663 int res2 = 0 ;
30664 PyObject * obj0 = 0 ;
30665 PyObject * obj1 = 0 ;
30666 char * kwnames[] = {
30667 (char *) "self",(char *) "canvas", NULL
30668 };
30669
30670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30672 if (!SWIG_IsOK(res1)) {
30673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30674 }
30675 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30676 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30677 if (!SWIG_IsOK(res2)) {
30678 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30679 }
30680 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30681 {
30682 PyThreadState* __tstate = wxPyBeginAllowThreads();
30683 (arg1)->SetPreviewCanvas(arg2);
30684 wxPyEndAllowThreads(__tstate);
30685 if (PyErr_Occurred()) SWIG_fail;
30686 }
30687 resultobj = SWIG_Py_Void();
30688 return resultobj;
30689 fail:
30690 return NULL;
30691 }
30692
30693
30694 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30695 PyObject *resultobj = 0;
30696 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30697 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30698 void *argp1 = 0 ;
30699 int res1 = 0 ;
30700 void *argp2 = 0 ;
30701 int res2 = 0 ;
30702 PyObject * obj0 = 0 ;
30703 PyObject * obj1 = 0 ;
30704 char * kwnames[] = {
30705 (char *) "self",(char *) "bar", NULL
30706 };
30707
30708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30710 if (!SWIG_IsOK(res1)) {
30711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30712 }
30713 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30714 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30715 if (!SWIG_IsOK(res2)) {
30716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30717 }
30718 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30719 {
30720 PyThreadState* __tstate = wxPyBeginAllowThreads();
30721 (arg1)->SetControlBar(arg2);
30722 wxPyEndAllowThreads(__tstate);
30723 if (PyErr_Occurred()) SWIG_fail;
30724 }
30725 resultobj = SWIG_Py_Void();
30726 return resultobj;
30727 fail:
30728 return NULL;
30729 }
30730
30731
30732 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30733 PyObject *resultobj = 0;
30734 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30735 void *argp1 = 0 ;
30736 int res1 = 0 ;
30737 PyObject *swig_obj[1] ;
30738
30739 if (!args) SWIG_fail;
30740 swig_obj[0] = args;
30741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30742 if (!SWIG_IsOK(res1)) {
30743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30744 }
30745 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30746 {
30747 PyThreadState* __tstate = wxPyBeginAllowThreads();
30748 (arg1)->Initialize();
30749 wxPyEndAllowThreads(__tstate);
30750 if (PyErr_Occurred()) SWIG_fail;
30751 }
30752 resultobj = SWIG_Py_Void();
30753 return resultobj;
30754 fail:
30755 return NULL;
30756 }
30757
30758
30759 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30760 PyObject *resultobj = 0;
30761 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30762 void *argp1 = 0 ;
30763 int res1 = 0 ;
30764 PyObject *swig_obj[1] ;
30765
30766 if (!args) SWIG_fail;
30767 swig_obj[0] = args;
30768 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30769 if (!SWIG_IsOK(res1)) {
30770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30771 }
30772 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30773 {
30774 PyThreadState* __tstate = wxPyBeginAllowThreads();
30775 (arg1)->CreateCanvas();
30776 wxPyEndAllowThreads(__tstate);
30777 if (PyErr_Occurred()) SWIG_fail;
30778 }
30779 resultobj = SWIG_Py_Void();
30780 return resultobj;
30781 fail:
30782 return NULL;
30783 }
30784
30785
30786 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30787 PyObject *resultobj = 0;
30788 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30789 void *argp1 = 0 ;
30790 int res1 = 0 ;
30791 PyObject *swig_obj[1] ;
30792
30793 if (!args) SWIG_fail;
30794 swig_obj[0] = args;
30795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30796 if (!SWIG_IsOK(res1)) {
30797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30798 }
30799 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30800 {
30801 PyThreadState* __tstate = wxPyBeginAllowThreads();
30802 (arg1)->CreateControlBar();
30803 wxPyEndAllowThreads(__tstate);
30804 if (PyErr_Occurred()) SWIG_fail;
30805 }
30806 resultobj = SWIG_Py_Void();
30807 return resultobj;
30808 fail:
30809 return NULL;
30810 }
30811
30812
30813 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30814 PyObject *obj;
30815 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30816 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30817 return SWIG_Py_Void();
30818 }
30819
30820 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30821 return SWIG_Python_InitShadowInstance(args);
30822 }
30823
30824 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30825 PyObject *resultobj = 0;
30826 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30827 long arg2 ;
30828 wxWindow *arg3 = (wxWindow *) 0 ;
30829 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30830 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30831 wxSize const &arg5_defvalue = wxDefaultSize ;
30832 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30833 long arg6 = (long) 0 ;
30834 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30835 wxString *arg7 = (wxString *) &arg7_defvalue ;
30836 wxPyPreviewControlBar *result = 0 ;
30837 void *argp1 = 0 ;
30838 int res1 = 0 ;
30839 long val2 ;
30840 int ecode2 = 0 ;
30841 void *argp3 = 0 ;
30842 int res3 = 0 ;
30843 wxPoint temp4 ;
30844 wxSize temp5 ;
30845 long val6 ;
30846 int ecode6 = 0 ;
30847 bool temp7 = false ;
30848 PyObject * obj0 = 0 ;
30849 PyObject * obj1 = 0 ;
30850 PyObject * obj2 = 0 ;
30851 PyObject * obj3 = 0 ;
30852 PyObject * obj4 = 0 ;
30853 PyObject * obj5 = 0 ;
30854 PyObject * obj6 = 0 ;
30855 char * kwnames[] = {
30856 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30857 };
30858
30859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30861 if (!SWIG_IsOK(res1)) {
30862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30863 }
30864 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30865 ecode2 = SWIG_AsVal_long(obj1, &val2);
30866 if (!SWIG_IsOK(ecode2)) {
30867 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30868 }
30869 arg2 = static_cast< long >(val2);
30870 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30871 if (!SWIG_IsOK(res3)) {
30872 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30873 }
30874 arg3 = reinterpret_cast< wxWindow * >(argp3);
30875 if (obj3) {
30876 {
30877 arg4 = &temp4;
30878 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30879 }
30880 }
30881 if (obj4) {
30882 {
30883 arg5 = &temp5;
30884 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30885 }
30886 }
30887 if (obj5) {
30888 ecode6 = SWIG_AsVal_long(obj5, &val6);
30889 if (!SWIG_IsOK(ecode6)) {
30890 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30891 }
30892 arg6 = static_cast< long >(val6);
30893 }
30894 if (obj6) {
30895 {
30896 arg7 = wxString_in_helper(obj6);
30897 if (arg7 == NULL) SWIG_fail;
30898 temp7 = true;
30899 }
30900 }
30901 {
30902 if (!wxPyCheckForApp()) SWIG_fail;
30903 PyThreadState* __tstate = wxPyBeginAllowThreads();
30904 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30905 wxPyEndAllowThreads(__tstate);
30906 if (PyErr_Occurred()) SWIG_fail;
30907 }
30908 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30909 {
30910 if (temp7)
30911 delete arg7;
30912 }
30913 return resultobj;
30914 fail:
30915 {
30916 if (temp7)
30917 delete arg7;
30918 }
30919 return NULL;
30920 }
30921
30922
30923 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30924 PyObject *resultobj = 0;
30925 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30926 PyObject *arg2 = (PyObject *) 0 ;
30927 PyObject *arg3 = (PyObject *) 0 ;
30928 void *argp1 = 0 ;
30929 int res1 = 0 ;
30930 PyObject * obj0 = 0 ;
30931 PyObject * obj1 = 0 ;
30932 PyObject * obj2 = 0 ;
30933 char * kwnames[] = {
30934 (char *) "self",(char *) "self",(char *) "_class", NULL
30935 };
30936
30937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30939 if (!SWIG_IsOK(res1)) {
30940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30941 }
30942 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30943 arg2 = obj1;
30944 arg3 = obj2;
30945 {
30946 PyThreadState* __tstate = wxPyBeginAllowThreads();
30947 (arg1)->_setCallbackInfo(arg2,arg3);
30948 wxPyEndAllowThreads(__tstate);
30949 if (PyErr_Occurred()) SWIG_fail;
30950 }
30951 resultobj = SWIG_Py_Void();
30952 return resultobj;
30953 fail:
30954 return NULL;
30955 }
30956
30957
30958 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30959 PyObject *resultobj = 0;
30960 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30961 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30962 void *argp1 = 0 ;
30963 int res1 = 0 ;
30964 void *argp2 = 0 ;
30965 int res2 = 0 ;
30966 PyObject * obj0 = 0 ;
30967 PyObject * obj1 = 0 ;
30968 char * kwnames[] = {
30969 (char *) "self",(char *) "preview", NULL
30970 };
30971
30972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30974 if (!SWIG_IsOK(res1)) {
30975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30976 }
30977 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30978 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30979 if (!SWIG_IsOK(res2)) {
30980 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30981 }
30982 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30983 {
30984 PyThreadState* __tstate = wxPyBeginAllowThreads();
30985 (arg1)->SetPrintPreview(arg2);
30986 wxPyEndAllowThreads(__tstate);
30987 if (PyErr_Occurred()) SWIG_fail;
30988 }
30989 resultobj = SWIG_Py_Void();
30990 return resultobj;
30991 fail:
30992 return NULL;
30993 }
30994
30995
30996 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30997 PyObject *resultobj = 0;
30998 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30999 void *argp1 = 0 ;
31000 int res1 = 0 ;
31001 PyObject *swig_obj[1] ;
31002
31003 if (!args) SWIG_fail;
31004 swig_obj[0] = args;
31005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31006 if (!SWIG_IsOK(res1)) {
31007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31008 }
31009 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31010 {
31011 PyThreadState* __tstate = wxPyBeginAllowThreads();
31012 (arg1)->CreateButtons();
31013 wxPyEndAllowThreads(__tstate);
31014 if (PyErr_Occurred()) SWIG_fail;
31015 }
31016 resultobj = SWIG_Py_Void();
31017 return resultobj;
31018 fail:
31019 return NULL;
31020 }
31021
31022
31023 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31024 PyObject *resultobj = 0;
31025 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31026 int arg2 ;
31027 void *argp1 = 0 ;
31028 int res1 = 0 ;
31029 int val2 ;
31030 int ecode2 = 0 ;
31031 PyObject * obj0 = 0 ;
31032 PyObject * obj1 = 0 ;
31033 char * kwnames[] = {
31034 (char *) "self",(char *) "zoom", NULL
31035 };
31036
31037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31039 if (!SWIG_IsOK(res1)) {
31040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31041 }
31042 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31043 ecode2 = SWIG_AsVal_int(obj1, &val2);
31044 if (!SWIG_IsOK(ecode2)) {
31045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31046 }
31047 arg2 = static_cast< int >(val2);
31048 {
31049 PyThreadState* __tstate = wxPyBeginAllowThreads();
31050 (arg1)->SetZoomControl(arg2);
31051 wxPyEndAllowThreads(__tstate);
31052 if (PyErr_Occurred()) SWIG_fail;
31053 }
31054 resultobj = SWIG_Py_Void();
31055 return resultobj;
31056 fail:
31057 return NULL;
31058 }
31059
31060
31061 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31062 PyObject *obj;
31063 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31064 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31065 return SWIG_Py_Void();
31066 }
31067
31068 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31069 return SWIG_Python_InitShadowInstance(args);
31070 }
31071
31072 static PyMethodDef SwigMethods[] = {
31073 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31074 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31075 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31076 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31077 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31078 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31079 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31080 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31082 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31083 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31084 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31086 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31089 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31090 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31091 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31092 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31093 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31094 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31095 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31096 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31097 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31098 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31099 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31100 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
31102 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31105 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31106 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31107 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31108 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31109 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31110 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31111 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31112 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31113 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31115 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31116 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31117 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31119 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31122 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31123 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31124 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31127 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31128 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31130 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31131 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31132 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31133 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31134 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31135 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31137 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31138 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31139 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31140 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31142 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31143 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31145 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31146 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31147 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31148 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31149 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31150 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31152 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31154 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31155 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31156 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31157 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31159 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31160 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31161 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31162 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31163 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31164 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31165 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31166 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31168 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31169 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31170 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31171 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31172 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31173 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31174 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31176 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31178 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31179 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31181 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31182 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31183 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31184 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31186 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31187 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31188 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31189 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31190 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31191 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31192 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31195 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31196 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31199 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31200 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31201 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31202 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31203 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31204 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31205 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31206 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31207 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31208 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31210 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31211 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31212 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31213 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31214 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31215 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31216 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31217 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31218 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31219 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31221 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31222 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31223 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31224 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31225 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31226 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31227 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31228 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31229 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31230 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31231 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31232 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31233 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31234 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31235 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31236 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31237 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31238 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31239 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31240 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31241 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31242 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31243 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31244 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31245 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31246 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31247 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31248 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31249 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31250 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31251 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31252 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31255 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31256 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31257 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31259 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31260 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31261 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31262 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31263 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31264 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31265 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31266 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31267 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31269 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31270 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31271 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31272 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31273 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31274 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31275 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31276 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31277 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31278 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31279 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31280 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31281 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31282 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31283 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31284 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31285 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31287 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31288 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31289 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31290 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31291 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31292 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31293 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31294 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31295 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31296 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31297 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31298 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31299 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31300 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31301 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31302 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31303 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31304 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31305 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31306 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31307 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31308 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31309 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31310 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31311 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31312 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31313 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31314 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31315 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31316 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31317 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31318 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31319 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31321 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31322 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31323 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31324 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31325 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31326 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31327 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31328 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31329 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31330 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31331 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31332 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31333 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31334 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31335 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31336 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31337 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31338 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31339 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31340 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31341 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31342 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31343 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31344 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31345 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31346 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31347 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31348 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31349 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31350 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31351 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31352 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31353 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31354 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31355 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31356 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31357 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31358 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31360 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31361 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31362 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31363 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31364 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31365 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31366 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31367 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31368 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31369 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31370 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31371 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31372 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31373 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31374 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31375 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31376 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31377 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31378 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31379 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31380 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31381 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31382 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31383 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31384 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31385 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31387 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31388 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31389 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31390 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31391 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31392 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31393 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31394 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31395 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31396 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31397 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31398 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31399 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31400 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31401 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31402 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31403 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31404 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31405 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31407 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31408 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31409 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31410 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31411 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31412 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31413 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31414 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31415 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31416 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31417 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31418 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31419 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31420 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31421 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31422 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31423 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31424 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31425 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31426 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31428 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31429 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31430 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31431 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31432 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31433 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31436 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31438 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31439 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31440 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31441 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31442 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31443 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31444 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31445 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31446 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31447 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31448 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31449 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31450 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31451 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31452 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31454 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31455 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31457 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31458 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31460 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31462 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31463 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31465 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31466 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31467 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31468 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31469 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31470 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31471 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31472 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31473 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31474 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31475 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31476 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31477 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31478 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31479 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31480 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31481 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31482 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31483 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31484 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31485 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31486 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31487 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31488 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31489 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31490 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31491 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31492 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31493 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31494 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31495 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31496 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31497 { (char *)"ProgressDialog_UpdatePulse", (PyCFunction) _wrap_ProgressDialog_UpdatePulse, METH_VARARGS | METH_KEYWORDS, NULL},
31498 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31499 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31500 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31501 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31502 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31503 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31504 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31505 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31506 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31507 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31508 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31509 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31510 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31511 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31512 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31513 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31514 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31515 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31516 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31517 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31520 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31521 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31522 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31523 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31524 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31525 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31526 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31527 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31528 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31529 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31530 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31531 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31532 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31533 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31534 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31535 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31536 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31537 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
31538 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31540 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31541 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31542 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31543 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31544 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31546 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31547 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31548 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31549 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31550 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31551 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31552 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31553 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31555 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31557 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31558 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31560 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31561 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31563 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31564 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31565 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31566 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31567 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31568 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31569 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31570 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31571 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31572 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31573 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31575 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31576 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31577 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31578 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31579 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31580 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31581 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31582 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31583 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31584 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31585 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31586 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31587 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31588 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31589 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31590 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31591 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31592 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31593 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31595 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31597 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31598 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31599 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31600 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31601 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31602 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31603 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31604 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31605 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31606 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31607 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31608 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31609 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31610 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31611 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31612 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
31613 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31614 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31615 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31616 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31617 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31618 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31619 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31620 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31621 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31622 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31623 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31624 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31625 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31626 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31628 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31629 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31630 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31631 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31633 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31635 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31636 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31637 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31638 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31639 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31640 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31641 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31642 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31643 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31644 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31645 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31646 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31647 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31648 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31649 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31650 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31651 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31652 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31653 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31654 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31655 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31656 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31657 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31658 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31659 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
31660 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31665 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31666 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31667 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31668 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31670 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31671 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31672 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31673 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31674 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31675 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31676 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31677 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31678 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31679 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31680 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31681 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31682 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31683 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31684 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31685 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31686 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31687 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31688 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31689 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31690 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31691 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31692 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31693 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31695 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31696 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31697 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31703 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31704 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31705 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31706 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31707 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31708 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
31709 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31710 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31711 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31712 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31713 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31714 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31715 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31716 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31717 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31718 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31719 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31720 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31721 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31722 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31723 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31724 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31725 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31726 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31727 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31728 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31729 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31730 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31731 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31732 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31733 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31735 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31736 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31737 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31738 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31739 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31740 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31741 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31742 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31743 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31744 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31745 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31746 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31747 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31748 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31749 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31750 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31751 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31752 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31753 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31754 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31755 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31756 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31757 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31758 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31759 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31760 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31761 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31762 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31763 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31764 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31765 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31766 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31767 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31768 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31769 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31770 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31772 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31773 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31774 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31775 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31776 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31777 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31778 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31779 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31780 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31781 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31782 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31783 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31784 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31785 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31786 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31787 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31788 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31789 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31790 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31791 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31792 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31793 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31794 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31795 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31796 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31797 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31798 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31799 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
31800 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31801 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31803 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31804 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31805 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31806 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31807 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31808 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31809 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31814 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31815 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31816 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31817 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31818 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31821 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31822 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31823 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31824 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31825 { NULL, NULL, 0, NULL }
31826 };
31827
31828
31829 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31830
31831 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31832 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31833 }
31834 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31835 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31836 }
31837 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31838 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31839 }
31840 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31841 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31842 }
31843 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31844 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31845 }
31846 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31847 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31848 }
31849 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31850 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31851 }
31852 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31853 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31854 }
31855 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31856 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31857 }
31858 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31859 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31860 }
31861 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31862 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31863 }
31864 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31865 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31866 }
31867 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
31868 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
31869 }
31870 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31871 return (void *)((wxEvent *) ((wxPyEvent *) x));
31872 }
31873 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31874 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31875 }
31876 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31877 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31878 }
31879 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31880 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31881 }
31882 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31883 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31884 }
31885 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31886 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31887 }
31888 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31889 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31890 }
31891 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31892 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31893 }
31894 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31895 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31896 }
31897 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31898 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31899 }
31900 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31901 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31902 }
31903 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31904 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31905 }
31906 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31907 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31908 }
31909 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31910 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31911 }
31912 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31913 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31914 }
31915 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31916 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31917 }
31918 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31919 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31920 }
31921 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31922 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31923 }
31924 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31925 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31926 }
31927 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31928 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31929 }
31930 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31931 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31932 }
31933 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31934 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31935 }
31936 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31937 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31938 }
31939 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31940 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31941 }
31942 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31943 return (void *)((wxEvent *) ((wxShowEvent *) x));
31944 }
31945 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31946 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31947 }
31948 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31949 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31950 }
31951 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31952 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31953 }
31954 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31955 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31956 }
31957 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31958 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31959 }
31960 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31961 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31962 }
31963 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31964 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31965 }
31966 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31967 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31968 }
31969 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31970 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31971 }
31972 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31973 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31974 }
31975 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31976 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31977 }
31978 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31979 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31980 }
31981 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31982 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31983 }
31984 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31985 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31986 }
31987 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31988 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31989 }
31990 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31991 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31992 }
31993 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31994 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31995 }
31996 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31997 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31998 }
31999 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32001 }
32002 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32003 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32004 }
32005 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32006 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32007 }
32008 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32009 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32010 }
32011 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32012 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32013 }
32014 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32015 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32016 }
32017 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32018 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32019 }
32020 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32021 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32022 }
32023 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32024 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32025 }
32026 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32027 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32028 }
32029 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32030 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32031 }
32032 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32033 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32034 }
32035 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32036 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32037 }
32038 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32039 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32040 }
32041 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32042 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32043 }
32044 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32045 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32046 }
32047 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32048 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32049 }
32050 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32051 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32052 }
32053 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32054 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32055 }
32056 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32057 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32058 }
32059 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32060 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32061 }
32062 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32063 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32064 }
32065 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32066 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32067 }
32068 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32069 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32070 }
32071 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32072 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32073 }
32074 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32075 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32076 }
32077 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32078 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32079 }
32080 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32081 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32082 }
32083 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32084 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32085 }
32086 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32087 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32088 }
32089 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32090 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32091 }
32092 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32093 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32094 }
32095 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32096 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32097 }
32098 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32099 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32100 }
32101 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32102 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32103 }
32104 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32106 }
32107 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32108 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32109 }
32110 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32111 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32112 }
32113 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32114 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32115 }
32116 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32117 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32118 }
32119 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32120 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32121 }
32122 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32123 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32124 }
32125 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32126 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32127 }
32128 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32129 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32130 }
32131 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32132 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32133 }
32134 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32135 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32136 }
32137 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32138 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32139 }
32140 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32141 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32142 }
32143 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32144 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32145 }
32146 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32147 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32148 }
32149 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32150 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32151 }
32152 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32154 }
32155 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32157 }
32158 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32159 return (void *)((wxObject *) ((wxSizerItem *) x));
32160 }
32161 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32162 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32163 }
32164 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32165 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32166 }
32167 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32168 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32169 }
32170 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32171 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32172 }
32173 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32174 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32175 }
32176 static void *_p_wxSizerTo_p_wxObject(void *x) {
32177 return (void *)((wxObject *) ((wxSizer *) x));
32178 }
32179 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32180 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32181 }
32182 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32183 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32184 }
32185 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32187 }
32188 static void *_p_wxEventTo_p_wxObject(void *x) {
32189 return (void *)((wxObject *) ((wxEvent *) x));
32190 }
32191 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32192 return (void *)((wxObject *) ((wxFontData *) x));
32193 }
32194 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32195 return (void *)((wxObject *) ((wxPrintData *) x));
32196 }
32197 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32198 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32199 }
32200 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32201 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32202 }
32203 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32204 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32205 }
32206 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32207 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32208 }
32209 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32210 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32211 }
32212 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32213 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32214 }
32215 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32216 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32217 }
32218 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32219 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32220 }
32221 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32222 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32223 }
32224 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32225 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32226 }
32227 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32228 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32229 }
32230 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32231 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32232 }
32233 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32234 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32235 }
32236 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32237 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32238 }
32239 static void *_p_wxControlTo_p_wxObject(void *x) {
32240 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32241 }
32242 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32243 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32244 }
32245 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32246 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32247 }
32248 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32249 return (void *)((wxObject *) ((wxFSFile *) x));
32250 }
32251 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32252 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32253 }
32254 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32255 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32256 }
32257 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32259 }
32260 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32261 return (void *)((wxObject *) ((wxColourData *) x));
32262 }
32263 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32264 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32265 }
32266 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32267 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32268 }
32269 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32271 }
32272 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32274 }
32275 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32276 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32277 }
32278 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32279 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32280 }
32281 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32283 }
32284 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32285 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32286 }
32287 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32289 }
32290 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32291 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32292 }
32293 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32295 }
32296 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32297 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32298 }
32299 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32301 }
32302 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32303 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32304 }
32305 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32306 return (void *)((wxObject *) ((wxPrinter *) x));
32307 }
32308 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32309 return (void *)((wxObject *) ((wxMenuItem *) x));
32310 }
32311 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32312 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32313 }
32314 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32315 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32316 }
32317 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32318 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32319 }
32320 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32321 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32322 }
32323 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32324 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32325 }
32326 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32327 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32328 }
32329 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32330 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32331 }
32332 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32333 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32334 }
32335 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32336 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32337 }
32338 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32339 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32340 }
32341 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32342 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32343 }
32344 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32345 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32346 }
32347 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32348 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32349 }
32350 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32351 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32352 }
32353 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32354 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32355 }
32356 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32357 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32358 }
32359 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32360 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32361 }
32362 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32363 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32364 }
32365 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32366 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32367 }
32368 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32369 return (void *)((wxObject *) ((wxImageHandler *) x));
32370 }
32371 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32372 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32373 }
32374 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32375 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32376 }
32377 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32378 return (void *)((wxObject *) ((wxEvtHandler *) x));
32379 }
32380 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32381 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32382 }
32383 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32384 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32385 }
32386 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32388 }
32389 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32391 }
32392 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32393 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32394 }
32395 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32396 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32397 }
32398 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32400 }
32401 static void *_p_wxImageTo_p_wxObject(void *x) {
32402 return (void *)((wxObject *) ((wxImage *) x));
32403 }
32404 static void *_p_wxFrameTo_p_wxObject(void *x) {
32405 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32406 }
32407 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32408 return (void *)((wxObject *) ((wxPyPrintout *) x));
32409 }
32410 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32411 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32412 }
32413 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32414 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32415 }
32416 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32417 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32418 }
32419 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32420 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32421 }
32422 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32423 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32424 }
32425 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32426 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32427 }
32428 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32429 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32430 }
32431 static void *_p_wxWindowTo_p_wxObject(void *x) {
32432 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32433 }
32434 static void *_p_wxMenuTo_p_wxObject(void *x) {
32435 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32436 }
32437 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32439 }
32440 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32442 }
32443 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32444 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32445 }
32446 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32447 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32448 }
32449 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32450 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32451 }
32452 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32454 }
32455 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32456 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32457 }
32458 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32460 }
32461 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32463 }
32464 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32466 }
32467 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32468 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32469 }
32470 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32472 }
32473 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32475 }
32476 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32477 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32478 }
32479 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32480 return (void *)((wxObject *) ((wxPrintPreview *) x));
32481 }
32482 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32483 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32484 }
32485 static void *_p_wxPanelTo_p_wxObject(void *x) {
32486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32487 }
32488 static void *_p_wxDialogTo_p_wxObject(void *x) {
32489 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32490 }
32491 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32493 }
32494 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32496 }
32497 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32499 }
32500 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32501 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32502 }
32503 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32504 return (void *)((wxObject *) ((wxPrintDialog *) x));
32505 }
32506 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32507 return (void *)((wxObject *) ((wxFileSystem *) x));
32508 }
32509 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32510 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32511 }
32512 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32513 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32514 }
32515 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32516 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32517 }
32518 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32519 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32520 }
32521 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32522 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32523 }
32524 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32525 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32526 }
32527 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32528 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32529 }
32530 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32531 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32532 }
32533 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32535 }
32536 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32538 }
32539 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32540 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32541 }
32542 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32543 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32544 }
32545 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32546 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32547 }
32548 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32550 }
32551 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32552 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32553 }
32554 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32555 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32556 }
32557 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32558 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32559 }
32560 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32561 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32562 }
32563 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32564 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32565 }
32566 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32567 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32568 }
32569 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32570 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32571 }
32572 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32573 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32574 }
32575 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32576 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32577 }
32578 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32579 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32580 }
32581 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32582 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32583 }
32584 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32585 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32586 }
32587 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32588 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32589 }
32590 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32591 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32592 }
32593 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32594 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32595 }
32596 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32597 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32598 }
32599 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32600 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32601 }
32602 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32603 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32604 }
32605 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32606 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32607 }
32608 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32609 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32610 }
32611 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32612 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32613 }
32614 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32615 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32616 }
32617 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32618 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32619 }
32620 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32621 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32622 }
32623 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32624 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32625 }
32626 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32627 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32628 }
32629 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32630 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32631 }
32632 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32633 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32634 }
32635 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32636 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32637 }
32638 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32639 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32640 }
32641 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32642 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32643 }
32644 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32645 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32646 }
32647 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32648 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32649 }
32650 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32651 return (void *)((wxWindow *) ((wxMenuBar *) x));
32652 }
32653 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32654 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32655 }
32656 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32657 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32658 }
32659 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32660 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32661 }
32662 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32663 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32664 }
32665 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32666 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32667 }
32668 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32669 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32670 }
32671 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32672 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32673 }
32674 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32675 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32676 }
32677 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32678 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32679 }
32680 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32681 return (void *)((wxWindow *) ((wxPanel *) x));
32682 }
32683 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32684 return (void *)((wxWindow *) ((wxStatusBar *) x));
32685 }
32686 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32687 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32688 }
32689 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32690 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32691 }
32692 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32693 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32694 }
32695 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32696 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32697 }
32698 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32699 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32700 }
32701 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32702 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32703 }
32704 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32705 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32706 }
32707 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32708 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32709 }
32710 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32711 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32712 }
32713 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32714 return (void *)((wxWindow *) ((wxSashWindow *) x));
32715 }
32716 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32717 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32718 }
32719 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32720 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32721 }
32722 static void *_p_wxControlTo_p_wxWindow(void *x) {
32723 return (void *)((wxWindow *) ((wxControl *) x));
32724 }
32725 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32726 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32727 }
32728 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32729 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32730 }
32731 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32732 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32733 }
32734 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32735 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32736 }
32737 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32738 return (void *)((wxWindow *) ((wxPyWindow *) x));
32739 }
32740 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32741 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32742 }
32743 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32744 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32745 }
32746 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32747 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32748 }
32749 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32750 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32751 }
32752 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32753 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32754 }
32755 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32756 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32757 }
32758 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32759 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32760 }
32761 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32762 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32763 }
32764 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32765 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32766 }
32767 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32768 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32769 }
32770 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32771 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32772 }
32773 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32774 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32775 }
32776 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32777 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32778 }
32779 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32780 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32781 }
32782 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32783 return (void *)((wxDialog *) ((wxColourDialog *) x));
32784 }
32785 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32786 return (void *)((wxDialog *) ((wxDirDialog *) x));
32787 }
32788 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32789 return (void *)((wxDialog *) ((wxFontDialog *) x));
32790 }
32791 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32792 return (void *)((wxDialog *) ((wxFileDialog *) x));
32793 }
32794 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32795 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32796 }
32797 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32798 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32799 }
32800 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32801 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32802 }
32803 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32804 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32805 }
32806 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32807 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32808 }
32809 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32810 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32811 }
32812 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32813 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32814 }
32815 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32816 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32817 }
32818 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32819 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32820 }
32821 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32822 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32823 }
32824 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32825 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32826 }
32827 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32828 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32829 }
32830 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32831 return (void *)((wxPanel *) ((wxPyPanel *) x));
32832 }
32833 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32834 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32835 }
32836 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32837 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32838 }
32839 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32840 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32841 }
32842 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32843 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32844 }
32845 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32846 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32847 }
32848 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32849 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32850 }
32851 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32852 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32853 }
32854 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32855 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32856 }
32857 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32858 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32859 }
32860 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32861 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32862 }
32863 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32864 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32865 }
32866 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32867 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32868 }
32869 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32870 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32871 }
32872 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32873 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32874 }
32875 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32876 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32877 }
32878 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32879 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32880 }
32881 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32882 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32883 }
32884 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32885 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32886 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};
32887 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32888 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32889 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32890 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32891 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32892 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32893 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32894 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32895 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32896 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32897 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32898 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32899 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32900 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32901 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32902 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32903 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32904 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32905 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32906 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32907 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32908 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32909 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32910 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32911 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32912 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32913 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32914 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32915 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32916 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32917 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32918 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32919 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32920 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32921 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32922 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32923 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32924 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32925 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32926 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32927 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32928 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32929 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32930 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32931 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32932 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32933 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32934 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32935 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32936 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32937 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32938 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32939 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32940 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32941 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32942 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32943 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32944 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32945 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32946 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32947 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32948 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32949 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32950 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32951 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32952 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32953 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32954 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32955 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32956 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32957 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32958 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32959 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32960 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32961 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32962 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32963 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32964 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32965 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32966 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32967 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32968 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32969 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32970 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32971 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32972 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32973 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32974 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32975 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32976 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32977 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32978 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32979 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32980 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32981 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32982 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32983 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32984 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32985 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32986 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32987 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32988 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32989 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32990 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32991 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32992 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32993 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32994 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32995 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32996 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32997 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32998 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32999 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33000 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33001 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33002 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33003 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33004 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33005 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33006 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33007 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33008 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33009 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33010 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33011 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33012 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33013 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33014 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33015 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33016 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33017 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33018 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33019 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33020 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33021 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33022 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33023 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33024 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33025 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33026 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33027 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33028 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33029 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33030 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33031 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33032 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33033 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33034 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33035 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33036 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33037 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33038 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33039 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33040 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33041 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33042 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33043 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33044 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33045 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33046 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33047 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33048 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33049
33050 static swig_type_info *swig_type_initial[] = {
33051 &_swigt__p_bool,
33052 &_swigt__p_char,
33053 &_swigt__p_form_ops_t,
33054 &_swigt__p_int,
33055 &_swigt__p_unsigned_char,
33056 &_swigt__p_unsigned_int,
33057 &_swigt__p_unsigned_long,
33058 &_swigt__p_wxANIHandler,
33059 &_swigt__p_wxAcceleratorTable,
33060 &_swigt__p_wxActivateEvent,
33061 &_swigt__p_wxArrayInt,
33062 &_swigt__p_wxBMPHandler,
33063 &_swigt__p_wxBitmap,
33064 &_swigt__p_wxBoxSizer,
33065 &_swigt__p_wxCURHandler,
33066 &_swigt__p_wxCalculateLayoutEvent,
33067 &_swigt__p_wxChildFocusEvent,
33068 &_swigt__p_wxClipboardTextEvent,
33069 &_swigt__p_wxCloseEvent,
33070 &_swigt__p_wxColour,
33071 &_swigt__p_wxColourData,
33072 &_swigt__p_wxColourDialog,
33073 &_swigt__p_wxCommandEvent,
33074 &_swigt__p_wxContextMenuEvent,
33075 &_swigt__p_wxControl,
33076 &_swigt__p_wxControlWithItems,
33077 &_swigt__p_wxDC,
33078 &_swigt__p_wxDateEvent,
33079 &_swigt__p_wxDialog,
33080 &_swigt__p_wxDirDialog,
33081 &_swigt__p_wxDisplayChangedEvent,
33082 &_swigt__p_wxDropFilesEvent,
33083 &_swigt__p_wxDuplexMode,
33084 &_swigt__p_wxEraseEvent,
33085 &_swigt__p_wxEvent,
33086 &_swigt__p_wxEvtHandler,
33087 &_swigt__p_wxFSFile,
33088 &_swigt__p_wxFileDialog,
33089 &_swigt__p_wxFileSystem,
33090 &_swigt__p_wxFindDialogEvent,
33091 &_swigt__p_wxFindReplaceData,
33092 &_swigt__p_wxFindReplaceDialog,
33093 &_swigt__p_wxFlexGridSizer,
33094 &_swigt__p_wxFocusEvent,
33095 &_swigt__p_wxFont,
33096 &_swigt__p_wxFontData,
33097 &_swigt__p_wxFontDialog,
33098 &_swigt__p_wxFrame,
33099 &_swigt__p_wxGBSizerItem,
33100 &_swigt__p_wxGIFHandler,
33101 &_swigt__p_wxGridBagSizer,
33102 &_swigt__p_wxGridSizer,
33103 &_swigt__p_wxHtmlLinkInfo,
33104 &_swigt__p_wxICOHandler,
33105 &_swigt__p_wxIcon,
33106 &_swigt__p_wxIconBundle,
33107 &_swigt__p_wxIconizeEvent,
33108 &_swigt__p_wxIdleEvent,
33109 &_swigt__p_wxImage,
33110 &_swigt__p_wxImageHandler,
33111 &_swigt__p_wxIndividualLayoutConstraint,
33112 &_swigt__p_wxInitDialogEvent,
33113 &_swigt__p_wxJPEGHandler,
33114 &_swigt__p_wxKeyEvent,
33115 &_swigt__p_wxLayoutAlgorithm,
33116 &_swigt__p_wxLayoutConstraints,
33117 &_swigt__p_wxMDIChildFrame,
33118 &_swigt__p_wxMDIClientWindow,
33119 &_swigt__p_wxMDIParentFrame,
33120 &_swigt__p_wxMaximizeEvent,
33121 &_swigt__p_wxMenu,
33122 &_swigt__p_wxMenuBar,
33123 &_swigt__p_wxMenuEvent,
33124 &_swigt__p_wxMenuItem,
33125 &_swigt__p_wxMessageDialog,
33126 &_swigt__p_wxMiniFrame,
33127 &_swigt__p_wxMouseCaptureChangedEvent,
33128 &_swigt__p_wxMouseCaptureLostEvent,
33129 &_swigt__p_wxMouseEvent,
33130 &_swigt__p_wxMoveEvent,
33131 &_swigt__p_wxMultiChoiceDialog,
33132 &_swigt__p_wxNavigationKeyEvent,
33133 &_swigt__p_wxNcPaintEvent,
33134 &_swigt__p_wxNotifyEvent,
33135 &_swigt__p_wxNumberEntryDialog,
33136 &_swigt__p_wxObject,
33137 &_swigt__p_wxPCXHandler,
33138 &_swigt__p_wxPNGHandler,
33139 &_swigt__p_wxPNMHandler,
33140 &_swigt__p_wxPageSetupDialog,
33141 &_swigt__p_wxPageSetupDialogData,
33142 &_swigt__p_wxPaintEvent,
33143 &_swigt__p_wxPaletteChangedEvent,
33144 &_swigt__p_wxPanel,
33145 &_swigt__p_wxPaperSize,
33146 &_swigt__p_wxPasswordEntryDialog,
33147 &_swigt__p_wxPoint,
33148 &_swigt__p_wxPopupWindow,
33149 &_swigt__p_wxPreviewCanvas,
33150 &_swigt__p_wxPreviewControlBar,
33151 &_swigt__p_wxPreviewFrame,
33152 &_swigt__p_wxPrintData,
33153 &_swigt__p_wxPrintDialog,
33154 &_swigt__p_wxPrintDialogData,
33155 &_swigt__p_wxPrintPreview,
33156 &_swigt__p_wxPrinter,
33157 &_swigt__p_wxProgressDialog,
33158 &_swigt__p_wxPyApp,
33159 &_swigt__p_wxPyCommandEvent,
33160 &_swigt__p_wxPyEvent,
33161 &_swigt__p_wxPyHtmlListBox,
33162 &_swigt__p_wxPyImageHandler,
33163 &_swigt__p_wxPyPanel,
33164 &_swigt__p_wxPyPopupTransientWindow,
33165 &_swigt__p_wxPyPreviewControlBar,
33166 &_swigt__p_wxPyPreviewFrame,
33167 &_swigt__p_wxPyPrintPreview,
33168 &_swigt__p_wxPyPrintout,
33169 &_swigt__p_wxPyScrolledWindow,
33170 &_swigt__p_wxPySizer,
33171 &_swigt__p_wxPyTaskBarIcon,
33172 &_swigt__p_wxPyVListBox,
33173 &_swigt__p_wxPyVScrolledWindow,
33174 &_swigt__p_wxPyValidator,
33175 &_swigt__p_wxPyWindow,
33176 &_swigt__p_wxQueryLayoutInfoEvent,
33177 &_swigt__p_wxQueryNewPaletteEvent,
33178 &_swigt__p_wxRect,
33179 &_swigt__p_wxRegion,
33180 &_swigt__p_wxSashEvent,
33181 &_swigt__p_wxSashLayoutWindow,
33182 &_swigt__p_wxSashWindow,
33183 &_swigt__p_wxScrollEvent,
33184 &_swigt__p_wxScrollWinEvent,
33185 &_swigt__p_wxScrolledWindow,
33186 &_swigt__p_wxSetCursorEvent,
33187 &_swigt__p_wxShowEvent,
33188 &_swigt__p_wxSingleChoiceDialog,
33189 &_swigt__p_wxSize,
33190 &_swigt__p_wxSizeEvent,
33191 &_swigt__p_wxSizer,
33192 &_swigt__p_wxSizerItem,
33193 &_swigt__p_wxSplashScreen,
33194 &_swigt__p_wxSplashScreenWindow,
33195 &_swigt__p_wxSplitterEvent,
33196 &_swigt__p_wxSplitterWindow,
33197 &_swigt__p_wxStaticBoxSizer,
33198 &_swigt__p_wxStatusBar,
33199 &_swigt__p_wxStdDialogButtonSizer,
33200 &_swigt__p_wxString,
33201 &_swigt__p_wxSysColourChangedEvent,
33202 &_swigt__p_wxTIFFHandler,
33203 &_swigt__p_wxTaskBarIcon,
33204 &_swigt__p_wxTaskBarIconEvent,
33205 &_swigt__p_wxTextEntryDialog,
33206 &_swigt__p_wxTipWindow,
33207 &_swigt__p_wxToolBar,
33208 &_swigt__p_wxTopLevelWindow,
33209 &_swigt__p_wxUpdateUIEvent,
33210 &_swigt__p_wxValidator,
33211 &_swigt__p_wxVisualAttributes,
33212 &_swigt__p_wxWindow,
33213 &_swigt__p_wxWindowCreateEvent,
33214 &_swigt__p_wxWindowDestroyEvent,
33215 &_swigt__p_wxXPMHandler,
33216 };
33217
33218 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33219 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33220 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33221 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33222 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33223 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33224 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33225 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33226 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33227 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33228 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33229 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33230 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33231 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33232 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33233 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33234 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33235 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33236 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33237 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33238 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33239 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33240 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}};
33241 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33242 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}};
33243 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33244 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33245 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33246 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33247 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33248 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33249 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33250 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33251 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33252 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33253 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33254 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33255 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33256 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33257 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33258 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33259 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33260 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33261 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33262 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33263 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33264 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33265 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33266 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33267 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33268 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33269 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33270 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33271 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}};
33272 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33273 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33274 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33275 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33276 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33277 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
33278 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33279 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33280 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33281 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33282 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33283 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33284 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33285 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33286 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}};
33287 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33288 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33289 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33290 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33291 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33292 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33293 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33294 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33295 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33296 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33297 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33298 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33299 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}};
33300 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33301 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33302 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33303 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33304 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33305 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33306 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33307 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33308 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33309 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33310 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33311 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33312 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33313 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33314 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33315 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33316 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33317 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33318 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33319 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33320 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33321 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33322 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33323 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33324 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33325 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33326 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33327 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33328 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33329 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
33330 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33331 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33332 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
33333 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33334 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33335 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33336 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}};
33337 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33338 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}};
33339 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}};
33340 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33341 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33342 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33343 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}};
33344 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33345 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33346 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33347 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33348 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}};
33349 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33350 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33351 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33352 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33353 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33354 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33355 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
33356 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
33357 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33358 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33359 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33360 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33361 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33362 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33363 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}};
33364 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33365 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}};
33366 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33367 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33368 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33369 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33370 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33371 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33372 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33373 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33374 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33375 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33376 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33377 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}};
33378 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33379 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33380 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}};
33381 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33382 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33383
33384 static swig_cast_info *swig_cast_initial[] = {
33385 _swigc__p_bool,
33386 _swigc__p_char,
33387 _swigc__p_form_ops_t,
33388 _swigc__p_int,
33389 _swigc__p_unsigned_char,
33390 _swigc__p_unsigned_int,
33391 _swigc__p_unsigned_long,
33392 _swigc__p_wxANIHandler,
33393 _swigc__p_wxAcceleratorTable,
33394 _swigc__p_wxActivateEvent,
33395 _swigc__p_wxArrayInt,
33396 _swigc__p_wxBMPHandler,
33397 _swigc__p_wxBitmap,
33398 _swigc__p_wxBoxSizer,
33399 _swigc__p_wxCURHandler,
33400 _swigc__p_wxCalculateLayoutEvent,
33401 _swigc__p_wxChildFocusEvent,
33402 _swigc__p_wxClipboardTextEvent,
33403 _swigc__p_wxCloseEvent,
33404 _swigc__p_wxColour,
33405 _swigc__p_wxColourData,
33406 _swigc__p_wxColourDialog,
33407 _swigc__p_wxCommandEvent,
33408 _swigc__p_wxContextMenuEvent,
33409 _swigc__p_wxControl,
33410 _swigc__p_wxControlWithItems,
33411 _swigc__p_wxDC,
33412 _swigc__p_wxDateEvent,
33413 _swigc__p_wxDialog,
33414 _swigc__p_wxDirDialog,
33415 _swigc__p_wxDisplayChangedEvent,
33416 _swigc__p_wxDropFilesEvent,
33417 _swigc__p_wxDuplexMode,
33418 _swigc__p_wxEraseEvent,
33419 _swigc__p_wxEvent,
33420 _swigc__p_wxEvtHandler,
33421 _swigc__p_wxFSFile,
33422 _swigc__p_wxFileDialog,
33423 _swigc__p_wxFileSystem,
33424 _swigc__p_wxFindDialogEvent,
33425 _swigc__p_wxFindReplaceData,
33426 _swigc__p_wxFindReplaceDialog,
33427 _swigc__p_wxFlexGridSizer,
33428 _swigc__p_wxFocusEvent,
33429 _swigc__p_wxFont,
33430 _swigc__p_wxFontData,
33431 _swigc__p_wxFontDialog,
33432 _swigc__p_wxFrame,
33433 _swigc__p_wxGBSizerItem,
33434 _swigc__p_wxGIFHandler,
33435 _swigc__p_wxGridBagSizer,
33436 _swigc__p_wxGridSizer,
33437 _swigc__p_wxHtmlLinkInfo,
33438 _swigc__p_wxICOHandler,
33439 _swigc__p_wxIcon,
33440 _swigc__p_wxIconBundle,
33441 _swigc__p_wxIconizeEvent,
33442 _swigc__p_wxIdleEvent,
33443 _swigc__p_wxImage,
33444 _swigc__p_wxImageHandler,
33445 _swigc__p_wxIndividualLayoutConstraint,
33446 _swigc__p_wxInitDialogEvent,
33447 _swigc__p_wxJPEGHandler,
33448 _swigc__p_wxKeyEvent,
33449 _swigc__p_wxLayoutAlgorithm,
33450 _swigc__p_wxLayoutConstraints,
33451 _swigc__p_wxMDIChildFrame,
33452 _swigc__p_wxMDIClientWindow,
33453 _swigc__p_wxMDIParentFrame,
33454 _swigc__p_wxMaximizeEvent,
33455 _swigc__p_wxMenu,
33456 _swigc__p_wxMenuBar,
33457 _swigc__p_wxMenuEvent,
33458 _swigc__p_wxMenuItem,
33459 _swigc__p_wxMessageDialog,
33460 _swigc__p_wxMiniFrame,
33461 _swigc__p_wxMouseCaptureChangedEvent,
33462 _swigc__p_wxMouseCaptureLostEvent,
33463 _swigc__p_wxMouseEvent,
33464 _swigc__p_wxMoveEvent,
33465 _swigc__p_wxMultiChoiceDialog,
33466 _swigc__p_wxNavigationKeyEvent,
33467 _swigc__p_wxNcPaintEvent,
33468 _swigc__p_wxNotifyEvent,
33469 _swigc__p_wxNumberEntryDialog,
33470 _swigc__p_wxObject,
33471 _swigc__p_wxPCXHandler,
33472 _swigc__p_wxPNGHandler,
33473 _swigc__p_wxPNMHandler,
33474 _swigc__p_wxPageSetupDialog,
33475 _swigc__p_wxPageSetupDialogData,
33476 _swigc__p_wxPaintEvent,
33477 _swigc__p_wxPaletteChangedEvent,
33478 _swigc__p_wxPanel,
33479 _swigc__p_wxPaperSize,
33480 _swigc__p_wxPasswordEntryDialog,
33481 _swigc__p_wxPoint,
33482 _swigc__p_wxPopupWindow,
33483 _swigc__p_wxPreviewCanvas,
33484 _swigc__p_wxPreviewControlBar,
33485 _swigc__p_wxPreviewFrame,
33486 _swigc__p_wxPrintData,
33487 _swigc__p_wxPrintDialog,
33488 _swigc__p_wxPrintDialogData,
33489 _swigc__p_wxPrintPreview,
33490 _swigc__p_wxPrinter,
33491 _swigc__p_wxProgressDialog,
33492 _swigc__p_wxPyApp,
33493 _swigc__p_wxPyCommandEvent,
33494 _swigc__p_wxPyEvent,
33495 _swigc__p_wxPyHtmlListBox,
33496 _swigc__p_wxPyImageHandler,
33497 _swigc__p_wxPyPanel,
33498 _swigc__p_wxPyPopupTransientWindow,
33499 _swigc__p_wxPyPreviewControlBar,
33500 _swigc__p_wxPyPreviewFrame,
33501 _swigc__p_wxPyPrintPreview,
33502 _swigc__p_wxPyPrintout,
33503 _swigc__p_wxPyScrolledWindow,
33504 _swigc__p_wxPySizer,
33505 _swigc__p_wxPyTaskBarIcon,
33506 _swigc__p_wxPyVListBox,
33507 _swigc__p_wxPyVScrolledWindow,
33508 _swigc__p_wxPyValidator,
33509 _swigc__p_wxPyWindow,
33510 _swigc__p_wxQueryLayoutInfoEvent,
33511 _swigc__p_wxQueryNewPaletteEvent,
33512 _swigc__p_wxRect,
33513 _swigc__p_wxRegion,
33514 _swigc__p_wxSashEvent,
33515 _swigc__p_wxSashLayoutWindow,
33516 _swigc__p_wxSashWindow,
33517 _swigc__p_wxScrollEvent,
33518 _swigc__p_wxScrollWinEvent,
33519 _swigc__p_wxScrolledWindow,
33520 _swigc__p_wxSetCursorEvent,
33521 _swigc__p_wxShowEvent,
33522 _swigc__p_wxSingleChoiceDialog,
33523 _swigc__p_wxSize,
33524 _swigc__p_wxSizeEvent,
33525 _swigc__p_wxSizer,
33526 _swigc__p_wxSizerItem,
33527 _swigc__p_wxSplashScreen,
33528 _swigc__p_wxSplashScreenWindow,
33529 _swigc__p_wxSplitterEvent,
33530 _swigc__p_wxSplitterWindow,
33531 _swigc__p_wxStaticBoxSizer,
33532 _swigc__p_wxStatusBar,
33533 _swigc__p_wxStdDialogButtonSizer,
33534 _swigc__p_wxString,
33535 _swigc__p_wxSysColourChangedEvent,
33536 _swigc__p_wxTIFFHandler,
33537 _swigc__p_wxTaskBarIcon,
33538 _swigc__p_wxTaskBarIconEvent,
33539 _swigc__p_wxTextEntryDialog,
33540 _swigc__p_wxTipWindow,
33541 _swigc__p_wxToolBar,
33542 _swigc__p_wxTopLevelWindow,
33543 _swigc__p_wxUpdateUIEvent,
33544 _swigc__p_wxValidator,
33545 _swigc__p_wxVisualAttributes,
33546 _swigc__p_wxWindow,
33547 _swigc__p_wxWindowCreateEvent,
33548 _swigc__p_wxWindowDestroyEvent,
33549 _swigc__p_wxXPMHandler,
33550 };
33551
33552
33553 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33554
33555 static swig_const_info swig_const_table[] = {
33556 {0, 0, 0, 0.0, 0, 0}};
33557
33558 #ifdef __cplusplus
33559 }
33560 #endif
33561 /* -----------------------------------------------------------------------------
33562 * Type initialization:
33563 * This problem is tough by the requirement that no dynamic
33564 * memory is used. Also, since swig_type_info structures store pointers to
33565 * swig_cast_info structures and swig_cast_info structures store pointers back
33566 * to swig_type_info structures, we need some lookup code at initialization.
33567 * The idea is that swig generates all the structures that are needed.
33568 * The runtime then collects these partially filled structures.
33569 * The SWIG_InitializeModule function takes these initial arrays out of
33570 * swig_module, and does all the lookup, filling in the swig_module.types
33571 * array with the correct data and linking the correct swig_cast_info
33572 * structures together.
33573 *
33574 * The generated swig_type_info structures are assigned staticly to an initial
33575 * array. We just loop though that array, and handle each type individually.
33576 * First we lookup if this type has been already loaded, and if so, use the
33577 * loaded structure instead of the generated one. Then we have to fill in the
33578 * cast linked list. The cast data is initially stored in something like a
33579 * two-dimensional array. Each row corresponds to a type (there are the same
33580 * number of rows as there are in the swig_type_initial array). Each entry in
33581 * a column is one of the swig_cast_info structures for that type.
33582 * The cast_initial array is actually an array of arrays, because each row has
33583 * a variable number of columns. So to actually build the cast linked list,
33584 * we find the array of casts associated with the type, and loop through it
33585 * adding the casts to the list. The one last trick we need to do is making
33586 * sure the type pointer in the swig_cast_info struct is correct.
33587 *
33588 * First off, we lookup the cast->type name to see if it is already loaded.
33589 * There are three cases to handle:
33590 * 1) If the cast->type has already been loaded AND the type we are adding
33591 * casting info to has not been loaded (it is in this module), THEN we
33592 * replace the cast->type pointer with the type pointer that has already
33593 * been loaded.
33594 * 2) If BOTH types (the one we are adding casting info to, and the
33595 * cast->type) are loaded, THEN the cast info has already been loaded by
33596 * the previous module so we just ignore it.
33597 * 3) Finally, if cast->type has not already been loaded, then we add that
33598 * swig_cast_info to the linked list (because the cast->type) pointer will
33599 * be correct.
33600 * ----------------------------------------------------------------------------- */
33601
33602 #ifdef __cplusplus
33603 extern "C" {
33604 #if 0
33605 } /* c-mode */
33606 #endif
33607 #endif
33608
33609 #if 0
33610 #define SWIGRUNTIME_DEBUG
33611 #endif
33612
33613 SWIGRUNTIME void
33614 SWIG_InitializeModule(void *clientdata) {
33615 size_t i;
33616 swig_module_info *module_head;
33617 static int init_run = 0;
33618
33619 clientdata = clientdata;
33620
33621 if (init_run) return;
33622 init_run = 1;
33623
33624 /* Initialize the swig_module */
33625 swig_module.type_initial = swig_type_initial;
33626 swig_module.cast_initial = swig_cast_initial;
33627
33628 /* Try and load any already created modules */
33629 module_head = SWIG_GetModule(clientdata);
33630 if (module_head) {
33631 swig_module.next = module_head->next;
33632 module_head->next = &swig_module;
33633 } else {
33634 /* This is the first module loaded */
33635 swig_module.next = &swig_module;
33636 SWIG_SetModule(clientdata, &swig_module);
33637 }
33638
33639 /* Now work on filling in swig_module.types */
33640 #ifdef SWIGRUNTIME_DEBUG
33641 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33642 #endif
33643 for (i = 0; i < swig_module.size; ++i) {
33644 swig_type_info *type = 0;
33645 swig_type_info *ret;
33646 swig_cast_info *cast;
33647
33648 #ifdef SWIGRUNTIME_DEBUG
33649 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33650 #endif
33651
33652 /* if there is another module already loaded */
33653 if (swig_module.next != &swig_module) {
33654 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33655 }
33656 if (type) {
33657 /* Overwrite clientdata field */
33658 #ifdef SWIGRUNTIME_DEBUG
33659 printf("SWIG_InitializeModule: found type %s\n", type->name);
33660 #endif
33661 if (swig_module.type_initial[i]->clientdata) {
33662 type->clientdata = swig_module.type_initial[i]->clientdata;
33663 #ifdef SWIGRUNTIME_DEBUG
33664 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33665 #endif
33666 }
33667 } else {
33668 type = swig_module.type_initial[i];
33669 }
33670
33671 /* Insert casting types */
33672 cast = swig_module.cast_initial[i];
33673 while (cast->type) {
33674 /* Don't need to add information already in the list */
33675 ret = 0;
33676 #ifdef SWIGRUNTIME_DEBUG
33677 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33678 #endif
33679 if (swig_module.next != &swig_module) {
33680 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33681 #ifdef SWIGRUNTIME_DEBUG
33682 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33683 #endif
33684 }
33685 if (ret) {
33686 if (type == swig_module.type_initial[i]) {
33687 #ifdef SWIGRUNTIME_DEBUG
33688 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33689 #endif
33690 cast->type = ret;
33691 ret = 0;
33692 } else {
33693 /* Check for casting already in the list */
33694 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33695 #ifdef SWIGRUNTIME_DEBUG
33696 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33697 #endif
33698 if (!ocast) ret = 0;
33699 }
33700 }
33701
33702 if (!ret) {
33703 #ifdef SWIGRUNTIME_DEBUG
33704 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33705 #endif
33706 if (type->cast) {
33707 type->cast->prev = cast;
33708 cast->next = type->cast;
33709 }
33710 type->cast = cast;
33711 }
33712 cast++;
33713 }
33714 /* Set entry in modules->types array equal to the type */
33715 swig_module.types[i] = type;
33716 }
33717 swig_module.types[i] = 0;
33718
33719 #ifdef SWIGRUNTIME_DEBUG
33720 printf("**** SWIG_InitializeModule: Cast List ******\n");
33721 for (i = 0; i < swig_module.size; ++i) {
33722 int j = 0;
33723 swig_cast_info *cast = swig_module.cast_initial[i];
33724 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33725 while (cast->type) {
33726 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33727 cast++;
33728 ++j;
33729 }
33730 printf("---- Total casts: %d\n",j);
33731 }
33732 printf("**** SWIG_InitializeModule: Cast List ******\n");
33733 #endif
33734 }
33735
33736 /* This function will propagate the clientdata field of type to
33737 * any new swig_type_info structures that have been added into the list
33738 * of equivalent types. It is like calling
33739 * SWIG_TypeClientData(type, clientdata) a second time.
33740 */
33741 SWIGRUNTIME void
33742 SWIG_PropagateClientData(void) {
33743 size_t i;
33744 swig_cast_info *equiv;
33745 static int init_run = 0;
33746
33747 if (init_run) return;
33748 init_run = 1;
33749
33750 for (i = 0; i < swig_module.size; i++) {
33751 if (swig_module.types[i]->clientdata) {
33752 equiv = swig_module.types[i]->cast;
33753 while (equiv) {
33754 if (!equiv->converter) {
33755 if (equiv->type && !equiv->type->clientdata)
33756 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33757 }
33758 equiv = equiv->next;
33759 }
33760 }
33761 }
33762 }
33763
33764 #ifdef __cplusplus
33765 #if 0
33766 {
33767 /* c-mode */
33768 #endif
33769 }
33770 #endif
33771
33772
33773
33774 #ifdef __cplusplus
33775 extern "C" {
33776 #endif
33777
33778 /* Python-specific SWIG API */
33779 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33780 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33781 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33782
33783 /* -----------------------------------------------------------------------------
33784 * global variable support code.
33785 * ----------------------------------------------------------------------------- */
33786
33787 typedef struct swig_globalvar {
33788 char *name; /* Name of global variable */
33789 PyObject *(*get_attr)(void); /* Return the current value */
33790 int (*set_attr)(PyObject *); /* Set the value */
33791 struct swig_globalvar *next;
33792 } swig_globalvar;
33793
33794 typedef struct swig_varlinkobject {
33795 PyObject_HEAD
33796 swig_globalvar *vars;
33797 } swig_varlinkobject;
33798
33799 SWIGINTERN PyObject *
33800 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33801 return PyString_FromString("<Swig global variables>");
33802 }
33803
33804 SWIGINTERN PyObject *
33805 swig_varlink_str(swig_varlinkobject *v) {
33806 PyObject *str = PyString_FromString("(");
33807 swig_globalvar *var;
33808 for (var = v->vars; var; var=var->next) {
33809 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33810 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33811 }
33812 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33813 return str;
33814 }
33815
33816 SWIGINTERN int
33817 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33818 PyObject *str = swig_varlink_str(v);
33819 fprintf(fp,"Swig global variables ");
33820 fprintf(fp,"%s\n", PyString_AsString(str));
33821 Py_DECREF(str);
33822 return 0;
33823 }
33824
33825 SWIGINTERN void
33826 swig_varlink_dealloc(swig_varlinkobject *v) {
33827 swig_globalvar *var = v->vars;
33828 while (var) {
33829 swig_globalvar *n = var->next;
33830 free(var->name);
33831 free(var);
33832 var = n;
33833 }
33834 }
33835
33836 SWIGINTERN PyObject *
33837 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33838 PyObject *res = NULL;
33839 swig_globalvar *var = v->vars;
33840 while (var) {
33841 if (strcmp(var->name,n) == 0) {
33842 res = (*var->get_attr)();
33843 break;
33844 }
33845 var = var->next;
33846 }
33847 if (res == NULL && !PyErr_Occurred()) {
33848 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33849 }
33850 return res;
33851 }
33852
33853 SWIGINTERN int
33854 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33855 int res = 1;
33856 swig_globalvar *var = v->vars;
33857 while (var) {
33858 if (strcmp(var->name,n) == 0) {
33859 res = (*var->set_attr)(p);
33860 break;
33861 }
33862 var = var->next;
33863 }
33864 if (res == 1 && !PyErr_Occurred()) {
33865 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33866 }
33867 return res;
33868 }
33869
33870 SWIGINTERN PyTypeObject*
33871 swig_varlink_type(void) {
33872 static char varlink__doc__[] = "Swig var link object";
33873 static PyTypeObject varlink_type;
33874 static int type_init = 0;
33875 if (!type_init) {
33876 const PyTypeObject tmp
33877 = {
33878 PyObject_HEAD_INIT(NULL)
33879 0, /* Number of items in variable part (ob_size) */
33880 (char *)"swigvarlink", /* Type name (tp_name) */
33881 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33882 0, /* Itemsize (tp_itemsize) */
33883 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33884 (printfunc) swig_varlink_print, /* Print (tp_print) */
33885 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33886 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33887 0, /* tp_compare */
33888 (reprfunc) swig_varlink_repr, /* tp_repr */
33889 0, /* tp_as_number */
33890 0, /* tp_as_sequence */
33891 0, /* tp_as_mapping */
33892 0, /* tp_hash */
33893 0, /* tp_call */
33894 (reprfunc)swig_varlink_str, /* tp_str */
33895 0, /* tp_getattro */
33896 0, /* tp_setattro */
33897 0, /* tp_as_buffer */
33898 0, /* tp_flags */
33899 varlink__doc__, /* tp_doc */
33900 0, /* tp_traverse */
33901 0, /* tp_clear */
33902 0, /* tp_richcompare */
33903 0, /* tp_weaklistoffset */
33904 #if PY_VERSION_HEX >= 0x02020000
33905 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33906 #endif
33907 #if PY_VERSION_HEX >= 0x02030000
33908 0, /* tp_del */
33909 #endif
33910 #ifdef COUNT_ALLOCS
33911 0,0,0,0 /* tp_alloc -> tp_next */
33912 #endif
33913 };
33914 varlink_type = tmp;
33915 varlink_type.ob_type = &PyType_Type;
33916 type_init = 1;
33917 }
33918 return &varlink_type;
33919 }
33920
33921 /* Create a variable linking object for use later */
33922 SWIGINTERN PyObject *
33923 SWIG_Python_newvarlink(void) {
33924 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33925 if (result) {
33926 result->vars = 0;
33927 }
33928 return ((PyObject*) result);
33929 }
33930
33931 SWIGINTERN void
33932 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33933 swig_varlinkobject *v = (swig_varlinkobject *) p;
33934 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33935 if (gv) {
33936 size_t size = strlen(name)+1;
33937 gv->name = (char *)malloc(size);
33938 if (gv->name) {
33939 strncpy(gv->name,name,size);
33940 gv->get_attr = get_attr;
33941 gv->set_attr = set_attr;
33942 gv->next = v->vars;
33943 }
33944 }
33945 v->vars = gv;
33946 }
33947
33948 SWIGINTERN PyObject *
33949 SWIG_globals() {
33950 static PyObject *_SWIG_globals = 0;
33951 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33952 return _SWIG_globals;
33953 }
33954
33955 /* -----------------------------------------------------------------------------
33956 * constants/methods manipulation
33957 * ----------------------------------------------------------------------------- */
33958
33959 /* Install Constants */
33960 SWIGINTERN void
33961 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33962 PyObject *obj = 0;
33963 size_t i;
33964 for (i = 0; constants[i].type; ++i) {
33965 switch(constants[i].type) {
33966 case SWIG_PY_POINTER:
33967 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33968 break;
33969 case SWIG_PY_BINARY:
33970 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33971 break;
33972 default:
33973 obj = 0;
33974 break;
33975 }
33976 if (obj) {
33977 PyDict_SetItemString(d, constants[i].name, obj);
33978 Py_DECREF(obj);
33979 }
33980 }
33981 }
33982
33983 /* -----------------------------------------------------------------------------*/
33984 /* Fix SwigMethods to carry the callback ptrs when needed */
33985 /* -----------------------------------------------------------------------------*/
33986
33987 SWIGINTERN void
33988 SWIG_Python_FixMethods(PyMethodDef *methods,
33989 swig_const_info *const_table,
33990 swig_type_info **types,
33991 swig_type_info **types_initial) {
33992 size_t i;
33993 for (i = 0; methods[i].ml_name; ++i) {
33994 const char *c = methods[i].ml_doc;
33995 if (c && (c = strstr(c, "swig_ptr: "))) {
33996 int j;
33997 swig_const_info *ci = 0;
33998 const char *name = c + 10;
33999 for (j = 0; const_table[j].type; ++j) {
34000 if (strncmp(const_table[j].name, name,
34001 strlen(const_table[j].name)) == 0) {
34002 ci = &(const_table[j]);
34003 break;
34004 }
34005 }
34006 if (ci) {
34007 size_t shift = (ci->ptype) - types;
34008 swig_type_info *ty = types_initial[shift];
34009 size_t ldoc = (c - methods[i].ml_doc);
34010 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34011 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34012 if (ndoc) {
34013 char *buff = ndoc;
34014 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34015 if (ptr) {
34016 strncpy(buff, methods[i].ml_doc, ldoc);
34017 buff += ldoc;
34018 strncpy(buff, "swig_ptr: ", 10);
34019 buff += 10;
34020 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34021 methods[i].ml_doc = ndoc;
34022 }
34023 }
34024 }
34025 }
34026 }
34027 }
34028
34029 #ifdef __cplusplus
34030 }
34031 #endif
34032
34033 /* -----------------------------------------------------------------------------*
34034 * Partial Init method
34035 * -----------------------------------------------------------------------------*/
34036
34037 #ifdef __cplusplus
34038 extern "C"
34039 #endif
34040 SWIGEXPORT void SWIG_init(void) {
34041 PyObject *m, *d;
34042
34043 /* Fix SwigMethods to carry the callback ptrs when needed */
34044 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34045
34046 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34047 d = PyModule_GetDict(m);
34048
34049 SWIG_InitializeModule(0);
34050 SWIG_InstallConstants(d,swig_const_table);
34051
34052
34053 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34054 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34055 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34056 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34057 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34058 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34059 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34060 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34061 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34062 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34063 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34064 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34065 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34066 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34067 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34068 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34069 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34070 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34071 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34072 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34073 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34074 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34075 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34076 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34077 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34078 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34079 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34080 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34081 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34082 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34083 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34084 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34085 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34086 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34087 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34088 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34089 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34090 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34091 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34092 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34093 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34094 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34095 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34096 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34097 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34098 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34099 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34100 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34101 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34102 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34103 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34104 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34105 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34106 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34107 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34108 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34109 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34110 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34111 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34112 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34113 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34114 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34115 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34116 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34117 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34118 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34119 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34120 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34121 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34122 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34123 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34124 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34125 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34126 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34127 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34128 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34129 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34130 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34131 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34132 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34133 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34134 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34135 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34136 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34137 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34138 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34139 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34140 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34141 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34142 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34143 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34144 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34145 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34146 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34147 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34148 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34149 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34150 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34151 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34152 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34153 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34154 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34155 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34156 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34157 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34158
34159 // Map renamed classes back to their common name for OOR
34160 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34161 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34162 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34163
34164 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34165 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34166 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34167 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34168 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34169 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34170 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34171 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34172 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34173 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34174 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34175 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34176 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34177 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34178 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34179 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34180 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34181 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34182 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34183 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34184 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34185 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34186 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34187 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34188 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34189 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34190 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34191 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34192 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34193 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34194 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34195 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34196 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34197 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34198 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34199 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34200 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34201 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34202 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34203 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34204 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34205 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34206 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34207 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34208 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34209 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34210 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34211 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34212 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34213 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34214 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34215 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34216 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34217 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34218 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34219 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34220 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34221 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34222 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34223 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34224 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34225 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34226 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34227 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34228 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34229 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34230 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34231 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34232 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34233 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34234 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34235 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34236 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34237 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34238 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34239 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34240 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34241 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34242 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34243 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34244 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34245 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34246 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34247 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34248 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34249 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34250 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34251 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34252 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34253 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34254 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34255 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34256 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34257 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34258 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34259 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34260 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34261 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34262 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34263 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34264 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34265 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34266 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34267 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34268
34269 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34270
34271 }
34272