]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/_windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPanel swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561 #define SWIGTYPE_p_wxPoint swig_types[95]
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570 #define SWIGTYPE_p_wxPrinter swig_types[104]
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPyApp swig_types[106]
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111]
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122]
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123]
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592 #define SWIGTYPE_p_wxRect swig_types[126]
2593 #define SWIGTYPE_p_wxRegion swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154]
2621 #define SWIGTYPE_p_wxToolBar swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626 #define SWIGTYPE_p_wxWindow swig_types[160]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630 static swig_type_info *swig_types[165];
2631 static swig_module_info swig_module = {swig_types, 164, 0, 0, 0, 0};
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2634
2635 /* -------- TYPES TABLE (END) -------- */
2636
2637 #if (PY_VERSION_HEX <= 0x02000000)
2638 # if !defined(SWIG_PYTHON_CLASSIC)
2639 # error "This python version requires to use swig with the '-classic' option"
2640 # endif
2641 #endif
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodern' option"
2644 #endif
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodernargs' option"
2647 #endif
2648 #ifndef METH_O
2649 # error "This python version requires to use swig with the '-nofastunpack' option"
2650 #endif
2651
2652 /*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655 #define SWIG_init init_windows_
2656
2657 #define SWIG_name "_windows_"
2658
2659 #define SWIGVERSION 0x010329
2660
2661
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2664
2665
2666 #include <stdexcept>
2667
2668
2669 namespace swig {
2670 class PyObject_ptr {
2671 protected:
2672 PyObject *_obj;
2673
2674 public:
2675 PyObject_ptr() :_obj(0)
2676 {
2677 }
2678
2679 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2680 {
2681 Py_XINCREF(_obj);
2682 }
2683
2684 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2685 {
2686 if (initial_ref) Py_XINCREF(_obj);
2687 }
2688
2689 PyObject_ptr & operator=(const PyObject_ptr& item)
2690 {
2691 Py_XINCREF(item._obj);
2692 Py_XDECREF(_obj);
2693 _obj = item._obj;
2694 return *this;
2695 }
2696
2697 ~PyObject_ptr()
2698 {
2699 Py_XDECREF(_obj);
2700 }
2701
2702 operator PyObject *() const
2703 {
2704 return _obj;
2705 }
2706
2707 PyObject *operator->() const
2708 {
2709 return _obj;
2710 }
2711 };
2712 }
2713
2714
2715 namespace swig {
2716 struct PyObject_var : PyObject_ptr {
2717 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2718
2719 PyObject_var & operator = (PyObject* obj)
2720 {
2721 Py_XDECREF(_obj);
2722 _obj = obj;
2723 return *this;
2724 }
2725 };
2726 }
2727
2728
2729 #include "wx/wxPython/wxPython.h"
2730 #include "wx/wxPython/pyclasses.h"
2731
2732
2733 static const wxString wxPyEmptyString(wxEmptyString);
2734 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2735
2736
2737
2738 #include <limits.h>
2739 #ifndef LLONG_MIN
2740 # define LLONG_MIN LONG_LONG_MIN
2741 #endif
2742 #ifndef LLONG_MAX
2743 # define LLONG_MAX LONG_LONG_MAX
2744 #endif
2745 #ifndef ULLONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2747 #endif
2748
2749
2750 SWIGINTERN int
2751 SWIG_AsVal_long (PyObject* obj, long* val)
2752 {
2753 if (PyNumber_Check(obj)) {
2754 if (val) *val = PyInt_AsLong(obj);
2755 return SWIG_OK;
2756 }
2757 return SWIG_TypeError;
2758 }
2759
2760
2761 SWIGINTERN int
2762 SWIG_AsVal_int (PyObject * obj, int *val)
2763 {
2764 long v;
2765 int res = SWIG_AsVal_long (obj, &v);
2766 if (SWIG_IsOK(res)) {
2767 if ((v < INT_MIN || v > INT_MAX)) {
2768 return SWIG_OverflowError;
2769 } else {
2770 if (val) *val = static_cast< int >(v);
2771 }
2772 }
2773 return res;
2774 }
2775
2776
2777 SWIGINTERN int
2778 SWIG_AsVal_bool (PyObject *obj, bool *val)
2779 {
2780 if (obj == Py_True) {
2781 if (val) *val = true;
2782 return SWIG_OK;
2783 } else if (obj == Py_False) {
2784 if (val) *val = false;
2785 return SWIG_OK;
2786 } else {
2787 long v = 0;
2788 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2789 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2790 return res;
2791 }
2792 }
2793
2794
2795 #define SWIG_From_long PyInt_FromLong
2796
2797
2798 SWIGINTERNINLINE PyObject *
2799 SWIG_From_int (int value)
2800 {
2801 return SWIG_From_long (value);
2802 }
2803
2804
2805 SWIGINTERN int
2806 SWIG_AsVal_double (PyObject *obj, double* val)
2807 {
2808 if (PyNumber_Check(obj)) {
2809 if (val) *val = PyFloat_AsDouble(obj);
2810 return SWIG_OK;
2811 }
2812 return SWIG_TypeError;
2813 }
2814
2815
2816 #define SWIG_From_double PyFloat_FromDouble
2817
2818 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2819 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2820 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2821 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2822 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2823 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2824
2825
2826 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2827 wxRect r;
2828 self->GetFieldRect(i, r);
2829 return r;
2830 }
2831 static const wxString wxPySplitterNameStr(wxT("splitter"));
2832 static const wxString wxPySashNameStr(wxT("sashWindow"));
2833 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2834
2835 #include <wx/popupwin.h>
2836
2837
2838 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2839 {
2840 public:
2841 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2842 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2843 : wxPopupTransientWindow(parent, style) {}
2844
2845 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2846 DEC_PYCALLBACK__(OnDismiss);
2847 DEC_PYCALLBACK_BOOL_(CanDismiss);
2848 PYPRIVATE;
2849 };
2850
2851
2852 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2853 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2854 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2855
2856
2857 #include <wx/tipwin.h>
2858
2859 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2860 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2861 }
2862
2863 #include <wx/tipwin.h>
2864
2865
2866 #include <wx/vscroll.h>
2867
2868
2869 class wxPyVScrolledWindow : public wxVScrolledWindow
2870 {
2871 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2872 public:
2873 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2874
2875 wxPyVScrolledWindow(wxWindow *parent,
2876 wxWindowID id = wxID_ANY,
2877 const wxPoint& pos = wxDefaultPosition,
2878 const wxSize& size = wxDefaultSize,
2879 long style = 0,
2880 const wxString& name = wxPyPanelNameStr)
2881 : wxVScrolledWindow(parent, id, pos, size, style, name)
2882 {}
2883
2884 // Overridable virtuals
2885
2886 // this function must be overridden in the derived class and it should
2887 // return the height of the given line in pixels
2888 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2889
2890
2891 // this function doesn't have to be overridden but it may be useful to do
2892 // it if calculating the lines heights is a relatively expensive operation
2893 // as it gives the user code a possibility to calculate several of them at
2894 // once
2895 //
2896 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2897 // shouldn't rely on the latter being called for all lines in the interval
2898 // specified here. It is also possible that OnGetLineHeight() will be
2899 // called for the lines outside of this interval, so this is really just a
2900 // hint, not a promise.
2901 //
2902 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2903 // usual
2904 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2905
2906
2907 // when the number of lines changes, we try to estimate the total height
2908 // of all lines which is a rather expensive operation in terms of lines
2909 // access, so if the user code may estimate the average height
2910 // better/faster than we do, it should override this function to implement
2911 // its own logic
2912 //
2913 // this function should return the best guess for the total height it may
2914 // make
2915 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2916
2917
2918 // Also expose some other interesting protected methods
2919
2920
2921 // find the index of the line we need to show at the top of the window such
2922 // that the last (fully or partially) visible line is the given one
2923 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2924 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2925
2926 // get the total height of the lines between lineMin (inclusive) and
2927 // lineMax (exclusive)
2928 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2929 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2930
2931 // update the thumb size shown by the scrollbar
2932 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2933
2934 // remove the scrollbar completely because we don't need it
2935 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2936
2937 PYPRIVATE;
2938 };
2939
2940 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2941
2942 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2943 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2944 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2945
2946
2947 SWIGINTERN int
2948 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2949 {
2950 long v = 0;
2951 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2952 return SWIG_TypeError;
2953 }
2954 else if (val)
2955 *val = (unsigned long)v;
2956 return SWIG_OK;
2957 }
2958
2959
2960 SWIGINTERNINLINE int
2961 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2962 {
2963 unsigned long v;
2964 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2965 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2966 return res;
2967 }
2968
2969
2970 SWIGINTERNINLINE PyObject*
2971 SWIG_From_unsigned_SS_long (unsigned long value)
2972 {
2973 return (value > LONG_MAX) ?
2974 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2975 }
2976
2977
2978 SWIGINTERNINLINE PyObject *
2979 SWIG_From_size_t (size_t value)
2980 {
2981 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2982 }
2983
2984
2985 #include <wx/vlbox.h>
2986
2987 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2988
2989 class wxPyVListBox : public wxVListBox
2990 {
2991 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2992 public:
2993 wxPyVListBox() : wxVListBox() {}
2994
2995 wxPyVListBox(wxWindow *parent,
2996 wxWindowID id = wxID_ANY,
2997 const wxPoint& pos = wxDefaultPosition,
2998 const wxSize& size = wxDefaultSize,
2999 long style = 0,
3000 const wxString& name = wxPyVListBoxNameStr)
3001 : wxVListBox(parent, id, pos, size, style, name)
3002 {}
3003
3004 // Overridable virtuals
3005
3006 // the derived class must implement this function to actually draw the item
3007 // with the given index on the provided DC
3008 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3009 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3010
3011
3012 // the derived class must implement this method to return the height of the
3013 // specified item
3014 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3015 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3016
3017
3018 // this method may be used to draw separators between the lines; note that
3019 // the rectangle may be modified, typically to deflate it a bit before
3020 // passing to OnDrawItem()
3021 //
3022 // the base class version doesn't do anything
3023 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3024 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3025
3026
3027 // this method is used to draw the items background and, maybe, a border
3028 // around it
3029 //
3030 // the base class version implements a reasonable default behaviour which
3031 // consists in drawing the selected item with the standard background
3032 // colour and drawing a border around the item if it is either selected or
3033 // current
3034 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3035 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3036
3037
3038 PYPRIVATE;
3039 };
3040
3041 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3042
3043 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3044 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3045 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3046 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3047
3048
3049 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3050 unsigned long cookie = 0;
3051 int selected = self->GetFirstSelected(cookie);
3052 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3053 PyObject* tup = PyTuple_New(2);
3054 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3055 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3056 wxPyEndBlockThreads(blocked);
3057 return tup;
3058 }
3059 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3060 int selected = self->GetNextSelected(cookie);
3061 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3062 PyObject* tup = PyTuple_New(2);
3063 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3064 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3065 wxPyEndBlockThreads(blocked);
3066 return tup;
3067 }
3068
3069 #include <wx/htmllbox.h>
3070
3071
3072 class wxPyHtmlListBox : public wxHtmlListBox
3073 {
3074 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3075 public:
3076 wxPyHtmlListBox() : wxHtmlListBox() {}
3077
3078 wxPyHtmlListBox(wxWindow *parent,
3079 wxWindowID id = wxID_ANY,
3080 const wxPoint& pos = wxDefaultPosition,
3081 const wxSize& size = wxDefaultSize,
3082 long style = 0,
3083 const wxString& name = wxPyVListBoxNameStr)
3084 : wxHtmlListBox(parent, id, pos, size, style, name)
3085 {}
3086
3087 // Overridable virtuals
3088
3089 // this method must be implemented in the derived class and should return
3090 // the body (i.e. without <html>) of the HTML for the given item
3091 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3092
3093 // this function may be overridden to decorate HTML returned by OnGetItem()
3094 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3095
3096 // These are from wxVListBox
3097 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3098 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3099
3100 // TODO:
3101 // // this method allows to customize the selection appearance: it may be used
3102 // // to specify the colour of the text which normally has the given colour
3103 // // colFg when it is inside the selection
3104 // //
3105 // // by default, the original colour is not used at all and all text has the
3106 // // same (default for this system) colour inside selection
3107 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3108
3109 // // this is the same as GetSelectedTextColour() but allows to customize the
3110 // // background colour -- this is even more rarely used as you can change it
3111 // // globally using SetSelectionBackground()
3112 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3113
3114
3115 // This method may be overriden to handle clicking on a link in
3116 // the listbox. By default, clicking links is ignored.
3117 virtual void OnLinkClicked(size_t n,
3118 const wxHtmlLinkInfo& link);
3119
3120 PYPRIVATE;
3121 };
3122
3123
3124 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3125
3126 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3127 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3128 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3129 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3130
3131
3132 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3133 const wxHtmlLinkInfo& link) {
3134 bool found;
3135 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3136 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3137 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3138 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3139 Py_DECREF(obj);
3140 }
3141 wxPyEndBlockThreads(blocked);
3142 if (! found)
3143 wxPyHtmlListBox::OnLinkClicked(n, link);
3144 }
3145
3146
3147
3148
3149
3150 #ifndef wxHAS_TASK_BAR_ICON
3151 // implement dummy classes for platforms that don't have it
3152
3153 class wxTaskBarIcon : public wxEvtHandler
3154 {
3155 public:
3156 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3157 };
3158
3159
3160 class wxTaskBarIconEvent : public wxEvent
3161 {
3162 public:
3163 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3164 { wxPyRaiseNotImplemented(); }
3165 virtual wxEvent* Clone() const { return NULL; }
3166 bool IsOk() const { return false; }
3167 bool IsIconInstalled() const { return false; }
3168 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3169 bool RemoveIcon() { return false; }
3170 bool PopupMenu(wxMenu *menu) { return false; }
3171 };
3172
3173 enum {
3174 wxEVT_TASKBAR_MOVE = 0,
3175 wxEVT_TASKBAR_LEFT_DOWN = 0,
3176 wxEVT_TASKBAR_LEFT_UP = 0,
3177 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3178 wxEVT_TASKBAR_RIGHT_UP = 0,
3179 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3180 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3181 };
3182
3183
3184 #else
3185 // Otherwise make a class that can virtualize CreatePopupMenu
3186 class wxPyTaskBarIcon : public wxTaskBarIcon
3187 {
3188 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3189 public:
3190 wxPyTaskBarIcon() : wxTaskBarIcon()
3191 {}
3192
3193 wxMenu* CreatePopupMenu() {
3194 wxMenu *rval = NULL;
3195 bool found;
3196 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3197 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3198 PyObject* ro;
3199 wxMenu* ptr;
3200 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3201 if (ro) {
3202 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3203 rval = ptr;
3204 Py_DECREF(ro);
3205 }
3206 }
3207 wxPyEndBlockThreads(blocked);
3208 if (! found)
3209 rval = wxTaskBarIcon::CreatePopupMenu();
3210 return rval;
3211 }
3212
3213 PYPRIVATE;
3214 };
3215
3216 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3217
3218 #endif
3219
3220 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3221 self->RemoveIcon();
3222 delete self;
3223 }
3224 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3225 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3226 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3227 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3228 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3229 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3230
3231 // for compatibility only
3232 #define wxHIDE_READONLY 0
3233
3234 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3235 wxArrayString arr;
3236 self->GetFilenames(arr);
3237 return wxArrayString2PyList_helper(arr);
3238 }
3239 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3240 wxArrayString arr;
3241 self->GetPaths(arr);
3242 return wxArrayString2PyList_helper(arr);
3243 }
3244 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3245 return wxArrayInt2PyList_helper(self->GetSelections());
3246 }
3247 SWIGINTERN wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style=wxCHOICEDLG_STYLE,wxPoint const &pos=wxDefaultPosition){
3248 return new wxSingleChoiceDialog(parent, message, caption,
3249 choices, choices_array, NULL, style, pos);
3250 }
3251 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3252
3253 SWIGINTERNINLINE PyObject*
3254 SWIG_From_bool (bool value)
3255 {
3256 return PyBool_FromLong(value ? 1 : 0);
3257 }
3258
3259
3260 #include <wx/mdi.h>
3261
3262 // C++ version of Python aware wxWindow
3263 class wxPyWindow : public wxWindow
3264 {
3265 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3266 public:
3267 wxPyWindow() : wxWindow() {}
3268 wxPyWindow(wxWindow* parent, const wxWindowID id,
3269 const wxPoint& pos = wxDefaultPosition,
3270 const wxSize& size = wxDefaultSize,
3271 long style = 0,
3272 const wxString& name = wxPyPanelNameStr)
3273 : wxWindow(parent, id, pos, size, style, name) {}
3274
3275 void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
3276
3277 bool DoEraseBackground(wxDC* dc) {
3278 #ifdef __WXMSW__
3279 return wxWindow::DoEraseBackground(dc->GetHDC());
3280 #else
3281 dc->SetBackground(wxBrush(GetBackgroundColour()));
3282 dc->Clear();
3283 return true;
3284 #endif
3285 }
3286
3287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3288 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3291
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3295
3296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3298
3299 DEC_PYCALLBACK__(InitDialog);
3300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3302 DEC_PYCALLBACK_BOOL_(Validate);
3303
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3306 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3307
3308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3310
3311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3313
3314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3315
3316 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3317
3318 PYPRIVATE;
3319 };
3320
3321 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3322
3323 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3324 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3327
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3331
3332 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3334
3335 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3336 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3339
3340 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3342 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3343
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3346
3347 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3348 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3349
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3351
3352 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3353
3354 // C++ version of Python aware wxPanel
3355 class wxPyPanel : public wxPanel
3356 {
3357 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3358 public:
3359 wxPyPanel() : wxPanel() {}
3360 wxPyPanel(wxWindow* parent, const wxWindowID id,
3361 const wxPoint& pos = wxDefaultPosition,
3362 const wxSize& size = wxDefaultSize,
3363 long style = 0,
3364 const wxString& name = wxPyPanelNameStr)
3365 : wxPanel(parent, id, pos, size, style, name) {}
3366
3367 void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
3368 bool DoEraseBackground(wxDC* dc) {
3369 #ifdef __WXMSW__
3370 return wxWindow::DoEraseBackground(dc->GetHDC());
3371 #else
3372 dc->SetBackground(wxBrush(GetBackgroundColour()));
3373 dc->Clear();
3374 return true;
3375 #endif
3376 }
3377
3378
3379 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3380 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3383
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3387
3388 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3389 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3390
3391 DEC_PYCALLBACK__(InitDialog);
3392 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3393 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3394 DEC_PYCALLBACK_BOOL_(Validate);
3395
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3398 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3399
3400 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3402
3403 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3404 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3405
3406 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3407
3408 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3409
3410 PYPRIVATE;
3411 };
3412
3413 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3414
3415 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3416 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3419
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3423
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3426
3427 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3428 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3431
3432 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3435
3436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3438
3439 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3440 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3441
3442 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3443
3444 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3445
3446 // C++ version of Python aware wxScrolledWindow
3447 class wxPyScrolledWindow : public wxScrolledWindow
3448 {
3449 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3450 public:
3451 wxPyScrolledWindow() : wxScrolledWindow() {}
3452 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3453 const wxPoint& pos = wxDefaultPosition,
3454 const wxSize& size = wxDefaultSize,
3455 long style = 0,
3456 const wxString& name = wxPyPanelNameStr)
3457 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3458
3459 void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
3460 bool DoEraseBackground(wxDC* dc) {
3461 #ifdef __WXMSW__
3462 return wxWindow::DoEraseBackground(dc->GetHDC());
3463 #else
3464 dc->SetBackground(wxBrush(GetBackgroundColour()));
3465 dc->Clear();
3466 return true;
3467 #endif
3468 }
3469
3470 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3471 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3474
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3478
3479 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3480 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3481
3482 DEC_PYCALLBACK__(InitDialog);
3483 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3484 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3485 DEC_PYCALLBACK_BOOL_(Validate);
3486
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3489 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3490
3491 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3492 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3493
3494 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3495 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3496
3497 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3498
3499 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3500
3501 PYPRIVATE;
3502 };
3503
3504 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3505
3506 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3507 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3510
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3514
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3517
3518 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3522
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3526
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3529
3530 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3531 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3532
3533 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3534
3535 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3536
3537
3538 #include "wx/wxPython/printfw.h"
3539
3540
3541 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3542 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3543 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3544 PyObject* data;
3545 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3546 data = PyString_FromStringAndSize(self->GetPrivData(),
3547 self->GetPrivDataLen());
3548 wxPyEndBlockThreads(blocked);
3549 return data;
3550 }
3551 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3552 if (! PyString_Check(data)) {
3553 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3554 "Expected string object"));
3555 return /* NULL */ ;
3556 }
3557
3558 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3559 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3560 wxPyEndBlockThreads(blocked);
3561 }
3562
3563
3564 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3565
3566 // Since this one would be tough and ugly to do with the Macros...
3567 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3568 bool hadErr = false;
3569 bool found;
3570
3571 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3572 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3573 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3574 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3575 PyObject* val;
3576
3577 val = PyTuple_GetItem(result, 0);
3578 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3579 else hadErr = true;
3580
3581 val = PyTuple_GetItem(result, 1);
3582 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3583 else hadErr = true;
3584
3585 val = PyTuple_GetItem(result, 2);
3586 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3587 else hadErr = true;
3588
3589 val = PyTuple_GetItem(result, 3);
3590 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3591 else hadErr = true;
3592 }
3593 else
3594 hadErr = true;
3595
3596 if (hadErr) {
3597 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3598 PyErr_Print();
3599 }
3600 Py_DECREF(result);
3601 }
3602 wxPyEndBlockThreads(blocked);
3603 if (! found)
3604 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3605 }
3606
3607
3608
3609 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3610 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3611 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3614 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3615 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3616
3617
3618
3619
3620
3621 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3622 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3623
3624
3625 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3626 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3627 bool rval=false; \
3628 bool found; \
3629 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3630 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3631 PyObject* win = wxPyMake_wxObject(a,false); \
3632 PyObject* dc = wxPyMake_wxObject(&b,false); \
3633 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3634 Py_DECREF(win); \
3635 Py_DECREF(dc); \
3636 } \
3637 wxPyEndBlockThreads(blocked); \
3638 if (! found) \
3639 rval = PCLASS::CBNAME(a, b); \
3640 return rval; \
3641 }
3642
3643
3644
3645
3646 class wxPyPrintPreview : public wxPrintPreview
3647 {
3648 DECLARE_CLASS(wxPyPrintPreview)
3649 public:
3650 wxPyPrintPreview(wxPyPrintout* printout,
3651 wxPyPrintout* printoutForPrinting,
3652 wxPrintDialogData* data=NULL)
3653 : wxPrintPreview(printout, printoutForPrinting, data)
3654 {}
3655 wxPyPrintPreview(wxPyPrintout* printout,
3656 wxPyPrintout* printoutForPrinting,
3657 wxPrintData* data)
3658 : wxPrintPreview(printout, printoutForPrinting, data)
3659 {}
3660
3661 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3664 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3665 DEC_PYCALLBACK_VOID_INT(SetZoom);
3666 DEC_PYCALLBACK_BOOL_BOOL(Print);
3667 DEC_PYCALLBACK_VOID_(DetermineScaling);
3668
3669 PYPRIVATE;
3670 };
3671
3672 // Stupid renamed classes... Fix this in 2.5...
3673 #if defined(__WXMSW__)
3674 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3675 #elif defined(__WXMAC__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3677 #else
3678 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3679 #endif
3680
3681 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3685 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3686 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3687 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3688
3689
3690 class wxPyPreviewFrame : public wxPreviewFrame
3691 {
3692 DECLARE_CLASS(wxPyPreviewFrame)
3693 public:
3694 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3695 const wxString& title,
3696 const wxPoint& pos = wxDefaultPosition,
3697 const wxSize& size = wxDefaultSize,
3698 long style = wxDEFAULT_FRAME_STYLE,
3699 const wxString& name = wxPyFrameNameStr)
3700 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3701 {}
3702
3703 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3704 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3705
3706 DEC_PYCALLBACK_VOID_(Initialize);
3707 DEC_PYCALLBACK_VOID_(CreateCanvas);
3708 DEC_PYCALLBACK_VOID_(CreateControlBar);
3709
3710 PYPRIVATE;
3711 };
3712
3713 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3714
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3718
3719
3720 class wxPyPreviewControlBar : public wxPreviewControlBar
3721 {
3722 DECLARE_CLASS(wxPyPreviewControlBar)
3723 public:
3724 wxPyPreviewControlBar(wxPrintPreview *preview,
3725 long buttons,
3726 wxWindow *parent,
3727 const wxPoint& pos = wxDefaultPosition,
3728 const wxSize& size = wxDefaultSize,
3729 long style = 0,
3730 const wxString& name = wxPyPanelNameStr)
3731 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3732 {}
3733
3734 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3735
3736 DEC_PYCALLBACK_VOID_(CreateButtons);
3737 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3738
3739 PYPRIVATE;
3740 };
3741
3742 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3743 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3744 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3745
3746 #ifdef __cplusplus
3747 extern "C" {
3748 #endif
3749 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj = 0;
3751 wxWindow *arg1 = (wxWindow *) 0 ;
3752 int arg2 = (int) (int)-1 ;
3753 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3754 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3755 wxSize const &arg4_defvalue = wxDefaultSize ;
3756 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3757 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3758 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3759 wxString *arg6 = (wxString *) &arg6_defvalue ;
3760 wxPanel *result = 0 ;
3761 void *argp1 = 0 ;
3762 int res1 = 0 ;
3763 int val2 ;
3764 int ecode2 = 0 ;
3765 wxPoint temp3 ;
3766 wxSize temp4 ;
3767 long val5 ;
3768 int ecode5 = 0 ;
3769 bool temp6 = false ;
3770 PyObject * obj0 = 0 ;
3771 PyObject * obj1 = 0 ;
3772 PyObject * obj2 = 0 ;
3773 PyObject * obj3 = 0 ;
3774 PyObject * obj4 = 0 ;
3775 PyObject * obj5 = 0 ;
3776 char * kwnames[] = {
3777 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3778 };
3779
3780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3782 if (!SWIG_IsOK(res1)) {
3783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3784 }
3785 arg1 = reinterpret_cast< wxWindow * >(argp1);
3786 if (obj1) {
3787 ecode2 = SWIG_AsVal_int(obj1, &val2);
3788 if (!SWIG_IsOK(ecode2)) {
3789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3790 }
3791 arg2 = static_cast< int >(val2);
3792 }
3793 if (obj2) {
3794 {
3795 arg3 = &temp3;
3796 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3797 }
3798 }
3799 if (obj3) {
3800 {
3801 arg4 = &temp4;
3802 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3803 }
3804 }
3805 if (obj4) {
3806 ecode5 = SWIG_AsVal_long(obj4, &val5);
3807 if (!SWIG_IsOK(ecode5)) {
3808 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3809 }
3810 arg5 = static_cast< long >(val5);
3811 }
3812 if (obj5) {
3813 {
3814 arg6 = wxString_in_helper(obj5);
3815 if (arg6 == NULL) SWIG_fail;
3816 temp6 = true;
3817 }
3818 }
3819 {
3820 if (!wxPyCheckForApp()) SWIG_fail;
3821 PyThreadState* __tstate = wxPyBeginAllowThreads();
3822 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3827 {
3828 if (temp6)
3829 delete arg6;
3830 }
3831 return resultobj;
3832 fail:
3833 {
3834 if (temp6)
3835 delete arg6;
3836 }
3837 return NULL;
3838 }
3839
3840
3841 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3842 PyObject *resultobj = 0;
3843 wxPanel *result = 0 ;
3844
3845 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3846 {
3847 if (!wxPyCheckForApp()) SWIG_fail;
3848 PyThreadState* __tstate = wxPyBeginAllowThreads();
3849 result = (wxPanel *)new wxPanel();
3850 wxPyEndAllowThreads(__tstate);
3851 if (PyErr_Occurred()) SWIG_fail;
3852 }
3853 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3854 return resultobj;
3855 fail:
3856 return NULL;
3857 }
3858
3859
3860 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3861 PyObject *resultobj = 0;
3862 wxPanel *arg1 = (wxPanel *) 0 ;
3863 wxWindow *arg2 = (wxWindow *) 0 ;
3864 int arg3 = (int) (int)-1 ;
3865 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3866 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3867 wxSize const &arg5_defvalue = wxDefaultSize ;
3868 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3869 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3870 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3871 wxString *arg7 = (wxString *) &arg7_defvalue ;
3872 bool result;
3873 void *argp1 = 0 ;
3874 int res1 = 0 ;
3875 void *argp2 = 0 ;
3876 int res2 = 0 ;
3877 int val3 ;
3878 int ecode3 = 0 ;
3879 wxPoint temp4 ;
3880 wxSize temp5 ;
3881 long val6 ;
3882 int ecode6 = 0 ;
3883 bool temp7 = false ;
3884 PyObject * obj0 = 0 ;
3885 PyObject * obj1 = 0 ;
3886 PyObject * obj2 = 0 ;
3887 PyObject * obj3 = 0 ;
3888 PyObject * obj4 = 0 ;
3889 PyObject * obj5 = 0 ;
3890 PyObject * obj6 = 0 ;
3891 char * kwnames[] = {
3892 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3893 };
3894
3895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3897 if (!SWIG_IsOK(res1)) {
3898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3899 }
3900 arg1 = reinterpret_cast< wxPanel * >(argp1);
3901 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3902 if (!SWIG_IsOK(res2)) {
3903 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3904 }
3905 arg2 = reinterpret_cast< wxWindow * >(argp2);
3906 if (obj2) {
3907 ecode3 = SWIG_AsVal_int(obj2, &val3);
3908 if (!SWIG_IsOK(ecode3)) {
3909 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3910 }
3911 arg3 = static_cast< int >(val3);
3912 }
3913 if (obj3) {
3914 {
3915 arg4 = &temp4;
3916 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3917 }
3918 }
3919 if (obj4) {
3920 {
3921 arg5 = &temp5;
3922 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3923 }
3924 }
3925 if (obj5) {
3926 ecode6 = SWIG_AsVal_long(obj5, &val6);
3927 if (!SWIG_IsOK(ecode6)) {
3928 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3929 }
3930 arg6 = static_cast< long >(val6);
3931 }
3932 if (obj6) {
3933 {
3934 arg7 = wxString_in_helper(obj6);
3935 if (arg7 == NULL) SWIG_fail;
3936 temp7 = true;
3937 }
3938 }
3939 {
3940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3941 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
3945 {
3946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3947 }
3948 {
3949 if (temp7)
3950 delete arg7;
3951 }
3952 return resultobj;
3953 fail:
3954 {
3955 if (temp7)
3956 delete arg7;
3957 }
3958 return NULL;
3959 }
3960
3961
3962 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3963 PyObject *resultobj = 0;
3964 wxPanel *arg1 = (wxPanel *) 0 ;
3965 void *argp1 = 0 ;
3966 int res1 = 0 ;
3967 PyObject *swig_obj[1] ;
3968
3969 if (!args) SWIG_fail;
3970 swig_obj[0] = args;
3971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3972 if (!SWIG_IsOK(res1)) {
3973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3974 }
3975 arg1 = reinterpret_cast< wxPanel * >(argp1);
3976 {
3977 PyThreadState* __tstate = wxPyBeginAllowThreads();
3978 (arg1)->SetFocusIgnoringChildren();
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 resultobj = SWIG_Py_Void();
3983 return resultobj;
3984 fail:
3985 return NULL;
3986 }
3987
3988
3989 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3990 PyObject *resultobj = 0;
3991 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3992 SwigValueWrapper<wxVisualAttributes > result;
3993 int val1 ;
3994 int ecode1 = 0 ;
3995 PyObject * obj0 = 0 ;
3996 char * kwnames[] = {
3997 (char *) "variant", NULL
3998 };
3999
4000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4001 if (obj0) {
4002 ecode1 = SWIG_AsVal_int(obj0, &val1);
4003 if (!SWIG_IsOK(ecode1)) {
4004 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4005 }
4006 arg1 = static_cast< wxWindowVariant >(val1);
4007 }
4008 {
4009 if (!wxPyCheckForApp()) SWIG_fail;
4010 PyThreadState* __tstate = wxPyBeginAllowThreads();
4011 result = wxPanel::GetClassDefaultAttributes(arg1);
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4016 return resultobj;
4017 fail:
4018 return NULL;
4019 }
4020
4021
4022 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4023 PyObject *obj;
4024 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4025 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4026 return SWIG_Py_Void();
4027 }
4028
4029 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4030 return SWIG_Python_InitShadowInstance(args);
4031 }
4032
4033 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4034 PyObject *resultobj = 0;
4035 wxWindow *arg1 = (wxWindow *) 0 ;
4036 int arg2 = (int) (int)-1 ;
4037 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4038 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4039 wxSize const &arg4_defvalue = wxDefaultSize ;
4040 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4041 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4042 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4043 wxString *arg6 = (wxString *) &arg6_defvalue ;
4044 wxScrolledWindow *result = 0 ;
4045 void *argp1 = 0 ;
4046 int res1 = 0 ;
4047 int val2 ;
4048 int ecode2 = 0 ;
4049 wxPoint temp3 ;
4050 wxSize temp4 ;
4051 long val5 ;
4052 int ecode5 = 0 ;
4053 bool temp6 = false ;
4054 PyObject * obj0 = 0 ;
4055 PyObject * obj1 = 0 ;
4056 PyObject * obj2 = 0 ;
4057 PyObject * obj3 = 0 ;
4058 PyObject * obj4 = 0 ;
4059 PyObject * obj5 = 0 ;
4060 char * kwnames[] = {
4061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4062 };
4063
4064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4066 if (!SWIG_IsOK(res1)) {
4067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4068 }
4069 arg1 = reinterpret_cast< wxWindow * >(argp1);
4070 if (obj1) {
4071 ecode2 = SWIG_AsVal_int(obj1, &val2);
4072 if (!SWIG_IsOK(ecode2)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4074 }
4075 arg2 = static_cast< int >(val2);
4076 }
4077 if (obj2) {
4078 {
4079 arg3 = &temp3;
4080 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4081 }
4082 }
4083 if (obj3) {
4084 {
4085 arg4 = &temp4;
4086 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4087 }
4088 }
4089 if (obj4) {
4090 ecode5 = SWIG_AsVal_long(obj4, &val5);
4091 if (!SWIG_IsOK(ecode5)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4093 }
4094 arg5 = static_cast< long >(val5);
4095 }
4096 if (obj5) {
4097 {
4098 arg6 = wxString_in_helper(obj5);
4099 if (arg6 == NULL) SWIG_fail;
4100 temp6 = true;
4101 }
4102 }
4103 {
4104 if (!wxPyCheckForApp()) SWIG_fail;
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4110 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4111 {
4112 if (temp6)
4113 delete arg6;
4114 }
4115 return resultobj;
4116 fail:
4117 {
4118 if (temp6)
4119 delete arg6;
4120 }
4121 return NULL;
4122 }
4123
4124
4125 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4126 PyObject *resultobj = 0;
4127 wxScrolledWindow *result = 0 ;
4128
4129 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4130 {
4131 if (!wxPyCheckForApp()) SWIG_fail;
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
4133 result = (wxScrolledWindow *)new wxScrolledWindow();
4134 wxPyEndAllowThreads(__tstate);
4135 if (PyErr_Occurred()) SWIG_fail;
4136 }
4137 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4138 return resultobj;
4139 fail:
4140 return NULL;
4141 }
4142
4143
4144 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4145 PyObject *resultobj = 0;
4146 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4147 wxWindow *arg2 = (wxWindow *) 0 ;
4148 int arg3 = (int) (int)-1 ;
4149 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4150 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4151 wxSize const &arg5_defvalue = wxDefaultSize ;
4152 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4153 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4154 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4155 wxString *arg7 = (wxString *) &arg7_defvalue ;
4156 bool result;
4157 void *argp1 = 0 ;
4158 int res1 = 0 ;
4159 void *argp2 = 0 ;
4160 int res2 = 0 ;
4161 int val3 ;
4162 int ecode3 = 0 ;
4163 wxPoint temp4 ;
4164 wxSize temp5 ;
4165 long val6 ;
4166 int ecode6 = 0 ;
4167 bool temp7 = false ;
4168 PyObject * obj0 = 0 ;
4169 PyObject * obj1 = 0 ;
4170 PyObject * obj2 = 0 ;
4171 PyObject * obj3 = 0 ;
4172 PyObject * obj4 = 0 ;
4173 PyObject * obj5 = 0 ;
4174 PyObject * obj6 = 0 ;
4175 char * kwnames[] = {
4176 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4177 };
4178
4179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4181 if (!SWIG_IsOK(res1)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4183 }
4184 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4186 if (!SWIG_IsOK(res2)) {
4187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4188 }
4189 arg2 = reinterpret_cast< wxWindow * >(argp2);
4190 if (obj2) {
4191 ecode3 = SWIG_AsVal_int(obj2, &val3);
4192 if (!SWIG_IsOK(ecode3)) {
4193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4194 }
4195 arg3 = static_cast< int >(val3);
4196 }
4197 if (obj3) {
4198 {
4199 arg4 = &temp4;
4200 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4201 }
4202 }
4203 if (obj4) {
4204 {
4205 arg5 = &temp5;
4206 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4207 }
4208 }
4209 if (obj5) {
4210 ecode6 = SWIG_AsVal_long(obj5, &val6);
4211 if (!SWIG_IsOK(ecode6)) {
4212 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4213 }
4214 arg6 = static_cast< long >(val6);
4215 }
4216 if (obj6) {
4217 {
4218 arg7 = wxString_in_helper(obj6);
4219 if (arg7 == NULL) SWIG_fail;
4220 temp7 = true;
4221 }
4222 }
4223 {
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4226 wxPyEndAllowThreads(__tstate);
4227 if (PyErr_Occurred()) SWIG_fail;
4228 }
4229 {
4230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4231 }
4232 {
4233 if (temp7)
4234 delete arg7;
4235 }
4236 return resultobj;
4237 fail:
4238 {
4239 if (temp7)
4240 delete arg7;
4241 }
4242 return NULL;
4243 }
4244
4245
4246 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4247 PyObject *resultobj = 0;
4248 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4249 int arg2 ;
4250 int arg3 ;
4251 int arg4 ;
4252 int arg5 ;
4253 int arg6 = (int) 0 ;
4254 int arg7 = (int) 0 ;
4255 bool arg8 = (bool) false ;
4256 void *argp1 = 0 ;
4257 int res1 = 0 ;
4258 int val2 ;
4259 int ecode2 = 0 ;
4260 int val3 ;
4261 int ecode3 = 0 ;
4262 int val4 ;
4263 int ecode4 = 0 ;
4264 int val5 ;
4265 int ecode5 = 0 ;
4266 int val6 ;
4267 int ecode6 = 0 ;
4268 int val7 ;
4269 int ecode7 = 0 ;
4270 bool val8 ;
4271 int ecode8 = 0 ;
4272 PyObject * obj0 = 0 ;
4273 PyObject * obj1 = 0 ;
4274 PyObject * obj2 = 0 ;
4275 PyObject * obj3 = 0 ;
4276 PyObject * obj4 = 0 ;
4277 PyObject * obj5 = 0 ;
4278 PyObject * obj6 = 0 ;
4279 PyObject * obj7 = 0 ;
4280 char * kwnames[] = {
4281 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4282 };
4283
4284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4286 if (!SWIG_IsOK(res1)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4288 }
4289 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4290 ecode2 = SWIG_AsVal_int(obj1, &val2);
4291 if (!SWIG_IsOK(ecode2)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4293 }
4294 arg2 = static_cast< int >(val2);
4295 ecode3 = SWIG_AsVal_int(obj2, &val3);
4296 if (!SWIG_IsOK(ecode3)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4298 }
4299 arg3 = static_cast< int >(val3);
4300 ecode4 = SWIG_AsVal_int(obj3, &val4);
4301 if (!SWIG_IsOK(ecode4)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4303 }
4304 arg4 = static_cast< int >(val4);
4305 ecode5 = SWIG_AsVal_int(obj4, &val5);
4306 if (!SWIG_IsOK(ecode5)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4308 }
4309 arg5 = static_cast< int >(val5);
4310 if (obj5) {
4311 ecode6 = SWIG_AsVal_int(obj5, &val6);
4312 if (!SWIG_IsOK(ecode6)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4314 }
4315 arg6 = static_cast< int >(val6);
4316 }
4317 if (obj6) {
4318 ecode7 = SWIG_AsVal_int(obj6, &val7);
4319 if (!SWIG_IsOK(ecode7)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4321 }
4322 arg7 = static_cast< int >(val7);
4323 }
4324 if (obj7) {
4325 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4326 if (!SWIG_IsOK(ecode8)) {
4327 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4328 }
4329 arg8 = static_cast< bool >(val8);
4330 }
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4334 wxPyEndAllowThreads(__tstate);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 resultobj = SWIG_Py_Void();
4338 return resultobj;
4339 fail:
4340 return NULL;
4341 }
4342
4343
4344 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4345 PyObject *resultobj = 0;
4346 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4347 int arg2 ;
4348 int arg3 ;
4349 void *argp1 = 0 ;
4350 int res1 = 0 ;
4351 int val2 ;
4352 int ecode2 = 0 ;
4353 int val3 ;
4354 int ecode3 = 0 ;
4355 PyObject * obj0 = 0 ;
4356 PyObject * obj1 = 0 ;
4357 PyObject * obj2 = 0 ;
4358 char * kwnames[] = {
4359 (char *) "self",(char *) "x",(char *) "y", NULL
4360 };
4361
4362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4364 if (!SWIG_IsOK(res1)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4366 }
4367 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4368 ecode2 = SWIG_AsVal_int(obj1, &val2);
4369 if (!SWIG_IsOK(ecode2)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4371 }
4372 arg2 = static_cast< int >(val2);
4373 ecode3 = SWIG_AsVal_int(obj2, &val3);
4374 if (!SWIG_IsOK(ecode3)) {
4375 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4376 }
4377 arg3 = static_cast< int >(val3);
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 (arg1)->Scroll(arg2,arg3);
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) SWIG_fail;
4383 }
4384 resultobj = SWIG_Py_Void();
4385 return resultobj;
4386 fail:
4387 return NULL;
4388 }
4389
4390
4391 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4392 PyObject *resultobj = 0;
4393 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4394 int arg2 ;
4395 int result;
4396 void *argp1 = 0 ;
4397 int res1 = 0 ;
4398 int val2 ;
4399 int ecode2 = 0 ;
4400 PyObject * obj0 = 0 ;
4401 PyObject * obj1 = 0 ;
4402 char * kwnames[] = {
4403 (char *) "self",(char *) "orient", NULL
4404 };
4405
4406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4408 if (!SWIG_IsOK(res1)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4410 }
4411 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4412 ecode2 = SWIG_AsVal_int(obj1, &val2);
4413 if (!SWIG_IsOK(ecode2)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4415 }
4416 arg2 = static_cast< int >(val2);
4417 {
4418 PyThreadState* __tstate = wxPyBeginAllowThreads();
4419 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4420 wxPyEndAllowThreads(__tstate);
4421 if (PyErr_Occurred()) SWIG_fail;
4422 }
4423 resultobj = SWIG_From_int(static_cast< int >(result));
4424 return resultobj;
4425 fail:
4426 return NULL;
4427 }
4428
4429
4430 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4431 PyObject *resultobj = 0;
4432 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4433 int arg2 ;
4434 int arg3 ;
4435 void *argp1 = 0 ;
4436 int res1 = 0 ;
4437 int val2 ;
4438 int ecode2 = 0 ;
4439 int val3 ;
4440 int ecode3 = 0 ;
4441 PyObject * obj0 = 0 ;
4442 PyObject * obj1 = 0 ;
4443 PyObject * obj2 = 0 ;
4444 char * kwnames[] = {
4445 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4446 };
4447
4448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4450 if (!SWIG_IsOK(res1)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4452 }
4453 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4454 ecode2 = SWIG_AsVal_int(obj1, &val2);
4455 if (!SWIG_IsOK(ecode2)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4457 }
4458 arg2 = static_cast< int >(val2);
4459 ecode3 = SWIG_AsVal_int(obj2, &val3);
4460 if (!SWIG_IsOK(ecode3)) {
4461 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4462 }
4463 arg3 = static_cast< int >(val3);
4464 {
4465 PyThreadState* __tstate = wxPyBeginAllowThreads();
4466 (arg1)->SetScrollPageSize(arg2,arg3);
4467 wxPyEndAllowThreads(__tstate);
4468 if (PyErr_Occurred()) SWIG_fail;
4469 }
4470 resultobj = SWIG_Py_Void();
4471 return resultobj;
4472 fail:
4473 return NULL;
4474 }
4475
4476
4477 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4478 PyObject *resultobj = 0;
4479 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4480 int arg2 ;
4481 int arg3 ;
4482 void *argp1 = 0 ;
4483 int res1 = 0 ;
4484 int val2 ;
4485 int ecode2 = 0 ;
4486 int val3 ;
4487 int ecode3 = 0 ;
4488 PyObject * obj0 = 0 ;
4489 PyObject * obj1 = 0 ;
4490 PyObject * obj2 = 0 ;
4491 char * kwnames[] = {
4492 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4493 };
4494
4495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4497 if (!SWIG_IsOK(res1)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4499 }
4500 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4501 ecode2 = SWIG_AsVal_int(obj1, &val2);
4502 if (!SWIG_IsOK(ecode2)) {
4503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4504 }
4505 arg2 = static_cast< int >(val2);
4506 ecode3 = SWIG_AsVal_int(obj2, &val3);
4507 if (!SWIG_IsOK(ecode3)) {
4508 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4509 }
4510 arg3 = static_cast< int >(val3);
4511 {
4512 PyThreadState* __tstate = wxPyBeginAllowThreads();
4513 (arg1)->SetScrollRate(arg2,arg3);
4514 wxPyEndAllowThreads(__tstate);
4515 if (PyErr_Occurred()) SWIG_fail;
4516 }
4517 resultobj = SWIG_Py_Void();
4518 return resultobj;
4519 fail:
4520 return NULL;
4521 }
4522
4523
4524 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4525 PyObject *resultobj = 0;
4526 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4527 int *arg2 = (int *) 0 ;
4528 int *arg3 = (int *) 0 ;
4529 void *argp1 = 0 ;
4530 int res1 = 0 ;
4531 int temp2 ;
4532 int res2 = SWIG_TMPOBJ ;
4533 int temp3 ;
4534 int res3 = SWIG_TMPOBJ ;
4535 PyObject *swig_obj[1] ;
4536
4537 arg2 = &temp2;
4538 arg3 = &temp3;
4539 if (!args) SWIG_fail;
4540 swig_obj[0] = args;
4541 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4542 if (!SWIG_IsOK(res1)) {
4543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4544 }
4545 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4546 {
4547 PyThreadState* __tstate = wxPyBeginAllowThreads();
4548 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 resultobj = SWIG_Py_Void();
4553 if (SWIG_IsTmpObj(res2)) {
4554 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4555 } else {
4556 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4557 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4558 }
4559 if (SWIG_IsTmpObj(res3)) {
4560 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4561 } else {
4562 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4563 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4564 }
4565 return resultobj;
4566 fail:
4567 return NULL;
4568 }
4569
4570
4571 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4572 PyObject *resultobj = 0;
4573 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4574 bool arg2 ;
4575 bool arg3 ;
4576 void *argp1 = 0 ;
4577 int res1 = 0 ;
4578 bool val2 ;
4579 int ecode2 = 0 ;
4580 bool val3 ;
4581 int ecode3 = 0 ;
4582 PyObject * obj0 = 0 ;
4583 PyObject * obj1 = 0 ;
4584 PyObject * obj2 = 0 ;
4585 char * kwnames[] = {
4586 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4587 };
4588
4589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4591 if (!SWIG_IsOK(res1)) {
4592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4593 }
4594 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4595 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4596 if (!SWIG_IsOK(ecode2)) {
4597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4598 }
4599 arg2 = static_cast< bool >(val2);
4600 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4601 if (!SWIG_IsOK(ecode3)) {
4602 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4603 }
4604 arg3 = static_cast< bool >(val3);
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 (arg1)->EnableScrolling(arg2,arg3);
4608 wxPyEndAllowThreads(__tstate);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 }
4611 resultobj = SWIG_Py_Void();
4612 return resultobj;
4613 fail:
4614 return NULL;
4615 }
4616
4617
4618 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4619 PyObject *resultobj = 0;
4620 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4621 int *arg2 = (int *) 0 ;
4622 int *arg3 = (int *) 0 ;
4623 void *argp1 = 0 ;
4624 int res1 = 0 ;
4625 int temp2 ;
4626 int res2 = SWIG_TMPOBJ ;
4627 int temp3 ;
4628 int res3 = SWIG_TMPOBJ ;
4629 PyObject *swig_obj[1] ;
4630
4631 arg2 = &temp2;
4632 arg3 = &temp3;
4633 if (!args) SWIG_fail;
4634 swig_obj[0] = args;
4635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4636 if (!SWIG_IsOK(res1)) {
4637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4638 }
4639 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4640 {
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
4646 resultobj = SWIG_Py_Void();
4647 if (SWIG_IsTmpObj(res2)) {
4648 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4649 } else {
4650 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4651 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4652 }
4653 if (SWIG_IsTmpObj(res3)) {
4654 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4655 } else {
4656 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4657 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4658 }
4659 return resultobj;
4660 fail:
4661 return NULL;
4662 }
4663
4664
4665 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4666 PyObject *resultobj = 0;
4667 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4668 double arg2 ;
4669 double arg3 ;
4670 void *argp1 = 0 ;
4671 int res1 = 0 ;
4672 double val2 ;
4673 int ecode2 = 0 ;
4674 double val3 ;
4675 int ecode3 = 0 ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 PyObject * obj2 = 0 ;
4679 char * kwnames[] = {
4680 (char *) "self",(char *) "xs",(char *) "ys", NULL
4681 };
4682
4683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4685 if (!SWIG_IsOK(res1)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4687 }
4688 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4689 ecode2 = SWIG_AsVal_double(obj1, &val2);
4690 if (!SWIG_IsOK(ecode2)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4692 }
4693 arg2 = static_cast< double >(val2);
4694 ecode3 = SWIG_AsVal_double(obj2, &val3);
4695 if (!SWIG_IsOK(ecode3)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4697 }
4698 arg3 = static_cast< double >(val3);
4699 {
4700 PyThreadState* __tstate = wxPyBeginAllowThreads();
4701 (arg1)->SetScale(arg2,arg3);
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 resultobj = SWIG_Py_Void();
4706 return resultobj;
4707 fail:
4708 return NULL;
4709 }
4710
4711
4712 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4713 PyObject *resultobj = 0;
4714 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4715 double result;
4716 void *argp1 = 0 ;
4717 int res1 = 0 ;
4718 PyObject *swig_obj[1] ;
4719
4720 if (!args) SWIG_fail;
4721 swig_obj[0] = args;
4722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4723 if (!SWIG_IsOK(res1)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4725 }
4726 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 }
4733 resultobj = SWIG_From_double(static_cast< double >(result));
4734 return resultobj;
4735 fail:
4736 return NULL;
4737 }
4738
4739
4740 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4741 PyObject *resultobj = 0;
4742 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4743 double result;
4744 void *argp1 = 0 ;
4745 int res1 = 0 ;
4746 PyObject *swig_obj[1] ;
4747
4748 if (!args) SWIG_fail;
4749 swig_obj[0] = args;
4750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4751 if (!SWIG_IsOK(res1)) {
4752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4753 }
4754 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
4761 resultobj = SWIG_From_double(static_cast< double >(result));
4762 return resultobj;
4763 fail:
4764 return NULL;
4765 }
4766
4767
4768 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4769 PyObject *resultobj = 0;
4770 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4771 wxPoint *arg2 = 0 ;
4772 wxPoint result;
4773 void *argp1 = 0 ;
4774 int res1 = 0 ;
4775 wxPoint temp2 ;
4776
4777 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4778 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4779 if (!SWIG_IsOK(res1)) {
4780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4781 }
4782 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4783 {
4784 arg2 = &temp2;
4785 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4786 }
4787 {
4788 PyThreadState* __tstate = wxPyBeginAllowThreads();
4789 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4794 return resultobj;
4795 fail:
4796 return NULL;
4797 }
4798
4799
4800 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4801 PyObject *resultobj = 0;
4802 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4803 int arg2 ;
4804 int arg3 ;
4805 int *arg4 = (int *) 0 ;
4806 int *arg5 = (int *) 0 ;
4807 void *argp1 = 0 ;
4808 int res1 = 0 ;
4809 int val2 ;
4810 int ecode2 = 0 ;
4811 int val3 ;
4812 int ecode3 = 0 ;
4813 int temp4 ;
4814 int res4 = SWIG_TMPOBJ ;
4815 int temp5 ;
4816 int res5 = SWIG_TMPOBJ ;
4817
4818 arg4 = &temp4;
4819 arg5 = &temp5;
4820 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4822 if (!SWIG_IsOK(res1)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4824 }
4825 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4826 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4827 if (!SWIG_IsOK(ecode2)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4829 }
4830 arg2 = static_cast< int >(val2);
4831 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4832 if (!SWIG_IsOK(ecode3)) {
4833 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4834 }
4835 arg3 = static_cast< int >(val3);
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 resultobj = SWIG_Py_Void();
4843 if (SWIG_IsTmpObj(res4)) {
4844 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4845 } else {
4846 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4847 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4848 }
4849 if (SWIG_IsTmpObj(res5)) {
4850 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4851 } else {
4852 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4853 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4854 }
4855 return resultobj;
4856 fail:
4857 return NULL;
4858 }
4859
4860
4861 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4862 int argc;
4863 PyObject *argv[4];
4864
4865 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4866 --argc;
4867 if (argc == 2) {
4868 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4869 }
4870 if (argc == 3) {
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4872 }
4873
4874 fail:
4875 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4876 return NULL;
4877 }
4878
4879
4880 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4881 PyObject *resultobj = 0;
4882 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4883 wxPoint *arg2 = 0 ;
4884 wxPoint result;
4885 void *argp1 = 0 ;
4886 int res1 = 0 ;
4887 wxPoint temp2 ;
4888
4889 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4891 if (!SWIG_IsOK(res1)) {
4892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4893 }
4894 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4895 {
4896 arg2 = &temp2;
4897 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4898 }
4899 {
4900 PyThreadState* __tstate = wxPyBeginAllowThreads();
4901 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4902 wxPyEndAllowThreads(__tstate);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4906 return resultobj;
4907 fail:
4908 return NULL;
4909 }
4910
4911
4912 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4913 PyObject *resultobj = 0;
4914 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4915 int arg2 ;
4916 int arg3 ;
4917 int *arg4 = (int *) 0 ;
4918 int *arg5 = (int *) 0 ;
4919 void *argp1 = 0 ;
4920 int res1 = 0 ;
4921 int val2 ;
4922 int ecode2 = 0 ;
4923 int val3 ;
4924 int ecode3 = 0 ;
4925 int temp4 ;
4926 int res4 = SWIG_TMPOBJ ;
4927 int temp5 ;
4928 int res5 = SWIG_TMPOBJ ;
4929
4930 arg4 = &temp4;
4931 arg5 = &temp5;
4932 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4934 if (!SWIG_IsOK(res1)) {
4935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4936 }
4937 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4938 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4939 if (!SWIG_IsOK(ecode2)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4941 }
4942 arg2 = static_cast< int >(val2);
4943 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4944 if (!SWIG_IsOK(ecode3)) {
4945 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4946 }
4947 arg3 = static_cast< int >(val3);
4948 {
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 resultobj = SWIG_Py_Void();
4955 if (SWIG_IsTmpObj(res4)) {
4956 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4957 } else {
4958 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4959 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4960 }
4961 if (SWIG_IsTmpObj(res5)) {
4962 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4963 } else {
4964 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4965 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4966 }
4967 return resultobj;
4968 fail:
4969 return NULL;
4970 }
4971
4972
4973 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4974 int argc;
4975 PyObject *argv[4];
4976
4977 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4978 --argc;
4979 if (argc == 2) {
4980 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4981 }
4982 if (argc == 3) {
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4984 }
4985
4986 fail:
4987 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4988 return NULL;
4989 }
4990
4991
4992 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4993 PyObject *resultobj = 0;
4994 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4995 void *argp1 = 0 ;
4996 int res1 = 0 ;
4997 PyObject *swig_obj[1] ;
4998
4999 if (!args) SWIG_fail;
5000 swig_obj[0] = args;
5001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5002 if (!SWIG_IsOK(res1)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5004 }
5005 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5006 {
5007 PyThreadState* __tstate = wxPyBeginAllowThreads();
5008 (arg1)->AdjustScrollbars();
5009 wxPyEndAllowThreads(__tstate);
5010 if (PyErr_Occurred()) SWIG_fail;
5011 }
5012 resultobj = SWIG_Py_Void();
5013 return resultobj;
5014 fail:
5015 return NULL;
5016 }
5017
5018
5019 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5020 PyObject *resultobj = 0;
5021 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5022 wxScrollWinEvent *arg2 = 0 ;
5023 int result;
5024 void *argp1 = 0 ;
5025 int res1 = 0 ;
5026 void *argp2 = 0 ;
5027 int res2 = 0 ;
5028 PyObject * obj0 = 0 ;
5029 PyObject * obj1 = 0 ;
5030 char * kwnames[] = {
5031 (char *) "self",(char *) "event", NULL
5032 };
5033
5034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5036 if (!SWIG_IsOK(res1)) {
5037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5038 }
5039 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5040 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5041 if (!SWIG_IsOK(res2)) {
5042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5043 }
5044 if (!argp2) {
5045 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 }
5047 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5048 {
5049 PyThreadState* __tstate = wxPyBeginAllowThreads();
5050 result = (int)(arg1)->CalcScrollInc(*arg2);
5051 wxPyEndAllowThreads(__tstate);
5052 if (PyErr_Occurred()) SWIG_fail;
5053 }
5054 resultobj = SWIG_From_int(static_cast< int >(result));
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5062 PyObject *resultobj = 0;
5063 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5064 wxWindow *arg2 = (wxWindow *) 0 ;
5065 void *argp1 = 0 ;
5066 int res1 = 0 ;
5067 void *argp2 = 0 ;
5068 int res2 = 0 ;
5069 PyObject * obj0 = 0 ;
5070 PyObject * obj1 = 0 ;
5071 char * kwnames[] = {
5072 (char *) "self",(char *) "target", NULL
5073 };
5074
5075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5077 if (!SWIG_IsOK(res1)) {
5078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5079 }
5080 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5081 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5082 if (!SWIG_IsOK(res2)) {
5083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5084 }
5085 arg2 = reinterpret_cast< wxWindow * >(argp2);
5086 {
5087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5088 (arg1)->SetTargetWindow(arg2);
5089 wxPyEndAllowThreads(__tstate);
5090 if (PyErr_Occurred()) SWIG_fail;
5091 }
5092 resultobj = SWIG_Py_Void();
5093 return resultobj;
5094 fail:
5095 return NULL;
5096 }
5097
5098
5099 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5100 PyObject *resultobj = 0;
5101 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5102 wxWindow *result = 0 ;
5103 void *argp1 = 0 ;
5104 int res1 = 0 ;
5105 PyObject *swig_obj[1] ;
5106
5107 if (!args) SWIG_fail;
5108 swig_obj[0] = args;
5109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5110 if (!SWIG_IsOK(res1)) {
5111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5112 }
5113 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5114 {
5115 PyThreadState* __tstate = wxPyBeginAllowThreads();
5116 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5117 wxPyEndAllowThreads(__tstate);
5118 if (PyErr_Occurred()) SWIG_fail;
5119 }
5120 {
5121 resultobj = wxPyMake_wxObject(result, 0);
5122 }
5123 return resultobj;
5124 fail:
5125 return NULL;
5126 }
5127
5128
5129 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5130 PyObject *resultobj = 0;
5131 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5132 wxRect *arg2 = 0 ;
5133 void *argp1 = 0 ;
5134 int res1 = 0 ;
5135 wxRect temp2 ;
5136 PyObject * obj0 = 0 ;
5137 PyObject * obj1 = 0 ;
5138 char * kwnames[] = {
5139 (char *) "self",(char *) "rect", NULL
5140 };
5141
5142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) SWIG_fail;
5143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5144 if (!SWIG_IsOK(res1)) {
5145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5146 }
5147 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5148 {
5149 arg2 = &temp2;
5150 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
5151 }
5152 {
5153 PyThreadState* __tstate = wxPyBeginAllowThreads();
5154 (arg1)->SetTargetRect((wxRect const &)*arg2);
5155 wxPyEndAllowThreads(__tstate);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 resultobj = SWIG_Py_Void();
5159 return resultobj;
5160 fail:
5161 return NULL;
5162 }
5163
5164
5165 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5166 PyObject *resultobj = 0;
5167 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5168 wxRect result;
5169 void *argp1 = 0 ;
5170 int res1 = 0 ;
5171 PyObject *swig_obj[1] ;
5172
5173 if (!args) SWIG_fail;
5174 swig_obj[0] = args;
5175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5176 if (!SWIG_IsOK(res1)) {
5177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5178 }
5179 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5180 {
5181 PyThreadState* __tstate = wxPyBeginAllowThreads();
5182 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
5183 wxPyEndAllowThreads(__tstate);
5184 if (PyErr_Occurred()) SWIG_fail;
5185 }
5186 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
5187 return resultobj;
5188 fail:
5189 return NULL;
5190 }
5191
5192
5193 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5194 PyObject *resultobj = 0;
5195 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5196 wxDC *arg2 = 0 ;
5197 void *argp1 = 0 ;
5198 int res1 = 0 ;
5199 void *argp2 = 0 ;
5200 int res2 = 0 ;
5201 PyObject * obj0 = 0 ;
5202 PyObject * obj1 = 0 ;
5203 char * kwnames[] = {
5204 (char *) "self",(char *) "dc", NULL
5205 };
5206
5207 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5208 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5209 if (!SWIG_IsOK(res1)) {
5210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5211 }
5212 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5213 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5214 if (!SWIG_IsOK(res2)) {
5215 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5216 }
5217 if (!argp2) {
5218 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 }
5220 arg2 = reinterpret_cast< wxDC * >(argp2);
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 (arg1)->DoPrepareDC(*arg2);
5224 wxPyEndAllowThreads(__tstate);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
5227 resultobj = SWIG_Py_Void();
5228 return resultobj;
5229 fail:
5230 return NULL;
5231 }
5232
5233
5234 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5235 PyObject *resultobj = 0;
5236 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5237 SwigValueWrapper<wxVisualAttributes > result;
5238 int val1 ;
5239 int ecode1 = 0 ;
5240 PyObject * obj0 = 0 ;
5241 char * kwnames[] = {
5242 (char *) "variant", NULL
5243 };
5244
5245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5246 if (obj0) {
5247 ecode1 = SWIG_AsVal_int(obj0, &val1);
5248 if (!SWIG_IsOK(ecode1)) {
5249 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5250 }
5251 arg1 = static_cast< wxWindowVariant >(val1);
5252 }
5253 {
5254 if (!wxPyCheckForApp()) SWIG_fail;
5255 PyThreadState* __tstate = wxPyBeginAllowThreads();
5256 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5257 wxPyEndAllowThreads(__tstate);
5258 if (PyErr_Occurred()) SWIG_fail;
5259 }
5260 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5261 return resultobj;
5262 fail:
5263 return NULL;
5264 }
5265
5266
5267 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5268 PyObject *obj;
5269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5270 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5271 return SWIG_Py_Void();
5272 }
5273
5274 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5275 return SWIG_Python_InitShadowInstance(args);
5276 }
5277
5278 SWIGINTERN int FrameNameStr_set(PyObject *) {
5279 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5280 return 1;
5281 }
5282
5283
5284 SWIGINTERN PyObject *FrameNameStr_get(void) {
5285 PyObject *pyobj = 0;
5286
5287 {
5288 #if wxUSE_UNICODE
5289 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5290 #else
5291 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5292 #endif
5293 }
5294 return pyobj;
5295 }
5296
5297
5298 SWIGINTERN int DialogNameStr_set(PyObject *) {
5299 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5300 return 1;
5301 }
5302
5303
5304 SWIGINTERN PyObject *DialogNameStr_get(void) {
5305 PyObject *pyobj = 0;
5306
5307 {
5308 #if wxUSE_UNICODE
5309 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5310 #else
5311 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5312 #endif
5313 }
5314 return pyobj;
5315 }
5316
5317
5318 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5319 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5320 return 1;
5321 }
5322
5323
5324 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5325 PyObject *pyobj = 0;
5326
5327 {
5328 #if wxUSE_UNICODE
5329 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5330 #else
5331 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5332 #endif
5333 }
5334 return pyobj;
5335 }
5336
5337
5338 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5339 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5340 return 1;
5341 }
5342
5343
5344 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5345 PyObject *pyobj = 0;
5346
5347 {
5348 #if wxUSE_UNICODE
5349 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5350 #else
5351 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5352 #endif
5353 }
5354 return pyobj;
5355 }
5356
5357
5358 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5359 PyObject *resultobj = 0;
5360 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5361 bool arg2 = (bool) true ;
5362 void *argp1 = 0 ;
5363 int res1 = 0 ;
5364 bool val2 ;
5365 int ecode2 = 0 ;
5366 PyObject * obj0 = 0 ;
5367 PyObject * obj1 = 0 ;
5368 char * kwnames[] = {
5369 (char *) "self",(char *) "maximize", NULL
5370 };
5371
5372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5374 if (!SWIG_IsOK(res1)) {
5375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5376 }
5377 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5378 if (obj1) {
5379 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5380 if (!SWIG_IsOK(ecode2)) {
5381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5382 }
5383 arg2 = static_cast< bool >(val2);
5384 }
5385 {
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 (arg1)->Maximize(arg2);
5388 wxPyEndAllowThreads(__tstate);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 }
5391 resultobj = SWIG_Py_Void();
5392 return resultobj;
5393 fail:
5394 return NULL;
5395 }
5396
5397
5398 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5399 PyObject *resultobj = 0;
5400 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5401 void *argp1 = 0 ;
5402 int res1 = 0 ;
5403 PyObject *swig_obj[1] ;
5404
5405 if (!args) SWIG_fail;
5406 swig_obj[0] = args;
5407 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5408 if (!SWIG_IsOK(res1)) {
5409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5410 }
5411 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 (arg1)->Restore();
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 resultobj = SWIG_Py_Void();
5419 return resultobj;
5420 fail:
5421 return NULL;
5422 }
5423
5424
5425 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj = 0;
5427 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5428 bool arg2 = (bool) true ;
5429 void *argp1 = 0 ;
5430 int res1 = 0 ;
5431 bool val2 ;
5432 int ecode2 = 0 ;
5433 PyObject * obj0 = 0 ;
5434 PyObject * obj1 = 0 ;
5435 char * kwnames[] = {
5436 (char *) "self",(char *) "iconize", NULL
5437 };
5438
5439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5441 if (!SWIG_IsOK(res1)) {
5442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5443 }
5444 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5445 if (obj1) {
5446 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5447 if (!SWIG_IsOK(ecode2)) {
5448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5449 }
5450 arg2 = static_cast< bool >(val2);
5451 }
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 (arg1)->Iconize(arg2);
5455 wxPyEndAllowThreads(__tstate);
5456 if (PyErr_Occurred()) SWIG_fail;
5457 }
5458 resultobj = SWIG_Py_Void();
5459 return resultobj;
5460 fail:
5461 return NULL;
5462 }
5463
5464
5465 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5466 PyObject *resultobj = 0;
5467 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5468 bool result;
5469 void *argp1 = 0 ;
5470 int res1 = 0 ;
5471 PyObject *swig_obj[1] ;
5472
5473 if (!args) SWIG_fail;
5474 swig_obj[0] = args;
5475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5476 if (!SWIG_IsOK(res1)) {
5477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5478 }
5479 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5480 {
5481 PyThreadState* __tstate = wxPyBeginAllowThreads();
5482 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 {
5487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5488 }
5489 return resultobj;
5490 fail:
5491 return NULL;
5492 }
5493
5494
5495 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5496 PyObject *resultobj = 0;
5497 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5498 bool result;
5499 void *argp1 = 0 ;
5500 int res1 = 0 ;
5501 PyObject *swig_obj[1] ;
5502
5503 if (!args) SWIG_fail;
5504 swig_obj[0] = args;
5505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5506 if (!SWIG_IsOK(res1)) {
5507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5508 }
5509 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 {
5517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5518 }
5519 return resultobj;
5520 fail:
5521 return NULL;
5522 }
5523
5524
5525 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5526 PyObject *resultobj = 0;
5527 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5528 bool result;
5529 void *argp1 = 0 ;
5530 int res1 = 0 ;
5531 PyObject *swig_obj[1] ;
5532
5533 if (!args) SWIG_fail;
5534 swig_obj[0] = args;
5535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5536 if (!SWIG_IsOK(res1)) {
5537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5538 }
5539 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5543 wxPyEndAllowThreads(__tstate);
5544 if (PyErr_Occurred()) SWIG_fail;
5545 }
5546 {
5547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5548 }
5549 return resultobj;
5550 fail:
5551 return NULL;
5552 }
5553
5554
5555 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5556 PyObject *resultobj = 0;
5557 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5558 wxIcon result;
5559 void *argp1 = 0 ;
5560 int res1 = 0 ;
5561 PyObject *swig_obj[1] ;
5562
5563 if (!args) SWIG_fail;
5564 swig_obj[0] = args;
5565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5566 if (!SWIG_IsOK(res1)) {
5567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5568 }
5569 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5570 {
5571 PyThreadState* __tstate = wxPyBeginAllowThreads();
5572 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5573 wxPyEndAllowThreads(__tstate);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 }
5576 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5577 return resultobj;
5578 fail:
5579 return NULL;
5580 }
5581
5582
5583 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5584 PyObject *resultobj = 0;
5585 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5586 wxIcon *arg2 = 0 ;
5587 void *argp1 = 0 ;
5588 int res1 = 0 ;
5589 void *argp2 = 0 ;
5590 int res2 = 0 ;
5591 PyObject * obj0 = 0 ;
5592 PyObject * obj1 = 0 ;
5593 char * kwnames[] = {
5594 (char *) "self",(char *) "icon", NULL
5595 };
5596
5597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5599 if (!SWIG_IsOK(res1)) {
5600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5601 }
5602 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5603 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5604 if (!SWIG_IsOK(res2)) {
5605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5606 }
5607 if (!argp2) {
5608 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 }
5610 arg2 = reinterpret_cast< wxIcon * >(argp2);
5611 {
5612 PyThreadState* __tstate = wxPyBeginAllowThreads();
5613 (arg1)->SetIcon((wxIcon const &)*arg2);
5614 wxPyEndAllowThreads(__tstate);
5615 if (PyErr_Occurred()) SWIG_fail;
5616 }
5617 resultobj = SWIG_Py_Void();
5618 return resultobj;
5619 fail:
5620 return NULL;
5621 }
5622
5623
5624 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5625 PyObject *resultobj = 0;
5626 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5627 wxIconBundle *arg2 = 0 ;
5628 void *argp1 = 0 ;
5629 int res1 = 0 ;
5630 void *argp2 = 0 ;
5631 int res2 = 0 ;
5632 PyObject * obj0 = 0 ;
5633 PyObject * obj1 = 0 ;
5634 char * kwnames[] = {
5635 (char *) "self",(char *) "icons", NULL
5636 };
5637
5638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5640 if (!SWIG_IsOK(res1)) {
5641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5642 }
5643 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5644 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5645 if (!SWIG_IsOK(res2)) {
5646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5647 }
5648 if (!argp2) {
5649 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 }
5651 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5652 {
5653 PyThreadState* __tstate = wxPyBeginAllowThreads();
5654 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5655 wxPyEndAllowThreads(__tstate);
5656 if (PyErr_Occurred()) SWIG_fail;
5657 }
5658 resultobj = SWIG_Py_Void();
5659 return resultobj;
5660 fail:
5661 return NULL;
5662 }
5663
5664
5665 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5666 PyObject *resultobj = 0;
5667 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5668 bool arg2 ;
5669 long arg3 = (long) wxFULLSCREEN_ALL ;
5670 bool result;
5671 void *argp1 = 0 ;
5672 int res1 = 0 ;
5673 bool val2 ;
5674 int ecode2 = 0 ;
5675 long val3 ;
5676 int ecode3 = 0 ;
5677 PyObject * obj0 = 0 ;
5678 PyObject * obj1 = 0 ;
5679 PyObject * obj2 = 0 ;
5680 char * kwnames[] = {
5681 (char *) "self",(char *) "show",(char *) "style", NULL
5682 };
5683
5684 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5685 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5686 if (!SWIG_IsOK(res1)) {
5687 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5688 }
5689 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5690 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5691 if (!SWIG_IsOK(ecode2)) {
5692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5693 }
5694 arg2 = static_cast< bool >(val2);
5695 if (obj2) {
5696 ecode3 = SWIG_AsVal_long(obj2, &val3);
5697 if (!SWIG_IsOK(ecode3)) {
5698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5699 }
5700 arg3 = static_cast< long >(val3);
5701 }
5702 {
5703 PyThreadState* __tstate = wxPyBeginAllowThreads();
5704 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 {
5709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5710 }
5711 return resultobj;
5712 fail:
5713 return NULL;
5714 }
5715
5716
5717 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5718 PyObject *resultobj = 0;
5719 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5720 bool result;
5721 void *argp1 = 0 ;
5722 int res1 = 0 ;
5723 PyObject *swig_obj[1] ;
5724
5725 if (!args) SWIG_fail;
5726 swig_obj[0] = args;
5727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5728 if (!SWIG_IsOK(res1)) {
5729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5730 }
5731 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5732 {
5733 PyThreadState* __tstate = wxPyBeginAllowThreads();
5734 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 {
5739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5740 }
5741 return resultobj;
5742 fail:
5743 return NULL;
5744 }
5745
5746
5747 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj = 0;
5749 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5750 wxString *arg2 = 0 ;
5751 void *argp1 = 0 ;
5752 int res1 = 0 ;
5753 bool temp2 = false ;
5754 PyObject * obj0 = 0 ;
5755 PyObject * obj1 = 0 ;
5756 char * kwnames[] = {
5757 (char *) "self",(char *) "title", NULL
5758 };
5759
5760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5762 if (!SWIG_IsOK(res1)) {
5763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5764 }
5765 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5766 {
5767 arg2 = wxString_in_helper(obj1);
5768 if (arg2 == NULL) SWIG_fail;
5769 temp2 = true;
5770 }
5771 {
5772 PyThreadState* __tstate = wxPyBeginAllowThreads();
5773 (arg1)->SetTitle((wxString const &)*arg2);
5774 wxPyEndAllowThreads(__tstate);
5775 if (PyErr_Occurred()) SWIG_fail;
5776 }
5777 resultobj = SWIG_Py_Void();
5778 {
5779 if (temp2)
5780 delete arg2;
5781 }
5782 return resultobj;
5783 fail:
5784 {
5785 if (temp2)
5786 delete arg2;
5787 }
5788 return NULL;
5789 }
5790
5791
5792 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5793 PyObject *resultobj = 0;
5794 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5795 wxString result;
5796 void *argp1 = 0 ;
5797 int res1 = 0 ;
5798 PyObject *swig_obj[1] ;
5799
5800 if (!args) SWIG_fail;
5801 swig_obj[0] = args;
5802 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5803 if (!SWIG_IsOK(res1)) {
5804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5805 }
5806 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5810 wxPyEndAllowThreads(__tstate);
5811 if (PyErr_Occurred()) SWIG_fail;
5812 }
5813 {
5814 #if wxUSE_UNICODE
5815 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5816 #else
5817 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5818 #endif
5819 }
5820 return resultobj;
5821 fail:
5822 return NULL;
5823 }
5824
5825
5826 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5827 PyObject *resultobj = 0;
5828 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5829 wxRegion *arg2 = 0 ;
5830 bool result;
5831 void *argp1 = 0 ;
5832 int res1 = 0 ;
5833 void *argp2 = 0 ;
5834 int res2 = 0 ;
5835 PyObject * obj0 = 0 ;
5836 PyObject * obj1 = 0 ;
5837 char * kwnames[] = {
5838 (char *) "self",(char *) "region", NULL
5839 };
5840
5841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5843 if (!SWIG_IsOK(res1)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5845 }
5846 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5847 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5848 if (!SWIG_IsOK(res2)) {
5849 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5850 }
5851 if (!argp2) {
5852 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5853 }
5854 arg2 = reinterpret_cast< wxRegion * >(argp2);
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 {
5862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5863 }
5864 return resultobj;
5865 fail:
5866 return NULL;
5867 }
5868
5869
5870 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5871 PyObject *resultobj = 0;
5872 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5873 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5874 void *argp1 = 0 ;
5875 int res1 = 0 ;
5876 int val2 ;
5877 int ecode2 = 0 ;
5878 PyObject * obj0 = 0 ;
5879 PyObject * obj1 = 0 ;
5880 char * kwnames[] = {
5881 (char *) "self",(char *) "flags", NULL
5882 };
5883
5884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5886 if (!SWIG_IsOK(res1)) {
5887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5888 }
5889 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5890 if (obj1) {
5891 ecode2 = SWIG_AsVal_int(obj1, &val2);
5892 if (!SWIG_IsOK(ecode2)) {
5893 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5894 }
5895 arg2 = static_cast< int >(val2);
5896 }
5897 {
5898 PyThreadState* __tstate = wxPyBeginAllowThreads();
5899 (arg1)->RequestUserAttention(arg2);
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 resultobj = SWIG_Py_Void();
5904 return resultobj;
5905 fail:
5906 return NULL;
5907 }
5908
5909
5910 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5911 PyObject *resultobj = 0;
5912 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5913 bool result;
5914 void *argp1 = 0 ;
5915 int res1 = 0 ;
5916 PyObject *swig_obj[1] ;
5917
5918 if (!args) SWIG_fail;
5919 swig_obj[0] = args;
5920 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5921 if (!SWIG_IsOK(res1)) {
5922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5923 }
5924 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5925 {
5926 PyThreadState* __tstate = wxPyBeginAllowThreads();
5927 result = (bool)(arg1)->IsActive();
5928 wxPyEndAllowThreads(__tstate);
5929 if (PyErr_Occurred()) SWIG_fail;
5930 }
5931 {
5932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5933 }
5934 return resultobj;
5935 fail:
5936 return NULL;
5937 }
5938
5939
5940 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5941 PyObject *resultobj = 0;
5942 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5943 bool arg2 ;
5944 void *argp1 = 0 ;
5945 int res1 = 0 ;
5946 bool val2 ;
5947 int ecode2 = 0 ;
5948 PyObject * obj0 = 0 ;
5949 PyObject * obj1 = 0 ;
5950 char * kwnames[] = {
5951 (char *) "self",(char *) "on", NULL
5952 };
5953
5954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5956 if (!SWIG_IsOK(res1)) {
5957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5958 }
5959 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5960 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5961 if (!SWIG_IsOK(ecode2)) {
5962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5963 }
5964 arg2 = static_cast< bool >(val2);
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 resultobj = SWIG_Py_Void();
5972 return resultobj;
5973 fail:
5974 return NULL;
5975 }
5976
5977
5978 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5979 PyObject *resultobj = 0;
5980 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5981 bool result;
5982 void *argp1 = 0 ;
5983 int res1 = 0 ;
5984 PyObject *swig_obj[1] ;
5985
5986 if (!args) SWIG_fail;
5987 swig_obj[0] = args;
5988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5989 if (!SWIG_IsOK(res1)) {
5990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5991 }
5992 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 {
6000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6001 }
6002 return resultobj;
6003 fail:
6004 return NULL;
6005 }
6006
6007
6008 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6009 PyObject *resultobj = 0;
6010 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6011 int arg2 = (int) wxBOTH ;
6012 void *argp1 = 0 ;
6013 int res1 = 0 ;
6014 int val2 ;
6015 int ecode2 = 0 ;
6016 PyObject * obj0 = 0 ;
6017 PyObject * obj1 = 0 ;
6018 char * kwnames[] = {
6019 (char *) "self",(char *) "dir", NULL
6020 };
6021
6022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6024 if (!SWIG_IsOK(res1)) {
6025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6026 }
6027 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6028 if (obj1) {
6029 ecode2 = SWIG_AsVal_int(obj1, &val2);
6030 if (!SWIG_IsOK(ecode2)) {
6031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6032 }
6033 arg2 = static_cast< int >(val2);
6034 }
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 (arg1)->CenterOnScreen(arg2);
6038 wxPyEndAllowThreads(__tstate);
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
6041 resultobj = SWIG_Py_Void();
6042 return resultobj;
6043 fail:
6044 return NULL;
6045 }
6046
6047
6048 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6049 PyObject *obj;
6050 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6051 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6052 return SWIG_Py_Void();
6053 }
6054
6055 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6056 PyObject *resultobj = 0;
6057 wxWindow *arg1 = (wxWindow *) 0 ;
6058 int arg2 = (int) (int)-1 ;
6059 wxString const &arg3_defvalue = wxPyEmptyString ;
6060 wxString *arg3 = (wxString *) &arg3_defvalue ;
6061 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6062 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6063 wxSize const &arg5_defvalue = wxDefaultSize ;
6064 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6065 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6066 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6067 wxString *arg7 = (wxString *) &arg7_defvalue ;
6068 wxFrame *result = 0 ;
6069 void *argp1 = 0 ;
6070 int res1 = 0 ;
6071 int val2 ;
6072 int ecode2 = 0 ;
6073 bool temp3 = false ;
6074 wxPoint temp4 ;
6075 wxSize temp5 ;
6076 long val6 ;
6077 int ecode6 = 0 ;
6078 bool temp7 = false ;
6079 PyObject * obj0 = 0 ;
6080 PyObject * obj1 = 0 ;
6081 PyObject * obj2 = 0 ;
6082 PyObject * obj3 = 0 ;
6083 PyObject * obj4 = 0 ;
6084 PyObject * obj5 = 0 ;
6085 PyObject * obj6 = 0 ;
6086 char * kwnames[] = {
6087 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6088 };
6089
6090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6092 if (!SWIG_IsOK(res1)) {
6093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6094 }
6095 arg1 = reinterpret_cast< wxWindow * >(argp1);
6096 if (obj1) {
6097 ecode2 = SWIG_AsVal_int(obj1, &val2);
6098 if (!SWIG_IsOK(ecode2)) {
6099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6100 }
6101 arg2 = static_cast< int >(val2);
6102 }
6103 if (obj2) {
6104 {
6105 arg3 = wxString_in_helper(obj2);
6106 if (arg3 == NULL) SWIG_fail;
6107 temp3 = true;
6108 }
6109 }
6110 if (obj3) {
6111 {
6112 arg4 = &temp4;
6113 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6114 }
6115 }
6116 if (obj4) {
6117 {
6118 arg5 = &temp5;
6119 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6120 }
6121 }
6122 if (obj5) {
6123 ecode6 = SWIG_AsVal_long(obj5, &val6);
6124 if (!SWIG_IsOK(ecode6)) {
6125 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6126 }
6127 arg6 = static_cast< long >(val6);
6128 }
6129 if (obj6) {
6130 {
6131 arg7 = wxString_in_helper(obj6);
6132 if (arg7 == NULL) SWIG_fail;
6133 temp7 = true;
6134 }
6135 }
6136 {
6137 if (!wxPyCheckForApp()) SWIG_fail;
6138 PyThreadState* __tstate = wxPyBeginAllowThreads();
6139 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6144 {
6145 if (temp3)
6146 delete arg3;
6147 }
6148 {
6149 if (temp7)
6150 delete arg7;
6151 }
6152 return resultobj;
6153 fail:
6154 {
6155 if (temp3)
6156 delete arg3;
6157 }
6158 {
6159 if (temp7)
6160 delete arg7;
6161 }
6162 return NULL;
6163 }
6164
6165
6166 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6167 PyObject *resultobj = 0;
6168 wxFrame *result = 0 ;
6169
6170 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6171 {
6172 if (!wxPyCheckForApp()) SWIG_fail;
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 result = (wxFrame *)new wxFrame();
6175 wxPyEndAllowThreads(__tstate);
6176 if (PyErr_Occurred()) SWIG_fail;
6177 }
6178 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6179 return resultobj;
6180 fail:
6181 return NULL;
6182 }
6183
6184
6185 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6186 PyObject *resultobj = 0;
6187 wxFrame *arg1 = (wxFrame *) 0 ;
6188 wxWindow *arg2 = (wxWindow *) 0 ;
6189 int arg3 = (int) (int)-1 ;
6190 wxString const &arg4_defvalue = wxPyEmptyString ;
6191 wxString *arg4 = (wxString *) &arg4_defvalue ;
6192 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6193 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6194 wxSize const &arg6_defvalue = wxDefaultSize ;
6195 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6196 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6197 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6198 wxString *arg8 = (wxString *) &arg8_defvalue ;
6199 bool result;
6200 void *argp1 = 0 ;
6201 int res1 = 0 ;
6202 void *argp2 = 0 ;
6203 int res2 = 0 ;
6204 int val3 ;
6205 int ecode3 = 0 ;
6206 bool temp4 = false ;
6207 wxPoint temp5 ;
6208 wxSize temp6 ;
6209 long val7 ;
6210 int ecode7 = 0 ;
6211 bool temp8 = false ;
6212 PyObject * obj0 = 0 ;
6213 PyObject * obj1 = 0 ;
6214 PyObject * obj2 = 0 ;
6215 PyObject * obj3 = 0 ;
6216 PyObject * obj4 = 0 ;
6217 PyObject * obj5 = 0 ;
6218 PyObject * obj6 = 0 ;
6219 PyObject * obj7 = 0 ;
6220 char * kwnames[] = {
6221 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6222 };
6223
6224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6226 if (!SWIG_IsOK(res1)) {
6227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6228 }
6229 arg1 = reinterpret_cast< wxFrame * >(argp1);
6230 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6231 if (!SWIG_IsOK(res2)) {
6232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6233 }
6234 arg2 = reinterpret_cast< wxWindow * >(argp2);
6235 if (obj2) {
6236 ecode3 = SWIG_AsVal_int(obj2, &val3);
6237 if (!SWIG_IsOK(ecode3)) {
6238 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6239 }
6240 arg3 = static_cast< int >(val3);
6241 }
6242 if (obj3) {
6243 {
6244 arg4 = wxString_in_helper(obj3);
6245 if (arg4 == NULL) SWIG_fail;
6246 temp4 = true;
6247 }
6248 }
6249 if (obj4) {
6250 {
6251 arg5 = &temp5;
6252 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6253 }
6254 }
6255 if (obj5) {
6256 {
6257 arg6 = &temp6;
6258 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6259 }
6260 }
6261 if (obj6) {
6262 ecode7 = SWIG_AsVal_long(obj6, &val7);
6263 if (!SWIG_IsOK(ecode7)) {
6264 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6265 }
6266 arg7 = static_cast< long >(val7);
6267 }
6268 if (obj7) {
6269 {
6270 arg8 = wxString_in_helper(obj7);
6271 if (arg8 == NULL) SWIG_fail;
6272 temp8 = true;
6273 }
6274 }
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6278 wxPyEndAllowThreads(__tstate);
6279 if (PyErr_Occurred()) SWIG_fail;
6280 }
6281 {
6282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6283 }
6284 {
6285 if (temp4)
6286 delete arg4;
6287 }
6288 {
6289 if (temp8)
6290 delete arg8;
6291 }
6292 return resultobj;
6293 fail:
6294 {
6295 if (temp4)
6296 delete arg4;
6297 }
6298 {
6299 if (temp8)
6300 delete arg8;
6301 }
6302 return NULL;
6303 }
6304
6305
6306 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6307 PyObject *resultobj = 0;
6308 wxFrame *arg1 = (wxFrame *) 0 ;
6309 void *argp1 = 0 ;
6310 int res1 = 0 ;
6311 PyObject *swig_obj[1] ;
6312
6313 if (!args) SWIG_fail;
6314 swig_obj[0] = args;
6315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6316 if (!SWIG_IsOK(res1)) {
6317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6318 }
6319 arg1 = reinterpret_cast< wxFrame * >(argp1);
6320 {
6321 PyThreadState* __tstate = wxPyBeginAllowThreads();
6322 (arg1)->SendSizeEvent();
6323 wxPyEndAllowThreads(__tstate);
6324 if (PyErr_Occurred()) SWIG_fail;
6325 }
6326 resultobj = SWIG_Py_Void();
6327 return resultobj;
6328 fail:
6329 return NULL;
6330 }
6331
6332
6333 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6334 PyObject *resultobj = 0;
6335 wxFrame *arg1 = (wxFrame *) 0 ;
6336 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6337 void *argp1 = 0 ;
6338 int res1 = 0 ;
6339 void *argp2 = 0 ;
6340 int res2 = 0 ;
6341 PyObject * obj0 = 0 ;
6342 PyObject * obj1 = 0 ;
6343 char * kwnames[] = {
6344 (char *) "self",(char *) "menubar", NULL
6345 };
6346
6347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6349 if (!SWIG_IsOK(res1)) {
6350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6351 }
6352 arg1 = reinterpret_cast< wxFrame * >(argp1);
6353 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6354 if (!SWIG_IsOK(res2)) {
6355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6356 }
6357 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 (arg1)->SetMenuBar(arg2);
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 resultobj = SWIG_Py_Void();
6365 return resultobj;
6366 fail:
6367 return NULL;
6368 }
6369
6370
6371 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6372 PyObject *resultobj = 0;
6373 wxFrame *arg1 = (wxFrame *) 0 ;
6374 wxMenuBar *result = 0 ;
6375 void *argp1 = 0 ;
6376 int res1 = 0 ;
6377 PyObject *swig_obj[1] ;
6378
6379 if (!args) SWIG_fail;
6380 swig_obj[0] = args;
6381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6382 if (!SWIG_IsOK(res1)) {
6383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6384 }
6385 arg1 = reinterpret_cast< wxFrame * >(argp1);
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 {
6393 resultobj = wxPyMake_wxObject(result, 0);
6394 }
6395 return resultobj;
6396 fail:
6397 return NULL;
6398 }
6399
6400
6401 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj = 0;
6403 wxFrame *arg1 = (wxFrame *) 0 ;
6404 int arg2 ;
6405 bool result;
6406 void *argp1 = 0 ;
6407 int res1 = 0 ;
6408 int val2 ;
6409 int ecode2 = 0 ;
6410 PyObject * obj0 = 0 ;
6411 PyObject * obj1 = 0 ;
6412 char * kwnames[] = {
6413 (char *) "self",(char *) "winid", NULL
6414 };
6415
6416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6418 if (!SWIG_IsOK(res1)) {
6419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6420 }
6421 arg1 = reinterpret_cast< wxFrame * >(argp1);
6422 ecode2 = SWIG_AsVal_int(obj1, &val2);
6423 if (!SWIG_IsOK(ecode2)) {
6424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6425 }
6426 arg2 = static_cast< int >(val2);
6427 {
6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6429 result = (bool)(arg1)->ProcessCommand(arg2);
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 {
6434 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6435 }
6436 return resultobj;
6437 fail:
6438 return NULL;
6439 }
6440
6441
6442 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6443 PyObject *resultobj = 0;
6444 wxFrame *arg1 = (wxFrame *) 0 ;
6445 int arg2 = (int) 1 ;
6446 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6447 int arg4 = (int) 0 ;
6448 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6449 wxString *arg5 = (wxString *) &arg5_defvalue ;
6450 wxStatusBar *result = 0 ;
6451 void *argp1 = 0 ;
6452 int res1 = 0 ;
6453 int val2 ;
6454 int ecode2 = 0 ;
6455 long val3 ;
6456 int ecode3 = 0 ;
6457 int val4 ;
6458 int ecode4 = 0 ;
6459 bool temp5 = false ;
6460 PyObject * obj0 = 0 ;
6461 PyObject * obj1 = 0 ;
6462 PyObject * obj2 = 0 ;
6463 PyObject * obj3 = 0 ;
6464 PyObject * obj4 = 0 ;
6465 char * kwnames[] = {
6466 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6467 };
6468
6469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6471 if (!SWIG_IsOK(res1)) {
6472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6473 }
6474 arg1 = reinterpret_cast< wxFrame * >(argp1);
6475 if (obj1) {
6476 ecode2 = SWIG_AsVal_int(obj1, &val2);
6477 if (!SWIG_IsOK(ecode2)) {
6478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6479 }
6480 arg2 = static_cast< int >(val2);
6481 }
6482 if (obj2) {
6483 ecode3 = SWIG_AsVal_long(obj2, &val3);
6484 if (!SWIG_IsOK(ecode3)) {
6485 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6486 }
6487 arg3 = static_cast< long >(val3);
6488 }
6489 if (obj3) {
6490 ecode4 = SWIG_AsVal_int(obj3, &val4);
6491 if (!SWIG_IsOK(ecode4)) {
6492 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6493 }
6494 arg4 = static_cast< int >(val4);
6495 }
6496 if (obj4) {
6497 {
6498 arg5 = wxString_in_helper(obj4);
6499 if (arg5 == NULL) SWIG_fail;
6500 temp5 = true;
6501 }
6502 }
6503 {
6504 PyThreadState* __tstate = wxPyBeginAllowThreads();
6505 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 {
6510 resultobj = wxPyMake_wxObject(result, (bool)0);
6511 }
6512 {
6513 if (temp5)
6514 delete arg5;
6515 }
6516 return resultobj;
6517 fail:
6518 {
6519 if (temp5)
6520 delete arg5;
6521 }
6522 return NULL;
6523 }
6524
6525
6526 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6527 PyObject *resultobj = 0;
6528 wxFrame *arg1 = (wxFrame *) 0 ;
6529 wxStatusBar *result = 0 ;
6530 void *argp1 = 0 ;
6531 int res1 = 0 ;
6532 PyObject *swig_obj[1] ;
6533
6534 if (!args) SWIG_fail;
6535 swig_obj[0] = args;
6536 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6537 if (!SWIG_IsOK(res1)) {
6538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6539 }
6540 arg1 = reinterpret_cast< wxFrame * >(argp1);
6541 {
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 {
6548 resultobj = wxPyMake_wxObject(result, (bool)0);
6549 }
6550 return resultobj;
6551 fail:
6552 return NULL;
6553 }
6554
6555
6556 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6557 PyObject *resultobj = 0;
6558 wxFrame *arg1 = (wxFrame *) 0 ;
6559 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6560 void *argp1 = 0 ;
6561 int res1 = 0 ;
6562 void *argp2 = 0 ;
6563 int res2 = 0 ;
6564 PyObject * obj0 = 0 ;
6565 PyObject * obj1 = 0 ;
6566 char * kwnames[] = {
6567 (char *) "self",(char *) "statBar", NULL
6568 };
6569
6570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6572 if (!SWIG_IsOK(res1)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6574 }
6575 arg1 = reinterpret_cast< wxFrame * >(argp1);
6576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6577 if (!SWIG_IsOK(res2)) {
6578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6579 }
6580 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6581 {
6582 PyThreadState* __tstate = wxPyBeginAllowThreads();
6583 (arg1)->SetStatusBar(arg2);
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 resultobj = SWIG_Py_Void();
6588 return resultobj;
6589 fail:
6590 return NULL;
6591 }
6592
6593
6594 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6595 PyObject *resultobj = 0;
6596 wxFrame *arg1 = (wxFrame *) 0 ;
6597 wxString *arg2 = 0 ;
6598 int arg3 = (int) 0 ;
6599 void *argp1 = 0 ;
6600 int res1 = 0 ;
6601 bool temp2 = false ;
6602 int val3 ;
6603 int ecode3 = 0 ;
6604 PyObject * obj0 = 0 ;
6605 PyObject * obj1 = 0 ;
6606 PyObject * obj2 = 0 ;
6607 char * kwnames[] = {
6608 (char *) "self",(char *) "text",(char *) "number", NULL
6609 };
6610
6611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6613 if (!SWIG_IsOK(res1)) {
6614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6615 }
6616 arg1 = reinterpret_cast< wxFrame * >(argp1);
6617 {
6618 arg2 = wxString_in_helper(obj1);
6619 if (arg2 == NULL) SWIG_fail;
6620 temp2 = true;
6621 }
6622 if (obj2) {
6623 ecode3 = SWIG_AsVal_int(obj2, &val3);
6624 if (!SWIG_IsOK(ecode3)) {
6625 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6626 }
6627 arg3 = static_cast< int >(val3);
6628 }
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 resultobj = SWIG_Py_Void();
6636 {
6637 if (temp2)
6638 delete arg2;
6639 }
6640 return resultobj;
6641 fail:
6642 {
6643 if (temp2)
6644 delete arg2;
6645 }
6646 return NULL;
6647 }
6648
6649
6650 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6651 PyObject *resultobj = 0;
6652 wxFrame *arg1 = (wxFrame *) 0 ;
6653 int arg2 ;
6654 int *arg3 = (int *) 0 ;
6655 void *argp1 = 0 ;
6656 int res1 = 0 ;
6657 PyObject * obj0 = 0 ;
6658 PyObject * obj1 = 0 ;
6659 char * kwnames[] = {
6660 (char *) "self",(char *) "widths", NULL
6661 };
6662
6663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6665 if (!SWIG_IsOK(res1)) {
6666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6667 }
6668 arg1 = reinterpret_cast< wxFrame * >(argp1);
6669 {
6670 arg2 = PyList_Size(obj1);
6671 arg3 = int_LIST_helper(obj1);
6672 if (arg3 == NULL) SWIG_fail;
6673 }
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 resultobj = SWIG_Py_Void();
6681 {
6682 if (arg3) delete [] arg3;
6683 }
6684 return resultobj;
6685 fail:
6686 {
6687 if (arg3) delete [] arg3;
6688 }
6689 return NULL;
6690 }
6691
6692
6693 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj = 0;
6695 wxFrame *arg1 = (wxFrame *) 0 ;
6696 wxString *arg2 = 0 ;
6697 int arg3 = (int) 0 ;
6698 void *argp1 = 0 ;
6699 int res1 = 0 ;
6700 bool temp2 = false ;
6701 int val3 ;
6702 int ecode3 = 0 ;
6703 PyObject * obj0 = 0 ;
6704 PyObject * obj1 = 0 ;
6705 PyObject * obj2 = 0 ;
6706 char * kwnames[] = {
6707 (char *) "self",(char *) "text",(char *) "number", NULL
6708 };
6709
6710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6712 if (!SWIG_IsOK(res1)) {
6713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6714 }
6715 arg1 = reinterpret_cast< wxFrame * >(argp1);
6716 {
6717 arg2 = wxString_in_helper(obj1);
6718 if (arg2 == NULL) SWIG_fail;
6719 temp2 = true;
6720 }
6721 if (obj2) {
6722 ecode3 = SWIG_AsVal_int(obj2, &val3);
6723 if (!SWIG_IsOK(ecode3)) {
6724 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6725 }
6726 arg3 = static_cast< int >(val3);
6727 }
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6731 wxPyEndAllowThreads(__tstate);
6732 if (PyErr_Occurred()) SWIG_fail;
6733 }
6734 resultobj = SWIG_Py_Void();
6735 {
6736 if (temp2)
6737 delete arg2;
6738 }
6739 return resultobj;
6740 fail:
6741 {
6742 if (temp2)
6743 delete arg2;
6744 }
6745 return NULL;
6746 }
6747
6748
6749 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6750 PyObject *resultobj = 0;
6751 wxFrame *arg1 = (wxFrame *) 0 ;
6752 int arg2 = (int) 0 ;
6753 void *argp1 = 0 ;
6754 int res1 = 0 ;
6755 int val2 ;
6756 int ecode2 = 0 ;
6757 PyObject * obj0 = 0 ;
6758 PyObject * obj1 = 0 ;
6759 char * kwnames[] = {
6760 (char *) "self",(char *) "number", NULL
6761 };
6762
6763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6765 if (!SWIG_IsOK(res1)) {
6766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6767 }
6768 arg1 = reinterpret_cast< wxFrame * >(argp1);
6769 if (obj1) {
6770 ecode2 = SWIG_AsVal_int(obj1, &val2);
6771 if (!SWIG_IsOK(ecode2)) {
6772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6773 }
6774 arg2 = static_cast< int >(val2);
6775 }
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 (arg1)->PopStatusText(arg2);
6779 wxPyEndAllowThreads(__tstate);
6780 if (PyErr_Occurred()) SWIG_fail;
6781 }
6782 resultobj = SWIG_Py_Void();
6783 return resultobj;
6784 fail:
6785 return NULL;
6786 }
6787
6788
6789 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6790 PyObject *resultobj = 0;
6791 wxFrame *arg1 = (wxFrame *) 0 ;
6792 int arg2 ;
6793 void *argp1 = 0 ;
6794 int res1 = 0 ;
6795 int val2 ;
6796 int ecode2 = 0 ;
6797 PyObject * obj0 = 0 ;
6798 PyObject * obj1 = 0 ;
6799 char * kwnames[] = {
6800 (char *) "self",(char *) "n", NULL
6801 };
6802
6803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6805 if (!SWIG_IsOK(res1)) {
6806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6807 }
6808 arg1 = reinterpret_cast< wxFrame * >(argp1);
6809 ecode2 = SWIG_AsVal_int(obj1, &val2);
6810 if (!SWIG_IsOK(ecode2)) {
6811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6812 }
6813 arg2 = static_cast< int >(val2);
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 (arg1)->SetStatusBarPane(arg2);
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = SWIG_Py_Void();
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6828 PyObject *resultobj = 0;
6829 wxFrame *arg1 = (wxFrame *) 0 ;
6830 int result;
6831 void *argp1 = 0 ;
6832 int res1 = 0 ;
6833 PyObject *swig_obj[1] ;
6834
6835 if (!args) SWIG_fail;
6836 swig_obj[0] = args;
6837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6838 if (!SWIG_IsOK(res1)) {
6839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6840 }
6841 arg1 = reinterpret_cast< wxFrame * >(argp1);
6842 {
6843 PyThreadState* __tstate = wxPyBeginAllowThreads();
6844 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 resultobj = SWIG_From_int(static_cast< int >(result));
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj = 0;
6857 wxFrame *arg1 = (wxFrame *) 0 ;
6858 long arg2 = (long) -1 ;
6859 int arg3 = (int) -1 ;
6860 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6861 wxString *arg4 = (wxString *) &arg4_defvalue ;
6862 wxToolBar *result = 0 ;
6863 void *argp1 = 0 ;
6864 int res1 = 0 ;
6865 long val2 ;
6866 int ecode2 = 0 ;
6867 int val3 ;
6868 int ecode3 = 0 ;
6869 bool temp4 = false ;
6870 PyObject * obj0 = 0 ;
6871 PyObject * obj1 = 0 ;
6872 PyObject * obj2 = 0 ;
6873 PyObject * obj3 = 0 ;
6874 char * kwnames[] = {
6875 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6876 };
6877
6878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6880 if (!SWIG_IsOK(res1)) {
6881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6882 }
6883 arg1 = reinterpret_cast< wxFrame * >(argp1);
6884 if (obj1) {
6885 ecode2 = SWIG_AsVal_long(obj1, &val2);
6886 if (!SWIG_IsOK(ecode2)) {
6887 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6888 }
6889 arg2 = static_cast< long >(val2);
6890 }
6891 if (obj2) {
6892 ecode3 = SWIG_AsVal_int(obj2, &val3);
6893 if (!SWIG_IsOK(ecode3)) {
6894 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6895 }
6896 arg3 = static_cast< int >(val3);
6897 }
6898 if (obj3) {
6899 {
6900 arg4 = wxString_in_helper(obj3);
6901 if (arg4 == NULL) SWIG_fail;
6902 temp4 = true;
6903 }
6904 }
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 {
6912 resultobj = wxPyMake_wxObject(result, (bool)0);
6913 }
6914 {
6915 if (temp4)
6916 delete arg4;
6917 }
6918 return resultobj;
6919 fail:
6920 {
6921 if (temp4)
6922 delete arg4;
6923 }
6924 return NULL;
6925 }
6926
6927
6928 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6929 PyObject *resultobj = 0;
6930 wxFrame *arg1 = (wxFrame *) 0 ;
6931 wxToolBar *result = 0 ;
6932 void *argp1 = 0 ;
6933 int res1 = 0 ;
6934 PyObject *swig_obj[1] ;
6935
6936 if (!args) SWIG_fail;
6937 swig_obj[0] = args;
6938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6939 if (!SWIG_IsOK(res1)) {
6940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6941 }
6942 arg1 = reinterpret_cast< wxFrame * >(argp1);
6943 {
6944 PyThreadState* __tstate = wxPyBeginAllowThreads();
6945 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
6946 wxPyEndAllowThreads(__tstate);
6947 if (PyErr_Occurred()) SWIG_fail;
6948 }
6949 {
6950 resultobj = wxPyMake_wxObject(result, (bool)0);
6951 }
6952 return resultobj;
6953 fail:
6954 return NULL;
6955 }
6956
6957
6958 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6959 PyObject *resultobj = 0;
6960 wxFrame *arg1 = (wxFrame *) 0 ;
6961 wxToolBar *arg2 = (wxToolBar *) 0 ;
6962 void *argp1 = 0 ;
6963 int res1 = 0 ;
6964 void *argp2 = 0 ;
6965 int res2 = 0 ;
6966 PyObject * obj0 = 0 ;
6967 PyObject * obj1 = 0 ;
6968 char * kwnames[] = {
6969 (char *) "self",(char *) "toolbar", NULL
6970 };
6971
6972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
6973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6974 if (!SWIG_IsOK(res1)) {
6975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6976 }
6977 arg1 = reinterpret_cast< wxFrame * >(argp1);
6978 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
6979 if (!SWIG_IsOK(res2)) {
6980 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6981 }
6982 arg2 = reinterpret_cast< wxToolBar * >(argp2);
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 (arg1)->SetToolBar(arg2);
6986 wxPyEndAllowThreads(__tstate);
6987 if (PyErr_Occurred()) SWIG_fail;
6988 }
6989 resultobj = SWIG_Py_Void();
6990 return resultobj;
6991 fail:
6992 return NULL;
6993 }
6994
6995
6996 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6997 PyObject *resultobj = 0;
6998 wxFrame *arg1 = (wxFrame *) 0 ;
6999 wxString *arg2 = 0 ;
7000 bool arg3 ;
7001 void *argp1 = 0 ;
7002 int res1 = 0 ;
7003 bool temp2 = false ;
7004 bool val3 ;
7005 int ecode3 = 0 ;
7006 PyObject * obj0 = 0 ;
7007 PyObject * obj1 = 0 ;
7008 PyObject * obj2 = 0 ;
7009 char * kwnames[] = {
7010 (char *) "self",(char *) "text",(char *) "show", NULL
7011 };
7012
7013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7015 if (!SWIG_IsOK(res1)) {
7016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7017 }
7018 arg1 = reinterpret_cast< wxFrame * >(argp1);
7019 {
7020 arg2 = wxString_in_helper(obj1);
7021 if (arg2 == NULL) SWIG_fail;
7022 temp2 = true;
7023 }
7024 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7025 if (!SWIG_IsOK(ecode3)) {
7026 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7027 }
7028 arg3 = static_cast< bool >(val3);
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 resultobj = SWIG_Py_Void();
7036 {
7037 if (temp2)
7038 delete arg2;
7039 }
7040 return resultobj;
7041 fail:
7042 {
7043 if (temp2)
7044 delete arg2;
7045 }
7046 return NULL;
7047 }
7048
7049
7050 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7051 PyObject *resultobj = 0;
7052 wxFrame *arg1 = (wxFrame *) 0 ;
7053 wxMenu *arg2 = (wxMenu *) NULL ;
7054 void *argp1 = 0 ;
7055 int res1 = 0 ;
7056 void *argp2 = 0 ;
7057 int res2 = 0 ;
7058 PyObject * obj0 = 0 ;
7059 PyObject * obj1 = 0 ;
7060 char * kwnames[] = {
7061 (char *) "self",(char *) "menu", NULL
7062 };
7063
7064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7066 if (!SWIG_IsOK(res1)) {
7067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7068 }
7069 arg1 = reinterpret_cast< wxFrame * >(argp1);
7070 if (obj1) {
7071 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7072 if (!SWIG_IsOK(res2)) {
7073 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7074 }
7075 arg2 = reinterpret_cast< wxMenu * >(argp2);
7076 }
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 (arg1)->DoMenuUpdates(arg2);
7080 wxPyEndAllowThreads(__tstate);
7081 if (PyErr_Occurred()) SWIG_fail;
7082 }
7083 resultobj = SWIG_Py_Void();
7084 return resultobj;
7085 fail:
7086 return NULL;
7087 }
7088
7089
7090 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7091 PyObject *resultobj = 0;
7092 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7093 SwigValueWrapper<wxVisualAttributes > result;
7094 int val1 ;
7095 int ecode1 = 0 ;
7096 PyObject * obj0 = 0 ;
7097 char * kwnames[] = {
7098 (char *) "variant", NULL
7099 };
7100
7101 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7102 if (obj0) {
7103 ecode1 = SWIG_AsVal_int(obj0, &val1);
7104 if (!SWIG_IsOK(ecode1)) {
7105 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7106 }
7107 arg1 = static_cast< wxWindowVariant >(val1);
7108 }
7109 {
7110 if (!wxPyCheckForApp()) SWIG_fail;
7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7112 result = wxFrame::GetClassDefaultAttributes(arg1);
7113 wxPyEndAllowThreads(__tstate);
7114 if (PyErr_Occurred()) SWIG_fail;
7115 }
7116 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7117 return resultobj;
7118 fail:
7119 return NULL;
7120 }
7121
7122
7123 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7124 PyObject *obj;
7125 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7126 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7127 return SWIG_Py_Void();
7128 }
7129
7130 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7131 return SWIG_Python_InitShadowInstance(args);
7132 }
7133
7134 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7135 PyObject *resultobj = 0;
7136 wxWindow *arg1 = (wxWindow *) 0 ;
7137 int arg2 = (int) (int)-1 ;
7138 wxString const &arg3_defvalue = wxPyEmptyString ;
7139 wxString *arg3 = (wxString *) &arg3_defvalue ;
7140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7142 wxSize const &arg5_defvalue = wxDefaultSize ;
7143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7144 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7145 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7146 wxString *arg7 = (wxString *) &arg7_defvalue ;
7147 wxDialog *result = 0 ;
7148 void *argp1 = 0 ;
7149 int res1 = 0 ;
7150 int val2 ;
7151 int ecode2 = 0 ;
7152 bool temp3 = false ;
7153 wxPoint temp4 ;
7154 wxSize temp5 ;
7155 long val6 ;
7156 int ecode6 = 0 ;
7157 bool temp7 = false ;
7158 PyObject * obj0 = 0 ;
7159 PyObject * obj1 = 0 ;
7160 PyObject * obj2 = 0 ;
7161 PyObject * obj3 = 0 ;
7162 PyObject * obj4 = 0 ;
7163 PyObject * obj5 = 0 ;
7164 PyObject * obj6 = 0 ;
7165 char * kwnames[] = {
7166 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7167 };
7168
7169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7171 if (!SWIG_IsOK(res1)) {
7172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7173 }
7174 arg1 = reinterpret_cast< wxWindow * >(argp1);
7175 if (obj1) {
7176 ecode2 = SWIG_AsVal_int(obj1, &val2);
7177 if (!SWIG_IsOK(ecode2)) {
7178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7179 }
7180 arg2 = static_cast< int >(val2);
7181 }
7182 if (obj2) {
7183 {
7184 arg3 = wxString_in_helper(obj2);
7185 if (arg3 == NULL) SWIG_fail;
7186 temp3 = true;
7187 }
7188 }
7189 if (obj3) {
7190 {
7191 arg4 = &temp4;
7192 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7193 }
7194 }
7195 if (obj4) {
7196 {
7197 arg5 = &temp5;
7198 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7199 }
7200 }
7201 if (obj5) {
7202 ecode6 = SWIG_AsVal_long(obj5, &val6);
7203 if (!SWIG_IsOK(ecode6)) {
7204 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7205 }
7206 arg6 = static_cast< long >(val6);
7207 }
7208 if (obj6) {
7209 {
7210 arg7 = wxString_in_helper(obj6);
7211 if (arg7 == NULL) SWIG_fail;
7212 temp7 = true;
7213 }
7214 }
7215 {
7216 if (!wxPyCheckForApp()) SWIG_fail;
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7223 {
7224 if (temp3)
7225 delete arg3;
7226 }
7227 {
7228 if (temp7)
7229 delete arg7;
7230 }
7231 return resultobj;
7232 fail:
7233 {
7234 if (temp3)
7235 delete arg3;
7236 }
7237 {
7238 if (temp7)
7239 delete arg7;
7240 }
7241 return NULL;
7242 }
7243
7244
7245 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7246 PyObject *resultobj = 0;
7247 wxDialog *result = 0 ;
7248
7249 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7250 {
7251 if (!wxPyCheckForApp()) SWIG_fail;
7252 PyThreadState* __tstate = wxPyBeginAllowThreads();
7253 result = (wxDialog *)new wxDialog();
7254 wxPyEndAllowThreads(__tstate);
7255 if (PyErr_Occurred()) SWIG_fail;
7256 }
7257 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7258 return resultobj;
7259 fail:
7260 return NULL;
7261 }
7262
7263
7264 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7265 PyObject *resultobj = 0;
7266 wxDialog *arg1 = (wxDialog *) 0 ;
7267 wxWindow *arg2 = (wxWindow *) 0 ;
7268 int arg3 = (int) (int)-1 ;
7269 wxString const &arg4_defvalue = wxPyEmptyString ;
7270 wxString *arg4 = (wxString *) &arg4_defvalue ;
7271 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7272 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7273 wxSize const &arg6_defvalue = wxDefaultSize ;
7274 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7275 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7276 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7277 wxString *arg8 = (wxString *) &arg8_defvalue ;
7278 bool result;
7279 void *argp1 = 0 ;
7280 int res1 = 0 ;
7281 void *argp2 = 0 ;
7282 int res2 = 0 ;
7283 int val3 ;
7284 int ecode3 = 0 ;
7285 bool temp4 = false ;
7286 wxPoint temp5 ;
7287 wxSize temp6 ;
7288 long val7 ;
7289 int ecode7 = 0 ;
7290 bool temp8 = false ;
7291 PyObject * obj0 = 0 ;
7292 PyObject * obj1 = 0 ;
7293 PyObject * obj2 = 0 ;
7294 PyObject * obj3 = 0 ;
7295 PyObject * obj4 = 0 ;
7296 PyObject * obj5 = 0 ;
7297 PyObject * obj6 = 0 ;
7298 PyObject * obj7 = 0 ;
7299 char * kwnames[] = {
7300 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7301 };
7302
7303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7305 if (!SWIG_IsOK(res1)) {
7306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7307 }
7308 arg1 = reinterpret_cast< wxDialog * >(argp1);
7309 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7310 if (!SWIG_IsOK(res2)) {
7311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7312 }
7313 arg2 = reinterpret_cast< wxWindow * >(argp2);
7314 if (obj2) {
7315 ecode3 = SWIG_AsVal_int(obj2, &val3);
7316 if (!SWIG_IsOK(ecode3)) {
7317 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7318 }
7319 arg3 = static_cast< int >(val3);
7320 }
7321 if (obj3) {
7322 {
7323 arg4 = wxString_in_helper(obj3);
7324 if (arg4 == NULL) SWIG_fail;
7325 temp4 = true;
7326 }
7327 }
7328 if (obj4) {
7329 {
7330 arg5 = &temp5;
7331 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7332 }
7333 }
7334 if (obj5) {
7335 {
7336 arg6 = &temp6;
7337 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7338 }
7339 }
7340 if (obj6) {
7341 ecode7 = SWIG_AsVal_long(obj6, &val7);
7342 if (!SWIG_IsOK(ecode7)) {
7343 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7344 }
7345 arg7 = static_cast< long >(val7);
7346 }
7347 if (obj7) {
7348 {
7349 arg8 = wxString_in_helper(obj7);
7350 if (arg8 == NULL) SWIG_fail;
7351 temp8 = true;
7352 }
7353 }
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 {
7361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7362 }
7363 {
7364 if (temp4)
7365 delete arg4;
7366 }
7367 {
7368 if (temp8)
7369 delete arg8;
7370 }
7371 return resultobj;
7372 fail:
7373 {
7374 if (temp4)
7375 delete arg4;
7376 }
7377 {
7378 if (temp8)
7379 delete arg8;
7380 }
7381 return NULL;
7382 }
7383
7384
7385 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7386 PyObject *resultobj = 0;
7387 wxDialog *arg1 = (wxDialog *) 0 ;
7388 int arg2 ;
7389 void *argp1 = 0 ;
7390 int res1 = 0 ;
7391 int val2 ;
7392 int ecode2 = 0 ;
7393 PyObject * obj0 = 0 ;
7394 PyObject * obj1 = 0 ;
7395 char * kwnames[] = {
7396 (char *) "self",(char *) "returnCode", NULL
7397 };
7398
7399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7401 if (!SWIG_IsOK(res1)) {
7402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7403 }
7404 arg1 = reinterpret_cast< wxDialog * >(argp1);
7405 ecode2 = SWIG_AsVal_int(obj1, &val2);
7406 if (!SWIG_IsOK(ecode2)) {
7407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7408 }
7409 arg2 = static_cast< int >(val2);
7410 {
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 (arg1)->SetReturnCode(arg2);
7413 wxPyEndAllowThreads(__tstate);
7414 if (PyErr_Occurred()) SWIG_fail;
7415 }
7416 resultobj = SWIG_Py_Void();
7417 return resultobj;
7418 fail:
7419 return NULL;
7420 }
7421
7422
7423 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7424 PyObject *resultobj = 0;
7425 wxDialog *arg1 = (wxDialog *) 0 ;
7426 int result;
7427 void *argp1 = 0 ;
7428 int res1 = 0 ;
7429 PyObject *swig_obj[1] ;
7430
7431 if (!args) SWIG_fail;
7432 swig_obj[0] = args;
7433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7434 if (!SWIG_IsOK(res1)) {
7435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7436 }
7437 arg1 = reinterpret_cast< wxDialog * >(argp1);
7438 {
7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
7440 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 resultobj = SWIG_From_int(static_cast< int >(result));
7445 return resultobj;
7446 fail:
7447 return NULL;
7448 }
7449
7450
7451 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7452 PyObject *resultobj = 0;
7453 wxDialog *arg1 = (wxDialog *) 0 ;
7454 int arg2 ;
7455 void *argp1 = 0 ;
7456 int res1 = 0 ;
7457 int val2 ;
7458 int ecode2 = 0 ;
7459 PyObject * obj0 = 0 ;
7460 PyObject * obj1 = 0 ;
7461 char * kwnames[] = {
7462 (char *) "self",(char *) "affirmativeId", NULL
7463 };
7464
7465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7467 if (!SWIG_IsOK(res1)) {
7468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7469 }
7470 arg1 = reinterpret_cast< wxDialog * >(argp1);
7471 ecode2 = SWIG_AsVal_int(obj1, &val2);
7472 if (!SWIG_IsOK(ecode2)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7474 }
7475 arg2 = static_cast< int >(val2);
7476 {
7477 PyThreadState* __tstate = wxPyBeginAllowThreads();
7478 (arg1)->SetAffirmativeId(arg2);
7479 wxPyEndAllowThreads(__tstate);
7480 if (PyErr_Occurred()) SWIG_fail;
7481 }
7482 resultobj = SWIG_Py_Void();
7483 return resultobj;
7484 fail:
7485 return NULL;
7486 }
7487
7488
7489 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7490 PyObject *resultobj = 0;
7491 wxDialog *arg1 = (wxDialog *) 0 ;
7492 int result;
7493 void *argp1 = 0 ;
7494 int res1 = 0 ;
7495 PyObject *swig_obj[1] ;
7496
7497 if (!args) SWIG_fail;
7498 swig_obj[0] = args;
7499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7500 if (!SWIG_IsOK(res1)) {
7501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7502 }
7503 arg1 = reinterpret_cast< wxDialog * >(argp1);
7504 {
7505 PyThreadState* __tstate = wxPyBeginAllowThreads();
7506 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 resultobj = SWIG_From_int(static_cast< int >(result));
7511 return resultobj;
7512 fail:
7513 return NULL;
7514 }
7515
7516
7517 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7518 PyObject *resultobj = 0;
7519 wxDialog *arg1 = (wxDialog *) 0 ;
7520 int arg2 ;
7521 void *argp1 = 0 ;
7522 int res1 = 0 ;
7523 int val2 ;
7524 int ecode2 = 0 ;
7525 PyObject * obj0 = 0 ;
7526 PyObject * obj1 = 0 ;
7527 char * kwnames[] = {
7528 (char *) "self",(char *) "escapeId", NULL
7529 };
7530
7531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7533 if (!SWIG_IsOK(res1)) {
7534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7535 }
7536 arg1 = reinterpret_cast< wxDialog * >(argp1);
7537 ecode2 = SWIG_AsVal_int(obj1, &val2);
7538 if (!SWIG_IsOK(ecode2)) {
7539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7540 }
7541 arg2 = static_cast< int >(val2);
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 (arg1)->SetEscapeId(arg2);
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 resultobj = SWIG_Py_Void();
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7556 PyObject *resultobj = 0;
7557 wxDialog *arg1 = (wxDialog *) 0 ;
7558 int result;
7559 void *argp1 = 0 ;
7560 int res1 = 0 ;
7561 PyObject *swig_obj[1] ;
7562
7563 if (!args) SWIG_fail;
7564 swig_obj[0] = args;
7565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7566 if (!SWIG_IsOK(res1)) {
7567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7568 }
7569 arg1 = reinterpret_cast< wxDialog * >(argp1);
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7573 wxPyEndAllowThreads(__tstate);
7574 if (PyErr_Occurred()) SWIG_fail;
7575 }
7576 resultobj = SWIG_From_int(static_cast< int >(result));
7577 return resultobj;
7578 fail:
7579 return NULL;
7580 }
7581
7582
7583 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7584 PyObject *resultobj = 0;
7585 wxDialog *arg1 = (wxDialog *) 0 ;
7586 wxString *arg2 = 0 ;
7587 wxSizer *result = 0 ;
7588 void *argp1 = 0 ;
7589 int res1 = 0 ;
7590 bool temp2 = false ;
7591 PyObject * obj0 = 0 ;
7592 PyObject * obj1 = 0 ;
7593 char * kwnames[] = {
7594 (char *) "self",(char *) "message", NULL
7595 };
7596
7597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7599 if (!SWIG_IsOK(res1)) {
7600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7601 }
7602 arg1 = reinterpret_cast< wxDialog * >(argp1);
7603 {
7604 arg2 = wxString_in_helper(obj1);
7605 if (arg2 == NULL) SWIG_fail;
7606 temp2 = true;
7607 }
7608 {
7609 PyThreadState* __tstate = wxPyBeginAllowThreads();
7610 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 {
7615 resultobj = wxPyMake_wxObject(result, (bool)0);
7616 }
7617 {
7618 if (temp2)
7619 delete arg2;
7620 }
7621 return resultobj;
7622 fail:
7623 {
7624 if (temp2)
7625 delete arg2;
7626 }
7627 return NULL;
7628 }
7629
7630
7631 SWIGINTERN PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7632 PyObject *resultobj = 0;
7633 wxDialog *arg1 = (wxDialog *) 0 ;
7634 long arg2 ;
7635 bool arg3 = (bool) false ;
7636 int arg4 = (int) 0 ;
7637 wxSizer *result = 0 ;
7638 void *argp1 = 0 ;
7639 int res1 = 0 ;
7640 long val2 ;
7641 int ecode2 = 0 ;
7642 bool val3 ;
7643 int ecode3 = 0 ;
7644 int val4 ;
7645 int ecode4 = 0 ;
7646 PyObject * obj0 = 0 ;
7647 PyObject * obj1 = 0 ;
7648 PyObject * obj2 = 0 ;
7649 PyObject * obj3 = 0 ;
7650 char * kwnames[] = {
7651 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7652 };
7653
7654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7656 if (!SWIG_IsOK(res1)) {
7657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7658 }
7659 arg1 = reinterpret_cast< wxDialog * >(argp1);
7660 ecode2 = SWIG_AsVal_long(obj1, &val2);
7661 if (!SWIG_IsOK(ecode2)) {
7662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7663 }
7664 arg2 = static_cast< long >(val2);
7665 if (obj2) {
7666 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7667 if (!SWIG_IsOK(ecode3)) {
7668 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7669 }
7670 arg3 = static_cast< bool >(val3);
7671 }
7672 if (obj3) {
7673 ecode4 = SWIG_AsVal_int(obj3, &val4);
7674 if (!SWIG_IsOK(ecode4)) {
7675 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7676 }
7677 arg4 = static_cast< int >(val4);
7678 }
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2,arg3,arg4);
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 {
7686 resultobj = wxPyMake_wxObject(result, (bool)0);
7687 }
7688 return resultobj;
7689 fail:
7690 return NULL;
7691 }
7692
7693
7694 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7695 PyObject *resultobj = 0;
7696 wxDialog *arg1 = (wxDialog *) 0 ;
7697 long arg2 ;
7698 wxStdDialogButtonSizer *result = 0 ;
7699 void *argp1 = 0 ;
7700 int res1 = 0 ;
7701 long val2 ;
7702 int ecode2 = 0 ;
7703 PyObject * obj0 = 0 ;
7704 PyObject * obj1 = 0 ;
7705 char * kwnames[] = {
7706 (char *) "self",(char *) "flags", NULL
7707 };
7708
7709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7711 if (!SWIG_IsOK(res1)) {
7712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7713 }
7714 arg1 = reinterpret_cast< wxDialog * >(argp1);
7715 ecode2 = SWIG_AsVal_long(obj1, &val2);
7716 if (!SWIG_IsOK(ecode2)) {
7717 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7718 }
7719 arg2 = static_cast< long >(val2);
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7727 return resultobj;
7728 fail:
7729 return NULL;
7730 }
7731
7732
7733 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7734 PyObject *resultobj = 0;
7735 wxDialog *arg1 = (wxDialog *) 0 ;
7736 bool result;
7737 void *argp1 = 0 ;
7738 int res1 = 0 ;
7739 PyObject *swig_obj[1] ;
7740
7741 if (!args) SWIG_fail;
7742 swig_obj[0] = args;
7743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7744 if (!SWIG_IsOK(res1)) {
7745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7746 }
7747 arg1 = reinterpret_cast< wxDialog * >(argp1);
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 result = (bool)((wxDialog const *)arg1)->IsModal();
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 {
7755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7756 }
7757 return resultobj;
7758 fail:
7759 return NULL;
7760 }
7761
7762
7763 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7764 PyObject *resultobj = 0;
7765 wxDialog *arg1 = (wxDialog *) 0 ;
7766 int result;
7767 void *argp1 = 0 ;
7768 int res1 = 0 ;
7769 PyObject *swig_obj[1] ;
7770
7771 if (!args) SWIG_fail;
7772 swig_obj[0] = args;
7773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7774 if (!SWIG_IsOK(res1)) {
7775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7776 }
7777 arg1 = reinterpret_cast< wxDialog * >(argp1);
7778 {
7779 PyThreadState* __tstate = wxPyBeginAllowThreads();
7780 result = (int)(arg1)->ShowModal();
7781 wxPyEndAllowThreads(__tstate);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 resultobj = SWIG_From_int(static_cast< int >(result));
7785 return resultobj;
7786 fail:
7787 return NULL;
7788 }
7789
7790
7791 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj = 0;
7793 wxDialog *arg1 = (wxDialog *) 0 ;
7794 int arg2 ;
7795 void *argp1 = 0 ;
7796 int res1 = 0 ;
7797 int val2 ;
7798 int ecode2 = 0 ;
7799 PyObject * obj0 = 0 ;
7800 PyObject * obj1 = 0 ;
7801 char * kwnames[] = {
7802 (char *) "self",(char *) "retCode", NULL
7803 };
7804
7805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7807 if (!SWIG_IsOK(res1)) {
7808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7809 }
7810 arg1 = reinterpret_cast< wxDialog * >(argp1);
7811 ecode2 = SWIG_AsVal_int(obj1, &val2);
7812 if (!SWIG_IsOK(ecode2)) {
7813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7814 }
7815 arg2 = static_cast< int >(val2);
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 (arg1)->EndModal(arg2);
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 resultobj = SWIG_Py_Void();
7823 return resultobj;
7824 fail:
7825 return NULL;
7826 }
7827
7828
7829 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7830 PyObject *resultobj = 0;
7831 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7832 SwigValueWrapper<wxVisualAttributes > result;
7833 int val1 ;
7834 int ecode1 = 0 ;
7835 PyObject * obj0 = 0 ;
7836 char * kwnames[] = {
7837 (char *) "variant", NULL
7838 };
7839
7840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7841 if (obj0) {
7842 ecode1 = SWIG_AsVal_int(obj0, &val1);
7843 if (!SWIG_IsOK(ecode1)) {
7844 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7845 }
7846 arg1 = static_cast< wxWindowVariant >(val1);
7847 }
7848 {
7849 if (!wxPyCheckForApp()) SWIG_fail;
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 result = wxDialog::GetClassDefaultAttributes(arg1);
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7856 return resultobj;
7857 fail:
7858 return NULL;
7859 }
7860
7861
7862 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7863 PyObject *obj;
7864 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7865 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
7866 return SWIG_Py_Void();
7867 }
7868
7869 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7870 return SWIG_Python_InitShadowInstance(args);
7871 }
7872
7873 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7874 PyObject *resultobj = 0;
7875 wxWindow *arg1 = (wxWindow *) 0 ;
7876 int arg2 = (int) (int)-1 ;
7877 wxString const &arg3_defvalue = wxPyEmptyString ;
7878 wxString *arg3 = (wxString *) &arg3_defvalue ;
7879 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7880 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7881 wxSize const &arg5_defvalue = wxDefaultSize ;
7882 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7883 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
7884 wxString const &arg7_defvalue = wxPyFrameNameStr ;
7885 wxString *arg7 = (wxString *) &arg7_defvalue ;
7886 wxMiniFrame *result = 0 ;
7887 void *argp1 = 0 ;
7888 int res1 = 0 ;
7889 int val2 ;
7890 int ecode2 = 0 ;
7891 bool temp3 = false ;
7892 wxPoint temp4 ;
7893 wxSize temp5 ;
7894 long val6 ;
7895 int ecode6 = 0 ;
7896 bool temp7 = false ;
7897 PyObject * obj0 = 0 ;
7898 PyObject * obj1 = 0 ;
7899 PyObject * obj2 = 0 ;
7900 PyObject * obj3 = 0 ;
7901 PyObject * obj4 = 0 ;
7902 PyObject * obj5 = 0 ;
7903 PyObject * obj6 = 0 ;
7904 char * kwnames[] = {
7905 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7906 };
7907
7908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7910 if (!SWIG_IsOK(res1)) {
7911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7912 }
7913 arg1 = reinterpret_cast< wxWindow * >(argp1);
7914 if (obj1) {
7915 ecode2 = SWIG_AsVal_int(obj1, &val2);
7916 if (!SWIG_IsOK(ecode2)) {
7917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7918 }
7919 arg2 = static_cast< int >(val2);
7920 }
7921 if (obj2) {
7922 {
7923 arg3 = wxString_in_helper(obj2);
7924 if (arg3 == NULL) SWIG_fail;
7925 temp3 = true;
7926 }
7927 }
7928 if (obj3) {
7929 {
7930 arg4 = &temp4;
7931 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7932 }
7933 }
7934 if (obj4) {
7935 {
7936 arg5 = &temp5;
7937 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7938 }
7939 }
7940 if (obj5) {
7941 ecode6 = SWIG_AsVal_long(obj5, &val6);
7942 if (!SWIG_IsOK(ecode6)) {
7943 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7944 }
7945 arg6 = static_cast< long >(val6);
7946 }
7947 if (obj6) {
7948 {
7949 arg7 = wxString_in_helper(obj6);
7950 if (arg7 == NULL) SWIG_fail;
7951 temp7 = true;
7952 }
7953 }
7954 {
7955 if (!wxPyCheckForApp()) SWIG_fail;
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
7961 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
7962 {
7963 if (temp3)
7964 delete arg3;
7965 }
7966 {
7967 if (temp7)
7968 delete arg7;
7969 }
7970 return resultobj;
7971 fail:
7972 {
7973 if (temp3)
7974 delete arg3;
7975 }
7976 {
7977 if (temp7)
7978 delete arg7;
7979 }
7980 return NULL;
7981 }
7982
7983
7984 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7985 PyObject *resultobj = 0;
7986 wxMiniFrame *result = 0 ;
7987
7988 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
7989 {
7990 if (!wxPyCheckForApp()) SWIG_fail;
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 result = (wxMiniFrame *)new wxMiniFrame();
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
7996 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
7997 return resultobj;
7998 fail:
7999 return NULL;
8000 }
8001
8002
8003 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8004 PyObject *resultobj = 0;
8005 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8006 wxWindow *arg2 = (wxWindow *) 0 ;
8007 int arg3 = (int) (int)-1 ;
8008 wxString const &arg4_defvalue = wxPyEmptyString ;
8009 wxString *arg4 = (wxString *) &arg4_defvalue ;
8010 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8011 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8012 wxSize const &arg6_defvalue = wxDefaultSize ;
8013 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8014 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
8015 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8016 wxString *arg8 = (wxString *) &arg8_defvalue ;
8017 bool result;
8018 void *argp1 = 0 ;
8019 int res1 = 0 ;
8020 void *argp2 = 0 ;
8021 int res2 = 0 ;
8022 int val3 ;
8023 int ecode3 = 0 ;
8024 bool temp4 = false ;
8025 wxPoint temp5 ;
8026 wxSize temp6 ;
8027 long val7 ;
8028 int ecode7 = 0 ;
8029 bool temp8 = false ;
8030 PyObject * obj0 = 0 ;
8031 PyObject * obj1 = 0 ;
8032 PyObject * obj2 = 0 ;
8033 PyObject * obj3 = 0 ;
8034 PyObject * obj4 = 0 ;
8035 PyObject * obj5 = 0 ;
8036 PyObject * obj6 = 0 ;
8037 PyObject * obj7 = 0 ;
8038 char * kwnames[] = {
8039 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8040 };
8041
8042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8044 if (!SWIG_IsOK(res1)) {
8045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8046 }
8047 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8048 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8049 if (!SWIG_IsOK(res2)) {
8050 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8051 }
8052 arg2 = reinterpret_cast< wxWindow * >(argp2);
8053 if (obj2) {
8054 ecode3 = SWIG_AsVal_int(obj2, &val3);
8055 if (!SWIG_IsOK(ecode3)) {
8056 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8057 }
8058 arg3 = static_cast< int >(val3);
8059 }
8060 if (obj3) {
8061 {
8062 arg4 = wxString_in_helper(obj3);
8063 if (arg4 == NULL) SWIG_fail;
8064 temp4 = true;
8065 }
8066 }
8067 if (obj4) {
8068 {
8069 arg5 = &temp5;
8070 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8071 }
8072 }
8073 if (obj5) {
8074 {
8075 arg6 = &temp6;
8076 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8077 }
8078 }
8079 if (obj6) {
8080 ecode7 = SWIG_AsVal_long(obj6, &val7);
8081 if (!SWIG_IsOK(ecode7)) {
8082 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8083 }
8084 arg7 = static_cast< long >(val7);
8085 }
8086 if (obj7) {
8087 {
8088 arg8 = wxString_in_helper(obj7);
8089 if (arg8 == NULL) SWIG_fail;
8090 temp8 = true;
8091 }
8092 }
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 {
8100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8101 }
8102 {
8103 if (temp4)
8104 delete arg4;
8105 }
8106 {
8107 if (temp8)
8108 delete arg8;
8109 }
8110 return resultobj;
8111 fail:
8112 {
8113 if (temp4)
8114 delete arg4;
8115 }
8116 {
8117 if (temp8)
8118 delete arg8;
8119 }
8120 return NULL;
8121 }
8122
8123
8124 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8125 PyObject *obj;
8126 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8127 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8128 return SWIG_Py_Void();
8129 }
8130
8131 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8132 return SWIG_Python_InitShadowInstance(args);
8133 }
8134
8135 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj = 0;
8137 wxBitmap *arg1 = 0 ;
8138 wxWindow *arg2 = (wxWindow *) 0 ;
8139 int arg3 ;
8140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8142 wxSize const &arg5_defvalue = wxDefaultSize ;
8143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8144 long arg6 = (long) wxNO_BORDER ;
8145 wxSplashScreenWindow *result = 0 ;
8146 void *argp1 = 0 ;
8147 int res1 = 0 ;
8148 void *argp2 = 0 ;
8149 int res2 = 0 ;
8150 int val3 ;
8151 int ecode3 = 0 ;
8152 wxPoint temp4 ;
8153 wxSize temp5 ;
8154 long val6 ;
8155 int ecode6 = 0 ;
8156 PyObject * obj0 = 0 ;
8157 PyObject * obj1 = 0 ;
8158 PyObject * obj2 = 0 ;
8159 PyObject * obj3 = 0 ;
8160 PyObject * obj4 = 0 ;
8161 PyObject * obj5 = 0 ;
8162 char * kwnames[] = {
8163 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8164 };
8165
8166 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8167 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8168 if (!SWIG_IsOK(res1)) {
8169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8170 }
8171 if (!argp1) {
8172 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8173 }
8174 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8175 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8176 if (!SWIG_IsOK(res2)) {
8177 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8178 }
8179 arg2 = reinterpret_cast< wxWindow * >(argp2);
8180 ecode3 = SWIG_AsVal_int(obj2, &val3);
8181 if (!SWIG_IsOK(ecode3)) {
8182 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8183 }
8184 arg3 = static_cast< int >(val3);
8185 if (obj3) {
8186 {
8187 arg4 = &temp4;
8188 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8189 }
8190 }
8191 if (obj4) {
8192 {
8193 arg5 = &temp5;
8194 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8195 }
8196 }
8197 if (obj5) {
8198 ecode6 = SWIG_AsVal_long(obj5, &val6);
8199 if (!SWIG_IsOK(ecode6)) {
8200 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8201 }
8202 arg6 = static_cast< long >(val6);
8203 }
8204 {
8205 if (!wxPyCheckForApp()) SWIG_fail;
8206 PyThreadState* __tstate = wxPyBeginAllowThreads();
8207 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8208 wxPyEndAllowThreads(__tstate);
8209 if (PyErr_Occurred()) SWIG_fail;
8210 }
8211 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8212 return resultobj;
8213 fail:
8214 return NULL;
8215 }
8216
8217
8218 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8219 PyObject *resultobj = 0;
8220 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8221 wxBitmap *arg2 = 0 ;
8222 void *argp1 = 0 ;
8223 int res1 = 0 ;
8224 void *argp2 = 0 ;
8225 int res2 = 0 ;
8226 PyObject * obj0 = 0 ;
8227 PyObject * obj1 = 0 ;
8228 char * kwnames[] = {
8229 (char *) "self",(char *) "bitmap", NULL
8230 };
8231
8232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8234 if (!SWIG_IsOK(res1)) {
8235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8236 }
8237 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8238 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8239 if (!SWIG_IsOK(res2)) {
8240 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8241 }
8242 if (!argp2) {
8243 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8244 }
8245 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8246 {
8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
8248 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8249 wxPyEndAllowThreads(__tstate);
8250 if (PyErr_Occurred()) SWIG_fail;
8251 }
8252 resultobj = SWIG_Py_Void();
8253 return resultobj;
8254 fail:
8255 return NULL;
8256 }
8257
8258
8259 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8260 PyObject *resultobj = 0;
8261 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8262 wxBitmap *result = 0 ;
8263 void *argp1 = 0 ;
8264 int res1 = 0 ;
8265 PyObject *swig_obj[1] ;
8266
8267 if (!args) SWIG_fail;
8268 swig_obj[0] = args;
8269 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8270 if (!SWIG_IsOK(res1)) {
8271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8272 }
8273 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8274 {
8275 PyThreadState* __tstate = wxPyBeginAllowThreads();
8276 {
8277 wxBitmap &_result_ref = (arg1)->GetBitmap();
8278 result = (wxBitmap *) &_result_ref;
8279 }
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 {
8284 wxBitmap* resultptr = new wxBitmap(*result);
8285 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8286 }
8287 return resultobj;
8288 fail:
8289 return NULL;
8290 }
8291
8292
8293 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8294 PyObject *obj;
8295 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8296 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8297 return SWIG_Py_Void();
8298 }
8299
8300 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8301 return SWIG_Python_InitShadowInstance(args);
8302 }
8303
8304 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8305 PyObject *resultobj = 0;
8306 wxBitmap *arg1 = 0 ;
8307 long arg2 ;
8308 int arg3 ;
8309 wxWindow *arg4 = (wxWindow *) 0 ;
8310 int arg5 = (int) -1 ;
8311 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8312 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8313 wxSize const &arg7_defvalue = wxDefaultSize ;
8314 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8315 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8316 wxSplashScreen *result = 0 ;
8317 void *argp1 = 0 ;
8318 int res1 = 0 ;
8319 long val2 ;
8320 int ecode2 = 0 ;
8321 int val3 ;
8322 int ecode3 = 0 ;
8323 void *argp4 = 0 ;
8324 int res4 = 0 ;
8325 int val5 ;
8326 int ecode5 = 0 ;
8327 wxPoint temp6 ;
8328 wxSize temp7 ;
8329 long val8 ;
8330 int ecode8 = 0 ;
8331 PyObject * obj0 = 0 ;
8332 PyObject * obj1 = 0 ;
8333 PyObject * obj2 = 0 ;
8334 PyObject * obj3 = 0 ;
8335 PyObject * obj4 = 0 ;
8336 PyObject * obj5 = 0 ;
8337 PyObject * obj6 = 0 ;
8338 PyObject * obj7 = 0 ;
8339 char * kwnames[] = {
8340 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8341 };
8342
8343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8344 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8345 if (!SWIG_IsOK(res1)) {
8346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8347 }
8348 if (!argp1) {
8349 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8350 }
8351 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8352 ecode2 = SWIG_AsVal_long(obj1, &val2);
8353 if (!SWIG_IsOK(ecode2)) {
8354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8355 }
8356 arg2 = static_cast< long >(val2);
8357 ecode3 = SWIG_AsVal_int(obj2, &val3);
8358 if (!SWIG_IsOK(ecode3)) {
8359 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8360 }
8361 arg3 = static_cast< int >(val3);
8362 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8363 if (!SWIG_IsOK(res4)) {
8364 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8365 }
8366 arg4 = reinterpret_cast< wxWindow * >(argp4);
8367 if (obj4) {
8368 ecode5 = SWIG_AsVal_int(obj4, &val5);
8369 if (!SWIG_IsOK(ecode5)) {
8370 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8371 }
8372 arg5 = static_cast< int >(val5);
8373 }
8374 if (obj5) {
8375 {
8376 arg6 = &temp6;
8377 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8378 }
8379 }
8380 if (obj6) {
8381 {
8382 arg7 = &temp7;
8383 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8384 }
8385 }
8386 if (obj7) {
8387 ecode8 = SWIG_AsVal_long(obj7, &val8);
8388 if (!SWIG_IsOK(ecode8)) {
8389 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8390 }
8391 arg8 = static_cast< long >(val8);
8392 }
8393 {
8394 if (!wxPyCheckForApp()) SWIG_fail;
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
8396 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8401 return resultobj;
8402 fail:
8403 return NULL;
8404 }
8405
8406
8407 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8408 PyObject *resultobj = 0;
8409 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8410 long result;
8411 void *argp1 = 0 ;
8412 int res1 = 0 ;
8413 PyObject *swig_obj[1] ;
8414
8415 if (!args) SWIG_fail;
8416 swig_obj[0] = args;
8417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8418 if (!SWIG_IsOK(res1)) {
8419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8420 }
8421 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 resultobj = SWIG_From_long(static_cast< long >(result));
8429 return resultobj;
8430 fail:
8431 return NULL;
8432 }
8433
8434
8435 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8436 PyObject *resultobj = 0;
8437 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8438 wxSplashScreenWindow *result = 0 ;
8439 void *argp1 = 0 ;
8440 int res1 = 0 ;
8441 PyObject *swig_obj[1] ;
8442
8443 if (!args) SWIG_fail;
8444 swig_obj[0] = args;
8445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8446 if (!SWIG_IsOK(res1)) {
8447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8448 }
8449 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8450 {
8451 PyThreadState* __tstate = wxPyBeginAllowThreads();
8452 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8453 wxPyEndAllowThreads(__tstate);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 }
8456 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8457 return resultobj;
8458 fail:
8459 return NULL;
8460 }
8461
8462
8463 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8464 PyObject *resultobj = 0;
8465 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8466 int result;
8467 void *argp1 = 0 ;
8468 int res1 = 0 ;
8469 PyObject *swig_obj[1] ;
8470
8471 if (!args) SWIG_fail;
8472 swig_obj[0] = args;
8473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8474 if (!SWIG_IsOK(res1)) {
8475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8476 }
8477 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8478 {
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8481 wxPyEndAllowThreads(__tstate);
8482 if (PyErr_Occurred()) SWIG_fail;
8483 }
8484 resultobj = SWIG_From_int(static_cast< int >(result));
8485 return resultobj;
8486 fail:
8487 return NULL;
8488 }
8489
8490
8491 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8492 PyObject *obj;
8493 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8494 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8495 return SWIG_Py_Void();
8496 }
8497
8498 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8499 return SWIG_Python_InitShadowInstance(args);
8500 }
8501
8502 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8503 PyObject *resultobj = 0;
8504 wxWindow *arg1 = (wxWindow *) 0 ;
8505 int arg2 = (int) -1 ;
8506 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8507 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8508 wxString *arg4 = (wxString *) &arg4_defvalue ;
8509 wxStatusBar *result = 0 ;
8510 void *argp1 = 0 ;
8511 int res1 = 0 ;
8512 int val2 ;
8513 int ecode2 = 0 ;
8514 long val3 ;
8515 int ecode3 = 0 ;
8516 bool temp4 = false ;
8517 PyObject * obj0 = 0 ;
8518 PyObject * obj1 = 0 ;
8519 PyObject * obj2 = 0 ;
8520 PyObject * obj3 = 0 ;
8521 char * kwnames[] = {
8522 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8523 };
8524
8525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8527 if (!SWIG_IsOK(res1)) {
8528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8529 }
8530 arg1 = reinterpret_cast< wxWindow * >(argp1);
8531 if (obj1) {
8532 ecode2 = SWIG_AsVal_int(obj1, &val2);
8533 if (!SWIG_IsOK(ecode2)) {
8534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8535 }
8536 arg2 = static_cast< int >(val2);
8537 }
8538 if (obj2) {
8539 ecode3 = SWIG_AsVal_long(obj2, &val3);
8540 if (!SWIG_IsOK(ecode3)) {
8541 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8542 }
8543 arg3 = static_cast< long >(val3);
8544 }
8545 if (obj3) {
8546 {
8547 arg4 = wxString_in_helper(obj3);
8548 if (arg4 == NULL) SWIG_fail;
8549 temp4 = true;
8550 }
8551 }
8552 {
8553 if (!wxPyCheckForApp()) SWIG_fail;
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8556 wxPyEndAllowThreads(__tstate);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
8559 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8560 {
8561 if (temp4)
8562 delete arg4;
8563 }
8564 return resultobj;
8565 fail:
8566 {
8567 if (temp4)
8568 delete arg4;
8569 }
8570 return NULL;
8571 }
8572
8573
8574 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8575 PyObject *resultobj = 0;
8576 wxStatusBar *result = 0 ;
8577
8578 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8579 {
8580 if (!wxPyCheckForApp()) SWIG_fail;
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 result = (wxStatusBar *)new wxStatusBar();
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8587 return resultobj;
8588 fail:
8589 return NULL;
8590 }
8591
8592
8593 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8594 PyObject *resultobj = 0;
8595 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8596 wxWindow *arg2 = (wxWindow *) 0 ;
8597 int arg3 = (int) -1 ;
8598 long arg4 = (long) wxST_SIZEGRIP ;
8599 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8600 wxString *arg5 = (wxString *) &arg5_defvalue ;
8601 bool result;
8602 void *argp1 = 0 ;
8603 int res1 = 0 ;
8604 void *argp2 = 0 ;
8605 int res2 = 0 ;
8606 int val3 ;
8607 int ecode3 = 0 ;
8608 long val4 ;
8609 int ecode4 = 0 ;
8610 bool temp5 = false ;
8611 PyObject * obj0 = 0 ;
8612 PyObject * obj1 = 0 ;
8613 PyObject * obj2 = 0 ;
8614 PyObject * obj3 = 0 ;
8615 PyObject * obj4 = 0 ;
8616 char * kwnames[] = {
8617 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8618 };
8619
8620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8622 if (!SWIG_IsOK(res1)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8624 }
8625 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8626 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8627 if (!SWIG_IsOK(res2)) {
8628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8629 }
8630 arg2 = reinterpret_cast< wxWindow * >(argp2);
8631 if (obj2) {
8632 ecode3 = SWIG_AsVal_int(obj2, &val3);
8633 if (!SWIG_IsOK(ecode3)) {
8634 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8635 }
8636 arg3 = static_cast< int >(val3);
8637 }
8638 if (obj3) {
8639 ecode4 = SWIG_AsVal_long(obj3, &val4);
8640 if (!SWIG_IsOK(ecode4)) {
8641 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8642 }
8643 arg4 = static_cast< long >(val4);
8644 }
8645 if (obj4) {
8646 {
8647 arg5 = wxString_in_helper(obj4);
8648 if (arg5 == NULL) SWIG_fail;
8649 temp5 = true;
8650 }
8651 }
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 {
8659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8660 }
8661 {
8662 if (temp5)
8663 delete arg5;
8664 }
8665 return resultobj;
8666 fail:
8667 {
8668 if (temp5)
8669 delete arg5;
8670 }
8671 return NULL;
8672 }
8673
8674
8675 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj = 0;
8677 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8678 int arg2 = (int) 1 ;
8679 void *argp1 = 0 ;
8680 int res1 = 0 ;
8681 int val2 ;
8682 int ecode2 = 0 ;
8683 PyObject * obj0 = 0 ;
8684 PyObject * obj1 = 0 ;
8685 char * kwnames[] = {
8686 (char *) "self",(char *) "number", NULL
8687 };
8688
8689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8691 if (!SWIG_IsOK(res1)) {
8692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8693 }
8694 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8695 if (obj1) {
8696 ecode2 = SWIG_AsVal_int(obj1, &val2);
8697 if (!SWIG_IsOK(ecode2)) {
8698 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8699 }
8700 arg2 = static_cast< int >(val2);
8701 }
8702 {
8703 PyThreadState* __tstate = wxPyBeginAllowThreads();
8704 (arg1)->SetFieldsCount(arg2);
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 resultobj = SWIG_Py_Void();
8709 return resultobj;
8710 fail:
8711 return NULL;
8712 }
8713
8714
8715 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8716 PyObject *resultobj = 0;
8717 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8718 int result;
8719 void *argp1 = 0 ;
8720 int res1 = 0 ;
8721 PyObject *swig_obj[1] ;
8722
8723 if (!args) SWIG_fail;
8724 swig_obj[0] = args;
8725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8726 if (!SWIG_IsOK(res1)) {
8727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8728 }
8729 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8730 {
8731 PyThreadState* __tstate = wxPyBeginAllowThreads();
8732 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 resultobj = SWIG_From_int(static_cast< int >(result));
8737 return resultobj;
8738 fail:
8739 return NULL;
8740 }
8741
8742
8743 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8744 PyObject *resultobj = 0;
8745 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8746 wxString *arg2 = 0 ;
8747 int arg3 = (int) 0 ;
8748 void *argp1 = 0 ;
8749 int res1 = 0 ;
8750 bool temp2 = false ;
8751 int val3 ;
8752 int ecode3 = 0 ;
8753 PyObject * obj0 = 0 ;
8754 PyObject * obj1 = 0 ;
8755 PyObject * obj2 = 0 ;
8756 char * kwnames[] = {
8757 (char *) "self",(char *) "text",(char *) "number", NULL
8758 };
8759
8760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8762 if (!SWIG_IsOK(res1)) {
8763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8764 }
8765 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8766 {
8767 arg2 = wxString_in_helper(obj1);
8768 if (arg2 == NULL) SWIG_fail;
8769 temp2 = true;
8770 }
8771 if (obj2) {
8772 ecode3 = SWIG_AsVal_int(obj2, &val3);
8773 if (!SWIG_IsOK(ecode3)) {
8774 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8775 }
8776 arg3 = static_cast< int >(val3);
8777 }
8778 {
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8781 wxPyEndAllowThreads(__tstate);
8782 if (PyErr_Occurred()) SWIG_fail;
8783 }
8784 resultobj = SWIG_Py_Void();
8785 {
8786 if (temp2)
8787 delete arg2;
8788 }
8789 return resultobj;
8790 fail:
8791 {
8792 if (temp2)
8793 delete arg2;
8794 }
8795 return NULL;
8796 }
8797
8798
8799 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8800 PyObject *resultobj = 0;
8801 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8802 int arg2 = (int) 0 ;
8803 wxString result;
8804 void *argp1 = 0 ;
8805 int res1 = 0 ;
8806 int val2 ;
8807 int ecode2 = 0 ;
8808 PyObject * obj0 = 0 ;
8809 PyObject * obj1 = 0 ;
8810 char * kwnames[] = {
8811 (char *) "self",(char *) "number", NULL
8812 };
8813
8814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8816 if (!SWIG_IsOK(res1)) {
8817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8818 }
8819 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8820 if (obj1) {
8821 ecode2 = SWIG_AsVal_int(obj1, &val2);
8822 if (!SWIG_IsOK(ecode2)) {
8823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8824 }
8825 arg2 = static_cast< int >(val2);
8826 }
8827 {
8828 PyThreadState* __tstate = wxPyBeginAllowThreads();
8829 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 {
8834 #if wxUSE_UNICODE
8835 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8836 #else
8837 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8838 #endif
8839 }
8840 return resultobj;
8841 fail:
8842 return NULL;
8843 }
8844
8845
8846 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8847 PyObject *resultobj = 0;
8848 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8849 wxString *arg2 = 0 ;
8850 int arg3 = (int) 0 ;
8851 void *argp1 = 0 ;
8852 int res1 = 0 ;
8853 bool temp2 = false ;
8854 int val3 ;
8855 int ecode3 = 0 ;
8856 PyObject * obj0 = 0 ;
8857 PyObject * obj1 = 0 ;
8858 PyObject * obj2 = 0 ;
8859 char * kwnames[] = {
8860 (char *) "self",(char *) "text",(char *) "number", NULL
8861 };
8862
8863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8865 if (!SWIG_IsOK(res1)) {
8866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8867 }
8868 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8869 {
8870 arg2 = wxString_in_helper(obj1);
8871 if (arg2 == NULL) SWIG_fail;
8872 temp2 = true;
8873 }
8874 if (obj2) {
8875 ecode3 = SWIG_AsVal_int(obj2, &val3);
8876 if (!SWIG_IsOK(ecode3)) {
8877 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8878 }
8879 arg3 = static_cast< int >(val3);
8880 }
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
8884 wxPyEndAllowThreads(__tstate);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 }
8887 resultobj = SWIG_Py_Void();
8888 {
8889 if (temp2)
8890 delete arg2;
8891 }
8892 return resultobj;
8893 fail:
8894 {
8895 if (temp2)
8896 delete arg2;
8897 }
8898 return NULL;
8899 }
8900
8901
8902 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8903 PyObject *resultobj = 0;
8904 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8905 int arg2 = (int) 0 ;
8906 void *argp1 = 0 ;
8907 int res1 = 0 ;
8908 int val2 ;
8909 int ecode2 = 0 ;
8910 PyObject * obj0 = 0 ;
8911 PyObject * obj1 = 0 ;
8912 char * kwnames[] = {
8913 (char *) "self",(char *) "number", NULL
8914 };
8915
8916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8918 if (!SWIG_IsOK(res1)) {
8919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8920 }
8921 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8922 if (obj1) {
8923 ecode2 = SWIG_AsVal_int(obj1, &val2);
8924 if (!SWIG_IsOK(ecode2)) {
8925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8926 }
8927 arg2 = static_cast< int >(val2);
8928 }
8929 {
8930 PyThreadState* __tstate = wxPyBeginAllowThreads();
8931 (arg1)->PopStatusText(arg2);
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 resultobj = SWIG_Py_Void();
8936 return resultobj;
8937 fail:
8938 return NULL;
8939 }
8940
8941
8942 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj = 0;
8944 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8945 int arg2 ;
8946 int *arg3 = (int *) 0 ;
8947 void *argp1 = 0 ;
8948 int res1 = 0 ;
8949 PyObject * obj0 = 0 ;
8950 PyObject * obj1 = 0 ;
8951 char * kwnames[] = {
8952 (char *) "self",(char *) "widths", NULL
8953 };
8954
8955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
8956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8957 if (!SWIG_IsOK(res1)) {
8958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8959 }
8960 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8961 {
8962 arg2 = PyList_Size(obj1);
8963 arg3 = int_LIST_helper(obj1);
8964 if (arg3 == NULL) SWIG_fail;
8965 }
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
8968 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 resultobj = SWIG_Py_Void();
8973 {
8974 if (arg3) delete [] arg3;
8975 }
8976 return resultobj;
8977 fail:
8978 {
8979 if (arg3) delete [] arg3;
8980 }
8981 return NULL;
8982 }
8983
8984
8985 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8986 PyObject *resultobj = 0;
8987 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8988 int arg2 ;
8989 int *arg3 = (int *) 0 ;
8990 void *argp1 = 0 ;
8991 int res1 = 0 ;
8992 PyObject * obj0 = 0 ;
8993 PyObject * obj1 = 0 ;
8994 char * kwnames[] = {
8995 (char *) "self",(char *) "styles", NULL
8996 };
8997
8998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
8999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9000 if (!SWIG_IsOK(res1)) {
9001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9002 }
9003 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9004 {
9005 arg2 = PyList_Size(obj1);
9006 arg3 = int_LIST_helper(obj1);
9007 if (arg3 == NULL) SWIG_fail;
9008 }
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 resultobj = SWIG_Py_Void();
9016 {
9017 if (arg3) delete [] arg3;
9018 }
9019 return resultobj;
9020 fail:
9021 {
9022 if (arg3) delete [] arg3;
9023 }
9024 return NULL;
9025 }
9026
9027
9028 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9029 PyObject *resultobj = 0;
9030 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9031 int arg2 ;
9032 wxRect result;
9033 void *argp1 = 0 ;
9034 int res1 = 0 ;
9035 int val2 ;
9036 int ecode2 = 0 ;
9037 PyObject * obj0 = 0 ;
9038 PyObject * obj1 = 0 ;
9039 char * kwnames[] = {
9040 (char *) "self",(char *) "i", NULL
9041 };
9042
9043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9045 if (!SWIG_IsOK(res1)) {
9046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9047 }
9048 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9049 ecode2 = SWIG_AsVal_int(obj1, &val2);
9050 if (!SWIG_IsOK(ecode2)) {
9051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9052 }
9053 arg2 = static_cast< int >(val2);
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 result = wxStatusBar_GetFieldRect(arg1,arg2);
9057 wxPyEndAllowThreads(__tstate);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 }
9060 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9061 return resultobj;
9062 fail:
9063 return NULL;
9064 }
9065
9066
9067 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9068 PyObject *resultobj = 0;
9069 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9070 int arg2 ;
9071 void *argp1 = 0 ;
9072 int res1 = 0 ;
9073 int val2 ;
9074 int ecode2 = 0 ;
9075 PyObject * obj0 = 0 ;
9076 PyObject * obj1 = 0 ;
9077 char * kwnames[] = {
9078 (char *) "self",(char *) "height", NULL
9079 };
9080
9081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9083 if (!SWIG_IsOK(res1)) {
9084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9085 }
9086 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9087 ecode2 = SWIG_AsVal_int(obj1, &val2);
9088 if (!SWIG_IsOK(ecode2)) {
9089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9090 }
9091 arg2 = static_cast< int >(val2);
9092 {
9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
9094 (arg1)->SetMinHeight(arg2);
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 resultobj = SWIG_Py_Void();
9099 return resultobj;
9100 fail:
9101 return NULL;
9102 }
9103
9104
9105 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9106 PyObject *resultobj = 0;
9107 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9108 int result;
9109 void *argp1 = 0 ;
9110 int res1 = 0 ;
9111 PyObject *swig_obj[1] ;
9112
9113 if (!args) SWIG_fail;
9114 swig_obj[0] = args;
9115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9116 if (!SWIG_IsOK(res1)) {
9117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9118 }
9119 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9123 wxPyEndAllowThreads(__tstate);
9124 if (PyErr_Occurred()) SWIG_fail;
9125 }
9126 resultobj = SWIG_From_int(static_cast< int >(result));
9127 return resultobj;
9128 fail:
9129 return NULL;
9130 }
9131
9132
9133 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9134 PyObject *resultobj = 0;
9135 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9136 int result;
9137 void *argp1 = 0 ;
9138 int res1 = 0 ;
9139 PyObject *swig_obj[1] ;
9140
9141 if (!args) SWIG_fail;
9142 swig_obj[0] = args;
9143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9144 if (!SWIG_IsOK(res1)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9146 }
9147 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9151 wxPyEndAllowThreads(__tstate);
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 resultobj = SWIG_From_int(static_cast< int >(result));
9155 return resultobj;
9156 fail:
9157 return NULL;
9158 }
9159
9160
9161 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9162 PyObject *resultobj = 0;
9163 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9164 SwigValueWrapper<wxVisualAttributes > result;
9165 int val1 ;
9166 int ecode1 = 0 ;
9167 PyObject * obj0 = 0 ;
9168 char * kwnames[] = {
9169 (char *) "variant", NULL
9170 };
9171
9172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9173 if (obj0) {
9174 ecode1 = SWIG_AsVal_int(obj0, &val1);
9175 if (!SWIG_IsOK(ecode1)) {
9176 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9177 }
9178 arg1 = static_cast< wxWindowVariant >(val1);
9179 }
9180 {
9181 if (!wxPyCheckForApp()) SWIG_fail;
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9184 wxPyEndAllowThreads(__tstate);
9185 if (PyErr_Occurred()) SWIG_fail;
9186 }
9187 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9188 return resultobj;
9189 fail:
9190 return NULL;
9191 }
9192
9193
9194 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9195 PyObject *obj;
9196 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9197 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9198 return SWIG_Py_Void();
9199 }
9200
9201 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9202 return SWIG_Python_InitShadowInstance(args);
9203 }
9204
9205 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9206 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9207 return 1;
9208 }
9209
9210
9211 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9212 PyObject *pyobj = 0;
9213
9214 {
9215 #if wxUSE_UNICODE
9216 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9217 #else
9218 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9219 #endif
9220 }
9221 return pyobj;
9222 }
9223
9224
9225 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9226 PyObject *resultobj = 0;
9227 wxWindow *arg1 = (wxWindow *) 0 ;
9228 int arg2 = (int) -1 ;
9229 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9230 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9231 wxSize const &arg4_defvalue = wxDefaultSize ;
9232 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9233 long arg5 = (long) wxSP_3D ;
9234 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9235 wxString *arg6 = (wxString *) &arg6_defvalue ;
9236 wxSplitterWindow *result = 0 ;
9237 void *argp1 = 0 ;
9238 int res1 = 0 ;
9239 int val2 ;
9240 int ecode2 = 0 ;
9241 wxPoint temp3 ;
9242 wxSize temp4 ;
9243 long val5 ;
9244 int ecode5 = 0 ;
9245 bool temp6 = false ;
9246 PyObject * obj0 = 0 ;
9247 PyObject * obj1 = 0 ;
9248 PyObject * obj2 = 0 ;
9249 PyObject * obj3 = 0 ;
9250 PyObject * obj4 = 0 ;
9251 PyObject * obj5 = 0 ;
9252 char * kwnames[] = {
9253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9254 };
9255
9256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9258 if (!SWIG_IsOK(res1)) {
9259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9260 }
9261 arg1 = reinterpret_cast< wxWindow * >(argp1);
9262 if (obj1) {
9263 ecode2 = SWIG_AsVal_int(obj1, &val2);
9264 if (!SWIG_IsOK(ecode2)) {
9265 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9266 }
9267 arg2 = static_cast< int >(val2);
9268 }
9269 if (obj2) {
9270 {
9271 arg3 = &temp3;
9272 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9273 }
9274 }
9275 if (obj3) {
9276 {
9277 arg4 = &temp4;
9278 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9279 }
9280 }
9281 if (obj4) {
9282 ecode5 = SWIG_AsVal_long(obj4, &val5);
9283 if (!SWIG_IsOK(ecode5)) {
9284 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9285 }
9286 arg5 = static_cast< long >(val5);
9287 }
9288 if (obj5) {
9289 {
9290 arg6 = wxString_in_helper(obj5);
9291 if (arg6 == NULL) SWIG_fail;
9292 temp6 = true;
9293 }
9294 }
9295 {
9296 if (!wxPyCheckForApp()) SWIG_fail;
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9303 {
9304 if (temp6)
9305 delete arg6;
9306 }
9307 return resultobj;
9308 fail:
9309 {
9310 if (temp6)
9311 delete arg6;
9312 }
9313 return NULL;
9314 }
9315
9316
9317 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9318 PyObject *resultobj = 0;
9319 wxSplitterWindow *result = 0 ;
9320
9321 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9322 {
9323 if (!wxPyCheckForApp()) SWIG_fail;
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 result = (wxSplitterWindow *)new wxSplitterWindow();
9326 wxPyEndAllowThreads(__tstate);
9327 if (PyErr_Occurred()) SWIG_fail;
9328 }
9329 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9330 return resultobj;
9331 fail:
9332 return NULL;
9333 }
9334
9335
9336 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj = 0;
9338 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9339 wxWindow *arg2 = (wxWindow *) 0 ;
9340 int arg3 = (int) -1 ;
9341 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9342 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9343 wxSize const &arg5_defvalue = wxDefaultSize ;
9344 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9345 long arg6 = (long) wxSP_3D ;
9346 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9347 wxString *arg7 = (wxString *) &arg7_defvalue ;
9348 bool result;
9349 void *argp1 = 0 ;
9350 int res1 = 0 ;
9351 void *argp2 = 0 ;
9352 int res2 = 0 ;
9353 int val3 ;
9354 int ecode3 = 0 ;
9355 wxPoint temp4 ;
9356 wxSize temp5 ;
9357 long val6 ;
9358 int ecode6 = 0 ;
9359 bool temp7 = false ;
9360 PyObject * obj0 = 0 ;
9361 PyObject * obj1 = 0 ;
9362 PyObject * obj2 = 0 ;
9363 PyObject * obj3 = 0 ;
9364 PyObject * obj4 = 0 ;
9365 PyObject * obj5 = 0 ;
9366 PyObject * obj6 = 0 ;
9367 char * kwnames[] = {
9368 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9369 };
9370
9371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9373 if (!SWIG_IsOK(res1)) {
9374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9375 }
9376 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9377 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9378 if (!SWIG_IsOK(res2)) {
9379 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9380 }
9381 arg2 = reinterpret_cast< wxWindow * >(argp2);
9382 if (obj2) {
9383 ecode3 = SWIG_AsVal_int(obj2, &val3);
9384 if (!SWIG_IsOK(ecode3)) {
9385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9386 }
9387 arg3 = static_cast< int >(val3);
9388 }
9389 if (obj3) {
9390 {
9391 arg4 = &temp4;
9392 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9393 }
9394 }
9395 if (obj4) {
9396 {
9397 arg5 = &temp5;
9398 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9399 }
9400 }
9401 if (obj5) {
9402 ecode6 = SWIG_AsVal_long(obj5, &val6);
9403 if (!SWIG_IsOK(ecode6)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9405 }
9406 arg6 = static_cast< long >(val6);
9407 }
9408 if (obj6) {
9409 {
9410 arg7 = wxString_in_helper(obj6);
9411 if (arg7 == NULL) SWIG_fail;
9412 temp7 = true;
9413 }
9414 }
9415 {
9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9417 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9418 wxPyEndAllowThreads(__tstate);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 }
9421 {
9422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9423 }
9424 {
9425 if (temp7)
9426 delete arg7;
9427 }
9428 return resultobj;
9429 fail:
9430 {
9431 if (temp7)
9432 delete arg7;
9433 }
9434 return NULL;
9435 }
9436
9437
9438 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9439 PyObject *resultobj = 0;
9440 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9441 wxWindow *result = 0 ;
9442 void *argp1 = 0 ;
9443 int res1 = 0 ;
9444 PyObject *swig_obj[1] ;
9445
9446 if (!args) SWIG_fail;
9447 swig_obj[0] = args;
9448 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9449 if (!SWIG_IsOK(res1)) {
9450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9451 }
9452 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9453 {
9454 PyThreadState* __tstate = wxPyBeginAllowThreads();
9455 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 {
9460 resultobj = wxPyMake_wxObject(result, 0);
9461 }
9462 return resultobj;
9463 fail:
9464 return NULL;
9465 }
9466
9467
9468 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9469 PyObject *resultobj = 0;
9470 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9471 wxWindow *result = 0 ;
9472 void *argp1 = 0 ;
9473 int res1 = 0 ;
9474 PyObject *swig_obj[1] ;
9475
9476 if (!args) SWIG_fail;
9477 swig_obj[0] = args;
9478 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9479 if (!SWIG_IsOK(res1)) {
9480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9481 }
9482 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 {
9490 resultobj = wxPyMake_wxObject(result, 0);
9491 }
9492 return resultobj;
9493 fail:
9494 return NULL;
9495 }
9496
9497
9498 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj = 0;
9500 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9501 int arg2 ;
9502 void *argp1 = 0 ;
9503 int res1 = 0 ;
9504 int val2 ;
9505 int ecode2 = 0 ;
9506 PyObject * obj0 = 0 ;
9507 PyObject * obj1 = 0 ;
9508 char * kwnames[] = {
9509 (char *) "self",(char *) "mode", NULL
9510 };
9511
9512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9514 if (!SWIG_IsOK(res1)) {
9515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9516 }
9517 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9518 ecode2 = SWIG_AsVal_int(obj1, &val2);
9519 if (!SWIG_IsOK(ecode2)) {
9520 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9521 }
9522 arg2 = static_cast< int >(val2);
9523 {
9524 PyThreadState* __tstate = wxPyBeginAllowThreads();
9525 (arg1)->SetSplitMode(arg2);
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
9529 resultobj = SWIG_Py_Void();
9530 return resultobj;
9531 fail:
9532 return NULL;
9533 }
9534
9535
9536 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9537 PyObject *resultobj = 0;
9538 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9539 wxSplitMode result;
9540 void *argp1 = 0 ;
9541 int res1 = 0 ;
9542 PyObject *swig_obj[1] ;
9543
9544 if (!args) SWIG_fail;
9545 swig_obj[0] = args;
9546 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9547 if (!SWIG_IsOK(res1)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9549 }
9550 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 resultobj = SWIG_From_int(static_cast< int >(result));
9558 return resultobj;
9559 fail:
9560 return NULL;
9561 }
9562
9563
9564 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9565 PyObject *resultobj = 0;
9566 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9567 wxWindow *arg2 = (wxWindow *) 0 ;
9568 void *argp1 = 0 ;
9569 int res1 = 0 ;
9570 void *argp2 = 0 ;
9571 int res2 = 0 ;
9572 PyObject * obj0 = 0 ;
9573 PyObject * obj1 = 0 ;
9574 char * kwnames[] = {
9575 (char *) "self",(char *) "window", NULL
9576 };
9577
9578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9580 if (!SWIG_IsOK(res1)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9582 }
9583 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9584 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9585 if (!SWIG_IsOK(res2)) {
9586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9587 }
9588 arg2 = reinterpret_cast< wxWindow * >(argp2);
9589 {
9590 PyThreadState* __tstate = wxPyBeginAllowThreads();
9591 (arg1)->Initialize(arg2);
9592 wxPyEndAllowThreads(__tstate);
9593 if (PyErr_Occurred()) SWIG_fail;
9594 }
9595 resultobj = SWIG_Py_Void();
9596 return resultobj;
9597 fail:
9598 return NULL;
9599 }
9600
9601
9602 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9603 PyObject *resultobj = 0;
9604 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9605 wxWindow *arg2 = (wxWindow *) 0 ;
9606 wxWindow *arg3 = (wxWindow *) 0 ;
9607 int arg4 = (int) 0 ;
9608 bool result;
9609 void *argp1 = 0 ;
9610 int res1 = 0 ;
9611 void *argp2 = 0 ;
9612 int res2 = 0 ;
9613 void *argp3 = 0 ;
9614 int res3 = 0 ;
9615 int val4 ;
9616 int ecode4 = 0 ;
9617 PyObject * obj0 = 0 ;
9618 PyObject * obj1 = 0 ;
9619 PyObject * obj2 = 0 ;
9620 PyObject * obj3 = 0 ;
9621 char * kwnames[] = {
9622 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9623 };
9624
9625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9627 if (!SWIG_IsOK(res1)) {
9628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9629 }
9630 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9631 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9632 if (!SWIG_IsOK(res2)) {
9633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9634 }
9635 arg2 = reinterpret_cast< wxWindow * >(argp2);
9636 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9637 if (!SWIG_IsOK(res3)) {
9638 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9639 }
9640 arg3 = reinterpret_cast< wxWindow * >(argp3);
9641 if (obj3) {
9642 ecode4 = SWIG_AsVal_int(obj3, &val4);
9643 if (!SWIG_IsOK(ecode4)) {
9644 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9645 }
9646 arg4 = static_cast< int >(val4);
9647 }
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 {
9655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9656 }
9657 return resultobj;
9658 fail:
9659 return NULL;
9660 }
9661
9662
9663 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9664 PyObject *resultobj = 0;
9665 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9666 wxWindow *arg2 = (wxWindow *) 0 ;
9667 wxWindow *arg3 = (wxWindow *) 0 ;
9668 int arg4 = (int) 0 ;
9669 bool result;
9670 void *argp1 = 0 ;
9671 int res1 = 0 ;
9672 void *argp2 = 0 ;
9673 int res2 = 0 ;
9674 void *argp3 = 0 ;
9675 int res3 = 0 ;
9676 int val4 ;
9677 int ecode4 = 0 ;
9678 PyObject * obj0 = 0 ;
9679 PyObject * obj1 = 0 ;
9680 PyObject * obj2 = 0 ;
9681 PyObject * obj3 = 0 ;
9682 char * kwnames[] = {
9683 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9684 };
9685
9686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9688 if (!SWIG_IsOK(res1)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9690 }
9691 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9692 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9693 if (!SWIG_IsOK(res2)) {
9694 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9695 }
9696 arg2 = reinterpret_cast< wxWindow * >(argp2);
9697 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9698 if (!SWIG_IsOK(res3)) {
9699 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9700 }
9701 arg3 = reinterpret_cast< wxWindow * >(argp3);
9702 if (obj3) {
9703 ecode4 = SWIG_AsVal_int(obj3, &val4);
9704 if (!SWIG_IsOK(ecode4)) {
9705 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9706 }
9707 arg4 = static_cast< int >(val4);
9708 }
9709 {
9710 PyThreadState* __tstate = wxPyBeginAllowThreads();
9711 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 {
9716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9717 }
9718 return resultobj;
9719 fail:
9720 return NULL;
9721 }
9722
9723
9724 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9725 PyObject *resultobj = 0;
9726 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9727 wxWindow *arg2 = (wxWindow *) NULL ;
9728 bool result;
9729 void *argp1 = 0 ;
9730 int res1 = 0 ;
9731 void *argp2 = 0 ;
9732 int res2 = 0 ;
9733 PyObject * obj0 = 0 ;
9734 PyObject * obj1 = 0 ;
9735 char * kwnames[] = {
9736 (char *) "self",(char *) "toRemove", NULL
9737 };
9738
9739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9741 if (!SWIG_IsOK(res1)) {
9742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9743 }
9744 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9745 if (obj1) {
9746 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9747 if (!SWIG_IsOK(res2)) {
9748 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9749 }
9750 arg2 = reinterpret_cast< wxWindow * >(argp2);
9751 }
9752 {
9753 PyThreadState* __tstate = wxPyBeginAllowThreads();
9754 result = (bool)(arg1)->Unsplit(arg2);
9755 wxPyEndAllowThreads(__tstate);
9756 if (PyErr_Occurred()) SWIG_fail;
9757 }
9758 {
9759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9760 }
9761 return resultobj;
9762 fail:
9763 return NULL;
9764 }
9765
9766
9767 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9768 PyObject *resultobj = 0;
9769 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9770 wxWindow *arg2 = (wxWindow *) 0 ;
9771 wxWindow *arg3 = (wxWindow *) 0 ;
9772 bool result;
9773 void *argp1 = 0 ;
9774 int res1 = 0 ;
9775 void *argp2 = 0 ;
9776 int res2 = 0 ;
9777 void *argp3 = 0 ;
9778 int res3 = 0 ;
9779 PyObject * obj0 = 0 ;
9780 PyObject * obj1 = 0 ;
9781 PyObject * obj2 = 0 ;
9782 char * kwnames[] = {
9783 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9784 };
9785
9786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9788 if (!SWIG_IsOK(res1)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9790 }
9791 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9792 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9793 if (!SWIG_IsOK(res2)) {
9794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9795 }
9796 arg2 = reinterpret_cast< wxWindow * >(argp2);
9797 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9798 if (!SWIG_IsOK(res3)) {
9799 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9800 }
9801 arg3 = reinterpret_cast< wxWindow * >(argp3);
9802 {
9803 PyThreadState* __tstate = wxPyBeginAllowThreads();
9804 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9805 wxPyEndAllowThreads(__tstate);
9806 if (PyErr_Occurred()) SWIG_fail;
9807 }
9808 {
9809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9810 }
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9818 PyObject *resultobj = 0;
9819 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9820 void *argp1 = 0 ;
9821 int res1 = 0 ;
9822 PyObject *swig_obj[1] ;
9823
9824 if (!args) SWIG_fail;
9825 swig_obj[0] = args;
9826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9827 if (!SWIG_IsOK(res1)) {
9828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9829 }
9830 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 (arg1)->UpdateSize();
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = SWIG_Py_Void();
9838 return resultobj;
9839 fail:
9840 return NULL;
9841 }
9842
9843
9844 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9845 PyObject *resultobj = 0;
9846 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9847 bool result;
9848 void *argp1 = 0 ;
9849 int res1 = 0 ;
9850 PyObject *swig_obj[1] ;
9851
9852 if (!args) SWIG_fail;
9853 swig_obj[0] = args;
9854 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9855 if (!SWIG_IsOK(res1)) {
9856 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9857 }
9858 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9859 {
9860 PyThreadState* __tstate = wxPyBeginAllowThreads();
9861 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 {
9866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9867 }
9868 return resultobj;
9869 fail:
9870 return NULL;
9871 }
9872
9873
9874 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9875 PyObject *resultobj = 0;
9876 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9877 int arg2 ;
9878 void *argp1 = 0 ;
9879 int res1 = 0 ;
9880 int val2 ;
9881 int ecode2 = 0 ;
9882 PyObject * obj0 = 0 ;
9883 PyObject * obj1 = 0 ;
9884 char * kwnames[] = {
9885 (char *) "self",(char *) "width", NULL
9886 };
9887
9888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
9889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9890 if (!SWIG_IsOK(res1)) {
9891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9892 }
9893 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9894 ecode2 = SWIG_AsVal_int(obj1, &val2);
9895 if (!SWIG_IsOK(ecode2)) {
9896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9897 }
9898 arg2 = static_cast< int >(val2);
9899 {
9900 PyThreadState* __tstate = wxPyBeginAllowThreads();
9901 (arg1)->SetSashSize(arg2);
9902 wxPyEndAllowThreads(__tstate);
9903 if (PyErr_Occurred()) SWIG_fail;
9904 }
9905 resultobj = SWIG_Py_Void();
9906 return resultobj;
9907 fail:
9908 return NULL;
9909 }
9910
9911
9912 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9913 PyObject *resultobj = 0;
9914 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9915 int arg2 ;
9916 void *argp1 = 0 ;
9917 int res1 = 0 ;
9918 int val2 ;
9919 int ecode2 = 0 ;
9920 PyObject * obj0 = 0 ;
9921 PyObject * obj1 = 0 ;
9922 char * kwnames[] = {
9923 (char *) "self",(char *) "width", NULL
9924 };
9925
9926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
9927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9928 if (!SWIG_IsOK(res1)) {
9929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9930 }
9931 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9932 ecode2 = SWIG_AsVal_int(obj1, &val2);
9933 if (!SWIG_IsOK(ecode2)) {
9934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9935 }
9936 arg2 = static_cast< int >(val2);
9937 {
9938 PyThreadState* __tstate = wxPyBeginAllowThreads();
9939 (arg1)->SetBorderSize(arg2);
9940 wxPyEndAllowThreads(__tstate);
9941 if (PyErr_Occurred()) SWIG_fail;
9942 }
9943 resultobj = SWIG_Py_Void();
9944 return resultobj;
9945 fail:
9946 return NULL;
9947 }
9948
9949
9950 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9951 PyObject *resultobj = 0;
9952 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9953 int result;
9954 void *argp1 = 0 ;
9955 int res1 = 0 ;
9956 PyObject *swig_obj[1] ;
9957
9958 if (!args) SWIG_fail;
9959 swig_obj[0] = args;
9960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9961 if (!SWIG_IsOK(res1)) {
9962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9963 }
9964 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
9967 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = SWIG_From_int(static_cast< int >(result));
9972 return resultobj;
9973 fail:
9974 return NULL;
9975 }
9976
9977
9978 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9979 PyObject *resultobj = 0;
9980 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9981 int result;
9982 void *argp1 = 0 ;
9983 int res1 = 0 ;
9984 PyObject *swig_obj[1] ;
9985
9986 if (!args) SWIG_fail;
9987 swig_obj[0] = args;
9988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9989 if (!SWIG_IsOK(res1)) {
9990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9991 }
9992 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 resultobj = SWIG_From_int(static_cast< int >(result));
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj = 0;
10008 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10009 int arg2 ;
10010 bool arg3 = (bool) true ;
10011 void *argp1 = 0 ;
10012 int res1 = 0 ;
10013 int val2 ;
10014 int ecode2 = 0 ;
10015 bool val3 ;
10016 int ecode3 = 0 ;
10017 PyObject * obj0 = 0 ;
10018 PyObject * obj1 = 0 ;
10019 PyObject * obj2 = 0 ;
10020 char * kwnames[] = {
10021 (char *) "self",(char *) "position",(char *) "redraw", NULL
10022 };
10023
10024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10026 if (!SWIG_IsOK(res1)) {
10027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10028 }
10029 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10030 ecode2 = SWIG_AsVal_int(obj1, &val2);
10031 if (!SWIG_IsOK(ecode2)) {
10032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10033 }
10034 arg2 = static_cast< int >(val2);
10035 if (obj2) {
10036 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10037 if (!SWIG_IsOK(ecode3)) {
10038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10039 }
10040 arg3 = static_cast< bool >(val3);
10041 }
10042 {
10043 PyThreadState* __tstate = wxPyBeginAllowThreads();
10044 (arg1)->SetSashPosition(arg2,arg3);
10045 wxPyEndAllowThreads(__tstate);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 }
10048 resultobj = SWIG_Py_Void();
10049 return resultobj;
10050 fail:
10051 return NULL;
10052 }
10053
10054
10055 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10056 PyObject *resultobj = 0;
10057 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10058 int result;
10059 void *argp1 = 0 ;
10060 int res1 = 0 ;
10061 PyObject *swig_obj[1] ;
10062
10063 if (!args) SWIG_fail;
10064 swig_obj[0] = args;
10065 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10066 if (!SWIG_IsOK(res1)) {
10067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10068 }
10069 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10070 {
10071 PyThreadState* __tstate = wxPyBeginAllowThreads();
10072 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 resultobj = SWIG_From_int(static_cast< int >(result));
10077 return resultobj;
10078 fail:
10079 return NULL;
10080 }
10081
10082
10083 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj = 0;
10085 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10086 double arg2 ;
10087 void *argp1 = 0 ;
10088 int res1 = 0 ;
10089 double val2 ;
10090 int ecode2 = 0 ;
10091 PyObject * obj0 = 0 ;
10092 PyObject * obj1 = 0 ;
10093 char * kwnames[] = {
10094 (char *) "self",(char *) "gravity", NULL
10095 };
10096
10097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10099 if (!SWIG_IsOK(res1)) {
10100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10101 }
10102 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10103 ecode2 = SWIG_AsVal_double(obj1, &val2);
10104 if (!SWIG_IsOK(ecode2)) {
10105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10106 }
10107 arg2 = static_cast< double >(val2);
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 (arg1)->SetSashGravity(arg2);
10111 wxPyEndAllowThreads(__tstate);
10112 if (PyErr_Occurred()) SWIG_fail;
10113 }
10114 resultobj = SWIG_Py_Void();
10115 return resultobj;
10116 fail:
10117 return NULL;
10118 }
10119
10120
10121 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10122 PyObject *resultobj = 0;
10123 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10124 double result;
10125 void *argp1 = 0 ;
10126 int res1 = 0 ;
10127 PyObject *swig_obj[1] ;
10128
10129 if (!args) SWIG_fail;
10130 swig_obj[0] = args;
10131 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10132 if (!SWIG_IsOK(res1)) {
10133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10134 }
10135 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 resultobj = SWIG_From_double(static_cast< double >(result));
10143 return resultobj;
10144 fail:
10145 return NULL;
10146 }
10147
10148
10149 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj = 0;
10151 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10152 int arg2 ;
10153 void *argp1 = 0 ;
10154 int res1 = 0 ;
10155 int val2 ;
10156 int ecode2 = 0 ;
10157 PyObject * obj0 = 0 ;
10158 PyObject * obj1 = 0 ;
10159 char * kwnames[] = {
10160 (char *) "self",(char *) "min", NULL
10161 };
10162
10163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10165 if (!SWIG_IsOK(res1)) {
10166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10167 }
10168 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10169 ecode2 = SWIG_AsVal_int(obj1, &val2);
10170 if (!SWIG_IsOK(ecode2)) {
10171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10172 }
10173 arg2 = static_cast< int >(val2);
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 (arg1)->SetMinimumPaneSize(arg2);
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 resultobj = SWIG_Py_Void();
10181 return resultobj;
10182 fail:
10183 return NULL;
10184 }
10185
10186
10187 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10188 PyObject *resultobj = 0;
10189 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10190 int result;
10191 void *argp1 = 0 ;
10192 int res1 = 0 ;
10193 PyObject *swig_obj[1] ;
10194
10195 if (!args) SWIG_fail;
10196 swig_obj[0] = args;
10197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10198 if (!SWIG_IsOK(res1)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10200 }
10201 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 resultobj = SWIG_From_int(static_cast< int >(result));
10209 return resultobj;
10210 fail:
10211 return NULL;
10212 }
10213
10214
10215 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10216 PyObject *resultobj = 0;
10217 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10218 int arg2 ;
10219 int arg3 ;
10220 int arg4 = (int) 5 ;
10221 bool result;
10222 void *argp1 = 0 ;
10223 int res1 = 0 ;
10224 int val2 ;
10225 int ecode2 = 0 ;
10226 int val3 ;
10227 int ecode3 = 0 ;
10228 int val4 ;
10229 int ecode4 = 0 ;
10230 PyObject * obj0 = 0 ;
10231 PyObject * obj1 = 0 ;
10232 PyObject * obj2 = 0 ;
10233 PyObject * obj3 = 0 ;
10234 char * kwnames[] = {
10235 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10236 };
10237
10238 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10239 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10240 if (!SWIG_IsOK(res1)) {
10241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10242 }
10243 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10244 ecode2 = SWIG_AsVal_int(obj1, &val2);
10245 if (!SWIG_IsOK(ecode2)) {
10246 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10247 }
10248 arg2 = static_cast< int >(val2);
10249 ecode3 = SWIG_AsVal_int(obj2, &val3);
10250 if (!SWIG_IsOK(ecode3)) {
10251 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10252 }
10253 arg3 = static_cast< int >(val3);
10254 if (obj3) {
10255 ecode4 = SWIG_AsVal_int(obj3, &val4);
10256 if (!SWIG_IsOK(ecode4)) {
10257 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10258 }
10259 arg4 = static_cast< int >(val4);
10260 }
10261 {
10262 PyThreadState* __tstate = wxPyBeginAllowThreads();
10263 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10264 wxPyEndAllowThreads(__tstate);
10265 if (PyErr_Occurred()) SWIG_fail;
10266 }
10267 {
10268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10269 }
10270 return resultobj;
10271 fail:
10272 return NULL;
10273 }
10274
10275
10276 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10277 PyObject *resultobj = 0;
10278 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10279 void *argp1 = 0 ;
10280 int res1 = 0 ;
10281 PyObject *swig_obj[1] ;
10282
10283 if (!args) SWIG_fail;
10284 swig_obj[0] = args;
10285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10286 if (!SWIG_IsOK(res1)) {
10287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10288 }
10289 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10290 {
10291 PyThreadState* __tstate = wxPyBeginAllowThreads();
10292 (arg1)->SizeWindows();
10293 wxPyEndAllowThreads(__tstate);
10294 if (PyErr_Occurred()) SWIG_fail;
10295 }
10296 resultobj = SWIG_Py_Void();
10297 return resultobj;
10298 fail:
10299 return NULL;
10300 }
10301
10302
10303 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10304 PyObject *resultobj = 0;
10305 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10306 bool arg2 ;
10307 void *argp1 = 0 ;
10308 int res1 = 0 ;
10309 bool val2 ;
10310 int ecode2 = 0 ;
10311 PyObject * obj0 = 0 ;
10312 PyObject * obj1 = 0 ;
10313 char * kwnames[] = {
10314 (char *) "self",(char *) "needUpdating", NULL
10315 };
10316
10317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10319 if (!SWIG_IsOK(res1)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10321 }
10322 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10323 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10324 if (!SWIG_IsOK(ecode2)) {
10325 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10326 }
10327 arg2 = static_cast< bool >(val2);
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 (arg1)->SetNeedUpdating(arg2);
10331 wxPyEndAllowThreads(__tstate);
10332 if (PyErr_Occurred()) SWIG_fail;
10333 }
10334 resultobj = SWIG_Py_Void();
10335 return resultobj;
10336 fail:
10337 return NULL;
10338 }
10339
10340
10341 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10342 PyObject *resultobj = 0;
10343 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10344 bool result;
10345 void *argp1 = 0 ;
10346 int res1 = 0 ;
10347 PyObject *swig_obj[1] ;
10348
10349 if (!args) SWIG_fail;
10350 swig_obj[0] = args;
10351 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10352 if (!SWIG_IsOK(res1)) {
10353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10354 }
10355 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 {
10363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10364 }
10365 return resultobj;
10366 fail:
10367 return NULL;
10368 }
10369
10370
10371 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj = 0;
10373 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10374 SwigValueWrapper<wxVisualAttributes > result;
10375 int val1 ;
10376 int ecode1 = 0 ;
10377 PyObject * obj0 = 0 ;
10378 char * kwnames[] = {
10379 (char *) "variant", NULL
10380 };
10381
10382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10383 if (obj0) {
10384 ecode1 = SWIG_AsVal_int(obj0, &val1);
10385 if (!SWIG_IsOK(ecode1)) {
10386 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10387 }
10388 arg1 = static_cast< wxWindowVariant >(val1);
10389 }
10390 {
10391 if (!wxPyCheckForApp()) SWIG_fail;
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10398 return resultobj;
10399 fail:
10400 return NULL;
10401 }
10402
10403
10404 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10405 PyObject *obj;
10406 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10407 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10408 return SWIG_Py_Void();
10409 }
10410
10411 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10412 return SWIG_Python_InitShadowInstance(args);
10413 }
10414
10415 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10416 PyObject *resultobj = 0;
10417 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10418 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10419 wxSplitterEvent *result = 0 ;
10420 int val1 ;
10421 int ecode1 = 0 ;
10422 void *argp2 = 0 ;
10423 int res2 = 0 ;
10424 PyObject * obj0 = 0 ;
10425 PyObject * obj1 = 0 ;
10426 char * kwnames[] = {
10427 (char *) "type",(char *) "splitter", NULL
10428 };
10429
10430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10431 if (obj0) {
10432 ecode1 = SWIG_AsVal_int(obj0, &val1);
10433 if (!SWIG_IsOK(ecode1)) {
10434 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10435 }
10436 arg1 = static_cast< wxEventType >(val1);
10437 }
10438 if (obj1) {
10439 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10440 if (!SWIG_IsOK(res2)) {
10441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10442 }
10443 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10444 }
10445 {
10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
10447 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10452 return resultobj;
10453 fail:
10454 return NULL;
10455 }
10456
10457
10458 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj = 0;
10460 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10461 int arg2 ;
10462 void *argp1 = 0 ;
10463 int res1 = 0 ;
10464 int val2 ;
10465 int ecode2 = 0 ;
10466 PyObject * obj0 = 0 ;
10467 PyObject * obj1 = 0 ;
10468 char * kwnames[] = {
10469 (char *) "self",(char *) "pos", NULL
10470 };
10471
10472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10474 if (!SWIG_IsOK(res1)) {
10475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10476 }
10477 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10478 ecode2 = SWIG_AsVal_int(obj1, &val2);
10479 if (!SWIG_IsOK(ecode2)) {
10480 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10481 }
10482 arg2 = static_cast< int >(val2);
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 (arg1)->SetSashPosition(arg2);
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 resultobj = SWIG_Py_Void();
10490 return resultobj;
10491 fail:
10492 return NULL;
10493 }
10494
10495
10496 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10497 PyObject *resultobj = 0;
10498 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10499 int result;
10500 void *argp1 = 0 ;
10501 int res1 = 0 ;
10502 PyObject *swig_obj[1] ;
10503
10504 if (!args) SWIG_fail;
10505 swig_obj[0] = args;
10506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10507 if (!SWIG_IsOK(res1)) {
10508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10509 }
10510 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 resultobj = SWIG_From_int(static_cast< int >(result));
10518 return resultobj;
10519 fail:
10520 return NULL;
10521 }
10522
10523
10524 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10525 PyObject *resultobj = 0;
10526 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10527 wxWindow *result = 0 ;
10528 void *argp1 = 0 ;
10529 int res1 = 0 ;
10530 PyObject *swig_obj[1] ;
10531
10532 if (!args) SWIG_fail;
10533 swig_obj[0] = args;
10534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10535 if (!SWIG_IsOK(res1)) {
10536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10537 }
10538 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10539 {
10540 PyThreadState* __tstate = wxPyBeginAllowThreads();
10541 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10542 wxPyEndAllowThreads(__tstate);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 }
10545 {
10546 resultobj = wxPyMake_wxObject(result, 0);
10547 }
10548 return resultobj;
10549 fail:
10550 return NULL;
10551 }
10552
10553
10554 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10555 PyObject *resultobj = 0;
10556 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10557 int result;
10558 void *argp1 = 0 ;
10559 int res1 = 0 ;
10560 PyObject *swig_obj[1] ;
10561
10562 if (!args) SWIG_fail;
10563 swig_obj[0] = args;
10564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10565 if (!SWIG_IsOK(res1)) {
10566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10567 }
10568 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10572 wxPyEndAllowThreads(__tstate);
10573 if (PyErr_Occurred()) SWIG_fail;
10574 }
10575 resultobj = SWIG_From_int(static_cast< int >(result));
10576 return resultobj;
10577 fail:
10578 return NULL;
10579 }
10580
10581
10582 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10583 PyObject *resultobj = 0;
10584 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10585 int result;
10586 void *argp1 = 0 ;
10587 int res1 = 0 ;
10588 PyObject *swig_obj[1] ;
10589
10590 if (!args) SWIG_fail;
10591 swig_obj[0] = args;
10592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10593 if (!SWIG_IsOK(res1)) {
10594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10595 }
10596 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10597 {
10598 PyThreadState* __tstate = wxPyBeginAllowThreads();
10599 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10600 wxPyEndAllowThreads(__tstate);
10601 if (PyErr_Occurred()) SWIG_fail;
10602 }
10603 resultobj = SWIG_From_int(static_cast< int >(result));
10604 return resultobj;
10605 fail:
10606 return NULL;
10607 }
10608
10609
10610 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10611 PyObject *obj;
10612 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10613 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10614 return SWIG_Py_Void();
10615 }
10616
10617 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10618 return SWIG_Python_InitShadowInstance(args);
10619 }
10620
10621 SWIGINTERN int SashNameStr_set(PyObject *) {
10622 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10623 return 1;
10624 }
10625
10626
10627 SWIGINTERN PyObject *SashNameStr_get(void) {
10628 PyObject *pyobj = 0;
10629
10630 {
10631 #if wxUSE_UNICODE
10632 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10633 #else
10634 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10635 #endif
10636 }
10637 return pyobj;
10638 }
10639
10640
10641 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10642 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10643 return 1;
10644 }
10645
10646
10647 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10648 PyObject *pyobj = 0;
10649
10650 {
10651 #if wxUSE_UNICODE
10652 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10653 #else
10654 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10655 #endif
10656 }
10657 return pyobj;
10658 }
10659
10660
10661 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj = 0;
10663 wxWindow *arg1 = (wxWindow *) 0 ;
10664 int arg2 = (int) -1 ;
10665 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10666 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10667 wxSize const &arg4_defvalue = wxDefaultSize ;
10668 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10669 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10670 wxString const &arg6_defvalue = wxPySashNameStr ;
10671 wxString *arg6 = (wxString *) &arg6_defvalue ;
10672 wxSashWindow *result = 0 ;
10673 void *argp1 = 0 ;
10674 int res1 = 0 ;
10675 int val2 ;
10676 int ecode2 = 0 ;
10677 wxPoint temp3 ;
10678 wxSize temp4 ;
10679 long val5 ;
10680 int ecode5 = 0 ;
10681 bool temp6 = false ;
10682 PyObject * obj0 = 0 ;
10683 PyObject * obj1 = 0 ;
10684 PyObject * obj2 = 0 ;
10685 PyObject * obj3 = 0 ;
10686 PyObject * obj4 = 0 ;
10687 PyObject * obj5 = 0 ;
10688 char * kwnames[] = {
10689 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10690 };
10691
10692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10694 if (!SWIG_IsOK(res1)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10696 }
10697 arg1 = reinterpret_cast< wxWindow * >(argp1);
10698 if (obj1) {
10699 ecode2 = SWIG_AsVal_int(obj1, &val2);
10700 if (!SWIG_IsOK(ecode2)) {
10701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10702 }
10703 arg2 = static_cast< int >(val2);
10704 }
10705 if (obj2) {
10706 {
10707 arg3 = &temp3;
10708 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10709 }
10710 }
10711 if (obj3) {
10712 {
10713 arg4 = &temp4;
10714 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10715 }
10716 }
10717 if (obj4) {
10718 ecode5 = SWIG_AsVal_long(obj4, &val5);
10719 if (!SWIG_IsOK(ecode5)) {
10720 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10721 }
10722 arg5 = static_cast< long >(val5);
10723 }
10724 if (obj5) {
10725 {
10726 arg6 = wxString_in_helper(obj5);
10727 if (arg6 == NULL) SWIG_fail;
10728 temp6 = true;
10729 }
10730 }
10731 {
10732 if (!wxPyCheckForApp()) SWIG_fail;
10733 PyThreadState* __tstate = wxPyBeginAllowThreads();
10734 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10739 {
10740 if (temp6)
10741 delete arg6;
10742 }
10743 return resultobj;
10744 fail:
10745 {
10746 if (temp6)
10747 delete arg6;
10748 }
10749 return NULL;
10750 }
10751
10752
10753 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10754 PyObject *resultobj = 0;
10755 wxSashWindow *result = 0 ;
10756
10757 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10758 {
10759 if (!wxPyCheckForApp()) SWIG_fail;
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 result = (wxSashWindow *)new wxSashWindow();
10762 wxPyEndAllowThreads(__tstate);
10763 if (PyErr_Occurred()) SWIG_fail;
10764 }
10765 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10766 return resultobj;
10767 fail:
10768 return NULL;
10769 }
10770
10771
10772 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10773 PyObject *resultobj = 0;
10774 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10775 wxWindow *arg2 = (wxWindow *) 0 ;
10776 int arg3 = (int) -1 ;
10777 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10778 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10779 wxSize const &arg5_defvalue = wxDefaultSize ;
10780 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10781 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10782 wxString const &arg7_defvalue = wxPySashNameStr ;
10783 wxString *arg7 = (wxString *) &arg7_defvalue ;
10784 bool result;
10785 void *argp1 = 0 ;
10786 int res1 = 0 ;
10787 void *argp2 = 0 ;
10788 int res2 = 0 ;
10789 int val3 ;
10790 int ecode3 = 0 ;
10791 wxPoint temp4 ;
10792 wxSize temp5 ;
10793 long val6 ;
10794 int ecode6 = 0 ;
10795 bool temp7 = false ;
10796 PyObject * obj0 = 0 ;
10797 PyObject * obj1 = 0 ;
10798 PyObject * obj2 = 0 ;
10799 PyObject * obj3 = 0 ;
10800 PyObject * obj4 = 0 ;
10801 PyObject * obj5 = 0 ;
10802 PyObject * obj6 = 0 ;
10803 char * kwnames[] = {
10804 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10805 };
10806
10807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10809 if (!SWIG_IsOK(res1)) {
10810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10811 }
10812 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10813 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10814 if (!SWIG_IsOK(res2)) {
10815 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10816 }
10817 arg2 = reinterpret_cast< wxWindow * >(argp2);
10818 if (obj2) {
10819 ecode3 = SWIG_AsVal_int(obj2, &val3);
10820 if (!SWIG_IsOK(ecode3)) {
10821 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10822 }
10823 arg3 = static_cast< int >(val3);
10824 }
10825 if (obj3) {
10826 {
10827 arg4 = &temp4;
10828 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10829 }
10830 }
10831 if (obj4) {
10832 {
10833 arg5 = &temp5;
10834 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10835 }
10836 }
10837 if (obj5) {
10838 ecode6 = SWIG_AsVal_long(obj5, &val6);
10839 if (!SWIG_IsOK(ecode6)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10841 }
10842 arg6 = static_cast< long >(val6);
10843 }
10844 if (obj6) {
10845 {
10846 arg7 = wxString_in_helper(obj6);
10847 if (arg7 == NULL) SWIG_fail;
10848 temp7 = true;
10849 }
10850 }
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 {
10858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10859 }
10860 {
10861 if (temp7)
10862 delete arg7;
10863 }
10864 return resultobj;
10865 fail:
10866 {
10867 if (temp7)
10868 delete arg7;
10869 }
10870 return NULL;
10871 }
10872
10873
10874 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10875 PyObject *resultobj = 0;
10876 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10877 wxSashEdgePosition arg2 ;
10878 bool arg3 ;
10879 void *argp1 = 0 ;
10880 int res1 = 0 ;
10881 int val2 ;
10882 int ecode2 = 0 ;
10883 bool val3 ;
10884 int ecode3 = 0 ;
10885 PyObject * obj0 = 0 ;
10886 PyObject * obj1 = 0 ;
10887 PyObject * obj2 = 0 ;
10888 char * kwnames[] = {
10889 (char *) "self",(char *) "edge",(char *) "sash", NULL
10890 };
10891
10892 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10893 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10894 if (!SWIG_IsOK(res1)) {
10895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10896 }
10897 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10898 ecode2 = SWIG_AsVal_int(obj1, &val2);
10899 if (!SWIG_IsOK(ecode2)) {
10900 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10901 }
10902 arg2 = static_cast< wxSashEdgePosition >(val2);
10903 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10904 if (!SWIG_IsOK(ecode3)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10906 }
10907 arg3 = static_cast< bool >(val3);
10908 {
10909 PyThreadState* __tstate = wxPyBeginAllowThreads();
10910 (arg1)->SetSashVisible(arg2,arg3);
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 resultobj = SWIG_Py_Void();
10915 return resultobj;
10916 fail:
10917 return NULL;
10918 }
10919
10920
10921 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10922 PyObject *resultobj = 0;
10923 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10924 wxSashEdgePosition arg2 ;
10925 bool result;
10926 void *argp1 = 0 ;
10927 int res1 = 0 ;
10928 int val2 ;
10929 int ecode2 = 0 ;
10930 PyObject * obj0 = 0 ;
10931 PyObject * obj1 = 0 ;
10932 char * kwnames[] = {
10933 (char *) "self",(char *) "edge", NULL
10934 };
10935
10936 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10937 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10938 if (!SWIG_IsOK(res1)) {
10939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10940 }
10941 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10942 ecode2 = SWIG_AsVal_int(obj1, &val2);
10943 if (!SWIG_IsOK(ecode2)) {
10944 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10945 }
10946 arg2 = static_cast< wxSashEdgePosition >(val2);
10947 {
10948 PyThreadState* __tstate = wxPyBeginAllowThreads();
10949 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 {
10954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10955 }
10956 return resultobj;
10957 fail:
10958 return NULL;
10959 }
10960
10961
10962 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10963 PyObject *resultobj = 0;
10964 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10965 wxSashEdgePosition arg2 ;
10966 bool arg3 ;
10967 void *argp1 = 0 ;
10968 int res1 = 0 ;
10969 int val2 ;
10970 int ecode2 = 0 ;
10971 bool val3 ;
10972 int ecode3 = 0 ;
10973 PyObject * obj0 = 0 ;
10974 PyObject * obj1 = 0 ;
10975 PyObject * obj2 = 0 ;
10976 char * kwnames[] = {
10977 (char *) "self",(char *) "edge",(char *) "border", NULL
10978 };
10979
10980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10982 if (!SWIG_IsOK(res1)) {
10983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10984 }
10985 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10986 ecode2 = SWIG_AsVal_int(obj1, &val2);
10987 if (!SWIG_IsOK(ecode2)) {
10988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10989 }
10990 arg2 = static_cast< wxSashEdgePosition >(val2);
10991 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10992 if (!SWIG_IsOK(ecode3)) {
10993 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10994 }
10995 arg3 = static_cast< bool >(val3);
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 (arg1)->SetSashBorder(arg2,arg3);
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 resultobj = SWIG_Py_Void();
11003 return resultobj;
11004 fail:
11005 return NULL;
11006 }
11007
11008
11009 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11010 PyObject *resultobj = 0;
11011 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11012 wxSashEdgePosition arg2 ;
11013 bool result;
11014 void *argp1 = 0 ;
11015 int res1 = 0 ;
11016 int val2 ;
11017 int ecode2 = 0 ;
11018 PyObject * obj0 = 0 ;
11019 PyObject * obj1 = 0 ;
11020 char * kwnames[] = {
11021 (char *) "self",(char *) "edge", NULL
11022 };
11023
11024 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11025 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11026 if (!SWIG_IsOK(res1)) {
11027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11028 }
11029 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11030 ecode2 = SWIG_AsVal_int(obj1, &val2);
11031 if (!SWIG_IsOK(ecode2)) {
11032 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11033 }
11034 arg2 = static_cast< wxSashEdgePosition >(val2);
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11038 wxPyEndAllowThreads(__tstate);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 }
11041 {
11042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11043 }
11044 return resultobj;
11045 fail:
11046 return NULL;
11047 }
11048
11049
11050 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11051 PyObject *resultobj = 0;
11052 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11053 wxSashEdgePosition arg2 ;
11054 int result;
11055 void *argp1 = 0 ;
11056 int res1 = 0 ;
11057 int val2 ;
11058 int ecode2 = 0 ;
11059 PyObject * obj0 = 0 ;
11060 PyObject * obj1 = 0 ;
11061 char * kwnames[] = {
11062 (char *) "self",(char *) "edge", NULL
11063 };
11064
11065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11067 if (!SWIG_IsOK(res1)) {
11068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11069 }
11070 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11071 ecode2 = SWIG_AsVal_int(obj1, &val2);
11072 if (!SWIG_IsOK(ecode2)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11074 }
11075 arg2 = static_cast< wxSashEdgePosition >(val2);
11076 {
11077 PyThreadState* __tstate = wxPyBeginAllowThreads();
11078 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11079 wxPyEndAllowThreads(__tstate);
11080 if (PyErr_Occurred()) SWIG_fail;
11081 }
11082 resultobj = SWIG_From_int(static_cast< int >(result));
11083 return resultobj;
11084 fail:
11085 return NULL;
11086 }
11087
11088
11089 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11090 PyObject *resultobj = 0;
11091 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11092 int arg2 ;
11093 void *argp1 = 0 ;
11094 int res1 = 0 ;
11095 int val2 ;
11096 int ecode2 = 0 ;
11097 PyObject * obj0 = 0 ;
11098 PyObject * obj1 = 0 ;
11099 char * kwnames[] = {
11100 (char *) "self",(char *) "width", NULL
11101 };
11102
11103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11105 if (!SWIG_IsOK(res1)) {
11106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11107 }
11108 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11109 ecode2 = SWIG_AsVal_int(obj1, &val2);
11110 if (!SWIG_IsOK(ecode2)) {
11111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11112 }
11113 arg2 = static_cast< int >(val2);
11114 {
11115 PyThreadState* __tstate = wxPyBeginAllowThreads();
11116 (arg1)->SetDefaultBorderSize(arg2);
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 resultobj = SWIG_Py_Void();
11121 return resultobj;
11122 fail:
11123 return NULL;
11124 }
11125
11126
11127 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11128 PyObject *resultobj = 0;
11129 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11130 int result;
11131 void *argp1 = 0 ;
11132 int res1 = 0 ;
11133 PyObject *swig_obj[1] ;
11134
11135 if (!args) SWIG_fail;
11136 swig_obj[0] = args;
11137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11138 if (!SWIG_IsOK(res1)) {
11139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11140 }
11141 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11142 {
11143 PyThreadState* __tstate = wxPyBeginAllowThreads();
11144 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11145 wxPyEndAllowThreads(__tstate);
11146 if (PyErr_Occurred()) SWIG_fail;
11147 }
11148 resultobj = SWIG_From_int(static_cast< int >(result));
11149 return resultobj;
11150 fail:
11151 return NULL;
11152 }
11153
11154
11155 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11156 PyObject *resultobj = 0;
11157 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11158 int arg2 ;
11159 void *argp1 = 0 ;
11160 int res1 = 0 ;
11161 int val2 ;
11162 int ecode2 = 0 ;
11163 PyObject * obj0 = 0 ;
11164 PyObject * obj1 = 0 ;
11165 char * kwnames[] = {
11166 (char *) "self",(char *) "width", NULL
11167 };
11168
11169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11171 if (!SWIG_IsOK(res1)) {
11172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11173 }
11174 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11175 ecode2 = SWIG_AsVal_int(obj1, &val2);
11176 if (!SWIG_IsOK(ecode2)) {
11177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11178 }
11179 arg2 = static_cast< int >(val2);
11180 {
11181 PyThreadState* __tstate = wxPyBeginAllowThreads();
11182 (arg1)->SetExtraBorderSize(arg2);
11183 wxPyEndAllowThreads(__tstate);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 resultobj = SWIG_Py_Void();
11187 return resultobj;
11188 fail:
11189 return NULL;
11190 }
11191
11192
11193 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11194 PyObject *resultobj = 0;
11195 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11196 int result;
11197 void *argp1 = 0 ;
11198 int res1 = 0 ;
11199 PyObject *swig_obj[1] ;
11200
11201 if (!args) SWIG_fail;
11202 swig_obj[0] = args;
11203 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11204 if (!SWIG_IsOK(res1)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11206 }
11207 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11208 {
11209 PyThreadState* __tstate = wxPyBeginAllowThreads();
11210 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11211 wxPyEndAllowThreads(__tstate);
11212 if (PyErr_Occurred()) SWIG_fail;
11213 }
11214 resultobj = SWIG_From_int(static_cast< int >(result));
11215 return resultobj;
11216 fail:
11217 return NULL;
11218 }
11219
11220
11221 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11222 PyObject *resultobj = 0;
11223 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11224 int arg2 ;
11225 void *argp1 = 0 ;
11226 int res1 = 0 ;
11227 int val2 ;
11228 int ecode2 = 0 ;
11229 PyObject * obj0 = 0 ;
11230 PyObject * obj1 = 0 ;
11231 char * kwnames[] = {
11232 (char *) "self",(char *) "min", NULL
11233 };
11234
11235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11237 if (!SWIG_IsOK(res1)) {
11238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11239 }
11240 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11241 ecode2 = SWIG_AsVal_int(obj1, &val2);
11242 if (!SWIG_IsOK(ecode2)) {
11243 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11244 }
11245 arg2 = static_cast< int >(val2);
11246 {
11247 PyThreadState* __tstate = wxPyBeginAllowThreads();
11248 (arg1)->SetMinimumSizeX(arg2);
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 resultobj = SWIG_Py_Void();
11253 return resultobj;
11254 fail:
11255 return NULL;
11256 }
11257
11258
11259 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11260 PyObject *resultobj = 0;
11261 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11262 int arg2 ;
11263 void *argp1 = 0 ;
11264 int res1 = 0 ;
11265 int val2 ;
11266 int ecode2 = 0 ;
11267 PyObject * obj0 = 0 ;
11268 PyObject * obj1 = 0 ;
11269 char * kwnames[] = {
11270 (char *) "self",(char *) "min", NULL
11271 };
11272
11273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11275 if (!SWIG_IsOK(res1)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11277 }
11278 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11279 ecode2 = SWIG_AsVal_int(obj1, &val2);
11280 if (!SWIG_IsOK(ecode2)) {
11281 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11282 }
11283 arg2 = static_cast< int >(val2);
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 (arg1)->SetMinimumSizeY(arg2);
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 resultobj = SWIG_Py_Void();
11291 return resultobj;
11292 fail:
11293 return NULL;
11294 }
11295
11296
11297 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11298 PyObject *resultobj = 0;
11299 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11300 int result;
11301 void *argp1 = 0 ;
11302 int res1 = 0 ;
11303 PyObject *swig_obj[1] ;
11304
11305 if (!args) SWIG_fail;
11306 swig_obj[0] = args;
11307 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11308 if (!SWIG_IsOK(res1)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11310 }
11311 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 resultobj = SWIG_From_int(static_cast< int >(result));
11319 return resultobj;
11320 fail:
11321 return NULL;
11322 }
11323
11324
11325 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11326 PyObject *resultobj = 0;
11327 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11328 int result;
11329 void *argp1 = 0 ;
11330 int res1 = 0 ;
11331 PyObject *swig_obj[1] ;
11332
11333 if (!args) SWIG_fail;
11334 swig_obj[0] = args;
11335 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11336 if (!SWIG_IsOK(res1)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11338 }
11339 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 resultobj = SWIG_From_int(static_cast< int >(result));
11347 return resultobj;
11348 fail:
11349 return NULL;
11350 }
11351
11352
11353 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11354 PyObject *resultobj = 0;
11355 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11356 int arg2 ;
11357 void *argp1 = 0 ;
11358 int res1 = 0 ;
11359 int val2 ;
11360 int ecode2 = 0 ;
11361 PyObject * obj0 = 0 ;
11362 PyObject * obj1 = 0 ;
11363 char * kwnames[] = {
11364 (char *) "self",(char *) "max", NULL
11365 };
11366
11367 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11368 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11369 if (!SWIG_IsOK(res1)) {
11370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11371 }
11372 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11373 ecode2 = SWIG_AsVal_int(obj1, &val2);
11374 if (!SWIG_IsOK(ecode2)) {
11375 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11376 }
11377 arg2 = static_cast< int >(val2);
11378 {
11379 PyThreadState* __tstate = wxPyBeginAllowThreads();
11380 (arg1)->SetMaximumSizeX(arg2);
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 resultobj = SWIG_Py_Void();
11385 return resultobj;
11386 fail:
11387 return NULL;
11388 }
11389
11390
11391 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11392 PyObject *resultobj = 0;
11393 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11394 int arg2 ;
11395 void *argp1 = 0 ;
11396 int res1 = 0 ;
11397 int val2 ;
11398 int ecode2 = 0 ;
11399 PyObject * obj0 = 0 ;
11400 PyObject * obj1 = 0 ;
11401 char * kwnames[] = {
11402 (char *) "self",(char *) "max", NULL
11403 };
11404
11405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11407 if (!SWIG_IsOK(res1)) {
11408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11409 }
11410 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11411 ecode2 = SWIG_AsVal_int(obj1, &val2);
11412 if (!SWIG_IsOK(ecode2)) {
11413 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11414 }
11415 arg2 = static_cast< int >(val2);
11416 {
11417 PyThreadState* __tstate = wxPyBeginAllowThreads();
11418 (arg1)->SetMaximumSizeY(arg2);
11419 wxPyEndAllowThreads(__tstate);
11420 if (PyErr_Occurred()) SWIG_fail;
11421 }
11422 resultobj = SWIG_Py_Void();
11423 return resultobj;
11424 fail:
11425 return NULL;
11426 }
11427
11428
11429 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11430 PyObject *resultobj = 0;
11431 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11432 int result;
11433 void *argp1 = 0 ;
11434 int res1 = 0 ;
11435 PyObject *swig_obj[1] ;
11436
11437 if (!args) SWIG_fail;
11438 swig_obj[0] = args;
11439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11440 if (!SWIG_IsOK(res1)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11442 }
11443 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 resultobj = SWIG_From_int(static_cast< int >(result));
11451 return resultobj;
11452 fail:
11453 return NULL;
11454 }
11455
11456
11457 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11458 PyObject *resultobj = 0;
11459 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11460 int result;
11461 void *argp1 = 0 ;
11462 int res1 = 0 ;
11463 PyObject *swig_obj[1] ;
11464
11465 if (!args) SWIG_fail;
11466 swig_obj[0] = args;
11467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11468 if (!SWIG_IsOK(res1)) {
11469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11470 }
11471 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 resultobj = SWIG_From_int(static_cast< int >(result));
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj = 0;
11487 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11488 int arg2 ;
11489 int arg3 ;
11490 int arg4 = (int) 2 ;
11491 wxSashEdgePosition result;
11492 void *argp1 = 0 ;
11493 int res1 = 0 ;
11494 int val2 ;
11495 int ecode2 = 0 ;
11496 int val3 ;
11497 int ecode3 = 0 ;
11498 int val4 ;
11499 int ecode4 = 0 ;
11500 PyObject * obj0 = 0 ;
11501 PyObject * obj1 = 0 ;
11502 PyObject * obj2 = 0 ;
11503 PyObject * obj3 = 0 ;
11504 char * kwnames[] = {
11505 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11506 };
11507
11508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11510 if (!SWIG_IsOK(res1)) {
11511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11512 }
11513 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11514 ecode2 = SWIG_AsVal_int(obj1, &val2);
11515 if (!SWIG_IsOK(ecode2)) {
11516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11517 }
11518 arg2 = static_cast< int >(val2);
11519 ecode3 = SWIG_AsVal_int(obj2, &val3);
11520 if (!SWIG_IsOK(ecode3)) {
11521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11522 }
11523 arg3 = static_cast< int >(val3);
11524 if (obj3) {
11525 ecode4 = SWIG_AsVal_int(obj3, &val4);
11526 if (!SWIG_IsOK(ecode4)) {
11527 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11528 }
11529 arg4 = static_cast< int >(val4);
11530 }
11531 {
11532 PyThreadState* __tstate = wxPyBeginAllowThreads();
11533 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 resultobj = SWIG_From_int(static_cast< int >(result));
11538 return resultobj;
11539 fail:
11540 return NULL;
11541 }
11542
11543
11544 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11545 PyObject *resultobj = 0;
11546 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11547 void *argp1 = 0 ;
11548 int res1 = 0 ;
11549 PyObject *swig_obj[1] ;
11550
11551 if (!args) SWIG_fail;
11552 swig_obj[0] = args;
11553 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11554 if (!SWIG_IsOK(res1)) {
11555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11556 }
11557 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 (arg1)->SizeWindows();
11561 wxPyEndAllowThreads(__tstate);
11562 if (PyErr_Occurred()) SWIG_fail;
11563 }
11564 resultobj = SWIG_Py_Void();
11565 return resultobj;
11566 fail:
11567 return NULL;
11568 }
11569
11570
11571 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11572 PyObject *obj;
11573 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11574 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11575 return SWIG_Py_Void();
11576 }
11577
11578 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11579 return SWIG_Python_InitShadowInstance(args);
11580 }
11581
11582 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11583 PyObject *resultobj = 0;
11584 int arg1 = (int) 0 ;
11585 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11586 wxSashEvent *result = 0 ;
11587 int val1 ;
11588 int ecode1 = 0 ;
11589 int val2 ;
11590 int ecode2 = 0 ;
11591 PyObject * obj0 = 0 ;
11592 PyObject * obj1 = 0 ;
11593 char * kwnames[] = {
11594 (char *) "id",(char *) "edge", NULL
11595 };
11596
11597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11598 if (obj0) {
11599 ecode1 = SWIG_AsVal_int(obj0, &val1);
11600 if (!SWIG_IsOK(ecode1)) {
11601 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11602 }
11603 arg1 = static_cast< int >(val1);
11604 }
11605 if (obj1) {
11606 ecode2 = SWIG_AsVal_int(obj1, &val2);
11607 if (!SWIG_IsOK(ecode2)) {
11608 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11609 }
11610 arg2 = static_cast< wxSashEdgePosition >(val2);
11611 }
11612 {
11613 PyThreadState* __tstate = wxPyBeginAllowThreads();
11614 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11619 return resultobj;
11620 fail:
11621 return NULL;
11622 }
11623
11624
11625 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11626 PyObject *resultobj = 0;
11627 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11628 wxSashEdgePosition arg2 ;
11629 void *argp1 = 0 ;
11630 int res1 = 0 ;
11631 int val2 ;
11632 int ecode2 = 0 ;
11633 PyObject * obj0 = 0 ;
11634 PyObject * obj1 = 0 ;
11635 char * kwnames[] = {
11636 (char *) "self",(char *) "edge", NULL
11637 };
11638
11639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11641 if (!SWIG_IsOK(res1)) {
11642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11643 }
11644 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11645 ecode2 = SWIG_AsVal_int(obj1, &val2);
11646 if (!SWIG_IsOK(ecode2)) {
11647 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11648 }
11649 arg2 = static_cast< wxSashEdgePosition >(val2);
11650 {
11651 PyThreadState* __tstate = wxPyBeginAllowThreads();
11652 (arg1)->SetEdge(arg2);
11653 wxPyEndAllowThreads(__tstate);
11654 if (PyErr_Occurred()) SWIG_fail;
11655 }
11656 resultobj = SWIG_Py_Void();
11657 return resultobj;
11658 fail:
11659 return NULL;
11660 }
11661
11662
11663 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11664 PyObject *resultobj = 0;
11665 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11666 wxSashEdgePosition result;
11667 void *argp1 = 0 ;
11668 int res1 = 0 ;
11669 PyObject *swig_obj[1] ;
11670
11671 if (!args) SWIG_fail;
11672 swig_obj[0] = args;
11673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11674 if (!SWIG_IsOK(res1)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11676 }
11677 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11678 {
11679 PyThreadState* __tstate = wxPyBeginAllowThreads();
11680 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11681 wxPyEndAllowThreads(__tstate);
11682 if (PyErr_Occurred()) SWIG_fail;
11683 }
11684 resultobj = SWIG_From_int(static_cast< int >(result));
11685 return resultobj;
11686 fail:
11687 return NULL;
11688 }
11689
11690
11691 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11692 PyObject *resultobj = 0;
11693 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11694 wxRect *arg2 = 0 ;
11695 void *argp1 = 0 ;
11696 int res1 = 0 ;
11697 wxRect temp2 ;
11698 PyObject * obj0 = 0 ;
11699 PyObject * obj1 = 0 ;
11700 char * kwnames[] = {
11701 (char *) "self",(char *) "rect", NULL
11702 };
11703
11704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11706 if (!SWIG_IsOK(res1)) {
11707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11708 }
11709 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11710 {
11711 arg2 = &temp2;
11712 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11713 }
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 (arg1)->SetDragRect((wxRect const &)*arg2);
11717 wxPyEndAllowThreads(__tstate);
11718 if (PyErr_Occurred()) SWIG_fail;
11719 }
11720 resultobj = SWIG_Py_Void();
11721 return resultobj;
11722 fail:
11723 return NULL;
11724 }
11725
11726
11727 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11728 PyObject *resultobj = 0;
11729 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11730 wxRect result;
11731 void *argp1 = 0 ;
11732 int res1 = 0 ;
11733 PyObject *swig_obj[1] ;
11734
11735 if (!args) SWIG_fail;
11736 swig_obj[0] = args;
11737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11738 if (!SWIG_IsOK(res1)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11740 }
11741 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11742 {
11743 PyThreadState* __tstate = wxPyBeginAllowThreads();
11744 result = ((wxSashEvent const *)arg1)->GetDragRect();
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11749 return resultobj;
11750 fail:
11751 return NULL;
11752 }
11753
11754
11755 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11756 PyObject *resultobj = 0;
11757 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11758 wxSashDragStatus arg2 ;
11759 void *argp1 = 0 ;
11760 int res1 = 0 ;
11761 int val2 ;
11762 int ecode2 = 0 ;
11763 PyObject * obj0 = 0 ;
11764 PyObject * obj1 = 0 ;
11765 char * kwnames[] = {
11766 (char *) "self",(char *) "status", NULL
11767 };
11768
11769 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11770 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11771 if (!SWIG_IsOK(res1)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11773 }
11774 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11775 ecode2 = SWIG_AsVal_int(obj1, &val2);
11776 if (!SWIG_IsOK(ecode2)) {
11777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11778 }
11779 arg2 = static_cast< wxSashDragStatus >(val2);
11780 {
11781 PyThreadState* __tstate = wxPyBeginAllowThreads();
11782 (arg1)->SetDragStatus(arg2);
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 resultobj = SWIG_Py_Void();
11787 return resultobj;
11788 fail:
11789 return NULL;
11790 }
11791
11792
11793 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11794 PyObject *resultobj = 0;
11795 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11796 wxSashDragStatus result;
11797 void *argp1 = 0 ;
11798 int res1 = 0 ;
11799 PyObject *swig_obj[1] ;
11800
11801 if (!args) SWIG_fail;
11802 swig_obj[0] = args;
11803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11804 if (!SWIG_IsOK(res1)) {
11805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11806 }
11807 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11808 {
11809 PyThreadState* __tstate = wxPyBeginAllowThreads();
11810 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 resultobj = SWIG_From_int(static_cast< int >(result));
11815 return resultobj;
11816 fail:
11817 return NULL;
11818 }
11819
11820
11821 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11822 PyObject *obj;
11823 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11824 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11825 return SWIG_Py_Void();
11826 }
11827
11828 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11829 return SWIG_Python_InitShadowInstance(args);
11830 }
11831
11832 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11833 PyObject *resultobj = 0;
11834 int arg1 = (int) 0 ;
11835 wxQueryLayoutInfoEvent *result = 0 ;
11836 int val1 ;
11837 int ecode1 = 0 ;
11838 PyObject * obj0 = 0 ;
11839 char * kwnames[] = {
11840 (char *) "id", NULL
11841 };
11842
11843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11844 if (obj0) {
11845 ecode1 = SWIG_AsVal_int(obj0, &val1);
11846 if (!SWIG_IsOK(ecode1)) {
11847 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11848 }
11849 arg1 = static_cast< int >(val1);
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11858 return resultobj;
11859 fail:
11860 return NULL;
11861 }
11862
11863
11864 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj = 0;
11866 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11867 int arg2 ;
11868 void *argp1 = 0 ;
11869 int res1 = 0 ;
11870 int val2 ;
11871 int ecode2 = 0 ;
11872 PyObject * obj0 = 0 ;
11873 PyObject * obj1 = 0 ;
11874 char * kwnames[] = {
11875 (char *) "self",(char *) "length", NULL
11876 };
11877
11878 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11879 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11880 if (!SWIG_IsOK(res1)) {
11881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11882 }
11883 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11884 ecode2 = SWIG_AsVal_int(obj1, &val2);
11885 if (!SWIG_IsOK(ecode2)) {
11886 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11887 }
11888 arg2 = static_cast< int >(val2);
11889 {
11890 PyThreadState* __tstate = wxPyBeginAllowThreads();
11891 (arg1)->SetRequestedLength(arg2);
11892 wxPyEndAllowThreads(__tstate);
11893 if (PyErr_Occurred()) SWIG_fail;
11894 }
11895 resultobj = SWIG_Py_Void();
11896 return resultobj;
11897 fail:
11898 return NULL;
11899 }
11900
11901
11902 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11903 PyObject *resultobj = 0;
11904 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11905 int result;
11906 void *argp1 = 0 ;
11907 int res1 = 0 ;
11908 PyObject *swig_obj[1] ;
11909
11910 if (!args) SWIG_fail;
11911 swig_obj[0] = args;
11912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11913 if (!SWIG_IsOK(res1)) {
11914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11915 }
11916 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11920 wxPyEndAllowThreads(__tstate);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 resultobj = SWIG_From_int(static_cast< int >(result));
11924 return resultobj;
11925 fail:
11926 return NULL;
11927 }
11928
11929
11930 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11931 PyObject *resultobj = 0;
11932 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11933 int arg2 ;
11934 void *argp1 = 0 ;
11935 int res1 = 0 ;
11936 int val2 ;
11937 int ecode2 = 0 ;
11938 PyObject * obj0 = 0 ;
11939 PyObject * obj1 = 0 ;
11940 char * kwnames[] = {
11941 (char *) "self",(char *) "flags", NULL
11942 };
11943
11944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
11945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11946 if (!SWIG_IsOK(res1)) {
11947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11948 }
11949 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11950 ecode2 = SWIG_AsVal_int(obj1, &val2);
11951 if (!SWIG_IsOK(ecode2)) {
11952 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11953 }
11954 arg2 = static_cast< int >(val2);
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 (arg1)->SetFlags(arg2);
11958 wxPyEndAllowThreads(__tstate);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 resultobj = SWIG_Py_Void();
11962 return resultobj;
11963 fail:
11964 return NULL;
11965 }
11966
11967
11968 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11969 PyObject *resultobj = 0;
11970 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11971 int result;
11972 void *argp1 = 0 ;
11973 int res1 = 0 ;
11974 PyObject *swig_obj[1] ;
11975
11976 if (!args) SWIG_fail;
11977 swig_obj[0] = args;
11978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11979 if (!SWIG_IsOK(res1)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11981 }
11982 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11983 {
11984 PyThreadState* __tstate = wxPyBeginAllowThreads();
11985 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
11986 wxPyEndAllowThreads(__tstate);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 resultobj = SWIG_From_int(static_cast< int >(result));
11990 return resultobj;
11991 fail:
11992 return NULL;
11993 }
11994
11995
11996 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11997 PyObject *resultobj = 0;
11998 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11999 wxSize *arg2 = 0 ;
12000 void *argp1 = 0 ;
12001 int res1 = 0 ;
12002 wxSize temp2 ;
12003 PyObject * obj0 = 0 ;
12004 PyObject * obj1 = 0 ;
12005 char * kwnames[] = {
12006 (char *) "self",(char *) "size", NULL
12007 };
12008
12009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12011 if (!SWIG_IsOK(res1)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12013 }
12014 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12015 {
12016 arg2 = &temp2;
12017 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12018 }
12019 {
12020 PyThreadState* __tstate = wxPyBeginAllowThreads();
12021 (arg1)->SetSize((wxSize const &)*arg2);
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 resultobj = SWIG_Py_Void();
12026 return resultobj;
12027 fail:
12028 return NULL;
12029 }
12030
12031
12032 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12033 PyObject *resultobj = 0;
12034 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12035 wxSize result;
12036 void *argp1 = 0 ;
12037 int res1 = 0 ;
12038 PyObject *swig_obj[1] ;
12039
12040 if (!args) SWIG_fail;
12041 swig_obj[0] = args;
12042 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12043 if (!SWIG_IsOK(res1)) {
12044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12045 }
12046 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12047 {
12048 PyThreadState* __tstate = wxPyBeginAllowThreads();
12049 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12054 return resultobj;
12055 fail:
12056 return NULL;
12057 }
12058
12059
12060 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12061 PyObject *resultobj = 0;
12062 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12063 wxLayoutOrientation arg2 ;
12064 void *argp1 = 0 ;
12065 int res1 = 0 ;
12066 int val2 ;
12067 int ecode2 = 0 ;
12068 PyObject * obj0 = 0 ;
12069 PyObject * obj1 = 0 ;
12070 char * kwnames[] = {
12071 (char *) "self",(char *) "orient", NULL
12072 };
12073
12074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12076 if (!SWIG_IsOK(res1)) {
12077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12078 }
12079 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12080 ecode2 = SWIG_AsVal_int(obj1, &val2);
12081 if (!SWIG_IsOK(ecode2)) {
12082 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12083 }
12084 arg2 = static_cast< wxLayoutOrientation >(val2);
12085 {
12086 PyThreadState* __tstate = wxPyBeginAllowThreads();
12087 (arg1)->SetOrientation(arg2);
12088 wxPyEndAllowThreads(__tstate);
12089 if (PyErr_Occurred()) SWIG_fail;
12090 }
12091 resultobj = SWIG_Py_Void();
12092 return resultobj;
12093 fail:
12094 return NULL;
12095 }
12096
12097
12098 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12099 PyObject *resultobj = 0;
12100 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12101 wxLayoutOrientation result;
12102 void *argp1 = 0 ;
12103 int res1 = 0 ;
12104 PyObject *swig_obj[1] ;
12105
12106 if (!args) SWIG_fail;
12107 swig_obj[0] = args;
12108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12109 if (!SWIG_IsOK(res1)) {
12110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12111 }
12112 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12113 {
12114 PyThreadState* __tstate = wxPyBeginAllowThreads();
12115 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12116 wxPyEndAllowThreads(__tstate);
12117 if (PyErr_Occurred()) SWIG_fail;
12118 }
12119 resultobj = SWIG_From_int(static_cast< int >(result));
12120 return resultobj;
12121 fail:
12122 return NULL;
12123 }
12124
12125
12126 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12127 PyObject *resultobj = 0;
12128 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12129 wxLayoutAlignment arg2 ;
12130 void *argp1 = 0 ;
12131 int res1 = 0 ;
12132 int val2 ;
12133 int ecode2 = 0 ;
12134 PyObject * obj0 = 0 ;
12135 PyObject * obj1 = 0 ;
12136 char * kwnames[] = {
12137 (char *) "self",(char *) "align", NULL
12138 };
12139
12140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12142 if (!SWIG_IsOK(res1)) {
12143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12144 }
12145 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12146 ecode2 = SWIG_AsVal_int(obj1, &val2);
12147 if (!SWIG_IsOK(ecode2)) {
12148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12149 }
12150 arg2 = static_cast< wxLayoutAlignment >(val2);
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 (arg1)->SetAlignment(arg2);
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 }
12157 resultobj = SWIG_Py_Void();
12158 return resultobj;
12159 fail:
12160 return NULL;
12161 }
12162
12163
12164 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12165 PyObject *resultobj = 0;
12166 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12167 wxLayoutAlignment result;
12168 void *argp1 = 0 ;
12169 int res1 = 0 ;
12170 PyObject *swig_obj[1] ;
12171
12172 if (!args) SWIG_fail;
12173 swig_obj[0] = args;
12174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12175 if (!SWIG_IsOK(res1)) {
12176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12177 }
12178 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12179 {
12180 PyThreadState* __tstate = wxPyBeginAllowThreads();
12181 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12182 wxPyEndAllowThreads(__tstate);
12183 if (PyErr_Occurred()) SWIG_fail;
12184 }
12185 resultobj = SWIG_From_int(static_cast< int >(result));
12186 return resultobj;
12187 fail:
12188 return NULL;
12189 }
12190
12191
12192 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12193 PyObject *obj;
12194 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12195 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12196 return SWIG_Py_Void();
12197 }
12198
12199 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12200 return SWIG_Python_InitShadowInstance(args);
12201 }
12202
12203 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj = 0;
12205 int arg1 = (int) 0 ;
12206 wxCalculateLayoutEvent *result = 0 ;
12207 int val1 ;
12208 int ecode1 = 0 ;
12209 PyObject * obj0 = 0 ;
12210 char * kwnames[] = {
12211 (char *) "id", NULL
12212 };
12213
12214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12215 if (obj0) {
12216 ecode1 = SWIG_AsVal_int(obj0, &val1);
12217 if (!SWIG_IsOK(ecode1)) {
12218 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12219 }
12220 arg1 = static_cast< int >(val1);
12221 }
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12229 return resultobj;
12230 fail:
12231 return NULL;
12232 }
12233
12234
12235 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12236 PyObject *resultobj = 0;
12237 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12238 int arg2 ;
12239 void *argp1 = 0 ;
12240 int res1 = 0 ;
12241 int val2 ;
12242 int ecode2 = 0 ;
12243 PyObject * obj0 = 0 ;
12244 PyObject * obj1 = 0 ;
12245 char * kwnames[] = {
12246 (char *) "self",(char *) "flags", NULL
12247 };
12248
12249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12251 if (!SWIG_IsOK(res1)) {
12252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12253 }
12254 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12255 ecode2 = SWIG_AsVal_int(obj1, &val2);
12256 if (!SWIG_IsOK(ecode2)) {
12257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12258 }
12259 arg2 = static_cast< int >(val2);
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 (arg1)->SetFlags(arg2);
12263 wxPyEndAllowThreads(__tstate);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 }
12266 resultobj = SWIG_Py_Void();
12267 return resultobj;
12268 fail:
12269 return NULL;
12270 }
12271
12272
12273 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12274 PyObject *resultobj = 0;
12275 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12276 int result;
12277 void *argp1 = 0 ;
12278 int res1 = 0 ;
12279 PyObject *swig_obj[1] ;
12280
12281 if (!args) SWIG_fail;
12282 swig_obj[0] = args;
12283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12284 if (!SWIG_IsOK(res1)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12286 }
12287 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12288 {
12289 PyThreadState* __tstate = wxPyBeginAllowThreads();
12290 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12291 wxPyEndAllowThreads(__tstate);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
12294 resultobj = SWIG_From_int(static_cast< int >(result));
12295 return resultobj;
12296 fail:
12297 return NULL;
12298 }
12299
12300
12301 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12302 PyObject *resultobj = 0;
12303 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12304 wxRect *arg2 = 0 ;
12305 void *argp1 = 0 ;
12306 int res1 = 0 ;
12307 wxRect temp2 ;
12308 PyObject * obj0 = 0 ;
12309 PyObject * obj1 = 0 ;
12310 char * kwnames[] = {
12311 (char *) "self",(char *) "rect", NULL
12312 };
12313
12314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12316 if (!SWIG_IsOK(res1)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12318 }
12319 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12320 {
12321 arg2 = &temp2;
12322 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12323 }
12324 {
12325 PyThreadState* __tstate = wxPyBeginAllowThreads();
12326 (arg1)->SetRect((wxRect const &)*arg2);
12327 wxPyEndAllowThreads(__tstate);
12328 if (PyErr_Occurred()) SWIG_fail;
12329 }
12330 resultobj = SWIG_Py_Void();
12331 return resultobj;
12332 fail:
12333 return NULL;
12334 }
12335
12336
12337 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12338 PyObject *resultobj = 0;
12339 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12340 wxRect result;
12341 void *argp1 = 0 ;
12342 int res1 = 0 ;
12343 PyObject *swig_obj[1] ;
12344
12345 if (!args) SWIG_fail;
12346 swig_obj[0] = args;
12347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12348 if (!SWIG_IsOK(res1)) {
12349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12350 }
12351 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12352 {
12353 PyThreadState* __tstate = wxPyBeginAllowThreads();
12354 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12355 wxPyEndAllowThreads(__tstate);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12359 return resultobj;
12360 fail:
12361 return NULL;
12362 }
12363
12364
12365 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12366 PyObject *obj;
12367 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12368 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12369 return SWIG_Py_Void();
12370 }
12371
12372 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12373 return SWIG_Python_InitShadowInstance(args);
12374 }
12375
12376 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12377 PyObject *resultobj = 0;
12378 wxWindow *arg1 = (wxWindow *) 0 ;
12379 int arg2 = (int) -1 ;
12380 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12381 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12382 wxSize const &arg4_defvalue = wxDefaultSize ;
12383 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12384 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12385 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12386 wxString *arg6 = (wxString *) &arg6_defvalue ;
12387 wxSashLayoutWindow *result = 0 ;
12388 void *argp1 = 0 ;
12389 int res1 = 0 ;
12390 int val2 ;
12391 int ecode2 = 0 ;
12392 wxPoint temp3 ;
12393 wxSize temp4 ;
12394 long val5 ;
12395 int ecode5 = 0 ;
12396 bool temp6 = false ;
12397 PyObject * obj0 = 0 ;
12398 PyObject * obj1 = 0 ;
12399 PyObject * obj2 = 0 ;
12400 PyObject * obj3 = 0 ;
12401 PyObject * obj4 = 0 ;
12402 PyObject * obj5 = 0 ;
12403 char * kwnames[] = {
12404 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12405 };
12406
12407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12409 if (!SWIG_IsOK(res1)) {
12410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12411 }
12412 arg1 = reinterpret_cast< wxWindow * >(argp1);
12413 if (obj1) {
12414 ecode2 = SWIG_AsVal_int(obj1, &val2);
12415 if (!SWIG_IsOK(ecode2)) {
12416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12417 }
12418 arg2 = static_cast< int >(val2);
12419 }
12420 if (obj2) {
12421 {
12422 arg3 = &temp3;
12423 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12424 }
12425 }
12426 if (obj3) {
12427 {
12428 arg4 = &temp4;
12429 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12430 }
12431 }
12432 if (obj4) {
12433 ecode5 = SWIG_AsVal_long(obj4, &val5);
12434 if (!SWIG_IsOK(ecode5)) {
12435 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12436 }
12437 arg5 = static_cast< long >(val5);
12438 }
12439 if (obj5) {
12440 {
12441 arg6 = wxString_in_helper(obj5);
12442 if (arg6 == NULL) SWIG_fail;
12443 temp6 = true;
12444 }
12445 }
12446 {
12447 if (!wxPyCheckForApp()) SWIG_fail;
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12450 wxPyEndAllowThreads(__tstate);
12451 if (PyErr_Occurred()) SWIG_fail;
12452 }
12453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12454 {
12455 if (temp6)
12456 delete arg6;
12457 }
12458 return resultobj;
12459 fail:
12460 {
12461 if (temp6)
12462 delete arg6;
12463 }
12464 return NULL;
12465 }
12466
12467
12468 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12469 PyObject *resultobj = 0;
12470 wxSashLayoutWindow *result = 0 ;
12471
12472 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12473 {
12474 if (!wxPyCheckForApp()) SWIG_fail;
12475 PyThreadState* __tstate = wxPyBeginAllowThreads();
12476 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12477 wxPyEndAllowThreads(__tstate);
12478 if (PyErr_Occurred()) SWIG_fail;
12479 }
12480 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12481 return resultobj;
12482 fail:
12483 return NULL;
12484 }
12485
12486
12487 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12488 PyObject *resultobj = 0;
12489 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12490 wxWindow *arg2 = (wxWindow *) 0 ;
12491 int arg3 = (int) -1 ;
12492 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12493 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12494 wxSize const &arg5_defvalue = wxDefaultSize ;
12495 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12496 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12497 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12498 wxString *arg7 = (wxString *) &arg7_defvalue ;
12499 bool result;
12500 void *argp1 = 0 ;
12501 int res1 = 0 ;
12502 void *argp2 = 0 ;
12503 int res2 = 0 ;
12504 int val3 ;
12505 int ecode3 = 0 ;
12506 wxPoint temp4 ;
12507 wxSize temp5 ;
12508 long val6 ;
12509 int ecode6 = 0 ;
12510 bool temp7 = false ;
12511 PyObject * obj0 = 0 ;
12512 PyObject * obj1 = 0 ;
12513 PyObject * obj2 = 0 ;
12514 PyObject * obj3 = 0 ;
12515 PyObject * obj4 = 0 ;
12516 PyObject * obj5 = 0 ;
12517 PyObject * obj6 = 0 ;
12518 char * kwnames[] = {
12519 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12520 };
12521
12522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12524 if (!SWIG_IsOK(res1)) {
12525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12526 }
12527 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12528 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12529 if (!SWIG_IsOK(res2)) {
12530 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12531 }
12532 arg2 = reinterpret_cast< wxWindow * >(argp2);
12533 if (obj2) {
12534 ecode3 = SWIG_AsVal_int(obj2, &val3);
12535 if (!SWIG_IsOK(ecode3)) {
12536 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12537 }
12538 arg3 = static_cast< int >(val3);
12539 }
12540 if (obj3) {
12541 {
12542 arg4 = &temp4;
12543 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12544 }
12545 }
12546 if (obj4) {
12547 {
12548 arg5 = &temp5;
12549 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12550 }
12551 }
12552 if (obj5) {
12553 ecode6 = SWIG_AsVal_long(obj5, &val6);
12554 if (!SWIG_IsOK(ecode6)) {
12555 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12556 }
12557 arg6 = static_cast< long >(val6);
12558 }
12559 if (obj6) {
12560 {
12561 arg7 = wxString_in_helper(obj6);
12562 if (arg7 == NULL) SWIG_fail;
12563 temp7 = true;
12564 }
12565 }
12566 {
12567 PyThreadState* __tstate = wxPyBeginAllowThreads();
12568 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12569 wxPyEndAllowThreads(__tstate);
12570 if (PyErr_Occurred()) SWIG_fail;
12571 }
12572 {
12573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12574 }
12575 {
12576 if (temp7)
12577 delete arg7;
12578 }
12579 return resultobj;
12580 fail:
12581 {
12582 if (temp7)
12583 delete arg7;
12584 }
12585 return NULL;
12586 }
12587
12588
12589 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12590 PyObject *resultobj = 0;
12591 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12592 wxLayoutAlignment result;
12593 void *argp1 = 0 ;
12594 int res1 = 0 ;
12595 PyObject *swig_obj[1] ;
12596
12597 if (!args) SWIG_fail;
12598 swig_obj[0] = args;
12599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12600 if (!SWIG_IsOK(res1)) {
12601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12602 }
12603 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12604 {
12605 PyThreadState* __tstate = wxPyBeginAllowThreads();
12606 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12607 wxPyEndAllowThreads(__tstate);
12608 if (PyErr_Occurred()) SWIG_fail;
12609 }
12610 resultobj = SWIG_From_int(static_cast< int >(result));
12611 return resultobj;
12612 fail:
12613 return NULL;
12614 }
12615
12616
12617 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12618 PyObject *resultobj = 0;
12619 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12620 wxLayoutOrientation result;
12621 void *argp1 = 0 ;
12622 int res1 = 0 ;
12623 PyObject *swig_obj[1] ;
12624
12625 if (!args) SWIG_fail;
12626 swig_obj[0] = args;
12627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12628 if (!SWIG_IsOK(res1)) {
12629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12630 }
12631 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12635 wxPyEndAllowThreads(__tstate);
12636 if (PyErr_Occurred()) SWIG_fail;
12637 }
12638 resultobj = SWIG_From_int(static_cast< int >(result));
12639 return resultobj;
12640 fail:
12641 return NULL;
12642 }
12643
12644
12645 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12646 PyObject *resultobj = 0;
12647 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12648 wxLayoutAlignment arg2 ;
12649 void *argp1 = 0 ;
12650 int res1 = 0 ;
12651 int val2 ;
12652 int ecode2 = 0 ;
12653 PyObject * obj0 = 0 ;
12654 PyObject * obj1 = 0 ;
12655 char * kwnames[] = {
12656 (char *) "self",(char *) "alignment", NULL
12657 };
12658
12659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12661 if (!SWIG_IsOK(res1)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12663 }
12664 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12665 ecode2 = SWIG_AsVal_int(obj1, &val2);
12666 if (!SWIG_IsOK(ecode2)) {
12667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12668 }
12669 arg2 = static_cast< wxLayoutAlignment >(val2);
12670 {
12671 PyThreadState* __tstate = wxPyBeginAllowThreads();
12672 (arg1)->SetAlignment(arg2);
12673 wxPyEndAllowThreads(__tstate);
12674 if (PyErr_Occurred()) SWIG_fail;
12675 }
12676 resultobj = SWIG_Py_Void();
12677 return resultobj;
12678 fail:
12679 return NULL;
12680 }
12681
12682
12683 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12684 PyObject *resultobj = 0;
12685 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12686 wxSize *arg2 = 0 ;
12687 void *argp1 = 0 ;
12688 int res1 = 0 ;
12689 wxSize temp2 ;
12690 PyObject * obj0 = 0 ;
12691 PyObject * obj1 = 0 ;
12692 char * kwnames[] = {
12693 (char *) "self",(char *) "size", NULL
12694 };
12695
12696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12698 if (!SWIG_IsOK(res1)) {
12699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12700 }
12701 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12702 {
12703 arg2 = &temp2;
12704 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12705 }
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12709 wxPyEndAllowThreads(__tstate);
12710 if (PyErr_Occurred()) SWIG_fail;
12711 }
12712 resultobj = SWIG_Py_Void();
12713 return resultobj;
12714 fail:
12715 return NULL;
12716 }
12717
12718
12719 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12720 PyObject *resultobj = 0;
12721 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12722 wxLayoutOrientation arg2 ;
12723 void *argp1 = 0 ;
12724 int res1 = 0 ;
12725 int val2 ;
12726 int ecode2 = 0 ;
12727 PyObject * obj0 = 0 ;
12728 PyObject * obj1 = 0 ;
12729 char * kwnames[] = {
12730 (char *) "self",(char *) "orientation", NULL
12731 };
12732
12733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12735 if (!SWIG_IsOK(res1)) {
12736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12737 }
12738 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12739 ecode2 = SWIG_AsVal_int(obj1, &val2);
12740 if (!SWIG_IsOK(ecode2)) {
12741 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12742 }
12743 arg2 = static_cast< wxLayoutOrientation >(val2);
12744 {
12745 PyThreadState* __tstate = wxPyBeginAllowThreads();
12746 (arg1)->SetOrientation(arg2);
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 resultobj = SWIG_Py_Void();
12751 return resultobj;
12752 fail:
12753 return NULL;
12754 }
12755
12756
12757 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12758 PyObject *obj;
12759 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12760 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12761 return SWIG_Py_Void();
12762 }
12763
12764 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12765 return SWIG_Python_InitShadowInstance(args);
12766 }
12767
12768 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12769 PyObject *resultobj = 0;
12770 wxLayoutAlgorithm *result = 0 ;
12771
12772 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
12779 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12780 return resultobj;
12781 fail:
12782 return NULL;
12783 }
12784
12785
12786 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12787 PyObject *resultobj = 0;
12788 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12789 void *argp1 = 0 ;
12790 int res1 = 0 ;
12791 PyObject *swig_obj[1] ;
12792
12793 if (!args) SWIG_fail;
12794 swig_obj[0] = args;
12795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12796 if (!SWIG_IsOK(res1)) {
12797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12798 }
12799 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12800 {
12801 PyThreadState* __tstate = wxPyBeginAllowThreads();
12802 delete arg1;
12803
12804 wxPyEndAllowThreads(__tstate);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
12807 resultobj = SWIG_Py_Void();
12808 return resultobj;
12809 fail:
12810 return NULL;
12811 }
12812
12813
12814 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12815 PyObject *resultobj = 0;
12816 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12817 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12818 wxRect *arg3 = (wxRect *) NULL ;
12819 bool result;
12820 void *argp1 = 0 ;
12821 int res1 = 0 ;
12822 void *argp2 = 0 ;
12823 int res2 = 0 ;
12824 void *argp3 = 0 ;
12825 int res3 = 0 ;
12826 PyObject * obj0 = 0 ;
12827 PyObject * obj1 = 0 ;
12828 PyObject * obj2 = 0 ;
12829 char * kwnames[] = {
12830 (char *) "self",(char *) "frame",(char *) "rect", NULL
12831 };
12832
12833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12835 if (!SWIG_IsOK(res1)) {
12836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12837 }
12838 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12839 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12840 if (!SWIG_IsOK(res2)) {
12841 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12842 }
12843 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12844 if (obj2) {
12845 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12846 if (!SWIG_IsOK(res3)) {
12847 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12848 }
12849 arg3 = reinterpret_cast< wxRect * >(argp3);
12850 }
12851 {
12852 PyThreadState* __tstate = wxPyBeginAllowThreads();
12853 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12854 wxPyEndAllowThreads(__tstate);
12855 if (PyErr_Occurred()) SWIG_fail;
12856 }
12857 {
12858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12859 }
12860 return resultobj;
12861 fail:
12862 return NULL;
12863 }
12864
12865
12866 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12867 PyObject *resultobj = 0;
12868 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12869 wxFrame *arg2 = (wxFrame *) 0 ;
12870 wxWindow *arg3 = (wxWindow *) NULL ;
12871 bool result;
12872 void *argp1 = 0 ;
12873 int res1 = 0 ;
12874 void *argp2 = 0 ;
12875 int res2 = 0 ;
12876 void *argp3 = 0 ;
12877 int res3 = 0 ;
12878 PyObject * obj0 = 0 ;
12879 PyObject * obj1 = 0 ;
12880 PyObject * obj2 = 0 ;
12881 char * kwnames[] = {
12882 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12883 };
12884
12885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12887 if (!SWIG_IsOK(res1)) {
12888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12889 }
12890 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12891 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12892 if (!SWIG_IsOK(res2)) {
12893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12894 }
12895 arg2 = reinterpret_cast< wxFrame * >(argp2);
12896 if (obj2) {
12897 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12898 if (!SWIG_IsOK(res3)) {
12899 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12900 }
12901 arg3 = reinterpret_cast< wxWindow * >(argp3);
12902 }
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 {
12910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12911 }
12912 return resultobj;
12913 fail:
12914 return NULL;
12915 }
12916
12917
12918 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12919 PyObject *resultobj = 0;
12920 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12921 wxWindow *arg2 = (wxWindow *) 0 ;
12922 wxWindow *arg3 = (wxWindow *) NULL ;
12923 bool result;
12924 void *argp1 = 0 ;
12925 int res1 = 0 ;
12926 void *argp2 = 0 ;
12927 int res2 = 0 ;
12928 void *argp3 = 0 ;
12929 int res3 = 0 ;
12930 PyObject * obj0 = 0 ;
12931 PyObject * obj1 = 0 ;
12932 PyObject * obj2 = 0 ;
12933 char * kwnames[] = {
12934 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12935 };
12936
12937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12939 if (!SWIG_IsOK(res1)) {
12940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12941 }
12942 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12943 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12944 if (!SWIG_IsOK(res2)) {
12945 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12946 }
12947 arg2 = reinterpret_cast< wxWindow * >(argp2);
12948 if (obj2) {
12949 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12950 if (!SWIG_IsOK(res3)) {
12951 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12952 }
12953 arg3 = reinterpret_cast< wxWindow * >(argp3);
12954 }
12955 {
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
12958 wxPyEndAllowThreads(__tstate);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 {
12962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12963 }
12964 return resultobj;
12965 fail:
12966 return NULL;
12967 }
12968
12969
12970 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12971 PyObject *obj;
12972 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12973 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
12974 return SWIG_Py_Void();
12975 }
12976
12977 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12978 return SWIG_Python_InitShadowInstance(args);
12979 }
12980
12981 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12982 PyObject *resultobj = 0;
12983 wxWindow *arg1 = (wxWindow *) 0 ;
12984 int arg2 = (int) wxBORDER_NONE ;
12985 wxPopupWindow *result = 0 ;
12986 void *argp1 = 0 ;
12987 int res1 = 0 ;
12988 int val2 ;
12989 int ecode2 = 0 ;
12990 PyObject * obj0 = 0 ;
12991 PyObject * obj1 = 0 ;
12992 char * kwnames[] = {
12993 (char *) "parent",(char *) "flags", NULL
12994 };
12995
12996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
12997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12998 if (!SWIG_IsOK(res1)) {
12999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13000 }
13001 arg1 = reinterpret_cast< wxWindow * >(argp1);
13002 if (obj1) {
13003 ecode2 = SWIG_AsVal_int(obj1, &val2);
13004 if (!SWIG_IsOK(ecode2)) {
13005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13006 }
13007 arg2 = static_cast< int >(val2);
13008 }
13009 {
13010 if (!wxPyCheckForApp()) SWIG_fail;
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13017 return resultobj;
13018 fail:
13019 return NULL;
13020 }
13021
13022
13023 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13024 PyObject *resultobj = 0;
13025 wxPopupWindow *result = 0 ;
13026
13027 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13028 {
13029 if (!wxPyCheckForApp()) SWIG_fail;
13030 PyThreadState* __tstate = wxPyBeginAllowThreads();
13031 result = (wxPopupWindow *)new wxPopupWindow();
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13036 return resultobj;
13037 fail:
13038 return NULL;
13039 }
13040
13041
13042 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj = 0;
13044 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13045 wxWindow *arg2 = (wxWindow *) 0 ;
13046 int arg3 = (int) wxBORDER_NONE ;
13047 bool result;
13048 void *argp1 = 0 ;
13049 int res1 = 0 ;
13050 void *argp2 = 0 ;
13051 int res2 = 0 ;
13052 int val3 ;
13053 int ecode3 = 0 ;
13054 PyObject * obj0 = 0 ;
13055 PyObject * obj1 = 0 ;
13056 PyObject * obj2 = 0 ;
13057 char * kwnames[] = {
13058 (char *) "self",(char *) "parent",(char *) "flags", NULL
13059 };
13060
13061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13063 if (!SWIG_IsOK(res1)) {
13064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13065 }
13066 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13067 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13068 if (!SWIG_IsOK(res2)) {
13069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13070 }
13071 arg2 = reinterpret_cast< wxWindow * >(argp2);
13072 if (obj2) {
13073 ecode3 = SWIG_AsVal_int(obj2, &val3);
13074 if (!SWIG_IsOK(ecode3)) {
13075 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13076 }
13077 arg3 = static_cast< int >(val3);
13078 }
13079 {
13080 PyThreadState* __tstate = wxPyBeginAllowThreads();
13081 result = (bool)(arg1)->Create(arg2,arg3);
13082 wxPyEndAllowThreads(__tstate);
13083 if (PyErr_Occurred()) SWIG_fail;
13084 }
13085 {
13086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13087 }
13088 return resultobj;
13089 fail:
13090 return NULL;
13091 }
13092
13093
13094 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13095 PyObject *resultobj = 0;
13096 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13097 wxPoint *arg2 = 0 ;
13098 wxSize *arg3 = 0 ;
13099 void *argp1 = 0 ;
13100 int res1 = 0 ;
13101 wxPoint temp2 ;
13102 wxSize temp3 ;
13103 PyObject * obj0 = 0 ;
13104 PyObject * obj1 = 0 ;
13105 PyObject * obj2 = 0 ;
13106 char * kwnames[] = {
13107 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13108 };
13109
13110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13112 if (!SWIG_IsOK(res1)) {
13113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13114 }
13115 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13116 {
13117 arg2 = &temp2;
13118 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13119 }
13120 {
13121 arg3 = &temp3;
13122 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13123 }
13124 {
13125 PyThreadState* __tstate = wxPyBeginAllowThreads();
13126 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13127 wxPyEndAllowThreads(__tstate);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
13130 resultobj = SWIG_Py_Void();
13131 return resultobj;
13132 fail:
13133 return NULL;
13134 }
13135
13136
13137 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13138 PyObject *obj;
13139 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13140 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13141 return SWIG_Py_Void();
13142 }
13143
13144 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13145 return SWIG_Python_InitShadowInstance(args);
13146 }
13147
13148 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj = 0;
13150 wxWindow *arg1 = (wxWindow *) 0 ;
13151 int arg2 = (int) wxBORDER_NONE ;
13152 wxPyPopupTransientWindow *result = 0 ;
13153 void *argp1 = 0 ;
13154 int res1 = 0 ;
13155 int val2 ;
13156 int ecode2 = 0 ;
13157 PyObject * obj0 = 0 ;
13158 PyObject * obj1 = 0 ;
13159 char * kwnames[] = {
13160 (char *) "parent",(char *) "style", NULL
13161 };
13162
13163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13165 if (!SWIG_IsOK(res1)) {
13166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13167 }
13168 arg1 = reinterpret_cast< wxWindow * >(argp1);
13169 if (obj1) {
13170 ecode2 = SWIG_AsVal_int(obj1, &val2);
13171 if (!SWIG_IsOK(ecode2)) {
13172 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13173 }
13174 arg2 = static_cast< int >(val2);
13175 }
13176 {
13177 if (!wxPyCheckForApp()) SWIG_fail;
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13180 wxPyEndAllowThreads(__tstate);
13181 if (PyErr_Occurred()) SWIG_fail;
13182 }
13183 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13184 return resultobj;
13185 fail:
13186 return NULL;
13187 }
13188
13189
13190 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13191 PyObject *resultobj = 0;
13192 wxPyPopupTransientWindow *result = 0 ;
13193
13194 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13195 {
13196 if (!wxPyCheckForApp()) SWIG_fail;
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13199 wxPyEndAllowThreads(__tstate);
13200 if (PyErr_Occurred()) SWIG_fail;
13201 }
13202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13203 return resultobj;
13204 fail:
13205 return NULL;
13206 }
13207
13208
13209 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13210 PyObject *resultobj = 0;
13211 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13212 PyObject *arg2 = (PyObject *) 0 ;
13213 PyObject *arg3 = (PyObject *) 0 ;
13214 void *argp1 = 0 ;
13215 int res1 = 0 ;
13216 PyObject * obj0 = 0 ;
13217 PyObject * obj1 = 0 ;
13218 PyObject * obj2 = 0 ;
13219 char * kwnames[] = {
13220 (char *) "self",(char *) "self",(char *) "_class", NULL
13221 };
13222
13223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13225 if (!SWIG_IsOK(res1)) {
13226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13227 }
13228 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13229 arg2 = obj1;
13230 arg3 = obj2;
13231 {
13232 PyThreadState* __tstate = wxPyBeginAllowThreads();
13233 (arg1)->_setCallbackInfo(arg2,arg3);
13234 wxPyEndAllowThreads(__tstate);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 }
13237 resultobj = SWIG_Py_Void();
13238 return resultobj;
13239 fail:
13240 return NULL;
13241 }
13242
13243
13244 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13245 PyObject *resultobj = 0;
13246 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13247 wxWindow *arg2 = (wxWindow *) NULL ;
13248 void *argp1 = 0 ;
13249 int res1 = 0 ;
13250 void *argp2 = 0 ;
13251 int res2 = 0 ;
13252 PyObject * obj0 = 0 ;
13253 PyObject * obj1 = 0 ;
13254 char * kwnames[] = {
13255 (char *) "self",(char *) "focus", NULL
13256 };
13257
13258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13260 if (!SWIG_IsOK(res1)) {
13261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13262 }
13263 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13264 if (obj1) {
13265 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13266 if (!SWIG_IsOK(res2)) {
13267 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13268 }
13269 arg2 = reinterpret_cast< wxWindow * >(argp2);
13270 }
13271 {
13272 PyThreadState* __tstate = wxPyBeginAllowThreads();
13273 (arg1)->Popup(arg2);
13274 wxPyEndAllowThreads(__tstate);
13275 if (PyErr_Occurred()) SWIG_fail;
13276 }
13277 resultobj = SWIG_Py_Void();
13278 return resultobj;
13279 fail:
13280 return NULL;
13281 }
13282
13283
13284 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13285 PyObject *resultobj = 0;
13286 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13287 void *argp1 = 0 ;
13288 int res1 = 0 ;
13289 PyObject *swig_obj[1] ;
13290
13291 if (!args) SWIG_fail;
13292 swig_obj[0] = args;
13293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13294 if (!SWIG_IsOK(res1)) {
13295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13296 }
13297 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 (arg1)->Dismiss();
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
13304 resultobj = SWIG_Py_Void();
13305 return resultobj;
13306 fail:
13307 return NULL;
13308 }
13309
13310
13311 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13312 PyObject *obj;
13313 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13314 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13315 return SWIG_Py_Void();
13316 }
13317
13318 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13319 return SWIG_Python_InitShadowInstance(args);
13320 }
13321
13322 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj = 0;
13324 wxWindow *arg1 = (wxWindow *) 0 ;
13325 wxString *arg2 = 0 ;
13326 int arg3 = (int) 100 ;
13327 wxRect *arg4 = (wxRect *) NULL ;
13328 wxTipWindow *result = 0 ;
13329 void *argp1 = 0 ;
13330 int res1 = 0 ;
13331 bool temp2 = false ;
13332 int val3 ;
13333 int ecode3 = 0 ;
13334 void *argp4 = 0 ;
13335 int res4 = 0 ;
13336 PyObject * obj0 = 0 ;
13337 PyObject * obj1 = 0 ;
13338 PyObject * obj2 = 0 ;
13339 PyObject * obj3 = 0 ;
13340 char * kwnames[] = {
13341 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13342 };
13343
13344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13346 if (!SWIG_IsOK(res1)) {
13347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13348 }
13349 arg1 = reinterpret_cast< wxWindow * >(argp1);
13350 {
13351 arg2 = wxString_in_helper(obj1);
13352 if (arg2 == NULL) SWIG_fail;
13353 temp2 = true;
13354 }
13355 if (obj2) {
13356 ecode3 = SWIG_AsVal_int(obj2, &val3);
13357 if (!SWIG_IsOK(ecode3)) {
13358 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13359 }
13360 arg3 = static_cast< int >(val3);
13361 }
13362 if (obj3) {
13363 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13364 if (!SWIG_IsOK(res4)) {
13365 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13366 }
13367 arg4 = reinterpret_cast< wxRect * >(argp4);
13368 }
13369 {
13370 if (!wxPyCheckForApp()) SWIG_fail;
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13377 {
13378 if (temp2)
13379 delete arg2;
13380 }
13381 return resultobj;
13382 fail:
13383 {
13384 if (temp2)
13385 delete arg2;
13386 }
13387 return NULL;
13388 }
13389
13390
13391 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13392 PyObject *resultobj = 0;
13393 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13394 wxRect *arg2 = 0 ;
13395 void *argp1 = 0 ;
13396 int res1 = 0 ;
13397 wxRect temp2 ;
13398 PyObject * obj0 = 0 ;
13399 PyObject * obj1 = 0 ;
13400 char * kwnames[] = {
13401 (char *) "self",(char *) "rectBound", NULL
13402 };
13403
13404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13406 if (!SWIG_IsOK(res1)) {
13407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13408 }
13409 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13410 {
13411 arg2 = &temp2;
13412 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13413 }
13414 {
13415 PyThreadState* __tstate = wxPyBeginAllowThreads();
13416 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13417 wxPyEndAllowThreads(__tstate);
13418 if (PyErr_Occurred()) SWIG_fail;
13419 }
13420 resultobj = SWIG_Py_Void();
13421 return resultobj;
13422 fail:
13423 return NULL;
13424 }
13425
13426
13427 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13428 PyObject *resultobj = 0;
13429 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13430 void *argp1 = 0 ;
13431 int res1 = 0 ;
13432 PyObject *swig_obj[1] ;
13433
13434 if (!args) SWIG_fail;
13435 swig_obj[0] = args;
13436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13437 if (!SWIG_IsOK(res1)) {
13438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13439 }
13440 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13441 {
13442 PyThreadState* __tstate = wxPyBeginAllowThreads();
13443 (arg1)->Close();
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
13447 resultobj = SWIG_Py_Void();
13448 return resultobj;
13449 fail:
13450 return NULL;
13451 }
13452
13453
13454 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13455 PyObject *obj;
13456 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13457 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13458 return SWIG_Py_Void();
13459 }
13460
13461 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13462 return SWIG_Python_InitShadowInstance(args);
13463 }
13464
13465 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13466 PyObject *resultobj = 0;
13467 wxWindow *arg1 = (wxWindow *) 0 ;
13468 int arg2 = (int) wxID_ANY ;
13469 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13470 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13471 wxSize const &arg4_defvalue = wxDefaultSize ;
13472 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13473 long arg5 = (long) 0 ;
13474 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13475 wxString *arg6 = (wxString *) &arg6_defvalue ;
13476 wxPyVScrolledWindow *result = 0 ;
13477 void *argp1 = 0 ;
13478 int res1 = 0 ;
13479 int val2 ;
13480 int ecode2 = 0 ;
13481 wxPoint temp3 ;
13482 wxSize temp4 ;
13483 long val5 ;
13484 int ecode5 = 0 ;
13485 bool temp6 = false ;
13486 PyObject * obj0 = 0 ;
13487 PyObject * obj1 = 0 ;
13488 PyObject * obj2 = 0 ;
13489 PyObject * obj3 = 0 ;
13490 PyObject * obj4 = 0 ;
13491 PyObject * obj5 = 0 ;
13492 char * kwnames[] = {
13493 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13494 };
13495
13496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13498 if (!SWIG_IsOK(res1)) {
13499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13500 }
13501 arg1 = reinterpret_cast< wxWindow * >(argp1);
13502 if (obj1) {
13503 ecode2 = SWIG_AsVal_int(obj1, &val2);
13504 if (!SWIG_IsOK(ecode2)) {
13505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13506 }
13507 arg2 = static_cast< int >(val2);
13508 }
13509 if (obj2) {
13510 {
13511 arg3 = &temp3;
13512 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13513 }
13514 }
13515 if (obj3) {
13516 {
13517 arg4 = &temp4;
13518 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13519 }
13520 }
13521 if (obj4) {
13522 ecode5 = SWIG_AsVal_long(obj4, &val5);
13523 if (!SWIG_IsOK(ecode5)) {
13524 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13525 }
13526 arg5 = static_cast< long >(val5);
13527 }
13528 if (obj5) {
13529 {
13530 arg6 = wxString_in_helper(obj5);
13531 if (arg6 == NULL) SWIG_fail;
13532 temp6 = true;
13533 }
13534 }
13535 {
13536 if (!wxPyCheckForApp()) SWIG_fail;
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13539 wxPyEndAllowThreads(__tstate);
13540 if (PyErr_Occurred()) SWIG_fail;
13541 }
13542 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13543 {
13544 if (temp6)
13545 delete arg6;
13546 }
13547 return resultobj;
13548 fail:
13549 {
13550 if (temp6)
13551 delete arg6;
13552 }
13553 return NULL;
13554 }
13555
13556
13557 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13558 PyObject *resultobj = 0;
13559 wxPyVScrolledWindow *result = 0 ;
13560
13561 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13562 {
13563 if (!wxPyCheckForApp()) SWIG_fail;
13564 PyThreadState* __tstate = wxPyBeginAllowThreads();
13565 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13566 wxPyEndAllowThreads(__tstate);
13567 if (PyErr_Occurred()) SWIG_fail;
13568 }
13569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13570 return resultobj;
13571 fail:
13572 return NULL;
13573 }
13574
13575
13576 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13577 PyObject *resultobj = 0;
13578 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13579 PyObject *arg2 = (PyObject *) 0 ;
13580 PyObject *arg3 = (PyObject *) 0 ;
13581 void *argp1 = 0 ;
13582 int res1 = 0 ;
13583 PyObject * obj0 = 0 ;
13584 PyObject * obj1 = 0 ;
13585 PyObject * obj2 = 0 ;
13586 char * kwnames[] = {
13587 (char *) "self",(char *) "self",(char *) "_class", NULL
13588 };
13589
13590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13592 if (!SWIG_IsOK(res1)) {
13593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13594 }
13595 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13596 arg2 = obj1;
13597 arg3 = obj2;
13598 {
13599 PyThreadState* __tstate = wxPyBeginAllowThreads();
13600 (arg1)->_setCallbackInfo(arg2,arg3);
13601 wxPyEndAllowThreads(__tstate);
13602 if (PyErr_Occurred()) SWIG_fail;
13603 }
13604 resultobj = SWIG_Py_Void();
13605 return resultobj;
13606 fail:
13607 return NULL;
13608 }
13609
13610
13611 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13612 PyObject *resultobj = 0;
13613 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13614 wxWindow *arg2 = (wxWindow *) 0 ;
13615 int arg3 = (int) wxID_ANY ;
13616 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13617 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13618 wxSize const &arg5_defvalue = wxDefaultSize ;
13619 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13620 long arg6 = (long) 0 ;
13621 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13622 wxString *arg7 = (wxString *) &arg7_defvalue ;
13623 bool result;
13624 void *argp1 = 0 ;
13625 int res1 = 0 ;
13626 void *argp2 = 0 ;
13627 int res2 = 0 ;
13628 int val3 ;
13629 int ecode3 = 0 ;
13630 wxPoint temp4 ;
13631 wxSize temp5 ;
13632 long val6 ;
13633 int ecode6 = 0 ;
13634 bool temp7 = false ;
13635 PyObject * obj0 = 0 ;
13636 PyObject * obj1 = 0 ;
13637 PyObject * obj2 = 0 ;
13638 PyObject * obj3 = 0 ;
13639 PyObject * obj4 = 0 ;
13640 PyObject * obj5 = 0 ;
13641 PyObject * obj6 = 0 ;
13642 char * kwnames[] = {
13643 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13644 };
13645
13646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13648 if (!SWIG_IsOK(res1)) {
13649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13650 }
13651 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13652 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13653 if (!SWIG_IsOK(res2)) {
13654 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13655 }
13656 arg2 = reinterpret_cast< wxWindow * >(argp2);
13657 if (obj2) {
13658 ecode3 = SWIG_AsVal_int(obj2, &val3);
13659 if (!SWIG_IsOK(ecode3)) {
13660 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13661 }
13662 arg3 = static_cast< int >(val3);
13663 }
13664 if (obj3) {
13665 {
13666 arg4 = &temp4;
13667 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13668 }
13669 }
13670 if (obj4) {
13671 {
13672 arg5 = &temp5;
13673 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13674 }
13675 }
13676 if (obj5) {
13677 ecode6 = SWIG_AsVal_long(obj5, &val6);
13678 if (!SWIG_IsOK(ecode6)) {
13679 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13680 }
13681 arg6 = static_cast< long >(val6);
13682 }
13683 if (obj6) {
13684 {
13685 arg7 = wxString_in_helper(obj6);
13686 if (arg7 == NULL) SWIG_fail;
13687 temp7 = true;
13688 }
13689 }
13690 {
13691 PyThreadState* __tstate = wxPyBeginAllowThreads();
13692 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13693 wxPyEndAllowThreads(__tstate);
13694 if (PyErr_Occurred()) SWIG_fail;
13695 }
13696 {
13697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13698 }
13699 {
13700 if (temp7)
13701 delete arg7;
13702 }
13703 return resultobj;
13704 fail:
13705 {
13706 if (temp7)
13707 delete arg7;
13708 }
13709 return NULL;
13710 }
13711
13712
13713 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13714 PyObject *resultobj = 0;
13715 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13716 size_t arg2 ;
13717 void *argp1 = 0 ;
13718 int res1 = 0 ;
13719 size_t val2 ;
13720 int ecode2 = 0 ;
13721 PyObject * obj0 = 0 ;
13722 PyObject * obj1 = 0 ;
13723 char * kwnames[] = {
13724 (char *) "self",(char *) "count", NULL
13725 };
13726
13727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13729 if (!SWIG_IsOK(res1)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13731 }
13732 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13733 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13734 if (!SWIG_IsOK(ecode2)) {
13735 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13736 }
13737 arg2 = static_cast< size_t >(val2);
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 (arg1)->SetLineCount(arg2);
13741 wxPyEndAllowThreads(__tstate);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 resultobj = SWIG_Py_Void();
13745 return resultobj;
13746 fail:
13747 return NULL;
13748 }
13749
13750
13751 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13752 PyObject *resultobj = 0;
13753 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13754 size_t arg2 ;
13755 bool result;
13756 void *argp1 = 0 ;
13757 int res1 = 0 ;
13758 size_t val2 ;
13759 int ecode2 = 0 ;
13760 PyObject * obj0 = 0 ;
13761 PyObject * obj1 = 0 ;
13762 char * kwnames[] = {
13763 (char *) "self",(char *) "line", NULL
13764 };
13765
13766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13768 if (!SWIG_IsOK(res1)) {
13769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13770 }
13771 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13772 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13773 if (!SWIG_IsOK(ecode2)) {
13774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13775 }
13776 arg2 = static_cast< size_t >(val2);
13777 {
13778 PyThreadState* __tstate = wxPyBeginAllowThreads();
13779 result = (bool)(arg1)->ScrollToLine(arg2);
13780 wxPyEndAllowThreads(__tstate);
13781 if (PyErr_Occurred()) SWIG_fail;
13782 }
13783 {
13784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13785 }
13786 return resultobj;
13787 fail:
13788 return NULL;
13789 }
13790
13791
13792 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13793 PyObject *resultobj = 0;
13794 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13795 size_t arg2 ;
13796 void *argp1 = 0 ;
13797 int res1 = 0 ;
13798 size_t val2 ;
13799 int ecode2 = 0 ;
13800 PyObject * obj0 = 0 ;
13801 PyObject * obj1 = 0 ;
13802 char * kwnames[] = {
13803 (char *) "self",(char *) "line", NULL
13804 };
13805
13806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13808 if (!SWIG_IsOK(res1)) {
13809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13810 }
13811 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13812 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13813 if (!SWIG_IsOK(ecode2)) {
13814 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13815 }
13816 arg2 = static_cast< size_t >(val2);
13817 {
13818 PyThreadState* __tstate = wxPyBeginAllowThreads();
13819 (arg1)->RefreshLine(arg2);
13820 wxPyEndAllowThreads(__tstate);
13821 if (PyErr_Occurred()) SWIG_fail;
13822 }
13823 resultobj = SWIG_Py_Void();
13824 return resultobj;
13825 fail:
13826 return NULL;
13827 }
13828
13829
13830 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13831 PyObject *resultobj = 0;
13832 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13833 size_t arg2 ;
13834 size_t arg3 ;
13835 void *argp1 = 0 ;
13836 int res1 = 0 ;
13837 size_t val2 ;
13838 int ecode2 = 0 ;
13839 size_t val3 ;
13840 int ecode3 = 0 ;
13841 PyObject * obj0 = 0 ;
13842 PyObject * obj1 = 0 ;
13843 PyObject * obj2 = 0 ;
13844 char * kwnames[] = {
13845 (char *) "self",(char *) "from",(char *) "to", NULL
13846 };
13847
13848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) 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_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13852 }
13853 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13854 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13855 if (!SWIG_IsOK(ecode2)) {
13856 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13857 }
13858 arg2 = static_cast< size_t >(val2);
13859 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13860 if (!SWIG_IsOK(ecode3)) {
13861 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13862 }
13863 arg3 = static_cast< size_t >(val3);
13864 {
13865 PyThreadState* __tstate = wxPyBeginAllowThreads();
13866 (arg1)->RefreshLines(arg2,arg3);
13867 wxPyEndAllowThreads(__tstate);
13868 if (PyErr_Occurred()) SWIG_fail;
13869 }
13870 resultobj = SWIG_Py_Void();
13871 return resultobj;
13872 fail:
13873 return NULL;
13874 }
13875
13876
13877 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13878 PyObject *resultobj = 0;
13879 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13880 int arg2 ;
13881 int arg3 ;
13882 int result;
13883 void *argp1 = 0 ;
13884 int res1 = 0 ;
13885 int val2 ;
13886 int ecode2 = 0 ;
13887 int val3 ;
13888 int ecode3 = 0 ;
13889 PyObject * obj0 = 0 ;
13890 PyObject * obj1 = 0 ;
13891 PyObject * obj2 = 0 ;
13892 char * kwnames[] = {
13893 (char *) "self",(char *) "x",(char *) "y", NULL
13894 };
13895
13896 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13897 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13898 if (!SWIG_IsOK(res1)) {
13899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13900 }
13901 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13902 ecode2 = SWIG_AsVal_int(obj1, &val2);
13903 if (!SWIG_IsOK(ecode2)) {
13904 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13905 }
13906 arg2 = static_cast< int >(val2);
13907 ecode3 = SWIG_AsVal_int(obj2, &val3);
13908 if (!SWIG_IsOK(ecode3)) {
13909 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13910 }
13911 arg3 = static_cast< int >(val3);
13912 {
13913 PyThreadState* __tstate = wxPyBeginAllowThreads();
13914 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 resultobj = SWIG_From_int(static_cast< int >(result));
13919 return resultobj;
13920 fail:
13921 return NULL;
13922 }
13923
13924
13925 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13926 PyObject *resultobj = 0;
13927 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13928 wxPoint *arg2 = 0 ;
13929 int result;
13930 void *argp1 = 0 ;
13931 int res1 = 0 ;
13932 wxPoint temp2 ;
13933 PyObject * obj0 = 0 ;
13934 PyObject * obj1 = 0 ;
13935 char * kwnames[] = {
13936 (char *) "self",(char *) "pt", NULL
13937 };
13938
13939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13941 if (!SWIG_IsOK(res1)) {
13942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13943 }
13944 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13945 {
13946 arg2 = &temp2;
13947 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13948 }
13949 {
13950 PyThreadState* __tstate = wxPyBeginAllowThreads();
13951 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
13952 wxPyEndAllowThreads(__tstate);
13953 if (PyErr_Occurred()) SWIG_fail;
13954 }
13955 resultobj = SWIG_From_int(static_cast< int >(result));
13956 return resultobj;
13957 fail:
13958 return NULL;
13959 }
13960
13961
13962 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13963 PyObject *resultobj = 0;
13964 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13965 void *argp1 = 0 ;
13966 int res1 = 0 ;
13967 PyObject *swig_obj[1] ;
13968
13969 if (!args) SWIG_fail;
13970 swig_obj[0] = args;
13971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13972 if (!SWIG_IsOK(res1)) {
13973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13974 }
13975 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13976 {
13977 PyThreadState* __tstate = wxPyBeginAllowThreads();
13978 (arg1)->RefreshAll();
13979 wxPyEndAllowThreads(__tstate);
13980 if (PyErr_Occurred()) SWIG_fail;
13981 }
13982 resultobj = SWIG_Py_Void();
13983 return resultobj;
13984 fail:
13985 return NULL;
13986 }
13987
13988
13989 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13990 PyObject *resultobj = 0;
13991 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13992 size_t result;
13993 void *argp1 = 0 ;
13994 int res1 = 0 ;
13995 PyObject *swig_obj[1] ;
13996
13997 if (!args) SWIG_fail;
13998 swig_obj[0] = args;
13999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14000 if (!SWIG_IsOK(res1)) {
14001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14002 }
14003 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14011 return resultobj;
14012 fail:
14013 return NULL;
14014 }
14015
14016
14017 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14018 PyObject *resultobj = 0;
14019 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14020 size_t result;
14021 void *argp1 = 0 ;
14022 int res1 = 0 ;
14023 PyObject *swig_obj[1] ;
14024
14025 if (!args) SWIG_fail;
14026 swig_obj[0] = args;
14027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14028 if (!SWIG_IsOK(res1)) {
14029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14030 }
14031 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14035 wxPyEndAllowThreads(__tstate);
14036 if (PyErr_Occurred()) SWIG_fail;
14037 }
14038 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14039 return resultobj;
14040 fail:
14041 return NULL;
14042 }
14043
14044
14045 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14046 PyObject *resultobj = 0;
14047 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14048 size_t result;
14049 void *argp1 = 0 ;
14050 int res1 = 0 ;
14051 PyObject *swig_obj[1] ;
14052
14053 if (!args) SWIG_fail;
14054 swig_obj[0] = args;
14055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14056 if (!SWIG_IsOK(res1)) {
14057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14058 }
14059 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14060 {
14061 PyThreadState* __tstate = wxPyBeginAllowThreads();
14062 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14063 wxPyEndAllowThreads(__tstate);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 }
14066 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14067 return resultobj;
14068 fail:
14069 return NULL;
14070 }
14071
14072
14073 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14074 PyObject *resultobj = 0;
14075 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14076 size_t arg2 ;
14077 bool result;
14078 void *argp1 = 0 ;
14079 int res1 = 0 ;
14080 size_t val2 ;
14081 int ecode2 = 0 ;
14082 PyObject * obj0 = 0 ;
14083 PyObject * obj1 = 0 ;
14084 char * kwnames[] = {
14085 (char *) "self",(char *) "line", NULL
14086 };
14087
14088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14090 if (!SWIG_IsOK(res1)) {
14091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14092 }
14093 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14094 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14095 if (!SWIG_IsOK(ecode2)) {
14096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14097 }
14098 arg2 = static_cast< size_t >(val2);
14099 {
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14102 wxPyEndAllowThreads(__tstate);
14103 if (PyErr_Occurred()) SWIG_fail;
14104 }
14105 {
14106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14107 }
14108 return resultobj;
14109 fail:
14110 return NULL;
14111 }
14112
14113
14114 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14115 PyObject *resultobj = 0;
14116 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14117 size_t result;
14118 void *argp1 = 0 ;
14119 int res1 = 0 ;
14120 PyObject *swig_obj[1] ;
14121
14122 if (!args) SWIG_fail;
14123 swig_obj[0] = args;
14124 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14125 if (!SWIG_IsOK(res1)) {
14126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14127 }
14128 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14129 {
14130 PyThreadState* __tstate = wxPyBeginAllowThreads();
14131 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14132 wxPyEndAllowThreads(__tstate);
14133 if (PyErr_Occurred()) SWIG_fail;
14134 }
14135 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14136 return resultobj;
14137 fail:
14138 return NULL;
14139 }
14140
14141
14142 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14143 PyObject *resultobj = 0;
14144 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14145 size_t result;
14146 void *argp1 = 0 ;
14147 int res1 = 0 ;
14148 PyObject *swig_obj[1] ;
14149
14150 if (!args) SWIG_fail;
14151 swig_obj[0] = args;
14152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14153 if (!SWIG_IsOK(res1)) {
14154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14155 }
14156 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14157 {
14158 PyThreadState* __tstate = wxPyBeginAllowThreads();
14159 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14164 return resultobj;
14165 fail:
14166 return NULL;
14167 }
14168
14169
14170 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14171 PyObject *resultobj = 0;
14172 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14173 size_t arg2 ;
14174 bool arg3 = (bool) false ;
14175 size_t result;
14176 void *argp1 = 0 ;
14177 int res1 = 0 ;
14178 size_t val2 ;
14179 int ecode2 = 0 ;
14180 bool val3 ;
14181 int ecode3 = 0 ;
14182 PyObject * obj0 = 0 ;
14183 PyObject * obj1 = 0 ;
14184 PyObject * obj2 = 0 ;
14185 char * kwnames[] = {
14186 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14187 };
14188
14189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14191 if (!SWIG_IsOK(res1)) {
14192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14193 }
14194 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14195 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14196 if (!SWIG_IsOK(ecode2)) {
14197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14198 }
14199 arg2 = static_cast< size_t >(val2);
14200 if (obj2) {
14201 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14202 if (!SWIG_IsOK(ecode3)) {
14203 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14204 }
14205 arg3 = static_cast< bool >(val3);
14206 }
14207 {
14208 PyThreadState* __tstate = wxPyBeginAllowThreads();
14209 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14210 wxPyEndAllowThreads(__tstate);
14211 if (PyErr_Occurred()) SWIG_fail;
14212 }
14213 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14214 return resultobj;
14215 fail:
14216 return NULL;
14217 }
14218
14219
14220 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14221 PyObject *resultobj = 0;
14222 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14223 size_t arg2 ;
14224 size_t arg3 ;
14225 int result;
14226 void *argp1 = 0 ;
14227 int res1 = 0 ;
14228 size_t val2 ;
14229 int ecode2 = 0 ;
14230 size_t val3 ;
14231 int ecode3 = 0 ;
14232 PyObject * obj0 = 0 ;
14233 PyObject * obj1 = 0 ;
14234 PyObject * obj2 = 0 ;
14235 char * kwnames[] = {
14236 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14237 };
14238
14239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14241 if (!SWIG_IsOK(res1)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14243 }
14244 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14245 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14246 if (!SWIG_IsOK(ecode2)) {
14247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14248 }
14249 arg2 = static_cast< size_t >(val2);
14250 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14251 if (!SWIG_IsOK(ecode3)) {
14252 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14253 }
14254 arg3 = static_cast< size_t >(val3);
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14258 wxPyEndAllowThreads(__tstate);
14259 if (PyErr_Occurred()) SWIG_fail;
14260 }
14261 resultobj = SWIG_From_int(static_cast< int >(result));
14262 return resultobj;
14263 fail:
14264 return NULL;
14265 }
14266
14267
14268 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14269 PyObject *obj;
14270 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14271 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14272 return SWIG_Py_Void();
14273 }
14274
14275 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14276 return SWIG_Python_InitShadowInstance(args);
14277 }
14278
14279 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14280 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14281 return 1;
14282 }
14283
14284
14285 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14286 PyObject *pyobj = 0;
14287
14288 {
14289 #if wxUSE_UNICODE
14290 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14291 #else
14292 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14293 #endif
14294 }
14295 return pyobj;
14296 }
14297
14298
14299 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14300 PyObject *resultobj = 0;
14301 wxWindow *arg1 = (wxWindow *) 0 ;
14302 int arg2 = (int) wxID_ANY ;
14303 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14304 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14305 wxSize const &arg4_defvalue = wxDefaultSize ;
14306 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14307 long arg5 = (long) 0 ;
14308 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14309 wxString *arg6 = (wxString *) &arg6_defvalue ;
14310 wxPyVListBox *result = 0 ;
14311 void *argp1 = 0 ;
14312 int res1 = 0 ;
14313 int val2 ;
14314 int ecode2 = 0 ;
14315 wxPoint temp3 ;
14316 wxSize temp4 ;
14317 long val5 ;
14318 int ecode5 = 0 ;
14319 bool temp6 = false ;
14320 PyObject * obj0 = 0 ;
14321 PyObject * obj1 = 0 ;
14322 PyObject * obj2 = 0 ;
14323 PyObject * obj3 = 0 ;
14324 PyObject * obj4 = 0 ;
14325 PyObject * obj5 = 0 ;
14326 char * kwnames[] = {
14327 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14328 };
14329
14330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14332 if (!SWIG_IsOK(res1)) {
14333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14334 }
14335 arg1 = reinterpret_cast< wxWindow * >(argp1);
14336 if (obj1) {
14337 ecode2 = SWIG_AsVal_int(obj1, &val2);
14338 if (!SWIG_IsOK(ecode2)) {
14339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14340 }
14341 arg2 = static_cast< int >(val2);
14342 }
14343 if (obj2) {
14344 {
14345 arg3 = &temp3;
14346 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14347 }
14348 }
14349 if (obj3) {
14350 {
14351 arg4 = &temp4;
14352 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14353 }
14354 }
14355 if (obj4) {
14356 ecode5 = SWIG_AsVal_long(obj4, &val5);
14357 if (!SWIG_IsOK(ecode5)) {
14358 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14359 }
14360 arg5 = static_cast< long >(val5);
14361 }
14362 if (obj5) {
14363 {
14364 arg6 = wxString_in_helper(obj5);
14365 if (arg6 == NULL) SWIG_fail;
14366 temp6 = true;
14367 }
14368 }
14369 {
14370 if (!wxPyCheckForApp()) SWIG_fail;
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14373 wxPyEndAllowThreads(__tstate);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14377 {
14378 if (temp6)
14379 delete arg6;
14380 }
14381 return resultobj;
14382 fail:
14383 {
14384 if (temp6)
14385 delete arg6;
14386 }
14387 return NULL;
14388 }
14389
14390
14391 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14392 PyObject *resultobj = 0;
14393 wxPyVListBox *result = 0 ;
14394
14395 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14396 {
14397 if (!wxPyCheckForApp()) SWIG_fail;
14398 PyThreadState* __tstate = wxPyBeginAllowThreads();
14399 result = (wxPyVListBox *)new wxPyVListBox();
14400 wxPyEndAllowThreads(__tstate);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14404 return resultobj;
14405 fail:
14406 return NULL;
14407 }
14408
14409
14410 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14411 PyObject *resultobj = 0;
14412 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14413 PyObject *arg2 = (PyObject *) 0 ;
14414 PyObject *arg3 = (PyObject *) 0 ;
14415 void *argp1 = 0 ;
14416 int res1 = 0 ;
14417 PyObject * obj0 = 0 ;
14418 PyObject * obj1 = 0 ;
14419 PyObject * obj2 = 0 ;
14420 char * kwnames[] = {
14421 (char *) "self",(char *) "self",(char *) "_class", NULL
14422 };
14423
14424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14426 if (!SWIG_IsOK(res1)) {
14427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14428 }
14429 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14430 arg2 = obj1;
14431 arg3 = obj2;
14432 {
14433 PyThreadState* __tstate = wxPyBeginAllowThreads();
14434 (arg1)->_setCallbackInfo(arg2,arg3);
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 resultobj = SWIG_Py_Void();
14439 return resultobj;
14440 fail:
14441 return NULL;
14442 }
14443
14444
14445 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14446 PyObject *resultobj = 0;
14447 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14448 wxWindow *arg2 = (wxWindow *) 0 ;
14449 int arg3 = (int) wxID_ANY ;
14450 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14451 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14452 wxSize const &arg5_defvalue = wxDefaultSize ;
14453 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14454 long arg6 = (long) 0 ;
14455 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14456 wxString *arg7 = (wxString *) &arg7_defvalue ;
14457 bool result;
14458 void *argp1 = 0 ;
14459 int res1 = 0 ;
14460 void *argp2 = 0 ;
14461 int res2 = 0 ;
14462 int val3 ;
14463 int ecode3 = 0 ;
14464 wxPoint temp4 ;
14465 wxSize temp5 ;
14466 long val6 ;
14467 int ecode6 = 0 ;
14468 bool temp7 = false ;
14469 PyObject * obj0 = 0 ;
14470 PyObject * obj1 = 0 ;
14471 PyObject * obj2 = 0 ;
14472 PyObject * obj3 = 0 ;
14473 PyObject * obj4 = 0 ;
14474 PyObject * obj5 = 0 ;
14475 PyObject * obj6 = 0 ;
14476 char * kwnames[] = {
14477 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14478 };
14479
14480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14482 if (!SWIG_IsOK(res1)) {
14483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14484 }
14485 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14486 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14487 if (!SWIG_IsOK(res2)) {
14488 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14489 }
14490 arg2 = reinterpret_cast< wxWindow * >(argp2);
14491 if (obj2) {
14492 ecode3 = SWIG_AsVal_int(obj2, &val3);
14493 if (!SWIG_IsOK(ecode3)) {
14494 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14495 }
14496 arg3 = static_cast< int >(val3);
14497 }
14498 if (obj3) {
14499 {
14500 arg4 = &temp4;
14501 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14502 }
14503 }
14504 if (obj4) {
14505 {
14506 arg5 = &temp5;
14507 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14508 }
14509 }
14510 if (obj5) {
14511 ecode6 = SWIG_AsVal_long(obj5, &val6);
14512 if (!SWIG_IsOK(ecode6)) {
14513 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14514 }
14515 arg6 = static_cast< long >(val6);
14516 }
14517 if (obj6) {
14518 {
14519 arg7 = wxString_in_helper(obj6);
14520 if (arg7 == NULL) SWIG_fail;
14521 temp7 = true;
14522 }
14523 }
14524 {
14525 PyThreadState* __tstate = wxPyBeginAllowThreads();
14526 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 {
14531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14532 }
14533 {
14534 if (temp7)
14535 delete arg7;
14536 }
14537 return resultobj;
14538 fail:
14539 {
14540 if (temp7)
14541 delete arg7;
14542 }
14543 return NULL;
14544 }
14545
14546
14547 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14548 PyObject *resultobj = 0;
14549 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14550 size_t result;
14551 void *argp1 = 0 ;
14552 int res1 = 0 ;
14553 PyObject *swig_obj[1] ;
14554
14555 if (!args) SWIG_fail;
14556 swig_obj[0] = args;
14557 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14558 if (!SWIG_IsOK(res1)) {
14559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14560 }
14561 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14562 {
14563 PyThreadState* __tstate = wxPyBeginAllowThreads();
14564 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14569 return resultobj;
14570 fail:
14571 return NULL;
14572 }
14573
14574
14575 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14576 PyObject *resultobj = 0;
14577 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14578 bool result;
14579 void *argp1 = 0 ;
14580 int res1 = 0 ;
14581 PyObject *swig_obj[1] ;
14582
14583 if (!args) SWIG_fail;
14584 swig_obj[0] = args;
14585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14586 if (!SWIG_IsOK(res1)) {
14587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14588 }
14589 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14590 {
14591 PyThreadState* __tstate = wxPyBeginAllowThreads();
14592 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14593 wxPyEndAllowThreads(__tstate);
14594 if (PyErr_Occurred()) SWIG_fail;
14595 }
14596 {
14597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14598 }
14599 return resultobj;
14600 fail:
14601 return NULL;
14602 }
14603
14604
14605 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14606 PyObject *resultobj = 0;
14607 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14608 int result;
14609 void *argp1 = 0 ;
14610 int res1 = 0 ;
14611 PyObject *swig_obj[1] ;
14612
14613 if (!args) SWIG_fail;
14614 swig_obj[0] = args;
14615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14616 if (!SWIG_IsOK(res1)) {
14617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14618 }
14619 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14620 {
14621 PyThreadState* __tstate = wxPyBeginAllowThreads();
14622 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14623 wxPyEndAllowThreads(__tstate);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 }
14626 resultobj = SWIG_From_int(static_cast< int >(result));
14627 return resultobj;
14628 fail:
14629 return NULL;
14630 }
14631
14632
14633 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14634 PyObject *resultobj = 0;
14635 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14636 size_t arg2 ;
14637 bool result;
14638 void *argp1 = 0 ;
14639 int res1 = 0 ;
14640 size_t val2 ;
14641 int ecode2 = 0 ;
14642 PyObject * obj0 = 0 ;
14643 PyObject * obj1 = 0 ;
14644 char * kwnames[] = {
14645 (char *) "self",(char *) "item", NULL
14646 };
14647
14648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14650 if (!SWIG_IsOK(res1)) {
14651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14652 }
14653 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14654 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14655 if (!SWIG_IsOK(ecode2)) {
14656 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14657 }
14658 arg2 = static_cast< size_t >(val2);
14659 {
14660 PyThreadState* __tstate = wxPyBeginAllowThreads();
14661 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 {
14666 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14667 }
14668 return resultobj;
14669 fail:
14670 return NULL;
14671 }
14672
14673
14674 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14675 PyObject *resultobj = 0;
14676 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14677 size_t arg2 ;
14678 bool result;
14679 void *argp1 = 0 ;
14680 int res1 = 0 ;
14681 size_t val2 ;
14682 int ecode2 = 0 ;
14683 PyObject * obj0 = 0 ;
14684 PyObject * obj1 = 0 ;
14685 char * kwnames[] = {
14686 (char *) "self",(char *) "item", NULL
14687 };
14688
14689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14691 if (!SWIG_IsOK(res1)) {
14692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14693 }
14694 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14695 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14696 if (!SWIG_IsOK(ecode2)) {
14697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14698 }
14699 arg2 = static_cast< size_t >(val2);
14700 {
14701 PyThreadState* __tstate = wxPyBeginAllowThreads();
14702 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 {
14707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14708 }
14709 return resultobj;
14710 fail:
14711 return NULL;
14712 }
14713
14714
14715 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14716 PyObject *resultobj = 0;
14717 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14718 size_t result;
14719 void *argp1 = 0 ;
14720 int res1 = 0 ;
14721 PyObject *swig_obj[1] ;
14722
14723 if (!args) SWIG_fail;
14724 swig_obj[0] = args;
14725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14726 if (!SWIG_IsOK(res1)) {
14727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14728 }
14729 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14730 {
14731 PyThreadState* __tstate = wxPyBeginAllowThreads();
14732 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14733 wxPyEndAllowThreads(__tstate);
14734 if (PyErr_Occurred()) SWIG_fail;
14735 }
14736 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14737 return resultobj;
14738 fail:
14739 return NULL;
14740 }
14741
14742
14743 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14744 PyObject *resultobj = 0;
14745 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14746 PyObject *result = 0 ;
14747 void *argp1 = 0 ;
14748 int res1 = 0 ;
14749 PyObject *swig_obj[1] ;
14750
14751 if (!args) SWIG_fail;
14752 swig_obj[0] = args;
14753 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14754 if (!SWIG_IsOK(res1)) {
14755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14756 }
14757 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14758 {
14759 PyThreadState* __tstate = wxPyBeginAllowThreads();
14760 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14761 wxPyEndAllowThreads(__tstate);
14762 if (PyErr_Occurred()) SWIG_fail;
14763 }
14764 resultobj = result;
14765 return resultobj;
14766 fail:
14767 return NULL;
14768 }
14769
14770
14771 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14772 PyObject *resultobj = 0;
14773 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14774 unsigned long arg2 ;
14775 PyObject *result = 0 ;
14776 void *argp1 = 0 ;
14777 int res1 = 0 ;
14778 unsigned long val2 ;
14779 int ecode2 = 0 ;
14780 PyObject * obj0 = 0 ;
14781 PyObject * obj1 = 0 ;
14782 char * kwnames[] = {
14783 (char *) "self",(char *) "cookie", NULL
14784 };
14785
14786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14788 if (!SWIG_IsOK(res1)) {
14789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14790 }
14791 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14792 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14793 if (!SWIG_IsOK(ecode2)) {
14794 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14795 }
14796 arg2 = static_cast< unsigned long >(val2);
14797 {
14798 PyThreadState* __tstate = wxPyBeginAllowThreads();
14799 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14800 wxPyEndAllowThreads(__tstate);
14801 if (PyErr_Occurred()) SWIG_fail;
14802 }
14803 resultobj = result;
14804 return resultobj;
14805 fail:
14806 return NULL;
14807 }
14808
14809
14810 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14811 PyObject *resultobj = 0;
14812 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14813 wxPoint result;
14814 void *argp1 = 0 ;
14815 int res1 = 0 ;
14816 PyObject *swig_obj[1] ;
14817
14818 if (!args) SWIG_fail;
14819 swig_obj[0] = args;
14820 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14821 if (!SWIG_IsOK(res1)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14823 }
14824 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 result = ((wxPyVListBox const *)arg1)->GetMargins();
14828 wxPyEndAllowThreads(__tstate);
14829 if (PyErr_Occurred()) SWIG_fail;
14830 }
14831 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14832 return resultobj;
14833 fail:
14834 return NULL;
14835 }
14836
14837
14838 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14839 PyObject *resultobj = 0;
14840 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14841 wxColour *result = 0 ;
14842 void *argp1 = 0 ;
14843 int res1 = 0 ;
14844 PyObject *swig_obj[1] ;
14845
14846 if (!args) SWIG_fail;
14847 swig_obj[0] = args;
14848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14849 if (!SWIG_IsOK(res1)) {
14850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14851 }
14852 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14853 {
14854 PyThreadState* __tstate = wxPyBeginAllowThreads();
14855 {
14856 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14857 result = (wxColour *) &_result_ref;
14858 }
14859 wxPyEndAllowThreads(__tstate);
14860 if (PyErr_Occurred()) SWIG_fail;
14861 }
14862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14863 return resultobj;
14864 fail:
14865 return NULL;
14866 }
14867
14868
14869 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14870 PyObject *resultobj = 0;
14871 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14872 size_t arg2 ;
14873 void *argp1 = 0 ;
14874 int res1 = 0 ;
14875 size_t val2 ;
14876 int ecode2 = 0 ;
14877 PyObject * obj0 = 0 ;
14878 PyObject * obj1 = 0 ;
14879 char * kwnames[] = {
14880 (char *) "self",(char *) "count", NULL
14881 };
14882
14883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14885 if (!SWIG_IsOK(res1)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14887 }
14888 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14889 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14890 if (!SWIG_IsOK(ecode2)) {
14891 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14892 }
14893 arg2 = static_cast< size_t >(val2);
14894 {
14895 PyThreadState* __tstate = wxPyBeginAllowThreads();
14896 (arg1)->SetItemCount(arg2);
14897 wxPyEndAllowThreads(__tstate);
14898 if (PyErr_Occurred()) SWIG_fail;
14899 }
14900 resultobj = SWIG_Py_Void();
14901 return resultobj;
14902 fail:
14903 return NULL;
14904 }
14905
14906
14907 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14908 PyObject *resultobj = 0;
14909 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14910 void *argp1 = 0 ;
14911 int res1 = 0 ;
14912 PyObject *swig_obj[1] ;
14913
14914 if (!args) SWIG_fail;
14915 swig_obj[0] = args;
14916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14917 if (!SWIG_IsOK(res1)) {
14918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14919 }
14920 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14921 {
14922 PyThreadState* __tstate = wxPyBeginAllowThreads();
14923 (arg1)->Clear();
14924 wxPyEndAllowThreads(__tstate);
14925 if (PyErr_Occurred()) SWIG_fail;
14926 }
14927 resultobj = SWIG_Py_Void();
14928 return resultobj;
14929 fail:
14930 return NULL;
14931 }
14932
14933
14934 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14935 PyObject *resultobj = 0;
14936 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14937 int arg2 ;
14938 void *argp1 = 0 ;
14939 int res1 = 0 ;
14940 int val2 ;
14941 int ecode2 = 0 ;
14942 PyObject * obj0 = 0 ;
14943 PyObject * obj1 = 0 ;
14944 char * kwnames[] = {
14945 (char *) "self",(char *) "selection", NULL
14946 };
14947
14948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
14949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14950 if (!SWIG_IsOK(res1)) {
14951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14952 }
14953 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14954 ecode2 = SWIG_AsVal_int(obj1, &val2);
14955 if (!SWIG_IsOK(ecode2)) {
14956 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14957 }
14958 arg2 = static_cast< int >(val2);
14959 {
14960 PyThreadState* __tstate = wxPyBeginAllowThreads();
14961 (arg1)->SetSelection(arg2);
14962 wxPyEndAllowThreads(__tstate);
14963 if (PyErr_Occurred()) SWIG_fail;
14964 }
14965 resultobj = SWIG_Py_Void();
14966 return resultobj;
14967 fail:
14968 return NULL;
14969 }
14970
14971
14972 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14973 PyObject *resultobj = 0;
14974 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14975 size_t arg2 ;
14976 bool arg3 = (bool) true ;
14977 bool result;
14978 void *argp1 = 0 ;
14979 int res1 = 0 ;
14980 size_t val2 ;
14981 int ecode2 = 0 ;
14982 bool val3 ;
14983 int ecode3 = 0 ;
14984 PyObject * obj0 = 0 ;
14985 PyObject * obj1 = 0 ;
14986 PyObject * obj2 = 0 ;
14987 char * kwnames[] = {
14988 (char *) "self",(char *) "item",(char *) "select", NULL
14989 };
14990
14991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14993 if (!SWIG_IsOK(res1)) {
14994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14995 }
14996 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14997 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14998 if (!SWIG_IsOK(ecode2)) {
14999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15000 }
15001 arg2 = static_cast< size_t >(val2);
15002 if (obj2) {
15003 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15004 if (!SWIG_IsOK(ecode3)) {
15005 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15006 }
15007 arg3 = static_cast< bool >(val3);
15008 }
15009 {
15010 PyThreadState* __tstate = wxPyBeginAllowThreads();
15011 result = (bool)(arg1)->Select(arg2,arg3);
15012 wxPyEndAllowThreads(__tstate);
15013 if (PyErr_Occurred()) SWIG_fail;
15014 }
15015 {
15016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15017 }
15018 return resultobj;
15019 fail:
15020 return NULL;
15021 }
15022
15023
15024 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15025 PyObject *resultobj = 0;
15026 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15027 size_t arg2 ;
15028 size_t arg3 ;
15029 bool result;
15030 void *argp1 = 0 ;
15031 int res1 = 0 ;
15032 size_t val2 ;
15033 int ecode2 = 0 ;
15034 size_t val3 ;
15035 int ecode3 = 0 ;
15036 PyObject * obj0 = 0 ;
15037 PyObject * obj1 = 0 ;
15038 PyObject * obj2 = 0 ;
15039 char * kwnames[] = {
15040 (char *) "self",(char *) "from",(char *) "to", NULL
15041 };
15042
15043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15045 if (!SWIG_IsOK(res1)) {
15046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15047 }
15048 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15049 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15050 if (!SWIG_IsOK(ecode2)) {
15051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15052 }
15053 arg2 = static_cast< size_t >(val2);
15054 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15055 if (!SWIG_IsOK(ecode3)) {
15056 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15057 }
15058 arg3 = static_cast< size_t >(val3);
15059 {
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 result = (bool)(arg1)->SelectRange(arg2,arg3);
15062 wxPyEndAllowThreads(__tstate);
15063 if (PyErr_Occurred()) SWIG_fail;
15064 }
15065 {
15066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15067 }
15068 return resultobj;
15069 fail:
15070 return NULL;
15071 }
15072
15073
15074 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15075 PyObject *resultobj = 0;
15076 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15077 size_t arg2 ;
15078 void *argp1 = 0 ;
15079 int res1 = 0 ;
15080 size_t val2 ;
15081 int ecode2 = 0 ;
15082 PyObject * obj0 = 0 ;
15083 PyObject * obj1 = 0 ;
15084 char * kwnames[] = {
15085 (char *) "self",(char *) "item", NULL
15086 };
15087
15088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15090 if (!SWIG_IsOK(res1)) {
15091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15092 }
15093 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15094 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15095 if (!SWIG_IsOK(ecode2)) {
15096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15097 }
15098 arg2 = static_cast< size_t >(val2);
15099 {
15100 PyThreadState* __tstate = wxPyBeginAllowThreads();
15101 (arg1)->Toggle(arg2);
15102 wxPyEndAllowThreads(__tstate);
15103 if (PyErr_Occurred()) SWIG_fail;
15104 }
15105 resultobj = SWIG_Py_Void();
15106 return resultobj;
15107 fail:
15108 return NULL;
15109 }
15110
15111
15112 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15113 PyObject *resultobj = 0;
15114 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15115 bool result;
15116 void *argp1 = 0 ;
15117 int res1 = 0 ;
15118 PyObject *swig_obj[1] ;
15119
15120 if (!args) SWIG_fail;
15121 swig_obj[0] = args;
15122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15123 if (!SWIG_IsOK(res1)) {
15124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15125 }
15126 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 result = (bool)(arg1)->SelectAll();
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 {
15134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15135 }
15136 return resultobj;
15137 fail:
15138 return NULL;
15139 }
15140
15141
15142 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15143 PyObject *resultobj = 0;
15144 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15145 bool result;
15146 void *argp1 = 0 ;
15147 int res1 = 0 ;
15148 PyObject *swig_obj[1] ;
15149
15150 if (!args) SWIG_fail;
15151 swig_obj[0] = args;
15152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15153 if (!SWIG_IsOK(res1)) {
15154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15155 }
15156 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15157 {
15158 PyThreadState* __tstate = wxPyBeginAllowThreads();
15159 result = (bool)(arg1)->DeselectAll();
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 {
15164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15165 }
15166 return resultobj;
15167 fail:
15168 return NULL;
15169 }
15170
15171
15172 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15173 PyObject *resultobj = 0;
15174 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15175 wxPoint *arg2 = 0 ;
15176 void *argp1 = 0 ;
15177 int res1 = 0 ;
15178 wxPoint temp2 ;
15179 PyObject * obj0 = 0 ;
15180 PyObject * obj1 = 0 ;
15181 char * kwnames[] = {
15182 (char *) "self",(char *) "pt", NULL
15183 };
15184
15185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15187 if (!SWIG_IsOK(res1)) {
15188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15189 }
15190 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15191 {
15192 arg2 = &temp2;
15193 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15194 }
15195 {
15196 PyThreadState* __tstate = wxPyBeginAllowThreads();
15197 (arg1)->SetMargins((wxPoint const &)*arg2);
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 resultobj = SWIG_Py_Void();
15202 return resultobj;
15203 fail:
15204 return NULL;
15205 }
15206
15207
15208 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj = 0;
15210 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15211 int arg2 ;
15212 int arg3 ;
15213 void *argp1 = 0 ;
15214 int res1 = 0 ;
15215 int val2 ;
15216 int ecode2 = 0 ;
15217 int val3 ;
15218 int ecode3 = 0 ;
15219 PyObject * obj0 = 0 ;
15220 PyObject * obj1 = 0 ;
15221 PyObject * obj2 = 0 ;
15222 char * kwnames[] = {
15223 (char *) "self",(char *) "x",(char *) "y", NULL
15224 };
15225
15226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15228 if (!SWIG_IsOK(res1)) {
15229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15230 }
15231 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15232 ecode2 = SWIG_AsVal_int(obj1, &val2);
15233 if (!SWIG_IsOK(ecode2)) {
15234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15235 }
15236 arg2 = static_cast< int >(val2);
15237 ecode3 = SWIG_AsVal_int(obj2, &val3);
15238 if (!SWIG_IsOK(ecode3)) {
15239 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15240 }
15241 arg3 = static_cast< int >(val3);
15242 {
15243 PyThreadState* __tstate = wxPyBeginAllowThreads();
15244 (arg1)->SetMargins(arg2,arg3);
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 resultobj = SWIG_Py_Void();
15249 return resultobj;
15250 fail:
15251 return NULL;
15252 }
15253
15254
15255 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15256 PyObject *resultobj = 0;
15257 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15258 wxColour *arg2 = 0 ;
15259 void *argp1 = 0 ;
15260 int res1 = 0 ;
15261 wxColour temp2 ;
15262 PyObject * obj0 = 0 ;
15263 PyObject * obj1 = 0 ;
15264 char * kwnames[] = {
15265 (char *) "self",(char *) "col", NULL
15266 };
15267
15268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15270 if (!SWIG_IsOK(res1)) {
15271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15272 }
15273 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15274 {
15275 arg2 = &temp2;
15276 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15277 }
15278 {
15279 PyThreadState* __tstate = wxPyBeginAllowThreads();
15280 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 resultobj = SWIG_Py_Void();
15285 return resultobj;
15286 fail:
15287 return NULL;
15288 }
15289
15290
15291 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15292 PyObject *resultobj = 0;
15293 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15294 wxDC *arg2 = 0 ;
15295 wxRect *arg3 = 0 ;
15296 size_t arg4 ;
15297 void *argp1 = 0 ;
15298 int res1 = 0 ;
15299 void *argp2 = 0 ;
15300 int res2 = 0 ;
15301 wxRect temp3 ;
15302 size_t val4 ;
15303 int ecode4 = 0 ;
15304 PyObject * obj0 = 0 ;
15305 PyObject * obj1 = 0 ;
15306 PyObject * obj2 = 0 ;
15307 PyObject * obj3 = 0 ;
15308 char * kwnames[] = {
15309 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15310 };
15311
15312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15314 if (!SWIG_IsOK(res1)) {
15315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15316 }
15317 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15318 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15319 if (!SWIG_IsOK(res2)) {
15320 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15321 }
15322 if (!argp2) {
15323 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15324 }
15325 arg2 = reinterpret_cast< wxDC * >(argp2);
15326 {
15327 arg3 = &temp3;
15328 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15329 }
15330 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15331 if (!SWIG_IsOK(ecode4)) {
15332 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15333 }
15334 arg4 = static_cast< size_t >(val4);
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 resultobj = SWIG_Py_Void();
15342 return resultobj;
15343 fail:
15344 return NULL;
15345 }
15346
15347
15348 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15349 PyObject *resultobj = 0;
15350 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15351 wxDC *arg2 = 0 ;
15352 wxRect *arg3 = 0 ;
15353 size_t arg4 ;
15354 void *argp1 = 0 ;
15355 int res1 = 0 ;
15356 void *argp2 = 0 ;
15357 int res2 = 0 ;
15358 wxRect temp3 ;
15359 size_t val4 ;
15360 int ecode4 = 0 ;
15361 PyObject * obj0 = 0 ;
15362 PyObject * obj1 = 0 ;
15363 PyObject * obj2 = 0 ;
15364 PyObject * obj3 = 0 ;
15365 char * kwnames[] = {
15366 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15367 };
15368
15369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15371 if (!SWIG_IsOK(res1)) {
15372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15373 }
15374 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15375 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15376 if (!SWIG_IsOK(res2)) {
15377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15378 }
15379 if (!argp2) {
15380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15381 }
15382 arg2 = reinterpret_cast< wxDC * >(argp2);
15383 {
15384 arg3 = &temp3;
15385 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15386 }
15387 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15388 if (!SWIG_IsOK(ecode4)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15390 }
15391 arg4 = static_cast< size_t >(val4);
15392 {
15393 PyThreadState* __tstate = wxPyBeginAllowThreads();
15394 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15395 wxPyEndAllowThreads(__tstate);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
15398 resultobj = SWIG_Py_Void();
15399 return resultobj;
15400 fail:
15401 return NULL;
15402 }
15403
15404
15405 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15406 PyObject *obj;
15407 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15408 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15409 return SWIG_Py_Void();
15410 }
15411
15412 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15413 return SWIG_Python_InitShadowInstance(args);
15414 }
15415
15416 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15417 PyObject *resultobj = 0;
15418 wxWindow *arg1 = (wxWindow *) 0 ;
15419 int arg2 = (int) wxID_ANY ;
15420 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15421 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15422 wxSize const &arg4_defvalue = wxDefaultSize ;
15423 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15424 long arg5 = (long) 0 ;
15425 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15426 wxString *arg6 = (wxString *) &arg6_defvalue ;
15427 wxPyHtmlListBox *result = 0 ;
15428 void *argp1 = 0 ;
15429 int res1 = 0 ;
15430 int val2 ;
15431 int ecode2 = 0 ;
15432 wxPoint temp3 ;
15433 wxSize temp4 ;
15434 long val5 ;
15435 int ecode5 = 0 ;
15436 bool temp6 = false ;
15437 PyObject * obj0 = 0 ;
15438 PyObject * obj1 = 0 ;
15439 PyObject * obj2 = 0 ;
15440 PyObject * obj3 = 0 ;
15441 PyObject * obj4 = 0 ;
15442 PyObject * obj5 = 0 ;
15443 char * kwnames[] = {
15444 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15445 };
15446
15447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15449 if (!SWIG_IsOK(res1)) {
15450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15451 }
15452 arg1 = reinterpret_cast< wxWindow * >(argp1);
15453 if (obj1) {
15454 ecode2 = SWIG_AsVal_int(obj1, &val2);
15455 if (!SWIG_IsOK(ecode2)) {
15456 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15457 }
15458 arg2 = static_cast< int >(val2);
15459 }
15460 if (obj2) {
15461 {
15462 arg3 = &temp3;
15463 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15464 }
15465 }
15466 if (obj3) {
15467 {
15468 arg4 = &temp4;
15469 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15470 }
15471 }
15472 if (obj4) {
15473 ecode5 = SWIG_AsVal_long(obj4, &val5);
15474 if (!SWIG_IsOK(ecode5)) {
15475 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15476 }
15477 arg5 = static_cast< long >(val5);
15478 }
15479 if (obj5) {
15480 {
15481 arg6 = wxString_in_helper(obj5);
15482 if (arg6 == NULL) SWIG_fail;
15483 temp6 = true;
15484 }
15485 }
15486 {
15487 if (!wxPyCheckForApp()) SWIG_fail;
15488 PyThreadState* __tstate = wxPyBeginAllowThreads();
15489 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15490 wxPyEndAllowThreads(__tstate);
15491 if (PyErr_Occurred()) SWIG_fail;
15492 }
15493 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15494 {
15495 if (temp6)
15496 delete arg6;
15497 }
15498 return resultobj;
15499 fail:
15500 {
15501 if (temp6)
15502 delete arg6;
15503 }
15504 return NULL;
15505 }
15506
15507
15508 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15509 PyObject *resultobj = 0;
15510 wxPyHtmlListBox *result = 0 ;
15511
15512 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15513 {
15514 if (!wxPyCheckForApp()) SWIG_fail;
15515 PyThreadState* __tstate = wxPyBeginAllowThreads();
15516 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
15520 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15521 return resultobj;
15522 fail:
15523 return NULL;
15524 }
15525
15526
15527 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15528 PyObject *resultobj = 0;
15529 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15530 PyObject *arg2 = (PyObject *) 0 ;
15531 PyObject *arg3 = (PyObject *) 0 ;
15532 void *argp1 = 0 ;
15533 int res1 = 0 ;
15534 PyObject * obj0 = 0 ;
15535 PyObject * obj1 = 0 ;
15536 PyObject * obj2 = 0 ;
15537 char * kwnames[] = {
15538 (char *) "self",(char *) "self",(char *) "_class", NULL
15539 };
15540
15541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15543 if (!SWIG_IsOK(res1)) {
15544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15545 }
15546 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15547 arg2 = obj1;
15548 arg3 = obj2;
15549 {
15550 PyThreadState* __tstate = wxPyBeginAllowThreads();
15551 (arg1)->_setCallbackInfo(arg2,arg3);
15552 wxPyEndAllowThreads(__tstate);
15553 if (PyErr_Occurred()) SWIG_fail;
15554 }
15555 resultobj = SWIG_Py_Void();
15556 return resultobj;
15557 fail:
15558 return NULL;
15559 }
15560
15561
15562 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15563 PyObject *resultobj = 0;
15564 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15565 wxWindow *arg2 = (wxWindow *) 0 ;
15566 int arg3 = (int) wxID_ANY ;
15567 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15568 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15569 wxSize const &arg5_defvalue = wxDefaultSize ;
15570 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15571 long arg6 = (long) 0 ;
15572 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15573 wxString *arg7 = (wxString *) &arg7_defvalue ;
15574 bool result;
15575 void *argp1 = 0 ;
15576 int res1 = 0 ;
15577 void *argp2 = 0 ;
15578 int res2 = 0 ;
15579 int val3 ;
15580 int ecode3 = 0 ;
15581 wxPoint temp4 ;
15582 wxSize temp5 ;
15583 long val6 ;
15584 int ecode6 = 0 ;
15585 bool temp7 = false ;
15586 PyObject * obj0 = 0 ;
15587 PyObject * obj1 = 0 ;
15588 PyObject * obj2 = 0 ;
15589 PyObject * obj3 = 0 ;
15590 PyObject * obj4 = 0 ;
15591 PyObject * obj5 = 0 ;
15592 PyObject * obj6 = 0 ;
15593 char * kwnames[] = {
15594 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15595 };
15596
15597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15599 if (!SWIG_IsOK(res1)) {
15600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15601 }
15602 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15603 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15604 if (!SWIG_IsOK(res2)) {
15605 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15606 }
15607 arg2 = reinterpret_cast< wxWindow * >(argp2);
15608 if (obj2) {
15609 ecode3 = SWIG_AsVal_int(obj2, &val3);
15610 if (!SWIG_IsOK(ecode3)) {
15611 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15612 }
15613 arg3 = static_cast< int >(val3);
15614 }
15615 if (obj3) {
15616 {
15617 arg4 = &temp4;
15618 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15619 }
15620 }
15621 if (obj4) {
15622 {
15623 arg5 = &temp5;
15624 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15625 }
15626 }
15627 if (obj5) {
15628 ecode6 = SWIG_AsVal_long(obj5, &val6);
15629 if (!SWIG_IsOK(ecode6)) {
15630 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15631 }
15632 arg6 = static_cast< long >(val6);
15633 }
15634 if (obj6) {
15635 {
15636 arg7 = wxString_in_helper(obj6);
15637 if (arg7 == NULL) SWIG_fail;
15638 temp7 = true;
15639 }
15640 }
15641 {
15642 PyThreadState* __tstate = wxPyBeginAllowThreads();
15643 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15644 wxPyEndAllowThreads(__tstate);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 }
15647 {
15648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15649 }
15650 {
15651 if (temp7)
15652 delete arg7;
15653 }
15654 return resultobj;
15655 fail:
15656 {
15657 if (temp7)
15658 delete arg7;
15659 }
15660 return NULL;
15661 }
15662
15663
15664 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15665 PyObject *resultobj = 0;
15666 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15667 size_t arg2 ;
15668 void *argp1 = 0 ;
15669 int res1 = 0 ;
15670 size_t val2 ;
15671 int ecode2 = 0 ;
15672 PyObject * obj0 = 0 ;
15673 PyObject * obj1 = 0 ;
15674 char * kwnames[] = {
15675 (char *) "self",(char *) "count", NULL
15676 };
15677
15678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15680 if (!SWIG_IsOK(res1)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15682 }
15683 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15684 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15685 if (!SWIG_IsOK(ecode2)) {
15686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15687 }
15688 arg2 = static_cast< size_t >(val2);
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 (arg1)->SetItemCount(arg2);
15692 wxPyEndAllowThreads(__tstate);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 }
15695 resultobj = SWIG_Py_Void();
15696 return resultobj;
15697 fail:
15698 return NULL;
15699 }
15700
15701
15702 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15703 PyObject *resultobj = 0;
15704 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15705 wxFileSystem *result = 0 ;
15706 void *argp1 = 0 ;
15707 int res1 = 0 ;
15708 PyObject *swig_obj[1] ;
15709
15710 if (!args) SWIG_fail;
15711 swig_obj[0] = args;
15712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15713 if (!SWIG_IsOK(res1)) {
15714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15715 }
15716 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15717 {
15718 PyThreadState* __tstate = wxPyBeginAllowThreads();
15719 {
15720 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15721 result = (wxFileSystem *) &_result_ref;
15722 }
15723 wxPyEndAllowThreads(__tstate);
15724 if (PyErr_Occurred()) SWIG_fail;
15725 }
15726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15727 return resultobj;
15728 fail:
15729 return NULL;
15730 }
15731
15732
15733 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15734 PyObject *resultobj = 0;
15735 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15736 size_t arg2 ;
15737 wxHtmlLinkInfo *arg3 = 0 ;
15738 void *argp1 = 0 ;
15739 int res1 = 0 ;
15740 size_t val2 ;
15741 int ecode2 = 0 ;
15742 void *argp3 = 0 ;
15743 int res3 = 0 ;
15744 PyObject * obj0 = 0 ;
15745 PyObject * obj1 = 0 ;
15746 PyObject * obj2 = 0 ;
15747 char * kwnames[] = {
15748 (char *) "self",(char *) "n",(char *) "link", NULL
15749 };
15750
15751 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15752 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15753 if (!SWIG_IsOK(res1)) {
15754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15755 }
15756 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15757 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15758 if (!SWIG_IsOK(ecode2)) {
15759 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15760 }
15761 arg2 = static_cast< size_t >(val2);
15762 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15763 if (!SWIG_IsOK(res3)) {
15764 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15765 }
15766 if (!argp3) {
15767 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15768 }
15769 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15770 {
15771 PyThreadState* __tstate = wxPyBeginAllowThreads();
15772 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15773 wxPyEndAllowThreads(__tstate);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 }
15776 resultobj = SWIG_Py_Void();
15777 return resultobj;
15778 fail:
15779 return NULL;
15780 }
15781
15782
15783 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15784 PyObject *obj;
15785 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15786 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15787 return SWIG_Py_Void();
15788 }
15789
15790 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15791 return SWIG_Python_InitShadowInstance(args);
15792 }
15793
15794 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15795 PyObject *resultobj = 0;
15796 wxPyTaskBarIcon *result = 0 ;
15797
15798 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15799 {
15800 if (!wxPyCheckForApp()) SWIG_fail;
15801 PyThreadState* __tstate = wxPyBeginAllowThreads();
15802 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15803 wxPyEndAllowThreads(__tstate);
15804 if (PyErr_Occurred()) SWIG_fail;
15805 }
15806 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15807 return resultobj;
15808 fail:
15809 return NULL;
15810 }
15811
15812
15813 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15814 PyObject *resultobj = 0;
15815 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15816 void *argp1 = 0 ;
15817 int res1 = 0 ;
15818 PyObject *swig_obj[1] ;
15819
15820 if (!args) SWIG_fail;
15821 swig_obj[0] = args;
15822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15823 if (!SWIG_IsOK(res1)) {
15824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15825 }
15826 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15827 {
15828 PyThreadState* __tstate = wxPyBeginAllowThreads();
15829 delete arg1;
15830
15831 wxPyEndAllowThreads(__tstate);
15832 if (PyErr_Occurred()) SWIG_fail;
15833 }
15834 resultobj = SWIG_Py_Void();
15835 return resultobj;
15836 fail:
15837 return NULL;
15838 }
15839
15840
15841 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15842 PyObject *resultobj = 0;
15843 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15844 PyObject *arg2 = (PyObject *) 0 ;
15845 PyObject *arg3 = (PyObject *) 0 ;
15846 int arg4 ;
15847 void *argp1 = 0 ;
15848 int res1 = 0 ;
15849 int val4 ;
15850 int ecode4 = 0 ;
15851 PyObject * obj0 = 0 ;
15852 PyObject * obj1 = 0 ;
15853 PyObject * obj2 = 0 ;
15854 PyObject * obj3 = 0 ;
15855 char * kwnames[] = {
15856 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15857 };
15858
15859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15861 if (!SWIG_IsOK(res1)) {
15862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15863 }
15864 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15865 arg2 = obj1;
15866 arg3 = obj2;
15867 ecode4 = SWIG_AsVal_int(obj3, &val4);
15868 if (!SWIG_IsOK(ecode4)) {
15869 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15870 }
15871 arg4 = static_cast< int >(val4);
15872 {
15873 PyThreadState* __tstate = wxPyBeginAllowThreads();
15874 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
15875 wxPyEndAllowThreads(__tstate);
15876 if (PyErr_Occurred()) SWIG_fail;
15877 }
15878 resultobj = SWIG_Py_Void();
15879 return resultobj;
15880 fail:
15881 return NULL;
15882 }
15883
15884
15885 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15886 PyObject *resultobj = 0;
15887 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15888 void *argp1 = 0 ;
15889 int res1 = 0 ;
15890 PyObject *swig_obj[1] ;
15891
15892 if (!args) SWIG_fail;
15893 swig_obj[0] = args;
15894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15895 if (!SWIG_IsOK(res1)) {
15896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15897 }
15898 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15899 {
15900 PyThreadState* __tstate = wxPyBeginAllowThreads();
15901 wxPyTaskBarIcon_Destroy(arg1);
15902 wxPyEndAllowThreads(__tstate);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 resultobj = SWIG_Py_Void();
15906 return resultobj;
15907 fail:
15908 return NULL;
15909 }
15910
15911
15912 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15913 PyObject *resultobj = 0;
15914 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15915 bool result;
15916 void *argp1 = 0 ;
15917 int res1 = 0 ;
15918 PyObject *swig_obj[1] ;
15919
15920 if (!args) SWIG_fail;
15921 swig_obj[0] = args;
15922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15923 if (!SWIG_IsOK(res1)) {
15924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15925 }
15926 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15927 {
15928 PyThreadState* __tstate = wxPyBeginAllowThreads();
15929 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
15930 wxPyEndAllowThreads(__tstate);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 {
15934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15935 }
15936 return resultobj;
15937 fail:
15938 return NULL;
15939 }
15940
15941
15942 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15943 PyObject *resultobj = 0;
15944 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15945 bool result;
15946 void *argp1 = 0 ;
15947 int res1 = 0 ;
15948 PyObject *swig_obj[1] ;
15949
15950 if (!args) SWIG_fail;
15951 swig_obj[0] = args;
15952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15953 if (!SWIG_IsOK(res1)) {
15954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15955 }
15956 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 {
15964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15965 }
15966 return resultobj;
15967 fail:
15968 return NULL;
15969 }
15970
15971
15972 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15973 PyObject *resultobj = 0;
15974 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15975 wxIcon *arg2 = 0 ;
15976 wxString const &arg3_defvalue = wxPyEmptyString ;
15977 wxString *arg3 = (wxString *) &arg3_defvalue ;
15978 bool result;
15979 void *argp1 = 0 ;
15980 int res1 = 0 ;
15981 void *argp2 = 0 ;
15982 int res2 = 0 ;
15983 bool temp3 = false ;
15984 PyObject * obj0 = 0 ;
15985 PyObject * obj1 = 0 ;
15986 PyObject * obj2 = 0 ;
15987 char * kwnames[] = {
15988 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15989 };
15990
15991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15993 if (!SWIG_IsOK(res1)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15995 }
15996 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15997 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
15998 if (!SWIG_IsOK(res2)) {
15999 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16000 }
16001 if (!argp2) {
16002 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16003 }
16004 arg2 = reinterpret_cast< wxIcon * >(argp2);
16005 if (obj2) {
16006 {
16007 arg3 = wxString_in_helper(obj2);
16008 if (arg3 == NULL) SWIG_fail;
16009 temp3 = true;
16010 }
16011 }
16012 {
16013 PyThreadState* __tstate = wxPyBeginAllowThreads();
16014 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16015 wxPyEndAllowThreads(__tstate);
16016 if (PyErr_Occurred()) SWIG_fail;
16017 }
16018 {
16019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16020 }
16021 {
16022 if (temp3)
16023 delete arg3;
16024 }
16025 return resultobj;
16026 fail:
16027 {
16028 if (temp3)
16029 delete arg3;
16030 }
16031 return NULL;
16032 }
16033
16034
16035 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16036 PyObject *resultobj = 0;
16037 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16038 bool result;
16039 void *argp1 = 0 ;
16040 int res1 = 0 ;
16041 PyObject *swig_obj[1] ;
16042
16043 if (!args) SWIG_fail;
16044 swig_obj[0] = args;
16045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16046 if (!SWIG_IsOK(res1)) {
16047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16048 }
16049 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16050 {
16051 PyThreadState* __tstate = wxPyBeginAllowThreads();
16052 result = (bool)(arg1)->RemoveIcon();
16053 wxPyEndAllowThreads(__tstate);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 }
16056 {
16057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16058 }
16059 return resultobj;
16060 fail:
16061 return NULL;
16062 }
16063
16064
16065 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16066 PyObject *resultobj = 0;
16067 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16068 wxMenu *arg2 = (wxMenu *) 0 ;
16069 bool result;
16070 void *argp1 = 0 ;
16071 int res1 = 0 ;
16072 void *argp2 = 0 ;
16073 int res2 = 0 ;
16074 PyObject * obj0 = 0 ;
16075 PyObject * obj1 = 0 ;
16076 char * kwnames[] = {
16077 (char *) "self",(char *) "menu", NULL
16078 };
16079
16080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16082 if (!SWIG_IsOK(res1)) {
16083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16084 }
16085 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16086 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16087 if (!SWIG_IsOK(res2)) {
16088 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16089 }
16090 arg2 = reinterpret_cast< wxMenu * >(argp2);
16091 {
16092 PyThreadState* __tstate = wxPyBeginAllowThreads();
16093 result = (bool)(arg1)->PopupMenu(arg2);
16094 wxPyEndAllowThreads(__tstate);
16095 if (PyErr_Occurred()) SWIG_fail;
16096 }
16097 {
16098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16099 }
16100 return resultobj;
16101 fail:
16102 return NULL;
16103 }
16104
16105
16106 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16107 PyObject *obj;
16108 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16109 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16110 return SWIG_Py_Void();
16111 }
16112
16113 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16114 return SWIG_Python_InitShadowInstance(args);
16115 }
16116
16117 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16118 PyObject *resultobj = 0;
16119 wxEventType arg1 ;
16120 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16121 wxTaskBarIconEvent *result = 0 ;
16122 int val1 ;
16123 int ecode1 = 0 ;
16124 void *argp2 = 0 ;
16125 int res2 = 0 ;
16126 PyObject * obj0 = 0 ;
16127 PyObject * obj1 = 0 ;
16128 char * kwnames[] = {
16129 (char *) "evtType",(char *) "tbIcon", NULL
16130 };
16131
16132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16133 ecode1 = SWIG_AsVal_int(obj0, &val1);
16134 if (!SWIG_IsOK(ecode1)) {
16135 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16136 }
16137 arg1 = static_cast< wxEventType >(val1);
16138 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16139 if (!SWIG_IsOK(res2)) {
16140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16141 }
16142 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16143 {
16144 PyThreadState* __tstate = wxPyBeginAllowThreads();
16145 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16146 wxPyEndAllowThreads(__tstate);
16147 if (PyErr_Occurred()) SWIG_fail;
16148 }
16149 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16150 return resultobj;
16151 fail:
16152 return NULL;
16153 }
16154
16155
16156 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16157 PyObject *obj;
16158 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16159 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16160 return SWIG_Py_Void();
16161 }
16162
16163 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16164 return SWIG_Python_InitShadowInstance(args);
16165 }
16166
16167 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16168 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16169 return 1;
16170 }
16171
16172
16173 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16174 PyObject *pyobj = 0;
16175
16176 {
16177 #if wxUSE_UNICODE
16178 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16179 #else
16180 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16181 #endif
16182 }
16183 return pyobj;
16184 }
16185
16186
16187 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16188 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16189 return 1;
16190 }
16191
16192
16193 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16194 PyObject *pyobj = 0;
16195
16196 {
16197 #if wxUSE_UNICODE
16198 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16199 #else
16200 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16201 #endif
16202 }
16203 return pyobj;
16204 }
16205
16206
16207 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16208 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16209 return 1;
16210 }
16211
16212
16213 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16214 PyObject *pyobj = 0;
16215
16216 {
16217 #if wxUSE_UNICODE
16218 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16219 #else
16220 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16221 #endif
16222 }
16223 return pyobj;
16224 }
16225
16226
16227 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16228 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16229 return 1;
16230 }
16231
16232
16233 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16234 PyObject *pyobj = 0;
16235
16236 {
16237 #if wxUSE_UNICODE
16238 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16239 #else
16240 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16241 #endif
16242 }
16243 return pyobj;
16244 }
16245
16246
16247 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16248 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16249 return 1;
16250 }
16251
16252
16253 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16254 PyObject *pyobj = 0;
16255
16256 {
16257 #if wxUSE_UNICODE
16258 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16259 #else
16260 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16261 #endif
16262 }
16263 return pyobj;
16264 }
16265
16266
16267 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16268 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16269 return 1;
16270 }
16271
16272
16273 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16274 PyObject *pyobj = 0;
16275
16276 {
16277 #if wxUSE_UNICODE
16278 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16279 #else
16280 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16281 #endif
16282 }
16283 return pyobj;
16284 }
16285
16286
16287 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16288 PyObject *resultobj = 0;
16289 wxColourData *result = 0 ;
16290
16291 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16292 {
16293 PyThreadState* __tstate = wxPyBeginAllowThreads();
16294 result = (wxColourData *)new wxColourData();
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16299 return resultobj;
16300 fail:
16301 return NULL;
16302 }
16303
16304
16305 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16306 PyObject *resultobj = 0;
16307 wxColourData *arg1 = (wxColourData *) 0 ;
16308 void *argp1 = 0 ;
16309 int res1 = 0 ;
16310 PyObject *swig_obj[1] ;
16311
16312 if (!args) SWIG_fail;
16313 swig_obj[0] = args;
16314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16315 if (!SWIG_IsOK(res1)) {
16316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16317 }
16318 arg1 = reinterpret_cast< wxColourData * >(argp1);
16319 {
16320 PyThreadState* __tstate = wxPyBeginAllowThreads();
16321 delete arg1;
16322
16323 wxPyEndAllowThreads(__tstate);
16324 if (PyErr_Occurred()) SWIG_fail;
16325 }
16326 resultobj = SWIG_Py_Void();
16327 return resultobj;
16328 fail:
16329 return NULL;
16330 }
16331
16332
16333 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16334 PyObject *resultobj = 0;
16335 wxColourData *arg1 = (wxColourData *) 0 ;
16336 bool result;
16337 void *argp1 = 0 ;
16338 int res1 = 0 ;
16339 PyObject *swig_obj[1] ;
16340
16341 if (!args) SWIG_fail;
16342 swig_obj[0] = args;
16343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16344 if (!SWIG_IsOK(res1)) {
16345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16346 }
16347 arg1 = reinterpret_cast< wxColourData * >(argp1);
16348 {
16349 PyThreadState* __tstate = wxPyBeginAllowThreads();
16350 result = (bool)(arg1)->GetChooseFull();
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 {
16355 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16356 }
16357 return resultobj;
16358 fail:
16359 return NULL;
16360 }
16361
16362
16363 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16364 PyObject *resultobj = 0;
16365 wxColourData *arg1 = (wxColourData *) 0 ;
16366 wxColour result;
16367 void *argp1 = 0 ;
16368 int res1 = 0 ;
16369 PyObject *swig_obj[1] ;
16370
16371 if (!args) SWIG_fail;
16372 swig_obj[0] = args;
16373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16374 if (!SWIG_IsOK(res1)) {
16375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16376 }
16377 arg1 = reinterpret_cast< wxColourData * >(argp1);
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 result = (arg1)->GetColour();
16381 wxPyEndAllowThreads(__tstate);
16382 if (PyErr_Occurred()) SWIG_fail;
16383 }
16384 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16385 return resultobj;
16386 fail:
16387 return NULL;
16388 }
16389
16390
16391 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16392 PyObject *resultobj = 0;
16393 wxColourData *arg1 = (wxColourData *) 0 ;
16394 int arg2 ;
16395 wxColour result;
16396 void *argp1 = 0 ;
16397 int res1 = 0 ;
16398 int val2 ;
16399 int ecode2 = 0 ;
16400 PyObject * obj0 = 0 ;
16401 PyObject * obj1 = 0 ;
16402 char * kwnames[] = {
16403 (char *) "self",(char *) "i", NULL
16404 };
16405
16406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16408 if (!SWIG_IsOK(res1)) {
16409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16410 }
16411 arg1 = reinterpret_cast< wxColourData * >(argp1);
16412 ecode2 = SWIG_AsVal_int(obj1, &val2);
16413 if (!SWIG_IsOK(ecode2)) {
16414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16415 }
16416 arg2 = static_cast< int >(val2);
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 result = (arg1)->GetCustomColour(arg2);
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
16423 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16424 return resultobj;
16425 fail:
16426 return NULL;
16427 }
16428
16429
16430 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16431 PyObject *resultobj = 0;
16432 wxColourData *arg1 = (wxColourData *) 0 ;
16433 int arg2 ;
16434 void *argp1 = 0 ;
16435 int res1 = 0 ;
16436 int val2 ;
16437 int ecode2 = 0 ;
16438 PyObject * obj0 = 0 ;
16439 PyObject * obj1 = 0 ;
16440 char * kwnames[] = {
16441 (char *) "self",(char *) "flag", NULL
16442 };
16443
16444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16446 if (!SWIG_IsOK(res1)) {
16447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16448 }
16449 arg1 = reinterpret_cast< wxColourData * >(argp1);
16450 ecode2 = SWIG_AsVal_int(obj1, &val2);
16451 if (!SWIG_IsOK(ecode2)) {
16452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16453 }
16454 arg2 = static_cast< int >(val2);
16455 {
16456 PyThreadState* __tstate = wxPyBeginAllowThreads();
16457 (arg1)->SetChooseFull(arg2);
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 resultobj = SWIG_Py_Void();
16462 return resultobj;
16463 fail:
16464 return NULL;
16465 }
16466
16467
16468 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj = 0;
16470 wxColourData *arg1 = (wxColourData *) 0 ;
16471 wxColour *arg2 = 0 ;
16472 void *argp1 = 0 ;
16473 int res1 = 0 ;
16474 wxColour temp2 ;
16475 PyObject * obj0 = 0 ;
16476 PyObject * obj1 = 0 ;
16477 char * kwnames[] = {
16478 (char *) "self",(char *) "colour", NULL
16479 };
16480
16481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16483 if (!SWIG_IsOK(res1)) {
16484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16485 }
16486 arg1 = reinterpret_cast< wxColourData * >(argp1);
16487 {
16488 arg2 = &temp2;
16489 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16490 }
16491 {
16492 PyThreadState* __tstate = wxPyBeginAllowThreads();
16493 (arg1)->SetColour((wxColour const &)*arg2);
16494 wxPyEndAllowThreads(__tstate);
16495 if (PyErr_Occurred()) SWIG_fail;
16496 }
16497 resultobj = SWIG_Py_Void();
16498 return resultobj;
16499 fail:
16500 return NULL;
16501 }
16502
16503
16504 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16505 PyObject *resultobj = 0;
16506 wxColourData *arg1 = (wxColourData *) 0 ;
16507 int arg2 ;
16508 wxColour *arg3 = 0 ;
16509 void *argp1 = 0 ;
16510 int res1 = 0 ;
16511 int val2 ;
16512 int ecode2 = 0 ;
16513 wxColour temp3 ;
16514 PyObject * obj0 = 0 ;
16515 PyObject * obj1 = 0 ;
16516 PyObject * obj2 = 0 ;
16517 char * kwnames[] = {
16518 (char *) "self",(char *) "i",(char *) "colour", NULL
16519 };
16520
16521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16523 if (!SWIG_IsOK(res1)) {
16524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16525 }
16526 arg1 = reinterpret_cast< wxColourData * >(argp1);
16527 ecode2 = SWIG_AsVal_int(obj1, &val2);
16528 if (!SWIG_IsOK(ecode2)) {
16529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16530 }
16531 arg2 = static_cast< int >(val2);
16532 {
16533 arg3 = &temp3;
16534 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16535 }
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16539 wxPyEndAllowThreads(__tstate);
16540 if (PyErr_Occurred()) SWIG_fail;
16541 }
16542 resultobj = SWIG_Py_Void();
16543 return resultobj;
16544 fail:
16545 return NULL;
16546 }
16547
16548
16549 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16550 PyObject *obj;
16551 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16552 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16553 return SWIG_Py_Void();
16554 }
16555
16556 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16557 return SWIG_Python_InitShadowInstance(args);
16558 }
16559
16560 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16561 PyObject *resultobj = 0;
16562 wxWindow *arg1 = (wxWindow *) 0 ;
16563 wxColourData *arg2 = (wxColourData *) NULL ;
16564 wxColourDialog *result = 0 ;
16565 void *argp1 = 0 ;
16566 int res1 = 0 ;
16567 void *argp2 = 0 ;
16568 int res2 = 0 ;
16569 PyObject * obj0 = 0 ;
16570 PyObject * obj1 = 0 ;
16571 char * kwnames[] = {
16572 (char *) "parent",(char *) "data", NULL
16573 };
16574
16575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16577 if (!SWIG_IsOK(res1)) {
16578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16579 }
16580 arg1 = reinterpret_cast< wxWindow * >(argp1);
16581 if (obj1) {
16582 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16583 if (!SWIG_IsOK(res2)) {
16584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16585 }
16586 arg2 = reinterpret_cast< wxColourData * >(argp2);
16587 }
16588 {
16589 if (!wxPyCheckForApp()) SWIG_fail;
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16592 wxPyEndAllowThreads(__tstate);
16593 if (PyErr_Occurred()) SWIG_fail;
16594 }
16595 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16596 return resultobj;
16597 fail:
16598 return NULL;
16599 }
16600
16601
16602 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16603 PyObject *resultobj = 0;
16604 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16605 wxColourData *result = 0 ;
16606 void *argp1 = 0 ;
16607 int res1 = 0 ;
16608 PyObject *swig_obj[1] ;
16609
16610 if (!args) SWIG_fail;
16611 swig_obj[0] = args;
16612 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16613 if (!SWIG_IsOK(res1)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16615 }
16616 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16617 {
16618 PyThreadState* __tstate = wxPyBeginAllowThreads();
16619 {
16620 wxColourData &_result_ref = (arg1)->GetColourData();
16621 result = (wxColourData *) &_result_ref;
16622 }
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16627 return resultobj;
16628 fail:
16629 return NULL;
16630 }
16631
16632
16633 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16634 PyObject *obj;
16635 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16636 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16637 return SWIG_Py_Void();
16638 }
16639
16640 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16641 return SWIG_Python_InitShadowInstance(args);
16642 }
16643
16644 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj = 0;
16646 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16647 wxColour const &arg2_defvalue = wxNullColour ;
16648 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16649 wxString const &arg3_defvalue = wxPyEmptyString ;
16650 wxString *arg3 = (wxString *) &arg3_defvalue ;
16651 wxColour result;
16652 void *argp1 = 0 ;
16653 int res1 = 0 ;
16654 wxColour temp2 ;
16655 bool temp3 = false ;
16656 PyObject * obj0 = 0 ;
16657 PyObject * obj1 = 0 ;
16658 PyObject * obj2 = 0 ;
16659 char * kwnames[] = {
16660 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16661 };
16662
16663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16664 if (obj0) {
16665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16666 if (!SWIG_IsOK(res1)) {
16667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16668 }
16669 arg1 = reinterpret_cast< wxWindow * >(argp1);
16670 }
16671 if (obj1) {
16672 {
16673 arg2 = &temp2;
16674 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16675 }
16676 }
16677 if (obj2) {
16678 {
16679 arg3 = wxString_in_helper(obj2);
16680 if (arg3 == NULL) SWIG_fail;
16681 temp3 = true;
16682 }
16683 }
16684 {
16685 PyThreadState* __tstate = wxPyBeginAllowThreads();
16686 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16687 wxPyEndAllowThreads(__tstate);
16688 if (PyErr_Occurred()) SWIG_fail;
16689 }
16690 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16691 {
16692 if (temp3)
16693 delete arg3;
16694 }
16695 return resultobj;
16696 fail:
16697 {
16698 if (temp3)
16699 delete arg3;
16700 }
16701 return NULL;
16702 }
16703
16704
16705 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16706 PyObject *resultobj = 0;
16707 wxWindow *arg1 = (wxWindow *) 0 ;
16708 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16709 wxString *arg2 = (wxString *) &arg2_defvalue ;
16710 wxString const &arg3_defvalue = wxPyEmptyString ;
16711 wxString *arg3 = (wxString *) &arg3_defvalue ;
16712 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16713 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16714 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16715 wxSize const &arg6_defvalue = wxDefaultSize ;
16716 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16717 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16718 wxString *arg7 = (wxString *) &arg7_defvalue ;
16719 wxDirDialog *result = 0 ;
16720 void *argp1 = 0 ;
16721 int res1 = 0 ;
16722 bool temp2 = false ;
16723 bool temp3 = false ;
16724 long val4 ;
16725 int ecode4 = 0 ;
16726 wxPoint temp5 ;
16727 wxSize temp6 ;
16728 bool temp7 = false ;
16729 PyObject * obj0 = 0 ;
16730 PyObject * obj1 = 0 ;
16731 PyObject * obj2 = 0 ;
16732 PyObject * obj3 = 0 ;
16733 PyObject * obj4 = 0 ;
16734 PyObject * obj5 = 0 ;
16735 PyObject * obj6 = 0 ;
16736 char * kwnames[] = {
16737 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16738 };
16739
16740 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16741 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16742 if (!SWIG_IsOK(res1)) {
16743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16744 }
16745 arg1 = reinterpret_cast< wxWindow * >(argp1);
16746 if (obj1) {
16747 {
16748 arg2 = wxString_in_helper(obj1);
16749 if (arg2 == NULL) SWIG_fail;
16750 temp2 = true;
16751 }
16752 }
16753 if (obj2) {
16754 {
16755 arg3 = wxString_in_helper(obj2);
16756 if (arg3 == NULL) SWIG_fail;
16757 temp3 = true;
16758 }
16759 }
16760 if (obj3) {
16761 ecode4 = SWIG_AsVal_long(obj3, &val4);
16762 if (!SWIG_IsOK(ecode4)) {
16763 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16764 }
16765 arg4 = static_cast< long >(val4);
16766 }
16767 if (obj4) {
16768 {
16769 arg5 = &temp5;
16770 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16771 }
16772 }
16773 if (obj5) {
16774 {
16775 arg6 = &temp6;
16776 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16777 }
16778 }
16779 if (obj6) {
16780 {
16781 arg7 = wxString_in_helper(obj6);
16782 if (arg7 == NULL) SWIG_fail;
16783 temp7 = true;
16784 }
16785 }
16786 {
16787 if (!wxPyCheckForApp()) SWIG_fail;
16788 PyThreadState* __tstate = wxPyBeginAllowThreads();
16789 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16790 wxPyEndAllowThreads(__tstate);
16791 if (PyErr_Occurred()) SWIG_fail;
16792 }
16793 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16794 {
16795 if (temp2)
16796 delete arg2;
16797 }
16798 {
16799 if (temp3)
16800 delete arg3;
16801 }
16802 {
16803 if (temp7)
16804 delete arg7;
16805 }
16806 return resultobj;
16807 fail:
16808 {
16809 if (temp2)
16810 delete arg2;
16811 }
16812 {
16813 if (temp3)
16814 delete arg3;
16815 }
16816 {
16817 if (temp7)
16818 delete arg7;
16819 }
16820 return NULL;
16821 }
16822
16823
16824 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16825 PyObject *resultobj = 0;
16826 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16827 wxString result;
16828 void *argp1 = 0 ;
16829 int res1 = 0 ;
16830 PyObject *swig_obj[1] ;
16831
16832 if (!args) SWIG_fail;
16833 swig_obj[0] = args;
16834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16835 if (!SWIG_IsOK(res1)) {
16836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16837 }
16838 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16839 {
16840 PyThreadState* __tstate = wxPyBeginAllowThreads();
16841 result = (arg1)->GetPath();
16842 wxPyEndAllowThreads(__tstate);
16843 if (PyErr_Occurred()) SWIG_fail;
16844 }
16845 {
16846 #if wxUSE_UNICODE
16847 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16848 #else
16849 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16850 #endif
16851 }
16852 return resultobj;
16853 fail:
16854 return NULL;
16855 }
16856
16857
16858 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16859 PyObject *resultobj = 0;
16860 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16861 wxString result;
16862 void *argp1 = 0 ;
16863 int res1 = 0 ;
16864 PyObject *swig_obj[1] ;
16865
16866 if (!args) SWIG_fail;
16867 swig_obj[0] = args;
16868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16869 if (!SWIG_IsOK(res1)) {
16870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16871 }
16872 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16873 {
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 result = (arg1)->GetMessage();
16876 wxPyEndAllowThreads(__tstate);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 {
16880 #if wxUSE_UNICODE
16881 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16882 #else
16883 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16884 #endif
16885 }
16886 return resultobj;
16887 fail:
16888 return NULL;
16889 }
16890
16891
16892 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16893 PyObject *resultobj = 0;
16894 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16895 wxString *arg2 = 0 ;
16896 void *argp1 = 0 ;
16897 int res1 = 0 ;
16898 bool temp2 = false ;
16899 PyObject * obj0 = 0 ;
16900 PyObject * obj1 = 0 ;
16901 char * kwnames[] = {
16902 (char *) "self",(char *) "message", NULL
16903 };
16904
16905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
16906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16907 if (!SWIG_IsOK(res1)) {
16908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16909 }
16910 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16911 {
16912 arg2 = wxString_in_helper(obj1);
16913 if (arg2 == NULL) SWIG_fail;
16914 temp2 = true;
16915 }
16916 {
16917 PyThreadState* __tstate = wxPyBeginAllowThreads();
16918 (arg1)->SetMessage((wxString const &)*arg2);
16919 wxPyEndAllowThreads(__tstate);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 resultobj = SWIG_Py_Void();
16923 {
16924 if (temp2)
16925 delete arg2;
16926 }
16927 return resultobj;
16928 fail:
16929 {
16930 if (temp2)
16931 delete arg2;
16932 }
16933 return NULL;
16934 }
16935
16936
16937 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16938 PyObject *resultobj = 0;
16939 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16940 wxString *arg2 = 0 ;
16941 void *argp1 = 0 ;
16942 int res1 = 0 ;
16943 bool temp2 = false ;
16944 PyObject * obj0 = 0 ;
16945 PyObject * obj1 = 0 ;
16946 char * kwnames[] = {
16947 (char *) "self",(char *) "path", NULL
16948 };
16949
16950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
16951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16952 if (!SWIG_IsOK(res1)) {
16953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16954 }
16955 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16956 {
16957 arg2 = wxString_in_helper(obj1);
16958 if (arg2 == NULL) SWIG_fail;
16959 temp2 = true;
16960 }
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 (arg1)->SetPath((wxString const &)*arg2);
16964 wxPyEndAllowThreads(__tstate);
16965 if (PyErr_Occurred()) SWIG_fail;
16966 }
16967 resultobj = SWIG_Py_Void();
16968 {
16969 if (temp2)
16970 delete arg2;
16971 }
16972 return resultobj;
16973 fail:
16974 {
16975 if (temp2)
16976 delete arg2;
16977 }
16978 return NULL;
16979 }
16980
16981
16982 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16983 PyObject *obj;
16984 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16985 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
16986 return SWIG_Py_Void();
16987 }
16988
16989 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16990 return SWIG_Python_InitShadowInstance(args);
16991 }
16992
16993 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16994 PyObject *resultobj = 0;
16995 wxWindow *arg1 = (wxWindow *) 0 ;
16996 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
16997 wxString *arg2 = (wxString *) &arg2_defvalue ;
16998 wxString const &arg3_defvalue = wxPyEmptyString ;
16999 wxString *arg3 = (wxString *) &arg3_defvalue ;
17000 wxString const &arg4_defvalue = wxPyEmptyString ;
17001 wxString *arg4 = (wxString *) &arg4_defvalue ;
17002 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17003 wxString *arg5 = (wxString *) &arg5_defvalue ;
17004 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17005 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17006 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17007 wxFileDialog *result = 0 ;
17008 void *argp1 = 0 ;
17009 int res1 = 0 ;
17010 bool temp2 = false ;
17011 bool temp3 = false ;
17012 bool temp4 = false ;
17013 bool temp5 = false ;
17014 long val6 ;
17015 int ecode6 = 0 ;
17016 wxPoint temp7 ;
17017 PyObject * obj0 = 0 ;
17018 PyObject * obj1 = 0 ;
17019 PyObject * obj2 = 0 ;
17020 PyObject * obj3 = 0 ;
17021 PyObject * obj4 = 0 ;
17022 PyObject * obj5 = 0 ;
17023 PyObject * obj6 = 0 ;
17024 char * kwnames[] = {
17025 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17026 };
17027
17028 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17029 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17030 if (!SWIG_IsOK(res1)) {
17031 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17032 }
17033 arg1 = reinterpret_cast< wxWindow * >(argp1);
17034 if (obj1) {
17035 {
17036 arg2 = wxString_in_helper(obj1);
17037 if (arg2 == NULL) SWIG_fail;
17038 temp2 = true;
17039 }
17040 }
17041 if (obj2) {
17042 {
17043 arg3 = wxString_in_helper(obj2);
17044 if (arg3 == NULL) SWIG_fail;
17045 temp3 = true;
17046 }
17047 }
17048 if (obj3) {
17049 {
17050 arg4 = wxString_in_helper(obj3);
17051 if (arg4 == NULL) SWIG_fail;
17052 temp4 = true;
17053 }
17054 }
17055 if (obj4) {
17056 {
17057 arg5 = wxString_in_helper(obj4);
17058 if (arg5 == NULL) SWIG_fail;
17059 temp5 = true;
17060 }
17061 }
17062 if (obj5) {
17063 ecode6 = SWIG_AsVal_long(obj5, &val6);
17064 if (!SWIG_IsOK(ecode6)) {
17065 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17066 }
17067 arg6 = static_cast< long >(val6);
17068 }
17069 if (obj6) {
17070 {
17071 arg7 = &temp7;
17072 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17073 }
17074 }
17075 {
17076 if (!wxPyCheckForApp()) SWIG_fail;
17077 PyThreadState* __tstate = wxPyBeginAllowThreads();
17078 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17079 wxPyEndAllowThreads(__tstate);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
17082 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17083 {
17084 if (temp2)
17085 delete arg2;
17086 }
17087 {
17088 if (temp3)
17089 delete arg3;
17090 }
17091 {
17092 if (temp4)
17093 delete arg4;
17094 }
17095 {
17096 if (temp5)
17097 delete arg5;
17098 }
17099 return resultobj;
17100 fail:
17101 {
17102 if (temp2)
17103 delete arg2;
17104 }
17105 {
17106 if (temp3)
17107 delete arg3;
17108 }
17109 {
17110 if (temp4)
17111 delete arg4;
17112 }
17113 {
17114 if (temp5)
17115 delete arg5;
17116 }
17117 return NULL;
17118 }
17119
17120
17121 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17122 PyObject *resultobj = 0;
17123 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17124 wxString *arg2 = 0 ;
17125 void *argp1 = 0 ;
17126 int res1 = 0 ;
17127 bool temp2 = false ;
17128 PyObject * obj0 = 0 ;
17129 PyObject * obj1 = 0 ;
17130 char * kwnames[] = {
17131 (char *) "self",(char *) "message", NULL
17132 };
17133
17134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17136 if (!SWIG_IsOK(res1)) {
17137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17138 }
17139 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17140 {
17141 arg2 = wxString_in_helper(obj1);
17142 if (arg2 == NULL) SWIG_fail;
17143 temp2 = true;
17144 }
17145 {
17146 PyThreadState* __tstate = wxPyBeginAllowThreads();
17147 (arg1)->SetMessage((wxString const &)*arg2);
17148 wxPyEndAllowThreads(__tstate);
17149 if (PyErr_Occurred()) SWIG_fail;
17150 }
17151 resultobj = SWIG_Py_Void();
17152 {
17153 if (temp2)
17154 delete arg2;
17155 }
17156 return resultobj;
17157 fail:
17158 {
17159 if (temp2)
17160 delete arg2;
17161 }
17162 return NULL;
17163 }
17164
17165
17166 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17167 PyObject *resultobj = 0;
17168 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17169 wxString *arg2 = 0 ;
17170 void *argp1 = 0 ;
17171 int res1 = 0 ;
17172 bool temp2 = false ;
17173 PyObject * obj0 = 0 ;
17174 PyObject * obj1 = 0 ;
17175 char * kwnames[] = {
17176 (char *) "self",(char *) "path", NULL
17177 };
17178
17179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17181 if (!SWIG_IsOK(res1)) {
17182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17183 }
17184 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17185 {
17186 arg2 = wxString_in_helper(obj1);
17187 if (arg2 == NULL) SWIG_fail;
17188 temp2 = true;
17189 }
17190 {
17191 PyThreadState* __tstate = wxPyBeginAllowThreads();
17192 (arg1)->SetPath((wxString const &)*arg2);
17193 wxPyEndAllowThreads(__tstate);
17194 if (PyErr_Occurred()) SWIG_fail;
17195 }
17196 resultobj = SWIG_Py_Void();
17197 {
17198 if (temp2)
17199 delete arg2;
17200 }
17201 return resultobj;
17202 fail:
17203 {
17204 if (temp2)
17205 delete arg2;
17206 }
17207 return NULL;
17208 }
17209
17210
17211 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17212 PyObject *resultobj = 0;
17213 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17214 wxString *arg2 = 0 ;
17215 void *argp1 = 0 ;
17216 int res1 = 0 ;
17217 bool temp2 = false ;
17218 PyObject * obj0 = 0 ;
17219 PyObject * obj1 = 0 ;
17220 char * kwnames[] = {
17221 (char *) "self",(char *) "dir", NULL
17222 };
17223
17224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17226 if (!SWIG_IsOK(res1)) {
17227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17228 }
17229 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17230 {
17231 arg2 = wxString_in_helper(obj1);
17232 if (arg2 == NULL) SWIG_fail;
17233 temp2 = true;
17234 }
17235 {
17236 PyThreadState* __tstate = wxPyBeginAllowThreads();
17237 (arg1)->SetDirectory((wxString const &)*arg2);
17238 wxPyEndAllowThreads(__tstate);
17239 if (PyErr_Occurred()) SWIG_fail;
17240 }
17241 resultobj = SWIG_Py_Void();
17242 {
17243 if (temp2)
17244 delete arg2;
17245 }
17246 return resultobj;
17247 fail:
17248 {
17249 if (temp2)
17250 delete arg2;
17251 }
17252 return NULL;
17253 }
17254
17255
17256 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17257 PyObject *resultobj = 0;
17258 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17259 wxString *arg2 = 0 ;
17260 void *argp1 = 0 ;
17261 int res1 = 0 ;
17262 bool temp2 = false ;
17263 PyObject * obj0 = 0 ;
17264 PyObject * obj1 = 0 ;
17265 char * kwnames[] = {
17266 (char *) "self",(char *) "name", NULL
17267 };
17268
17269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17271 if (!SWIG_IsOK(res1)) {
17272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17273 }
17274 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17275 {
17276 arg2 = wxString_in_helper(obj1);
17277 if (arg2 == NULL) SWIG_fail;
17278 temp2 = true;
17279 }
17280 {
17281 PyThreadState* __tstate = wxPyBeginAllowThreads();
17282 (arg1)->SetFilename((wxString const &)*arg2);
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 resultobj = SWIG_Py_Void();
17287 {
17288 if (temp2)
17289 delete arg2;
17290 }
17291 return resultobj;
17292 fail:
17293 {
17294 if (temp2)
17295 delete arg2;
17296 }
17297 return NULL;
17298 }
17299
17300
17301 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17302 PyObject *resultobj = 0;
17303 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17304 wxString *arg2 = 0 ;
17305 void *argp1 = 0 ;
17306 int res1 = 0 ;
17307 bool temp2 = false ;
17308 PyObject * obj0 = 0 ;
17309 PyObject * obj1 = 0 ;
17310 char * kwnames[] = {
17311 (char *) "self",(char *) "wildCard", NULL
17312 };
17313
17314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17316 if (!SWIG_IsOK(res1)) {
17317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17318 }
17319 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17320 {
17321 arg2 = wxString_in_helper(obj1);
17322 if (arg2 == NULL) SWIG_fail;
17323 temp2 = true;
17324 }
17325 {
17326 PyThreadState* __tstate = wxPyBeginAllowThreads();
17327 (arg1)->SetWildcard((wxString const &)*arg2);
17328 wxPyEndAllowThreads(__tstate);
17329 if (PyErr_Occurred()) SWIG_fail;
17330 }
17331 resultobj = SWIG_Py_Void();
17332 {
17333 if (temp2)
17334 delete arg2;
17335 }
17336 return resultobj;
17337 fail:
17338 {
17339 if (temp2)
17340 delete arg2;
17341 }
17342 return NULL;
17343 }
17344
17345
17346 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17347 PyObject *resultobj = 0;
17348 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17349 int arg2 ;
17350 void *argp1 = 0 ;
17351 int res1 = 0 ;
17352 int val2 ;
17353 int ecode2 = 0 ;
17354 PyObject * obj0 = 0 ;
17355 PyObject * obj1 = 0 ;
17356 char * kwnames[] = {
17357 (char *) "self",(char *) "filterIndex", NULL
17358 };
17359
17360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17362 if (!SWIG_IsOK(res1)) {
17363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17364 }
17365 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17366 ecode2 = SWIG_AsVal_int(obj1, &val2);
17367 if (!SWIG_IsOK(ecode2)) {
17368 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17369 }
17370 arg2 = static_cast< int >(val2);
17371 {
17372 PyThreadState* __tstate = wxPyBeginAllowThreads();
17373 (arg1)->SetFilterIndex(arg2);
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 resultobj = SWIG_Py_Void();
17378 return resultobj;
17379 fail:
17380 return NULL;
17381 }
17382
17383
17384 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17385 PyObject *resultobj = 0;
17386 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17387 wxString result;
17388 void *argp1 = 0 ;
17389 int res1 = 0 ;
17390 PyObject *swig_obj[1] ;
17391
17392 if (!args) SWIG_fail;
17393 swig_obj[0] = args;
17394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17395 if (!SWIG_IsOK(res1)) {
17396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17397 }
17398 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17399 {
17400 PyThreadState* __tstate = wxPyBeginAllowThreads();
17401 result = ((wxFileDialog const *)arg1)->GetMessage();
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 {
17406 #if wxUSE_UNICODE
17407 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17408 #else
17409 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17410 #endif
17411 }
17412 return resultobj;
17413 fail:
17414 return NULL;
17415 }
17416
17417
17418 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17419 PyObject *resultobj = 0;
17420 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17421 wxString result;
17422 void *argp1 = 0 ;
17423 int res1 = 0 ;
17424 PyObject *swig_obj[1] ;
17425
17426 if (!args) SWIG_fail;
17427 swig_obj[0] = args;
17428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17429 if (!SWIG_IsOK(res1)) {
17430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17431 }
17432 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17433 {
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
17435 result = ((wxFileDialog const *)arg1)->GetPath();
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 {
17440 #if wxUSE_UNICODE
17441 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17442 #else
17443 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17444 #endif
17445 }
17446 return resultobj;
17447 fail:
17448 return NULL;
17449 }
17450
17451
17452 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17453 PyObject *resultobj = 0;
17454 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17455 wxString result;
17456 void *argp1 = 0 ;
17457 int res1 = 0 ;
17458 PyObject *swig_obj[1] ;
17459
17460 if (!args) SWIG_fail;
17461 swig_obj[0] = args;
17462 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17463 if (!SWIG_IsOK(res1)) {
17464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17465 }
17466 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 result = ((wxFileDialog const *)arg1)->GetDirectory();
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 {
17474 #if wxUSE_UNICODE
17475 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17476 #else
17477 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17478 #endif
17479 }
17480 return resultobj;
17481 fail:
17482 return NULL;
17483 }
17484
17485
17486 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17487 PyObject *resultobj = 0;
17488 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17489 wxString result;
17490 void *argp1 = 0 ;
17491 int res1 = 0 ;
17492 PyObject *swig_obj[1] ;
17493
17494 if (!args) SWIG_fail;
17495 swig_obj[0] = args;
17496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17497 if (!SWIG_IsOK(res1)) {
17498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17499 }
17500 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17501 {
17502 PyThreadState* __tstate = wxPyBeginAllowThreads();
17503 result = ((wxFileDialog const *)arg1)->GetFilename();
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 {
17508 #if wxUSE_UNICODE
17509 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17510 #else
17511 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17512 #endif
17513 }
17514 return resultobj;
17515 fail:
17516 return NULL;
17517 }
17518
17519
17520 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17521 PyObject *resultobj = 0;
17522 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17523 wxString result;
17524 void *argp1 = 0 ;
17525 int res1 = 0 ;
17526 PyObject *swig_obj[1] ;
17527
17528 if (!args) SWIG_fail;
17529 swig_obj[0] = args;
17530 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17531 if (!SWIG_IsOK(res1)) {
17532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17533 }
17534 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17535 {
17536 PyThreadState* __tstate = wxPyBeginAllowThreads();
17537 result = ((wxFileDialog const *)arg1)->GetWildcard();
17538 wxPyEndAllowThreads(__tstate);
17539 if (PyErr_Occurred()) SWIG_fail;
17540 }
17541 {
17542 #if wxUSE_UNICODE
17543 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17544 #else
17545 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17546 #endif
17547 }
17548 return resultobj;
17549 fail:
17550 return NULL;
17551 }
17552
17553
17554 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17555 PyObject *resultobj = 0;
17556 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17557 int result;
17558 void *argp1 = 0 ;
17559 int res1 = 0 ;
17560 PyObject *swig_obj[1] ;
17561
17562 if (!args) SWIG_fail;
17563 swig_obj[0] = args;
17564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17565 if (!SWIG_IsOK(res1)) {
17566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17567 }
17568 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17569 {
17570 PyThreadState* __tstate = wxPyBeginAllowThreads();
17571 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17572 wxPyEndAllowThreads(__tstate);
17573 if (PyErr_Occurred()) SWIG_fail;
17574 }
17575 resultobj = SWIG_From_int(static_cast< int >(result));
17576 return resultobj;
17577 fail:
17578 return NULL;
17579 }
17580
17581
17582 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17583 PyObject *resultobj = 0;
17584 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17585 PyObject *result = 0 ;
17586 void *argp1 = 0 ;
17587 int res1 = 0 ;
17588 PyObject *swig_obj[1] ;
17589
17590 if (!args) SWIG_fail;
17591 swig_obj[0] = args;
17592 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17593 if (!SWIG_IsOK(res1)) {
17594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17595 }
17596 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17597 {
17598 PyThreadState* __tstate = wxPyBeginAllowThreads();
17599 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 resultobj = result;
17604 return resultobj;
17605 fail:
17606 return NULL;
17607 }
17608
17609
17610 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17611 PyObject *resultobj = 0;
17612 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17613 PyObject *result = 0 ;
17614 void *argp1 = 0 ;
17615 int res1 = 0 ;
17616 PyObject *swig_obj[1] ;
17617
17618 if (!args) SWIG_fail;
17619 swig_obj[0] = args;
17620 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17621 if (!SWIG_IsOK(res1)) {
17622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17623 }
17624 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17625 {
17626 PyThreadState* __tstate = wxPyBeginAllowThreads();
17627 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17628 wxPyEndAllowThreads(__tstate);
17629 if (PyErr_Occurred()) SWIG_fail;
17630 }
17631 resultobj = result;
17632 return resultobj;
17633 fail:
17634 return NULL;
17635 }
17636
17637
17638 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17639 PyObject *obj;
17640 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17641 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17642 return SWIG_Py_Void();
17643 }
17644
17645 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17646 return SWIG_Python_InitShadowInstance(args);
17647 }
17648
17649 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj = 0;
17651 wxWindow *arg1 = (wxWindow *) 0 ;
17652 wxString *arg2 = 0 ;
17653 wxString *arg3 = 0 ;
17654 int arg4 = (int) 0 ;
17655 wxString *arg5 = (wxString *) NULL ;
17656 long arg6 = (long) wxCHOICEDLG_STYLE ;
17657 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17658 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17659 wxMultiChoiceDialog *result = 0 ;
17660 void *argp1 = 0 ;
17661 int res1 = 0 ;
17662 bool temp2 = false ;
17663 bool temp3 = false ;
17664 long val6 ;
17665 int ecode6 = 0 ;
17666 wxPoint temp7 ;
17667 PyObject * obj0 = 0 ;
17668 PyObject * obj1 = 0 ;
17669 PyObject * obj2 = 0 ;
17670 PyObject * obj3 = 0 ;
17671 PyObject * obj4 = 0 ;
17672 PyObject * obj5 = 0 ;
17673 char * kwnames[] = {
17674 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17675 };
17676
17677 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17678 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17679 if (!SWIG_IsOK(res1)) {
17680 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17681 }
17682 arg1 = reinterpret_cast< wxWindow * >(argp1);
17683 {
17684 arg2 = wxString_in_helper(obj1);
17685 if (arg2 == NULL) SWIG_fail;
17686 temp2 = true;
17687 }
17688 {
17689 arg3 = wxString_in_helper(obj2);
17690 if (arg3 == NULL) SWIG_fail;
17691 temp3 = true;
17692 }
17693 if (obj3) {
17694 {
17695 arg4 = PyList_Size(obj3);
17696 arg5 = wxString_LIST_helper(obj3);
17697 if (arg5 == NULL) SWIG_fail;
17698 }
17699 }
17700 if (obj4) {
17701 ecode6 = SWIG_AsVal_long(obj4, &val6);
17702 if (!SWIG_IsOK(ecode6)) {
17703 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17704 }
17705 arg6 = static_cast< long >(val6);
17706 }
17707 if (obj5) {
17708 {
17709 arg7 = &temp7;
17710 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17711 }
17712 }
17713 {
17714 if (!wxPyCheckForApp()) SWIG_fail;
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17717 wxPyEndAllowThreads(__tstate);
17718 if (PyErr_Occurred()) SWIG_fail;
17719 }
17720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17721 {
17722 if (temp2)
17723 delete arg2;
17724 }
17725 {
17726 if (temp3)
17727 delete arg3;
17728 }
17729 {
17730 if (arg5) delete [] arg5;
17731 }
17732 return resultobj;
17733 fail:
17734 {
17735 if (temp2)
17736 delete arg2;
17737 }
17738 {
17739 if (temp3)
17740 delete arg3;
17741 }
17742 {
17743 if (arg5) delete [] arg5;
17744 }
17745 return NULL;
17746 }
17747
17748
17749 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17750 PyObject *resultobj = 0;
17751 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17752 wxArrayInt *arg2 = 0 ;
17753 void *argp1 = 0 ;
17754 int res1 = 0 ;
17755 bool temp2 = false ;
17756 PyObject * obj0 = 0 ;
17757 PyObject * obj1 = 0 ;
17758 char * kwnames[] = {
17759 (char *) "self",(char *) "selections", NULL
17760 };
17761
17762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17764 if (!SWIG_IsOK(res1)) {
17765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17766 }
17767 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17768 {
17769 if (! PySequence_Check(obj1)) {
17770 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17771 SWIG_fail;
17772 }
17773 arg2 = new wxArrayInt;
17774 temp2 = true;
17775 int i, len=PySequence_Length(obj1);
17776 for (i=0; i<len; i++) {
17777 PyObject* item = PySequence_GetItem(obj1, i);
17778 PyObject* number = PyNumber_Int(item);
17779 arg2->Add(PyInt_AS_LONG(number));
17780 Py_DECREF(item);
17781 Py_DECREF(number);
17782 }
17783 }
17784 {
17785 PyThreadState* __tstate = wxPyBeginAllowThreads();
17786 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17787 wxPyEndAllowThreads(__tstate);
17788 if (PyErr_Occurred()) SWIG_fail;
17789 }
17790 resultobj = SWIG_Py_Void();
17791 {
17792 if (temp2) delete arg2;
17793 }
17794 return resultobj;
17795 fail:
17796 {
17797 if (temp2) delete arg2;
17798 }
17799 return NULL;
17800 }
17801
17802
17803 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17804 PyObject *resultobj = 0;
17805 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17806 PyObject *result = 0 ;
17807 void *argp1 = 0 ;
17808 int res1 = 0 ;
17809 PyObject *swig_obj[1] ;
17810
17811 if (!args) SWIG_fail;
17812 swig_obj[0] = args;
17813 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17814 if (!SWIG_IsOK(res1)) {
17815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17816 }
17817 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17818 {
17819 PyThreadState* __tstate = wxPyBeginAllowThreads();
17820 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17821 wxPyEndAllowThreads(__tstate);
17822 if (PyErr_Occurred()) SWIG_fail;
17823 }
17824 resultobj = result;
17825 return resultobj;
17826 fail:
17827 return NULL;
17828 }
17829
17830
17831 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17832 PyObject *obj;
17833 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17834 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17835 return SWIG_Py_Void();
17836 }
17837
17838 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17839 return SWIG_Python_InitShadowInstance(args);
17840 }
17841
17842 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17843 PyObject *resultobj = 0;
17844 wxWindow *arg1 = (wxWindow *) 0 ;
17845 wxString *arg2 = 0 ;
17846 wxString *arg3 = 0 ;
17847 int arg4 ;
17848 wxString *arg5 = (wxString *) 0 ;
17849 long arg6 = (long) wxCHOICEDLG_STYLE ;
17850 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17851 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17852 wxSingleChoiceDialog *result = 0 ;
17853 void *argp1 = 0 ;
17854 int res1 = 0 ;
17855 bool temp2 = false ;
17856 bool temp3 = false ;
17857 long val6 ;
17858 int ecode6 = 0 ;
17859 wxPoint temp7 ;
17860 PyObject * obj0 = 0 ;
17861 PyObject * obj1 = 0 ;
17862 PyObject * obj2 = 0 ;
17863 PyObject * obj3 = 0 ;
17864 PyObject * obj4 = 0 ;
17865 PyObject * obj5 = 0 ;
17866 char * kwnames[] = {
17867 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17868 };
17869
17870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17872 if (!SWIG_IsOK(res1)) {
17873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17874 }
17875 arg1 = reinterpret_cast< wxWindow * >(argp1);
17876 {
17877 arg2 = wxString_in_helper(obj1);
17878 if (arg2 == NULL) SWIG_fail;
17879 temp2 = true;
17880 }
17881 {
17882 arg3 = wxString_in_helper(obj2);
17883 if (arg3 == NULL) SWIG_fail;
17884 temp3 = true;
17885 }
17886 {
17887 arg4 = PyList_Size(obj3);
17888 arg5 = wxString_LIST_helper(obj3);
17889 if (arg5 == NULL) SWIG_fail;
17890 }
17891 if (obj4) {
17892 ecode6 = SWIG_AsVal_long(obj4, &val6);
17893 if (!SWIG_IsOK(ecode6)) {
17894 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17895 }
17896 arg6 = static_cast< long >(val6);
17897 }
17898 if (obj5) {
17899 {
17900 arg7 = &temp7;
17901 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17902 }
17903 }
17904 {
17905 if (!wxPyCheckForApp()) SWIG_fail;
17906 PyThreadState* __tstate = wxPyBeginAllowThreads();
17907 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17908 wxPyEndAllowThreads(__tstate);
17909 if (PyErr_Occurred()) SWIG_fail;
17910 }
17911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
17912 {
17913 if (temp2)
17914 delete arg2;
17915 }
17916 {
17917 if (temp3)
17918 delete arg3;
17919 }
17920 {
17921 if (arg5) delete [] arg5;
17922 }
17923 return resultobj;
17924 fail:
17925 {
17926 if (temp2)
17927 delete arg2;
17928 }
17929 {
17930 if (temp3)
17931 delete arg3;
17932 }
17933 {
17934 if (arg5) delete [] arg5;
17935 }
17936 return NULL;
17937 }
17938
17939
17940 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17941 PyObject *resultobj = 0;
17942 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17943 int result;
17944 void *argp1 = 0 ;
17945 int res1 = 0 ;
17946 PyObject *swig_obj[1] ;
17947
17948 if (!args) SWIG_fail;
17949 swig_obj[0] = args;
17950 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17951 if (!SWIG_IsOK(res1)) {
17952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17953 }
17954 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17955 {
17956 PyThreadState* __tstate = wxPyBeginAllowThreads();
17957 result = (int)(arg1)->GetSelection();
17958 wxPyEndAllowThreads(__tstate);
17959 if (PyErr_Occurred()) SWIG_fail;
17960 }
17961 resultobj = SWIG_From_int(static_cast< int >(result));
17962 return resultobj;
17963 fail:
17964 return NULL;
17965 }
17966
17967
17968 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17969 PyObject *resultobj = 0;
17970 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
17971 wxString result;
17972 void *argp1 = 0 ;
17973 int res1 = 0 ;
17974 PyObject *swig_obj[1] ;
17975
17976 if (!args) SWIG_fail;
17977 swig_obj[0] = args;
17978 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
17979 if (!SWIG_IsOK(res1)) {
17980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17981 }
17982 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
17983 {
17984 PyThreadState* __tstate = wxPyBeginAllowThreads();
17985 result = (arg1)->GetStringSelection();
17986 wxPyEndAllowThreads(__tstate);
17987 if (PyErr_Occurred()) SWIG_fail;
17988 }
17989 {
17990 #if wxUSE_UNICODE
17991 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17992 #else
17993 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17994 #endif
17995 }
17996 return resultobj;
17997 fail:
17998 return NULL;
17999 }
18000
18001
18002 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18003 PyObject *resultobj = 0;
18004 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18005 int arg2 ;
18006 void *argp1 = 0 ;
18007 int res1 = 0 ;
18008 int val2 ;
18009 int ecode2 = 0 ;
18010 PyObject * obj0 = 0 ;
18011 PyObject * obj1 = 0 ;
18012 char * kwnames[] = {
18013 (char *) "self",(char *) "sel", NULL
18014 };
18015
18016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18018 if (!SWIG_IsOK(res1)) {
18019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18020 }
18021 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18022 ecode2 = SWIG_AsVal_int(obj1, &val2);
18023 if (!SWIG_IsOK(ecode2)) {
18024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18025 }
18026 arg2 = static_cast< int >(val2);
18027 {
18028 PyThreadState* __tstate = wxPyBeginAllowThreads();
18029 (arg1)->SetSelection(arg2);
18030 wxPyEndAllowThreads(__tstate);
18031 if (PyErr_Occurred()) SWIG_fail;
18032 }
18033 resultobj = SWIG_Py_Void();
18034 return resultobj;
18035 fail:
18036 return NULL;
18037 }
18038
18039
18040 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18041 PyObject *obj;
18042 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18043 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18044 return SWIG_Py_Void();
18045 }
18046
18047 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18048 return SWIG_Python_InitShadowInstance(args);
18049 }
18050
18051 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18052 PyObject *resultobj = 0;
18053 wxWindow *arg1 = (wxWindow *) 0 ;
18054 wxString *arg2 = 0 ;
18055 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18056 wxString *arg3 = (wxString *) &arg3_defvalue ;
18057 wxString const &arg4_defvalue = wxPyEmptyString ;
18058 wxString *arg4 = (wxString *) &arg4_defvalue ;
18059 long arg5 = (long) wxTextEntryDialogStyle ;
18060 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18061 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18062 wxTextEntryDialog *result = 0 ;
18063 void *argp1 = 0 ;
18064 int res1 = 0 ;
18065 bool temp2 = false ;
18066 bool temp3 = false ;
18067 bool temp4 = false ;
18068 long val5 ;
18069 int ecode5 = 0 ;
18070 wxPoint temp6 ;
18071 PyObject * obj0 = 0 ;
18072 PyObject * obj1 = 0 ;
18073 PyObject * obj2 = 0 ;
18074 PyObject * obj3 = 0 ;
18075 PyObject * obj4 = 0 ;
18076 PyObject * obj5 = 0 ;
18077 char * kwnames[] = {
18078 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18079 };
18080
18081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18083 if (!SWIG_IsOK(res1)) {
18084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18085 }
18086 arg1 = reinterpret_cast< wxWindow * >(argp1);
18087 {
18088 arg2 = wxString_in_helper(obj1);
18089 if (arg2 == NULL) SWIG_fail;
18090 temp2 = true;
18091 }
18092 if (obj2) {
18093 {
18094 arg3 = wxString_in_helper(obj2);
18095 if (arg3 == NULL) SWIG_fail;
18096 temp3 = true;
18097 }
18098 }
18099 if (obj3) {
18100 {
18101 arg4 = wxString_in_helper(obj3);
18102 if (arg4 == NULL) SWIG_fail;
18103 temp4 = true;
18104 }
18105 }
18106 if (obj4) {
18107 ecode5 = SWIG_AsVal_long(obj4, &val5);
18108 if (!SWIG_IsOK(ecode5)) {
18109 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18110 }
18111 arg5 = static_cast< long >(val5);
18112 }
18113 if (obj5) {
18114 {
18115 arg6 = &temp6;
18116 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18117 }
18118 }
18119 {
18120 if (!wxPyCheckForApp()) SWIG_fail;
18121 PyThreadState* __tstate = wxPyBeginAllowThreads();
18122 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18127 {
18128 if (temp2)
18129 delete arg2;
18130 }
18131 {
18132 if (temp3)
18133 delete arg3;
18134 }
18135 {
18136 if (temp4)
18137 delete arg4;
18138 }
18139 return resultobj;
18140 fail:
18141 {
18142 if (temp2)
18143 delete arg2;
18144 }
18145 {
18146 if (temp3)
18147 delete arg3;
18148 }
18149 {
18150 if (temp4)
18151 delete arg4;
18152 }
18153 return NULL;
18154 }
18155
18156
18157 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18158 PyObject *resultobj = 0;
18159 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18160 wxString result;
18161 void *argp1 = 0 ;
18162 int res1 = 0 ;
18163 PyObject *swig_obj[1] ;
18164
18165 if (!args) SWIG_fail;
18166 swig_obj[0] = args;
18167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18168 if (!SWIG_IsOK(res1)) {
18169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18170 }
18171 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18172 {
18173 PyThreadState* __tstate = wxPyBeginAllowThreads();
18174 result = (arg1)->GetValue();
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 {
18179 #if wxUSE_UNICODE
18180 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18181 #else
18182 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18183 #endif
18184 }
18185 return resultobj;
18186 fail:
18187 return NULL;
18188 }
18189
18190
18191 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18192 PyObject *resultobj = 0;
18193 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18194 wxString *arg2 = 0 ;
18195 void *argp1 = 0 ;
18196 int res1 = 0 ;
18197 bool temp2 = false ;
18198 PyObject * obj0 = 0 ;
18199 PyObject * obj1 = 0 ;
18200 char * kwnames[] = {
18201 (char *) "self",(char *) "value", NULL
18202 };
18203
18204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18206 if (!SWIG_IsOK(res1)) {
18207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18208 }
18209 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18210 {
18211 arg2 = wxString_in_helper(obj1);
18212 if (arg2 == NULL) SWIG_fail;
18213 temp2 = true;
18214 }
18215 {
18216 PyThreadState* __tstate = wxPyBeginAllowThreads();
18217 (arg1)->SetValue((wxString const &)*arg2);
18218 wxPyEndAllowThreads(__tstate);
18219 if (PyErr_Occurred()) SWIG_fail;
18220 }
18221 resultobj = SWIG_Py_Void();
18222 {
18223 if (temp2)
18224 delete arg2;
18225 }
18226 return resultobj;
18227 fail:
18228 {
18229 if (temp2)
18230 delete arg2;
18231 }
18232 return NULL;
18233 }
18234
18235
18236 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18237 PyObject *obj;
18238 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18239 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18240 return SWIG_Py_Void();
18241 }
18242
18243 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18244 return SWIG_Python_InitShadowInstance(args);
18245 }
18246
18247 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18248 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18249 return 1;
18250 }
18251
18252
18253 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18254 PyObject *pyobj = 0;
18255
18256 {
18257 #if wxUSE_UNICODE
18258 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18259 #else
18260 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18261 #endif
18262 }
18263 return pyobj;
18264 }
18265
18266
18267 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18268 PyObject *resultobj = 0;
18269 wxWindow *arg1 = (wxWindow *) 0 ;
18270 wxString *arg2 = 0 ;
18271 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18272 wxString *arg3 = (wxString *) &arg3_defvalue ;
18273 wxString const &arg4_defvalue = wxPyEmptyString ;
18274 wxString *arg4 = (wxString *) &arg4_defvalue ;
18275 long arg5 = (long) wxTextEntryDialogStyle ;
18276 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18277 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18278 wxPasswordEntryDialog *result = 0 ;
18279 void *argp1 = 0 ;
18280 int res1 = 0 ;
18281 bool temp2 = false ;
18282 bool temp3 = false ;
18283 bool temp4 = false ;
18284 long val5 ;
18285 int ecode5 = 0 ;
18286 wxPoint temp6 ;
18287 PyObject * obj0 = 0 ;
18288 PyObject * obj1 = 0 ;
18289 PyObject * obj2 = 0 ;
18290 PyObject * obj3 = 0 ;
18291 PyObject * obj4 = 0 ;
18292 PyObject * obj5 = 0 ;
18293 char * kwnames[] = {
18294 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18295 };
18296
18297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18299 if (!SWIG_IsOK(res1)) {
18300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18301 }
18302 arg1 = reinterpret_cast< wxWindow * >(argp1);
18303 {
18304 arg2 = wxString_in_helper(obj1);
18305 if (arg2 == NULL) SWIG_fail;
18306 temp2 = true;
18307 }
18308 if (obj2) {
18309 {
18310 arg3 = wxString_in_helper(obj2);
18311 if (arg3 == NULL) SWIG_fail;
18312 temp3 = true;
18313 }
18314 }
18315 if (obj3) {
18316 {
18317 arg4 = wxString_in_helper(obj3);
18318 if (arg4 == NULL) SWIG_fail;
18319 temp4 = true;
18320 }
18321 }
18322 if (obj4) {
18323 ecode5 = SWIG_AsVal_long(obj4, &val5);
18324 if (!SWIG_IsOK(ecode5)) {
18325 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18326 }
18327 arg5 = static_cast< long >(val5);
18328 }
18329 if (obj5) {
18330 {
18331 arg6 = &temp6;
18332 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18333 }
18334 }
18335 {
18336 PyThreadState* __tstate = wxPyBeginAllowThreads();
18337 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18342 {
18343 if (temp2)
18344 delete arg2;
18345 }
18346 {
18347 if (temp3)
18348 delete arg3;
18349 }
18350 {
18351 if (temp4)
18352 delete arg4;
18353 }
18354 return resultobj;
18355 fail:
18356 {
18357 if (temp2)
18358 delete arg2;
18359 }
18360 {
18361 if (temp3)
18362 delete arg3;
18363 }
18364 {
18365 if (temp4)
18366 delete arg4;
18367 }
18368 return NULL;
18369 }
18370
18371
18372 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18373 PyObject *obj;
18374 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18375 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18376 return SWIG_Py_Void();
18377 }
18378
18379 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18380 return SWIG_Python_InitShadowInstance(args);
18381 }
18382
18383 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18384 PyObject *resultobj = 0;
18385 wxWindow *arg1 = (wxWindow *) 0 ;
18386 wxString *arg2 = 0 ;
18387 wxString *arg3 = 0 ;
18388 wxString *arg4 = 0 ;
18389 long arg5 ;
18390 long arg6 ;
18391 long arg7 ;
18392 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18393 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18394 wxNumberEntryDialog *result = 0 ;
18395 void *argp1 = 0 ;
18396 int res1 = 0 ;
18397 bool temp2 = false ;
18398 bool temp3 = false ;
18399 bool temp4 = false ;
18400 long val5 ;
18401 int ecode5 = 0 ;
18402 long val6 ;
18403 int ecode6 = 0 ;
18404 long val7 ;
18405 int ecode7 = 0 ;
18406 wxPoint temp8 ;
18407 PyObject * obj0 = 0 ;
18408 PyObject * obj1 = 0 ;
18409 PyObject * obj2 = 0 ;
18410 PyObject * obj3 = 0 ;
18411 PyObject * obj4 = 0 ;
18412 PyObject * obj5 = 0 ;
18413 PyObject * obj6 = 0 ;
18414 PyObject * obj7 = 0 ;
18415 char * kwnames[] = {
18416 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18417 };
18418
18419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18421 if (!SWIG_IsOK(res1)) {
18422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18423 }
18424 arg1 = reinterpret_cast< wxWindow * >(argp1);
18425 {
18426 arg2 = wxString_in_helper(obj1);
18427 if (arg2 == NULL) SWIG_fail;
18428 temp2 = true;
18429 }
18430 {
18431 arg3 = wxString_in_helper(obj2);
18432 if (arg3 == NULL) SWIG_fail;
18433 temp3 = true;
18434 }
18435 {
18436 arg4 = wxString_in_helper(obj3);
18437 if (arg4 == NULL) SWIG_fail;
18438 temp4 = true;
18439 }
18440 ecode5 = SWIG_AsVal_long(obj4, &val5);
18441 if (!SWIG_IsOK(ecode5)) {
18442 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18443 }
18444 arg5 = static_cast< long >(val5);
18445 ecode6 = SWIG_AsVal_long(obj5, &val6);
18446 if (!SWIG_IsOK(ecode6)) {
18447 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18448 }
18449 arg6 = static_cast< long >(val6);
18450 ecode7 = SWIG_AsVal_long(obj6, &val7);
18451 if (!SWIG_IsOK(ecode7)) {
18452 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18453 }
18454 arg7 = static_cast< long >(val7);
18455 if (obj7) {
18456 {
18457 arg8 = &temp8;
18458 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18459 }
18460 }
18461 {
18462 if (!wxPyCheckForApp()) SWIG_fail;
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18465 wxPyEndAllowThreads(__tstate);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18469 {
18470 if (temp2)
18471 delete arg2;
18472 }
18473 {
18474 if (temp3)
18475 delete arg3;
18476 }
18477 {
18478 if (temp4)
18479 delete arg4;
18480 }
18481 return resultobj;
18482 fail:
18483 {
18484 if (temp2)
18485 delete arg2;
18486 }
18487 {
18488 if (temp3)
18489 delete arg3;
18490 }
18491 {
18492 if (temp4)
18493 delete arg4;
18494 }
18495 return NULL;
18496 }
18497
18498
18499 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18500 PyObject *resultobj = 0;
18501 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18502 long result;
18503 void *argp1 = 0 ;
18504 int res1 = 0 ;
18505 PyObject *swig_obj[1] ;
18506
18507 if (!args) SWIG_fail;
18508 swig_obj[0] = args;
18509 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18510 if (!SWIG_IsOK(res1)) {
18511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18512 }
18513 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18514 {
18515 PyThreadState* __tstate = wxPyBeginAllowThreads();
18516 result = (long)(arg1)->GetValue();
18517 wxPyEndAllowThreads(__tstate);
18518 if (PyErr_Occurred()) SWIG_fail;
18519 }
18520 resultobj = SWIG_From_long(static_cast< long >(result));
18521 return resultobj;
18522 fail:
18523 return NULL;
18524 }
18525
18526
18527 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18528 PyObject *obj;
18529 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18530 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18531 return SWIG_Py_Void();
18532 }
18533
18534 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18535 return SWIG_Python_InitShadowInstance(args);
18536 }
18537
18538 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18539 PyObject *resultobj = 0;
18540 wxFontData *result = 0 ;
18541
18542 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18543 {
18544 PyThreadState* __tstate = wxPyBeginAllowThreads();
18545 result = (wxFontData *)new wxFontData();
18546 wxPyEndAllowThreads(__tstate);
18547 if (PyErr_Occurred()) SWIG_fail;
18548 }
18549 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18550 return resultobj;
18551 fail:
18552 return NULL;
18553 }
18554
18555
18556 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18557 PyObject *resultobj = 0;
18558 wxFontData *arg1 = (wxFontData *) 0 ;
18559 void *argp1 = 0 ;
18560 int res1 = 0 ;
18561 PyObject *swig_obj[1] ;
18562
18563 if (!args) SWIG_fail;
18564 swig_obj[0] = args;
18565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18566 if (!SWIG_IsOK(res1)) {
18567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18568 }
18569 arg1 = reinterpret_cast< wxFontData * >(argp1);
18570 {
18571 PyThreadState* __tstate = wxPyBeginAllowThreads();
18572 delete arg1;
18573
18574 wxPyEndAllowThreads(__tstate);
18575 if (PyErr_Occurred()) SWIG_fail;
18576 }
18577 resultobj = SWIG_Py_Void();
18578 return resultobj;
18579 fail:
18580 return NULL;
18581 }
18582
18583
18584 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18585 PyObject *resultobj = 0;
18586 wxFontData *arg1 = (wxFontData *) 0 ;
18587 bool arg2 ;
18588 void *argp1 = 0 ;
18589 int res1 = 0 ;
18590 bool val2 ;
18591 int ecode2 = 0 ;
18592 PyObject * obj0 = 0 ;
18593 PyObject * obj1 = 0 ;
18594 char * kwnames[] = {
18595 (char *) "self",(char *) "enable", NULL
18596 };
18597
18598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18600 if (!SWIG_IsOK(res1)) {
18601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18602 }
18603 arg1 = reinterpret_cast< wxFontData * >(argp1);
18604 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18605 if (!SWIG_IsOK(ecode2)) {
18606 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18607 }
18608 arg2 = static_cast< bool >(val2);
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 (arg1)->EnableEffects(arg2);
18612 wxPyEndAllowThreads(__tstate);
18613 if (PyErr_Occurred()) SWIG_fail;
18614 }
18615 resultobj = SWIG_Py_Void();
18616 return resultobj;
18617 fail:
18618 return NULL;
18619 }
18620
18621
18622 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18623 PyObject *resultobj = 0;
18624 wxFontData *arg1 = (wxFontData *) 0 ;
18625 bool result;
18626 void *argp1 = 0 ;
18627 int res1 = 0 ;
18628 PyObject *swig_obj[1] ;
18629
18630 if (!args) SWIG_fail;
18631 swig_obj[0] = args;
18632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18633 if (!SWIG_IsOK(res1)) {
18634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18635 }
18636 arg1 = reinterpret_cast< wxFontData * >(argp1);
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 result = (bool)(arg1)->GetAllowSymbols();
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 {
18644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18645 }
18646 return resultobj;
18647 fail:
18648 return NULL;
18649 }
18650
18651
18652 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18653 PyObject *resultobj = 0;
18654 wxFontData *arg1 = (wxFontData *) 0 ;
18655 wxColour result;
18656 void *argp1 = 0 ;
18657 int res1 = 0 ;
18658 PyObject *swig_obj[1] ;
18659
18660 if (!args) SWIG_fail;
18661 swig_obj[0] = args;
18662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18663 if (!SWIG_IsOK(res1)) {
18664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18665 }
18666 arg1 = reinterpret_cast< wxFontData * >(argp1);
18667 {
18668 PyThreadState* __tstate = wxPyBeginAllowThreads();
18669 result = (arg1)->GetColour();
18670 wxPyEndAllowThreads(__tstate);
18671 if (PyErr_Occurred()) SWIG_fail;
18672 }
18673 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18674 return resultobj;
18675 fail:
18676 return NULL;
18677 }
18678
18679
18680 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18681 PyObject *resultobj = 0;
18682 wxFontData *arg1 = (wxFontData *) 0 ;
18683 wxFont result;
18684 void *argp1 = 0 ;
18685 int res1 = 0 ;
18686 PyObject *swig_obj[1] ;
18687
18688 if (!args) SWIG_fail;
18689 swig_obj[0] = args;
18690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18691 if (!SWIG_IsOK(res1)) {
18692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18693 }
18694 arg1 = reinterpret_cast< wxFontData * >(argp1);
18695 {
18696 PyThreadState* __tstate = wxPyBeginAllowThreads();
18697 result = (arg1)->GetChosenFont();
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18702 return resultobj;
18703 fail:
18704 return NULL;
18705 }
18706
18707
18708 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18709 PyObject *resultobj = 0;
18710 wxFontData *arg1 = (wxFontData *) 0 ;
18711 bool result;
18712 void *argp1 = 0 ;
18713 int res1 = 0 ;
18714 PyObject *swig_obj[1] ;
18715
18716 if (!args) SWIG_fail;
18717 swig_obj[0] = args;
18718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18719 if (!SWIG_IsOK(res1)) {
18720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18721 }
18722 arg1 = reinterpret_cast< wxFontData * >(argp1);
18723 {
18724 PyThreadState* __tstate = wxPyBeginAllowThreads();
18725 result = (bool)(arg1)->GetEnableEffects();
18726 wxPyEndAllowThreads(__tstate);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
18729 {
18730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18731 }
18732 return resultobj;
18733 fail:
18734 return NULL;
18735 }
18736
18737
18738 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18739 PyObject *resultobj = 0;
18740 wxFontData *arg1 = (wxFontData *) 0 ;
18741 wxFont result;
18742 void *argp1 = 0 ;
18743 int res1 = 0 ;
18744 PyObject *swig_obj[1] ;
18745
18746 if (!args) SWIG_fail;
18747 swig_obj[0] = args;
18748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18749 if (!SWIG_IsOK(res1)) {
18750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18751 }
18752 arg1 = reinterpret_cast< wxFontData * >(argp1);
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 result = (arg1)->GetInitialFont();
18756 wxPyEndAllowThreads(__tstate);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18760 return resultobj;
18761 fail:
18762 return NULL;
18763 }
18764
18765
18766 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18767 PyObject *resultobj = 0;
18768 wxFontData *arg1 = (wxFontData *) 0 ;
18769 bool result;
18770 void *argp1 = 0 ;
18771 int res1 = 0 ;
18772 PyObject *swig_obj[1] ;
18773
18774 if (!args) SWIG_fail;
18775 swig_obj[0] = args;
18776 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18777 if (!SWIG_IsOK(res1)) {
18778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18779 }
18780 arg1 = reinterpret_cast< wxFontData * >(argp1);
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 result = (bool)(arg1)->GetShowHelp();
18784 wxPyEndAllowThreads(__tstate);
18785 if (PyErr_Occurred()) SWIG_fail;
18786 }
18787 {
18788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18789 }
18790 return resultobj;
18791 fail:
18792 return NULL;
18793 }
18794
18795
18796 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18797 PyObject *resultobj = 0;
18798 wxFontData *arg1 = (wxFontData *) 0 ;
18799 bool arg2 ;
18800 void *argp1 = 0 ;
18801 int res1 = 0 ;
18802 bool val2 ;
18803 int ecode2 = 0 ;
18804 PyObject * obj0 = 0 ;
18805 PyObject * obj1 = 0 ;
18806 char * kwnames[] = {
18807 (char *) "self",(char *) "allowSymbols", NULL
18808 };
18809
18810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18812 if (!SWIG_IsOK(res1)) {
18813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18814 }
18815 arg1 = reinterpret_cast< wxFontData * >(argp1);
18816 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18817 if (!SWIG_IsOK(ecode2)) {
18818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18819 }
18820 arg2 = static_cast< bool >(val2);
18821 {
18822 PyThreadState* __tstate = wxPyBeginAllowThreads();
18823 (arg1)->SetAllowSymbols(arg2);
18824 wxPyEndAllowThreads(__tstate);
18825 if (PyErr_Occurred()) SWIG_fail;
18826 }
18827 resultobj = SWIG_Py_Void();
18828 return resultobj;
18829 fail:
18830 return NULL;
18831 }
18832
18833
18834 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18835 PyObject *resultobj = 0;
18836 wxFontData *arg1 = (wxFontData *) 0 ;
18837 wxFont *arg2 = 0 ;
18838 void *argp1 = 0 ;
18839 int res1 = 0 ;
18840 void *argp2 = 0 ;
18841 int res2 = 0 ;
18842 PyObject * obj0 = 0 ;
18843 PyObject * obj1 = 0 ;
18844 char * kwnames[] = {
18845 (char *) "self",(char *) "font", NULL
18846 };
18847
18848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18850 if (!SWIG_IsOK(res1)) {
18851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18852 }
18853 arg1 = reinterpret_cast< wxFontData * >(argp1);
18854 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18855 if (!SWIG_IsOK(res2)) {
18856 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18857 }
18858 if (!argp2) {
18859 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18860 }
18861 arg2 = reinterpret_cast< wxFont * >(argp2);
18862 {
18863 PyThreadState* __tstate = wxPyBeginAllowThreads();
18864 (arg1)->SetChosenFont((wxFont const &)*arg2);
18865 wxPyEndAllowThreads(__tstate);
18866 if (PyErr_Occurred()) SWIG_fail;
18867 }
18868 resultobj = SWIG_Py_Void();
18869 return resultobj;
18870 fail:
18871 return NULL;
18872 }
18873
18874
18875 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18876 PyObject *resultobj = 0;
18877 wxFontData *arg1 = (wxFontData *) 0 ;
18878 wxColour *arg2 = 0 ;
18879 void *argp1 = 0 ;
18880 int res1 = 0 ;
18881 wxColour temp2 ;
18882 PyObject * obj0 = 0 ;
18883 PyObject * obj1 = 0 ;
18884 char * kwnames[] = {
18885 (char *) "self",(char *) "colour", NULL
18886 };
18887
18888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
18889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18890 if (!SWIG_IsOK(res1)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18892 }
18893 arg1 = reinterpret_cast< wxFontData * >(argp1);
18894 {
18895 arg2 = &temp2;
18896 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18897 }
18898 {
18899 PyThreadState* __tstate = wxPyBeginAllowThreads();
18900 (arg1)->SetColour((wxColour const &)*arg2);
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 resultobj = SWIG_Py_Void();
18905 return resultobj;
18906 fail:
18907 return NULL;
18908 }
18909
18910
18911 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18912 PyObject *resultobj = 0;
18913 wxFontData *arg1 = (wxFontData *) 0 ;
18914 wxFont *arg2 = 0 ;
18915 void *argp1 = 0 ;
18916 int res1 = 0 ;
18917 void *argp2 = 0 ;
18918 int res2 = 0 ;
18919 PyObject * obj0 = 0 ;
18920 PyObject * obj1 = 0 ;
18921 char * kwnames[] = {
18922 (char *) "self",(char *) "font", NULL
18923 };
18924
18925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
18926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18927 if (!SWIG_IsOK(res1)) {
18928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18929 }
18930 arg1 = reinterpret_cast< wxFontData * >(argp1);
18931 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18932 if (!SWIG_IsOK(res2)) {
18933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18934 }
18935 if (!argp2) {
18936 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18937 }
18938 arg2 = reinterpret_cast< wxFont * >(argp2);
18939 {
18940 PyThreadState* __tstate = wxPyBeginAllowThreads();
18941 (arg1)->SetInitialFont((wxFont const &)*arg2);
18942 wxPyEndAllowThreads(__tstate);
18943 if (PyErr_Occurred()) SWIG_fail;
18944 }
18945 resultobj = SWIG_Py_Void();
18946 return resultobj;
18947 fail:
18948 return NULL;
18949 }
18950
18951
18952 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18953 PyObject *resultobj = 0;
18954 wxFontData *arg1 = (wxFontData *) 0 ;
18955 int arg2 ;
18956 int arg3 ;
18957 void *argp1 = 0 ;
18958 int res1 = 0 ;
18959 int val2 ;
18960 int ecode2 = 0 ;
18961 int val3 ;
18962 int ecode3 = 0 ;
18963 PyObject * obj0 = 0 ;
18964 PyObject * obj1 = 0 ;
18965 PyObject * obj2 = 0 ;
18966 char * kwnames[] = {
18967 (char *) "self",(char *) "min",(char *) "max", NULL
18968 };
18969
18970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
18971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18972 if (!SWIG_IsOK(res1)) {
18973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18974 }
18975 arg1 = reinterpret_cast< wxFontData * >(argp1);
18976 ecode2 = SWIG_AsVal_int(obj1, &val2);
18977 if (!SWIG_IsOK(ecode2)) {
18978 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18979 }
18980 arg2 = static_cast< int >(val2);
18981 ecode3 = SWIG_AsVal_int(obj2, &val3);
18982 if (!SWIG_IsOK(ecode3)) {
18983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18984 }
18985 arg3 = static_cast< int >(val3);
18986 {
18987 PyThreadState* __tstate = wxPyBeginAllowThreads();
18988 (arg1)->SetRange(arg2,arg3);
18989 wxPyEndAllowThreads(__tstate);
18990 if (PyErr_Occurred()) SWIG_fail;
18991 }
18992 resultobj = SWIG_Py_Void();
18993 return resultobj;
18994 fail:
18995 return NULL;
18996 }
18997
18998
18999 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19000 PyObject *resultobj = 0;
19001 wxFontData *arg1 = (wxFontData *) 0 ;
19002 bool arg2 ;
19003 void *argp1 = 0 ;
19004 int res1 = 0 ;
19005 bool val2 ;
19006 int ecode2 = 0 ;
19007 PyObject * obj0 = 0 ;
19008 PyObject * obj1 = 0 ;
19009 char * kwnames[] = {
19010 (char *) "self",(char *) "showHelp", NULL
19011 };
19012
19013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19015 if (!SWIG_IsOK(res1)) {
19016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19017 }
19018 arg1 = reinterpret_cast< wxFontData * >(argp1);
19019 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19020 if (!SWIG_IsOK(ecode2)) {
19021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19022 }
19023 arg2 = static_cast< bool >(val2);
19024 {
19025 PyThreadState* __tstate = wxPyBeginAllowThreads();
19026 (arg1)->SetShowHelp(arg2);
19027 wxPyEndAllowThreads(__tstate);
19028 if (PyErr_Occurred()) SWIG_fail;
19029 }
19030 resultobj = SWIG_Py_Void();
19031 return resultobj;
19032 fail:
19033 return NULL;
19034 }
19035
19036
19037 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19038 PyObject *obj;
19039 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19040 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19041 return SWIG_Py_Void();
19042 }
19043
19044 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19045 return SWIG_Python_InitShadowInstance(args);
19046 }
19047
19048 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19049 PyObject *resultobj = 0;
19050 wxWindow *arg1 = (wxWindow *) 0 ;
19051 wxFontData *arg2 = 0 ;
19052 wxFontDialog *result = 0 ;
19053 void *argp1 = 0 ;
19054 int res1 = 0 ;
19055 void *argp2 = 0 ;
19056 int res2 = 0 ;
19057 PyObject * obj0 = 0 ;
19058 PyObject * obj1 = 0 ;
19059 char * kwnames[] = {
19060 (char *) "parent",(char *) "data", NULL
19061 };
19062
19063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19065 if (!SWIG_IsOK(res1)) {
19066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19067 }
19068 arg1 = reinterpret_cast< wxWindow * >(argp1);
19069 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19070 if (!SWIG_IsOK(res2)) {
19071 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19072 }
19073 if (!argp2) {
19074 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19075 }
19076 arg2 = reinterpret_cast< wxFontData * >(argp2);
19077 {
19078 if (!wxPyCheckForApp()) SWIG_fail;
19079 PyThreadState* __tstate = wxPyBeginAllowThreads();
19080 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19081 wxPyEndAllowThreads(__tstate);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 }
19084 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19085 return resultobj;
19086 fail:
19087 return NULL;
19088 }
19089
19090
19091 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19092 PyObject *resultobj = 0;
19093 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19094 wxFontData *result = 0 ;
19095 void *argp1 = 0 ;
19096 int res1 = 0 ;
19097 PyObject *swig_obj[1] ;
19098
19099 if (!args) SWIG_fail;
19100 swig_obj[0] = args;
19101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19102 if (!SWIG_IsOK(res1)) {
19103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19104 }
19105 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19106 {
19107 PyThreadState* __tstate = wxPyBeginAllowThreads();
19108 {
19109 wxFontData &_result_ref = (arg1)->GetFontData();
19110 result = (wxFontData *) &_result_ref;
19111 }
19112 wxPyEndAllowThreads(__tstate);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19116 return resultobj;
19117 fail:
19118 return NULL;
19119 }
19120
19121
19122 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19123 PyObject *obj;
19124 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19125 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19126 return SWIG_Py_Void();
19127 }
19128
19129 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19130 return SWIG_Python_InitShadowInstance(args);
19131 }
19132
19133 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj = 0;
19135 wxWindow *arg1 = (wxWindow *) NULL ;
19136 wxFont const &arg2_defvalue = wxNullFont ;
19137 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19138 wxString const &arg3_defvalue = wxPyEmptyString ;
19139 wxString *arg3 = (wxString *) &arg3_defvalue ;
19140 wxFont result;
19141 void *argp1 = 0 ;
19142 int res1 = 0 ;
19143 void *argp2 = 0 ;
19144 int res2 = 0 ;
19145 bool temp3 = false ;
19146 PyObject * obj0 = 0 ;
19147 PyObject * obj1 = 0 ;
19148 PyObject * obj2 = 0 ;
19149 char * kwnames[] = {
19150 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19151 };
19152
19153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19154 if (obj0) {
19155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19156 if (!SWIG_IsOK(res1)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19158 }
19159 arg1 = reinterpret_cast< wxWindow * >(argp1);
19160 }
19161 if (obj1) {
19162 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19163 if (!SWIG_IsOK(res2)) {
19164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19165 }
19166 if (!argp2) {
19167 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19168 }
19169 arg2 = reinterpret_cast< wxFont * >(argp2);
19170 }
19171 if (obj2) {
19172 {
19173 arg3 = wxString_in_helper(obj2);
19174 if (arg3 == NULL) SWIG_fail;
19175 temp3 = true;
19176 }
19177 }
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19185 {
19186 if (temp3)
19187 delete arg3;
19188 }
19189 return resultobj;
19190 fail:
19191 {
19192 if (temp3)
19193 delete arg3;
19194 }
19195 return NULL;
19196 }
19197
19198
19199 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj = 0;
19201 wxWindow *arg1 = (wxWindow *) 0 ;
19202 wxString *arg2 = 0 ;
19203 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19204 wxString *arg3 = (wxString *) &arg3_defvalue ;
19205 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19206 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19207 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19208 wxMessageDialog *result = 0 ;
19209 void *argp1 = 0 ;
19210 int res1 = 0 ;
19211 bool temp2 = false ;
19212 bool temp3 = false ;
19213 long val4 ;
19214 int ecode4 = 0 ;
19215 wxPoint temp5 ;
19216 PyObject * obj0 = 0 ;
19217 PyObject * obj1 = 0 ;
19218 PyObject * obj2 = 0 ;
19219 PyObject * obj3 = 0 ;
19220 PyObject * obj4 = 0 ;
19221 char * kwnames[] = {
19222 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19223 };
19224
19225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19227 if (!SWIG_IsOK(res1)) {
19228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19229 }
19230 arg1 = reinterpret_cast< wxWindow * >(argp1);
19231 {
19232 arg2 = wxString_in_helper(obj1);
19233 if (arg2 == NULL) SWIG_fail;
19234 temp2 = true;
19235 }
19236 if (obj2) {
19237 {
19238 arg3 = wxString_in_helper(obj2);
19239 if (arg3 == NULL) SWIG_fail;
19240 temp3 = true;
19241 }
19242 }
19243 if (obj3) {
19244 ecode4 = SWIG_AsVal_long(obj3, &val4);
19245 if (!SWIG_IsOK(ecode4)) {
19246 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19247 }
19248 arg4 = static_cast< long >(val4);
19249 }
19250 if (obj4) {
19251 {
19252 arg5 = &temp5;
19253 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19254 }
19255 }
19256 {
19257 if (!wxPyCheckForApp()) SWIG_fail;
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19260 wxPyEndAllowThreads(__tstate);
19261 if (PyErr_Occurred()) SWIG_fail;
19262 }
19263 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19264 {
19265 if (temp2)
19266 delete arg2;
19267 }
19268 {
19269 if (temp3)
19270 delete arg3;
19271 }
19272 return resultobj;
19273 fail:
19274 {
19275 if (temp2)
19276 delete arg2;
19277 }
19278 {
19279 if (temp3)
19280 delete arg3;
19281 }
19282 return NULL;
19283 }
19284
19285
19286 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19287 PyObject *obj;
19288 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19289 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19290 return SWIG_Py_Void();
19291 }
19292
19293 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19294 return SWIG_Python_InitShadowInstance(args);
19295 }
19296
19297 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19298 PyObject *resultobj = 0;
19299 wxString *arg1 = 0 ;
19300 wxString *arg2 = 0 ;
19301 int arg3 = (int) 100 ;
19302 wxWindow *arg4 = (wxWindow *) NULL ;
19303 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19304 wxProgressDialog *result = 0 ;
19305 bool temp1 = false ;
19306 bool temp2 = false ;
19307 int val3 ;
19308 int ecode3 = 0 ;
19309 void *argp4 = 0 ;
19310 int res4 = 0 ;
19311 int val5 ;
19312 int ecode5 = 0 ;
19313 PyObject * obj0 = 0 ;
19314 PyObject * obj1 = 0 ;
19315 PyObject * obj2 = 0 ;
19316 PyObject * obj3 = 0 ;
19317 PyObject * obj4 = 0 ;
19318 char * kwnames[] = {
19319 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19320 };
19321
19322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19323 {
19324 arg1 = wxString_in_helper(obj0);
19325 if (arg1 == NULL) SWIG_fail;
19326 temp1 = true;
19327 }
19328 {
19329 arg2 = wxString_in_helper(obj1);
19330 if (arg2 == NULL) SWIG_fail;
19331 temp2 = true;
19332 }
19333 if (obj2) {
19334 ecode3 = SWIG_AsVal_int(obj2, &val3);
19335 if (!SWIG_IsOK(ecode3)) {
19336 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19337 }
19338 arg3 = static_cast< int >(val3);
19339 }
19340 if (obj3) {
19341 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19342 if (!SWIG_IsOK(res4)) {
19343 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19344 }
19345 arg4 = reinterpret_cast< wxWindow * >(argp4);
19346 }
19347 if (obj4) {
19348 ecode5 = SWIG_AsVal_int(obj4, &val5);
19349 if (!SWIG_IsOK(ecode5)) {
19350 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19351 }
19352 arg5 = static_cast< int >(val5);
19353 }
19354 {
19355 if (!wxPyCheckForApp()) SWIG_fail;
19356 PyThreadState* __tstate = wxPyBeginAllowThreads();
19357 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19358 wxPyEndAllowThreads(__tstate);
19359 if (PyErr_Occurred()) SWIG_fail;
19360 }
19361 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19362 {
19363 if (temp1)
19364 delete arg1;
19365 }
19366 {
19367 if (temp2)
19368 delete arg2;
19369 }
19370 return resultobj;
19371 fail:
19372 {
19373 if (temp1)
19374 delete arg1;
19375 }
19376 {
19377 if (temp2)
19378 delete arg2;
19379 }
19380 return NULL;
19381 }
19382
19383
19384 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj = 0;
19386 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19387 int arg2 ;
19388 wxString const &arg3_defvalue = wxPyEmptyString ;
19389 wxString *arg3 = (wxString *) &arg3_defvalue ;
19390 bool *arg4 = (bool *) 0 ;
19391 bool result;
19392 void *argp1 = 0 ;
19393 int res1 = 0 ;
19394 int val2 ;
19395 int ecode2 = 0 ;
19396 bool temp3 = false ;
19397 bool temp4 ;
19398 int res4 = SWIG_TMPOBJ ;
19399 PyObject * obj0 = 0 ;
19400 PyObject * obj1 = 0 ;
19401 PyObject * obj2 = 0 ;
19402 char * kwnames[] = {
19403 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19404 };
19405
19406 arg4 = &temp4;
19407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19409 if (!SWIG_IsOK(res1)) {
19410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19411 }
19412 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19413 ecode2 = SWIG_AsVal_int(obj1, &val2);
19414 if (!SWIG_IsOK(ecode2)) {
19415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19416 }
19417 arg2 = static_cast< int >(val2);
19418 if (obj2) {
19419 {
19420 arg3 = wxString_in_helper(obj2);
19421 if (arg3 == NULL) SWIG_fail;
19422 temp3 = true;
19423 }
19424 }
19425 {
19426 PyThreadState* __tstate = wxPyBeginAllowThreads();
19427 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19428 wxPyEndAllowThreads(__tstate);
19429 if (PyErr_Occurred()) SWIG_fail;
19430 }
19431 {
19432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19433 }
19434 if (SWIG_IsTmpObj(res4)) {
19435 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19436 } else {
19437 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19438 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19439 }
19440 {
19441 if (temp3)
19442 delete arg3;
19443 }
19444 return resultobj;
19445 fail:
19446 {
19447 if (temp3)
19448 delete arg3;
19449 }
19450 return NULL;
19451 }
19452
19453
19454 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19455 PyObject *resultobj = 0;
19456 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19457 void *argp1 = 0 ;
19458 int res1 = 0 ;
19459 PyObject *swig_obj[1] ;
19460
19461 if (!args) SWIG_fail;
19462 swig_obj[0] = args;
19463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19464 if (!SWIG_IsOK(res1)) {
19465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19466 }
19467 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19468 {
19469 PyThreadState* __tstate = wxPyBeginAllowThreads();
19470 (arg1)->Resume();
19471 wxPyEndAllowThreads(__tstate);
19472 if (PyErr_Occurred()) SWIG_fail;
19473 }
19474 resultobj = SWIG_Py_Void();
19475 return resultobj;
19476 fail:
19477 return NULL;
19478 }
19479
19480
19481 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19482 PyObject *obj;
19483 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19484 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19485 return SWIG_Py_Void();
19486 }
19487
19488 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19489 return SWIG_Python_InitShadowInstance(args);
19490 }
19491
19492 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19493 PyObject *resultobj = 0;
19494 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19495 int arg2 = (int) 0 ;
19496 wxFindDialogEvent *result = 0 ;
19497 int val1 ;
19498 int ecode1 = 0 ;
19499 int val2 ;
19500 int ecode2 = 0 ;
19501 PyObject * obj0 = 0 ;
19502 PyObject * obj1 = 0 ;
19503 char * kwnames[] = {
19504 (char *) "commandType",(char *) "id", NULL
19505 };
19506
19507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19508 if (obj0) {
19509 ecode1 = SWIG_AsVal_int(obj0, &val1);
19510 if (!SWIG_IsOK(ecode1)) {
19511 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19512 }
19513 arg1 = static_cast< wxEventType >(val1);
19514 }
19515 if (obj1) {
19516 ecode2 = SWIG_AsVal_int(obj1, &val2);
19517 if (!SWIG_IsOK(ecode2)) {
19518 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19519 }
19520 arg2 = static_cast< int >(val2);
19521 }
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19525 wxPyEndAllowThreads(__tstate);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19529 return resultobj;
19530 fail:
19531 return NULL;
19532 }
19533
19534
19535 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19536 PyObject *resultobj = 0;
19537 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19538 int result;
19539 void *argp1 = 0 ;
19540 int res1 = 0 ;
19541 PyObject *swig_obj[1] ;
19542
19543 if (!args) SWIG_fail;
19544 swig_obj[0] = args;
19545 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19546 if (!SWIG_IsOK(res1)) {
19547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19548 }
19549 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19550 {
19551 PyThreadState* __tstate = wxPyBeginAllowThreads();
19552 result = (int)(arg1)->GetFlags();
19553 wxPyEndAllowThreads(__tstate);
19554 if (PyErr_Occurred()) SWIG_fail;
19555 }
19556 resultobj = SWIG_From_int(static_cast< int >(result));
19557 return resultobj;
19558 fail:
19559 return NULL;
19560 }
19561
19562
19563 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19564 PyObject *resultobj = 0;
19565 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19566 wxString *result = 0 ;
19567 void *argp1 = 0 ;
19568 int res1 = 0 ;
19569 PyObject *swig_obj[1] ;
19570
19571 if (!args) SWIG_fail;
19572 swig_obj[0] = args;
19573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19574 if (!SWIG_IsOK(res1)) {
19575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19576 }
19577 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19578 {
19579 PyThreadState* __tstate = wxPyBeginAllowThreads();
19580 {
19581 wxString const &_result_ref = (arg1)->GetFindString();
19582 result = (wxString *) &_result_ref;
19583 }
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 {
19588 #if wxUSE_UNICODE
19589 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19590 #else
19591 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19592 #endif
19593 }
19594 return resultobj;
19595 fail:
19596 return NULL;
19597 }
19598
19599
19600 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19601 PyObject *resultobj = 0;
19602 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19603 wxString *result = 0 ;
19604 void *argp1 = 0 ;
19605 int res1 = 0 ;
19606 PyObject *swig_obj[1] ;
19607
19608 if (!args) SWIG_fail;
19609 swig_obj[0] = args;
19610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19611 if (!SWIG_IsOK(res1)) {
19612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19613 }
19614 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 {
19618 wxString const &_result_ref = (arg1)->GetReplaceString();
19619 result = (wxString *) &_result_ref;
19620 }
19621 wxPyEndAllowThreads(__tstate);
19622 if (PyErr_Occurred()) SWIG_fail;
19623 }
19624 {
19625 #if wxUSE_UNICODE
19626 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19627 #else
19628 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19629 #endif
19630 }
19631 return resultobj;
19632 fail:
19633 return NULL;
19634 }
19635
19636
19637 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19638 PyObject *resultobj = 0;
19639 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19640 wxFindReplaceDialog *result = 0 ;
19641 void *argp1 = 0 ;
19642 int res1 = 0 ;
19643 PyObject *swig_obj[1] ;
19644
19645 if (!args) SWIG_fail;
19646 swig_obj[0] = args;
19647 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19648 if (!SWIG_IsOK(res1)) {
19649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19650 }
19651 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19652 {
19653 PyThreadState* __tstate = wxPyBeginAllowThreads();
19654 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19655 wxPyEndAllowThreads(__tstate);
19656 if (PyErr_Occurred()) SWIG_fail;
19657 }
19658 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19659 return resultobj;
19660 fail:
19661 return NULL;
19662 }
19663
19664
19665 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19666 PyObject *resultobj = 0;
19667 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19668 int arg2 ;
19669 void *argp1 = 0 ;
19670 int res1 = 0 ;
19671 int val2 ;
19672 int ecode2 = 0 ;
19673 PyObject * obj0 = 0 ;
19674 PyObject * obj1 = 0 ;
19675 char * kwnames[] = {
19676 (char *) "self",(char *) "flags", NULL
19677 };
19678
19679 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19680 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19681 if (!SWIG_IsOK(res1)) {
19682 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19683 }
19684 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19685 ecode2 = SWIG_AsVal_int(obj1, &val2);
19686 if (!SWIG_IsOK(ecode2)) {
19687 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19688 }
19689 arg2 = static_cast< int >(val2);
19690 {
19691 PyThreadState* __tstate = wxPyBeginAllowThreads();
19692 (arg1)->SetFlags(arg2);
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 resultobj = SWIG_Py_Void();
19697 return resultobj;
19698 fail:
19699 return NULL;
19700 }
19701
19702
19703 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19704 PyObject *resultobj = 0;
19705 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19706 wxString *arg2 = 0 ;
19707 void *argp1 = 0 ;
19708 int res1 = 0 ;
19709 bool temp2 = false ;
19710 PyObject * obj0 = 0 ;
19711 PyObject * obj1 = 0 ;
19712 char * kwnames[] = {
19713 (char *) "self",(char *) "str", NULL
19714 };
19715
19716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19718 if (!SWIG_IsOK(res1)) {
19719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19720 }
19721 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19722 {
19723 arg2 = wxString_in_helper(obj1);
19724 if (arg2 == NULL) SWIG_fail;
19725 temp2 = true;
19726 }
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 (arg1)->SetFindString((wxString const &)*arg2);
19730 wxPyEndAllowThreads(__tstate);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 }
19733 resultobj = SWIG_Py_Void();
19734 {
19735 if (temp2)
19736 delete arg2;
19737 }
19738 return resultobj;
19739 fail:
19740 {
19741 if (temp2)
19742 delete arg2;
19743 }
19744 return NULL;
19745 }
19746
19747
19748 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19749 PyObject *resultobj = 0;
19750 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19751 wxString *arg2 = 0 ;
19752 void *argp1 = 0 ;
19753 int res1 = 0 ;
19754 bool temp2 = false ;
19755 PyObject * obj0 = 0 ;
19756 PyObject * obj1 = 0 ;
19757 char * kwnames[] = {
19758 (char *) "self",(char *) "str", NULL
19759 };
19760
19761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19763 if (!SWIG_IsOK(res1)) {
19764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19765 }
19766 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19767 {
19768 arg2 = wxString_in_helper(obj1);
19769 if (arg2 == NULL) SWIG_fail;
19770 temp2 = true;
19771 }
19772 {
19773 PyThreadState* __tstate = wxPyBeginAllowThreads();
19774 (arg1)->SetReplaceString((wxString const &)*arg2);
19775 wxPyEndAllowThreads(__tstate);
19776 if (PyErr_Occurred()) SWIG_fail;
19777 }
19778 resultobj = SWIG_Py_Void();
19779 {
19780 if (temp2)
19781 delete arg2;
19782 }
19783 return resultobj;
19784 fail:
19785 {
19786 if (temp2)
19787 delete arg2;
19788 }
19789 return NULL;
19790 }
19791
19792
19793 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19794 PyObject *obj;
19795 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19796 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19797 return SWIG_Py_Void();
19798 }
19799
19800 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19801 return SWIG_Python_InitShadowInstance(args);
19802 }
19803
19804 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19805 PyObject *resultobj = 0;
19806 int arg1 = (int) 0 ;
19807 wxFindReplaceData *result = 0 ;
19808 int val1 ;
19809 int ecode1 = 0 ;
19810 PyObject * obj0 = 0 ;
19811 char * kwnames[] = {
19812 (char *) "flags", NULL
19813 };
19814
19815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
19816 if (obj0) {
19817 ecode1 = SWIG_AsVal_int(obj0, &val1);
19818 if (!SWIG_IsOK(ecode1)) {
19819 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19820 }
19821 arg1 = static_cast< int >(val1);
19822 }
19823 {
19824 PyThreadState* __tstate = wxPyBeginAllowThreads();
19825 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
19830 return resultobj;
19831 fail:
19832 return NULL;
19833 }
19834
19835
19836 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19837 PyObject *resultobj = 0;
19838 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19839 void *argp1 = 0 ;
19840 int res1 = 0 ;
19841 PyObject *swig_obj[1] ;
19842
19843 if (!args) SWIG_fail;
19844 swig_obj[0] = args;
19845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
19846 if (!SWIG_IsOK(res1)) {
19847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19848 }
19849 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 delete arg1;
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 resultobj = SWIG_Py_Void();
19858 return resultobj;
19859 fail:
19860 return NULL;
19861 }
19862
19863
19864 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19865 PyObject *resultobj = 0;
19866 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19867 wxString *result = 0 ;
19868 void *argp1 = 0 ;
19869 int res1 = 0 ;
19870 PyObject *swig_obj[1] ;
19871
19872 if (!args) SWIG_fail;
19873 swig_obj[0] = args;
19874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19875 if (!SWIG_IsOK(res1)) {
19876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19877 }
19878 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19879 {
19880 PyThreadState* __tstate = wxPyBeginAllowThreads();
19881 {
19882 wxString const &_result_ref = (arg1)->GetFindString();
19883 result = (wxString *) &_result_ref;
19884 }
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 {
19889 #if wxUSE_UNICODE
19890 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19891 #else
19892 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19893 #endif
19894 }
19895 return resultobj;
19896 fail:
19897 return NULL;
19898 }
19899
19900
19901 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19902 PyObject *resultobj = 0;
19903 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19904 wxString *result = 0 ;
19905 void *argp1 = 0 ;
19906 int res1 = 0 ;
19907 PyObject *swig_obj[1] ;
19908
19909 if (!args) SWIG_fail;
19910 swig_obj[0] = args;
19911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19912 if (!SWIG_IsOK(res1)) {
19913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19914 }
19915 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19916 {
19917 PyThreadState* __tstate = wxPyBeginAllowThreads();
19918 {
19919 wxString const &_result_ref = (arg1)->GetReplaceString();
19920 result = (wxString *) &_result_ref;
19921 }
19922 wxPyEndAllowThreads(__tstate);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 {
19926 #if wxUSE_UNICODE
19927 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19928 #else
19929 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19930 #endif
19931 }
19932 return resultobj;
19933 fail:
19934 return NULL;
19935 }
19936
19937
19938 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19939 PyObject *resultobj = 0;
19940 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19941 int result;
19942 void *argp1 = 0 ;
19943 int res1 = 0 ;
19944 PyObject *swig_obj[1] ;
19945
19946 if (!args) SWIG_fail;
19947 swig_obj[0] = args;
19948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19949 if (!SWIG_IsOK(res1)) {
19950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19951 }
19952 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19953 {
19954 PyThreadState* __tstate = wxPyBeginAllowThreads();
19955 result = (int)(arg1)->GetFlags();
19956 wxPyEndAllowThreads(__tstate);
19957 if (PyErr_Occurred()) SWIG_fail;
19958 }
19959 resultobj = SWIG_From_int(static_cast< int >(result));
19960 return resultobj;
19961 fail:
19962 return NULL;
19963 }
19964
19965
19966 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19967 PyObject *resultobj = 0;
19968 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
19969 int arg2 ;
19970 void *argp1 = 0 ;
19971 int res1 = 0 ;
19972 int val2 ;
19973 int ecode2 = 0 ;
19974 PyObject * obj0 = 0 ;
19975 PyObject * obj1 = 0 ;
19976 char * kwnames[] = {
19977 (char *) "self",(char *) "flags", NULL
19978 };
19979
19980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
19982 if (!SWIG_IsOK(res1)) {
19983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19984 }
19985 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
19986 ecode2 = SWIG_AsVal_int(obj1, &val2);
19987 if (!SWIG_IsOK(ecode2)) {
19988 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19989 }
19990 arg2 = static_cast< int >(val2);
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 (arg1)->SetFlags(arg2);
19994 wxPyEndAllowThreads(__tstate);
19995 if (PyErr_Occurred()) SWIG_fail;
19996 }
19997 resultobj = SWIG_Py_Void();
19998 return resultobj;
19999 fail:
20000 return NULL;
20001 }
20002
20003
20004 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20005 PyObject *resultobj = 0;
20006 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20007 wxString *arg2 = 0 ;
20008 void *argp1 = 0 ;
20009 int res1 = 0 ;
20010 bool temp2 = false ;
20011 PyObject * obj0 = 0 ;
20012 PyObject * obj1 = 0 ;
20013 char * kwnames[] = {
20014 (char *) "self",(char *) "str", NULL
20015 };
20016
20017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20019 if (!SWIG_IsOK(res1)) {
20020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20021 }
20022 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20023 {
20024 arg2 = wxString_in_helper(obj1);
20025 if (arg2 == NULL) SWIG_fail;
20026 temp2 = true;
20027 }
20028 {
20029 PyThreadState* __tstate = wxPyBeginAllowThreads();
20030 (arg1)->SetFindString((wxString const &)*arg2);
20031 wxPyEndAllowThreads(__tstate);
20032 if (PyErr_Occurred()) SWIG_fail;
20033 }
20034 resultobj = SWIG_Py_Void();
20035 {
20036 if (temp2)
20037 delete arg2;
20038 }
20039 return resultobj;
20040 fail:
20041 {
20042 if (temp2)
20043 delete arg2;
20044 }
20045 return NULL;
20046 }
20047
20048
20049 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20050 PyObject *resultobj = 0;
20051 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20052 wxString *arg2 = 0 ;
20053 void *argp1 = 0 ;
20054 int res1 = 0 ;
20055 bool temp2 = false ;
20056 PyObject * obj0 = 0 ;
20057 PyObject * obj1 = 0 ;
20058 char * kwnames[] = {
20059 (char *) "self",(char *) "str", NULL
20060 };
20061
20062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20064 if (!SWIG_IsOK(res1)) {
20065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20066 }
20067 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20068 {
20069 arg2 = wxString_in_helper(obj1);
20070 if (arg2 == NULL) SWIG_fail;
20071 temp2 = true;
20072 }
20073 {
20074 PyThreadState* __tstate = wxPyBeginAllowThreads();
20075 (arg1)->SetReplaceString((wxString const &)*arg2);
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 resultobj = SWIG_Py_Void();
20080 {
20081 if (temp2)
20082 delete arg2;
20083 }
20084 return resultobj;
20085 fail:
20086 {
20087 if (temp2)
20088 delete arg2;
20089 }
20090 return NULL;
20091 }
20092
20093
20094 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20095 PyObject *obj;
20096 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20097 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20098 return SWIG_Py_Void();
20099 }
20100
20101 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20102 return SWIG_Python_InitShadowInstance(args);
20103 }
20104
20105 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20106 PyObject *resultobj = 0;
20107 wxWindow *arg1 = (wxWindow *) 0 ;
20108 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20109 wxString *arg3 = 0 ;
20110 int arg4 = (int) 0 ;
20111 wxFindReplaceDialog *result = 0 ;
20112 void *argp1 = 0 ;
20113 int res1 = 0 ;
20114 void *argp2 = 0 ;
20115 int res2 = 0 ;
20116 bool temp3 = false ;
20117 int val4 ;
20118 int ecode4 = 0 ;
20119 PyObject * obj0 = 0 ;
20120 PyObject * obj1 = 0 ;
20121 PyObject * obj2 = 0 ;
20122 PyObject * obj3 = 0 ;
20123 char * kwnames[] = {
20124 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20125 };
20126
20127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20129 if (!SWIG_IsOK(res1)) {
20130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20131 }
20132 arg1 = reinterpret_cast< wxWindow * >(argp1);
20133 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20134 if (!SWIG_IsOK(res2)) {
20135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20136 }
20137 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20138 {
20139 arg3 = wxString_in_helper(obj2);
20140 if (arg3 == NULL) SWIG_fail;
20141 temp3 = true;
20142 }
20143 if (obj3) {
20144 ecode4 = SWIG_AsVal_int(obj3, &val4);
20145 if (!SWIG_IsOK(ecode4)) {
20146 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20147 }
20148 arg4 = static_cast< int >(val4);
20149 }
20150 {
20151 if (!wxPyCheckForApp()) SWIG_fail;
20152 PyThreadState* __tstate = wxPyBeginAllowThreads();
20153 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20154 wxPyEndAllowThreads(__tstate);
20155 if (PyErr_Occurred()) SWIG_fail;
20156 }
20157 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20158 {
20159 if (temp3)
20160 delete arg3;
20161 }
20162 return resultobj;
20163 fail:
20164 {
20165 if (temp3)
20166 delete arg3;
20167 }
20168 return NULL;
20169 }
20170
20171
20172 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20173 PyObject *resultobj = 0;
20174 wxFindReplaceDialog *result = 0 ;
20175
20176 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20177 {
20178 if (!wxPyCheckForApp()) SWIG_fail;
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
20180 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20181 wxPyEndAllowThreads(__tstate);
20182 if (PyErr_Occurred()) SWIG_fail;
20183 }
20184 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20185 return resultobj;
20186 fail:
20187 return NULL;
20188 }
20189
20190
20191 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20192 PyObject *resultobj = 0;
20193 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20194 wxWindow *arg2 = (wxWindow *) 0 ;
20195 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20196 wxString *arg4 = 0 ;
20197 int arg5 = (int) 0 ;
20198 bool result;
20199 void *argp1 = 0 ;
20200 int res1 = 0 ;
20201 void *argp2 = 0 ;
20202 int res2 = 0 ;
20203 void *argp3 = 0 ;
20204 int res3 = 0 ;
20205 bool temp4 = false ;
20206 int val5 ;
20207 int ecode5 = 0 ;
20208 PyObject * obj0 = 0 ;
20209 PyObject * obj1 = 0 ;
20210 PyObject * obj2 = 0 ;
20211 PyObject * obj3 = 0 ;
20212 PyObject * obj4 = 0 ;
20213 char * kwnames[] = {
20214 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20215 };
20216
20217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20219 if (!SWIG_IsOK(res1)) {
20220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20221 }
20222 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20223 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20224 if (!SWIG_IsOK(res2)) {
20225 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20226 }
20227 arg2 = reinterpret_cast< wxWindow * >(argp2);
20228 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20229 if (!SWIG_IsOK(res3)) {
20230 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20231 }
20232 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20233 {
20234 arg4 = wxString_in_helper(obj3);
20235 if (arg4 == NULL) SWIG_fail;
20236 temp4 = true;
20237 }
20238 if (obj4) {
20239 ecode5 = SWIG_AsVal_int(obj4, &val5);
20240 if (!SWIG_IsOK(ecode5)) {
20241 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20242 }
20243 arg5 = static_cast< int >(val5);
20244 }
20245 {
20246 PyThreadState* __tstate = wxPyBeginAllowThreads();
20247 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20248 wxPyEndAllowThreads(__tstate);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 {
20252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20253 }
20254 {
20255 if (temp4)
20256 delete arg4;
20257 }
20258 return resultobj;
20259 fail:
20260 {
20261 if (temp4)
20262 delete arg4;
20263 }
20264 return NULL;
20265 }
20266
20267
20268 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20269 PyObject *resultobj = 0;
20270 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20271 wxFindReplaceData *result = 0 ;
20272 void *argp1 = 0 ;
20273 int res1 = 0 ;
20274 PyObject *swig_obj[1] ;
20275
20276 if (!args) SWIG_fail;
20277 swig_obj[0] = args;
20278 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20279 if (!SWIG_IsOK(res1)) {
20280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20281 }
20282 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20283 {
20284 PyThreadState* __tstate = wxPyBeginAllowThreads();
20285 result = (wxFindReplaceData *)(arg1)->GetData();
20286 wxPyEndAllowThreads(__tstate);
20287 if (PyErr_Occurred()) SWIG_fail;
20288 }
20289 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20290 return resultobj;
20291 fail:
20292 return NULL;
20293 }
20294
20295
20296 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20297 PyObject *resultobj = 0;
20298 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20299 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20300 void *argp1 = 0 ;
20301 int res1 = 0 ;
20302 void *argp2 = 0 ;
20303 int res2 = 0 ;
20304 PyObject * obj0 = 0 ;
20305 PyObject * obj1 = 0 ;
20306 char * kwnames[] = {
20307 (char *) "self",(char *) "data", NULL
20308 };
20309
20310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20312 if (!SWIG_IsOK(res1)) {
20313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20314 }
20315 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20316 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20317 if (!SWIG_IsOK(res2)) {
20318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20319 }
20320 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 (arg1)->SetData(arg2);
20324 wxPyEndAllowThreads(__tstate);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 resultobj = SWIG_Py_Void();
20328 return resultobj;
20329 fail:
20330 return NULL;
20331 }
20332
20333
20334 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20335 PyObject *obj;
20336 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20337 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20338 return SWIG_Py_Void();
20339 }
20340
20341 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20342 return SWIG_Python_InitShadowInstance(args);
20343 }
20344
20345 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20346 PyObject *resultobj = 0;
20347 wxWindow *arg1 = (wxWindow *) 0 ;
20348 int arg2 = (int) (int)-1 ;
20349 wxString const &arg3_defvalue = wxPyEmptyString ;
20350 wxString *arg3 = (wxString *) &arg3_defvalue ;
20351 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20352 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20353 wxSize const &arg5_defvalue = wxDefaultSize ;
20354 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20355 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20356 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20357 wxString *arg7 = (wxString *) &arg7_defvalue ;
20358 wxMDIParentFrame *result = 0 ;
20359 void *argp1 = 0 ;
20360 int res1 = 0 ;
20361 int val2 ;
20362 int ecode2 = 0 ;
20363 bool temp3 = false ;
20364 wxPoint temp4 ;
20365 wxSize temp5 ;
20366 long val6 ;
20367 int ecode6 = 0 ;
20368 bool temp7 = false ;
20369 PyObject * obj0 = 0 ;
20370 PyObject * obj1 = 0 ;
20371 PyObject * obj2 = 0 ;
20372 PyObject * obj3 = 0 ;
20373 PyObject * obj4 = 0 ;
20374 PyObject * obj5 = 0 ;
20375 PyObject * obj6 = 0 ;
20376 char * kwnames[] = {
20377 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20378 };
20379
20380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20382 if (!SWIG_IsOK(res1)) {
20383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20384 }
20385 arg1 = reinterpret_cast< wxWindow * >(argp1);
20386 if (obj1) {
20387 ecode2 = SWIG_AsVal_int(obj1, &val2);
20388 if (!SWIG_IsOK(ecode2)) {
20389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20390 }
20391 arg2 = static_cast< int >(val2);
20392 }
20393 if (obj2) {
20394 {
20395 arg3 = wxString_in_helper(obj2);
20396 if (arg3 == NULL) SWIG_fail;
20397 temp3 = true;
20398 }
20399 }
20400 if (obj3) {
20401 {
20402 arg4 = &temp4;
20403 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20404 }
20405 }
20406 if (obj4) {
20407 {
20408 arg5 = &temp5;
20409 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20410 }
20411 }
20412 if (obj5) {
20413 ecode6 = SWIG_AsVal_long(obj5, &val6);
20414 if (!SWIG_IsOK(ecode6)) {
20415 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20416 }
20417 arg6 = static_cast< long >(val6);
20418 }
20419 if (obj6) {
20420 {
20421 arg7 = wxString_in_helper(obj6);
20422 if (arg7 == NULL) SWIG_fail;
20423 temp7 = true;
20424 }
20425 }
20426 {
20427 if (!wxPyCheckForApp()) SWIG_fail;
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20430 wxPyEndAllowThreads(__tstate);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20434 {
20435 if (temp3)
20436 delete arg3;
20437 }
20438 {
20439 if (temp7)
20440 delete arg7;
20441 }
20442 return resultobj;
20443 fail:
20444 {
20445 if (temp3)
20446 delete arg3;
20447 }
20448 {
20449 if (temp7)
20450 delete arg7;
20451 }
20452 return NULL;
20453 }
20454
20455
20456 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20457 PyObject *resultobj = 0;
20458 wxMDIParentFrame *result = 0 ;
20459
20460 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20461 {
20462 if (!wxPyCheckForApp()) SWIG_fail;
20463 PyThreadState* __tstate = wxPyBeginAllowThreads();
20464 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20465 wxPyEndAllowThreads(__tstate);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 }
20468 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20469 return resultobj;
20470 fail:
20471 return NULL;
20472 }
20473
20474
20475 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20476 PyObject *resultobj = 0;
20477 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20478 wxWindow *arg2 = (wxWindow *) 0 ;
20479 int arg3 = (int) (int)-1 ;
20480 wxString const &arg4_defvalue = wxPyEmptyString ;
20481 wxString *arg4 = (wxString *) &arg4_defvalue ;
20482 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20483 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20484 wxSize const &arg6_defvalue = wxDefaultSize ;
20485 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20486 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20487 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20488 wxString *arg8 = (wxString *) &arg8_defvalue ;
20489 bool result;
20490 void *argp1 = 0 ;
20491 int res1 = 0 ;
20492 void *argp2 = 0 ;
20493 int res2 = 0 ;
20494 int val3 ;
20495 int ecode3 = 0 ;
20496 bool temp4 = false ;
20497 wxPoint temp5 ;
20498 wxSize temp6 ;
20499 long val7 ;
20500 int ecode7 = 0 ;
20501 bool temp8 = false ;
20502 PyObject * obj0 = 0 ;
20503 PyObject * obj1 = 0 ;
20504 PyObject * obj2 = 0 ;
20505 PyObject * obj3 = 0 ;
20506 PyObject * obj4 = 0 ;
20507 PyObject * obj5 = 0 ;
20508 PyObject * obj6 = 0 ;
20509 PyObject * obj7 = 0 ;
20510 char * kwnames[] = {
20511 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20512 };
20513
20514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20516 if (!SWIG_IsOK(res1)) {
20517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20518 }
20519 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20520 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20521 if (!SWIG_IsOK(res2)) {
20522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20523 }
20524 arg2 = reinterpret_cast< wxWindow * >(argp2);
20525 if (obj2) {
20526 ecode3 = SWIG_AsVal_int(obj2, &val3);
20527 if (!SWIG_IsOK(ecode3)) {
20528 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20529 }
20530 arg3 = static_cast< int >(val3);
20531 }
20532 if (obj3) {
20533 {
20534 arg4 = wxString_in_helper(obj3);
20535 if (arg4 == NULL) SWIG_fail;
20536 temp4 = true;
20537 }
20538 }
20539 if (obj4) {
20540 {
20541 arg5 = &temp5;
20542 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20543 }
20544 }
20545 if (obj5) {
20546 {
20547 arg6 = &temp6;
20548 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20549 }
20550 }
20551 if (obj6) {
20552 ecode7 = SWIG_AsVal_long(obj6, &val7);
20553 if (!SWIG_IsOK(ecode7)) {
20554 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20555 }
20556 arg7 = static_cast< long >(val7);
20557 }
20558 if (obj7) {
20559 {
20560 arg8 = wxString_in_helper(obj7);
20561 if (arg8 == NULL) SWIG_fail;
20562 temp8 = true;
20563 }
20564 }
20565 {
20566 PyThreadState* __tstate = wxPyBeginAllowThreads();
20567 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20568 wxPyEndAllowThreads(__tstate);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 }
20571 {
20572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20573 }
20574 {
20575 if (temp4)
20576 delete arg4;
20577 }
20578 {
20579 if (temp8)
20580 delete arg8;
20581 }
20582 return resultobj;
20583 fail:
20584 {
20585 if (temp4)
20586 delete arg4;
20587 }
20588 {
20589 if (temp8)
20590 delete arg8;
20591 }
20592 return NULL;
20593 }
20594
20595
20596 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20597 PyObject *resultobj = 0;
20598 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20599 void *argp1 = 0 ;
20600 int res1 = 0 ;
20601 PyObject *swig_obj[1] ;
20602
20603 if (!args) SWIG_fail;
20604 swig_obj[0] = args;
20605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20606 if (!SWIG_IsOK(res1)) {
20607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20608 }
20609 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20610 {
20611 PyThreadState* __tstate = wxPyBeginAllowThreads();
20612 (arg1)->ActivateNext();
20613 wxPyEndAllowThreads(__tstate);
20614 if (PyErr_Occurred()) SWIG_fail;
20615 }
20616 resultobj = SWIG_Py_Void();
20617 return resultobj;
20618 fail:
20619 return NULL;
20620 }
20621
20622
20623 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20624 PyObject *resultobj = 0;
20625 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20626 void *argp1 = 0 ;
20627 int res1 = 0 ;
20628 PyObject *swig_obj[1] ;
20629
20630 if (!args) SWIG_fail;
20631 swig_obj[0] = args;
20632 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20633 if (!SWIG_IsOK(res1)) {
20634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20635 }
20636 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20637 {
20638 PyThreadState* __tstate = wxPyBeginAllowThreads();
20639 (arg1)->ActivatePrevious();
20640 wxPyEndAllowThreads(__tstate);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 }
20643 resultobj = SWIG_Py_Void();
20644 return resultobj;
20645 fail:
20646 return NULL;
20647 }
20648
20649
20650 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20651 PyObject *resultobj = 0;
20652 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20653 void *argp1 = 0 ;
20654 int res1 = 0 ;
20655 PyObject *swig_obj[1] ;
20656
20657 if (!args) SWIG_fail;
20658 swig_obj[0] = args;
20659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20660 if (!SWIG_IsOK(res1)) {
20661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20662 }
20663 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 (arg1)->ArrangeIcons();
20667 wxPyEndAllowThreads(__tstate);
20668 if (PyErr_Occurred()) SWIG_fail;
20669 }
20670 resultobj = SWIG_Py_Void();
20671 return resultobj;
20672 fail:
20673 return NULL;
20674 }
20675
20676
20677 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20678 PyObject *resultobj = 0;
20679 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20680 void *argp1 = 0 ;
20681 int res1 = 0 ;
20682 PyObject *swig_obj[1] ;
20683
20684 if (!args) SWIG_fail;
20685 swig_obj[0] = args;
20686 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20687 if (!SWIG_IsOK(res1)) {
20688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20689 }
20690 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20691 {
20692 PyThreadState* __tstate = wxPyBeginAllowThreads();
20693 (arg1)->Cascade();
20694 wxPyEndAllowThreads(__tstate);
20695 if (PyErr_Occurred()) SWIG_fail;
20696 }
20697 resultobj = SWIG_Py_Void();
20698 return resultobj;
20699 fail:
20700 return NULL;
20701 }
20702
20703
20704 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20705 PyObject *resultobj = 0;
20706 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20707 wxMDIChildFrame *result = 0 ;
20708 void *argp1 = 0 ;
20709 int res1 = 0 ;
20710 PyObject *swig_obj[1] ;
20711
20712 if (!args) SWIG_fail;
20713 swig_obj[0] = args;
20714 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20715 if (!SWIG_IsOK(res1)) {
20716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20717 }
20718 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20719 {
20720 PyThreadState* __tstate = wxPyBeginAllowThreads();
20721 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20722 wxPyEndAllowThreads(__tstate);
20723 if (PyErr_Occurred()) SWIG_fail;
20724 }
20725 {
20726 resultobj = wxPyMake_wxObject(result, (bool)0);
20727 }
20728 return resultobj;
20729 fail:
20730 return NULL;
20731 }
20732
20733
20734 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20735 PyObject *resultobj = 0;
20736 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20737 wxMDIClientWindow *result = 0 ;
20738 void *argp1 = 0 ;
20739 int res1 = 0 ;
20740 PyObject *swig_obj[1] ;
20741
20742 if (!args) SWIG_fail;
20743 swig_obj[0] = args;
20744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20745 if (!SWIG_IsOK(res1)) {
20746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20747 }
20748 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20749 {
20750 PyThreadState* __tstate = wxPyBeginAllowThreads();
20751 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 {
20756 resultobj = wxPyMake_wxObject(result, (bool)0);
20757 }
20758 return resultobj;
20759 fail:
20760 return NULL;
20761 }
20762
20763
20764 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20765 PyObject *resultobj = 0;
20766 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20767 wxWindow *result = 0 ;
20768 void *argp1 = 0 ;
20769 int res1 = 0 ;
20770 PyObject *swig_obj[1] ;
20771
20772 if (!args) SWIG_fail;
20773 swig_obj[0] = args;
20774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20775 if (!SWIG_IsOK(res1)) {
20776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20777 }
20778 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20779 {
20780 PyThreadState* __tstate = wxPyBeginAllowThreads();
20781 result = (wxWindow *)(arg1)->GetToolBar();
20782 wxPyEndAllowThreads(__tstate);
20783 if (PyErr_Occurred()) SWIG_fail;
20784 }
20785 {
20786 resultobj = wxPyMake_wxObject(result, 0);
20787 }
20788 return resultobj;
20789 fail:
20790 return NULL;
20791 }
20792
20793
20794 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20795 PyObject *resultobj = 0;
20796 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20797 wxMenu *result = 0 ;
20798 void *argp1 = 0 ;
20799 int res1 = 0 ;
20800 PyObject *swig_obj[1] ;
20801
20802 if (!args) SWIG_fail;
20803 swig_obj[0] = args;
20804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20805 if (!SWIG_IsOK(res1)) {
20806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20807 }
20808 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20809 {
20810 PyThreadState* __tstate = wxPyBeginAllowThreads();
20811 result = (wxMenu *)(arg1)->GetWindowMenu();
20812 wxPyEndAllowThreads(__tstate);
20813 if (PyErr_Occurred()) SWIG_fail;
20814 }
20815 {
20816 resultobj = wxPyMake_wxObject(result, 0);
20817 }
20818 return resultobj;
20819 fail:
20820 return NULL;
20821 }
20822
20823
20824 SWIGINTERN PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20825 PyObject *resultobj = 0;
20826 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20827 wxMenu *arg2 = (wxMenu *) 0 ;
20828 void *argp1 = 0 ;
20829 int res1 = 0 ;
20830 void *argp2 = 0 ;
20831 int res2 = 0 ;
20832 PyObject * obj0 = 0 ;
20833 PyObject * obj1 = 0 ;
20834 char * kwnames[] = {
20835 (char *) "self",(char *) "menu", NULL
20836 };
20837
20838 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) SWIG_fail;
20839 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20840 if (!SWIG_IsOK(res1)) {
20841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20842 }
20843 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20844 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
20845 if (!SWIG_IsOK(res2)) {
20846 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20847 }
20848 arg2 = reinterpret_cast< wxMenu * >(argp2);
20849 {
20850 PyThreadState* __tstate = wxPyBeginAllowThreads();
20851 (arg1)->SetWindowMenu(arg2);
20852 wxPyEndAllowThreads(__tstate);
20853 if (PyErr_Occurred()) SWIG_fail;
20854 }
20855 resultobj = SWIG_Py_Void();
20856 return resultobj;
20857 fail:
20858 return NULL;
20859 }
20860
20861
20862 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20863 PyObject *resultobj = 0;
20864 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20865 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20866 void *argp1 = 0 ;
20867 int res1 = 0 ;
20868 int val2 ;
20869 int ecode2 = 0 ;
20870 PyObject * obj0 = 0 ;
20871 PyObject * obj1 = 0 ;
20872 char * kwnames[] = {
20873 (char *) "self",(char *) "orient", NULL
20874 };
20875
20876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20878 if (!SWIG_IsOK(res1)) {
20879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20880 }
20881 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20882 if (obj1) {
20883 ecode2 = SWIG_AsVal_int(obj1, &val2);
20884 if (!SWIG_IsOK(ecode2)) {
20885 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20886 }
20887 arg2 = static_cast< wxOrientation >(val2);
20888 }
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
20891 (arg1)->Tile(arg2);
20892 wxPyEndAllowThreads(__tstate);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 }
20895 resultobj = SWIG_Py_Void();
20896 return resultobj;
20897 fail:
20898 return NULL;
20899 }
20900
20901
20902 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20903 PyObject *obj;
20904 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20905 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
20906 return SWIG_Py_Void();
20907 }
20908
20909 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20910 return SWIG_Python_InitShadowInstance(args);
20911 }
20912
20913 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20914 PyObject *resultobj = 0;
20915 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20916 int arg2 = (int) (int)-1 ;
20917 wxString const &arg3_defvalue = wxPyEmptyString ;
20918 wxString *arg3 = (wxString *) &arg3_defvalue ;
20919 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20920 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20921 wxSize const &arg5_defvalue = wxDefaultSize ;
20922 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20923 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20924 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20925 wxString *arg7 = (wxString *) &arg7_defvalue ;
20926 wxMDIChildFrame *result = 0 ;
20927 void *argp1 = 0 ;
20928 int res1 = 0 ;
20929 int val2 ;
20930 int ecode2 = 0 ;
20931 bool temp3 = false ;
20932 wxPoint temp4 ;
20933 wxSize temp5 ;
20934 long val6 ;
20935 int ecode6 = 0 ;
20936 bool temp7 = false ;
20937 PyObject * obj0 = 0 ;
20938 PyObject * obj1 = 0 ;
20939 PyObject * obj2 = 0 ;
20940 PyObject * obj3 = 0 ;
20941 PyObject * obj4 = 0 ;
20942 PyObject * obj5 = 0 ;
20943 PyObject * obj6 = 0 ;
20944 char * kwnames[] = {
20945 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20946 };
20947
20948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20950 if (!SWIG_IsOK(res1)) {
20951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20952 }
20953 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20954 if (obj1) {
20955 ecode2 = SWIG_AsVal_int(obj1, &val2);
20956 if (!SWIG_IsOK(ecode2)) {
20957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20958 }
20959 arg2 = static_cast< int >(val2);
20960 }
20961 if (obj2) {
20962 {
20963 arg3 = wxString_in_helper(obj2);
20964 if (arg3 == NULL) SWIG_fail;
20965 temp3 = true;
20966 }
20967 }
20968 if (obj3) {
20969 {
20970 arg4 = &temp4;
20971 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20972 }
20973 }
20974 if (obj4) {
20975 {
20976 arg5 = &temp5;
20977 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20978 }
20979 }
20980 if (obj5) {
20981 ecode6 = SWIG_AsVal_long(obj5, &val6);
20982 if (!SWIG_IsOK(ecode6)) {
20983 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20984 }
20985 arg6 = static_cast< long >(val6);
20986 }
20987 if (obj6) {
20988 {
20989 arg7 = wxString_in_helper(obj6);
20990 if (arg7 == NULL) SWIG_fail;
20991 temp7 = true;
20992 }
20993 }
20994 {
20995 if (!wxPyCheckForApp()) SWIG_fail;
20996 PyThreadState* __tstate = wxPyBeginAllowThreads();
20997 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21002 {
21003 if (temp3)
21004 delete arg3;
21005 }
21006 {
21007 if (temp7)
21008 delete arg7;
21009 }
21010 return resultobj;
21011 fail:
21012 {
21013 if (temp3)
21014 delete arg3;
21015 }
21016 {
21017 if (temp7)
21018 delete arg7;
21019 }
21020 return NULL;
21021 }
21022
21023
21024 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21025 PyObject *resultobj = 0;
21026 wxMDIChildFrame *result = 0 ;
21027
21028 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21029 {
21030 if (!wxPyCheckForApp()) SWIG_fail;
21031 PyThreadState* __tstate = wxPyBeginAllowThreads();
21032 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21033 wxPyEndAllowThreads(__tstate);
21034 if (PyErr_Occurred()) SWIG_fail;
21035 }
21036 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21037 return resultobj;
21038 fail:
21039 return NULL;
21040 }
21041
21042
21043 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21044 PyObject *resultobj = 0;
21045 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21046 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21047 int arg3 = (int) (int)-1 ;
21048 wxString const &arg4_defvalue = wxPyEmptyString ;
21049 wxString *arg4 = (wxString *) &arg4_defvalue ;
21050 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21051 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21052 wxSize const &arg6_defvalue = wxDefaultSize ;
21053 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21054 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21055 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21056 wxString *arg8 = (wxString *) &arg8_defvalue ;
21057 bool result;
21058 void *argp1 = 0 ;
21059 int res1 = 0 ;
21060 void *argp2 = 0 ;
21061 int res2 = 0 ;
21062 int val3 ;
21063 int ecode3 = 0 ;
21064 bool temp4 = false ;
21065 wxPoint temp5 ;
21066 wxSize temp6 ;
21067 long val7 ;
21068 int ecode7 = 0 ;
21069 bool temp8 = false ;
21070 PyObject * obj0 = 0 ;
21071 PyObject * obj1 = 0 ;
21072 PyObject * obj2 = 0 ;
21073 PyObject * obj3 = 0 ;
21074 PyObject * obj4 = 0 ;
21075 PyObject * obj5 = 0 ;
21076 PyObject * obj6 = 0 ;
21077 PyObject * obj7 = 0 ;
21078 char * kwnames[] = {
21079 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21080 };
21081
21082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21084 if (!SWIG_IsOK(res1)) {
21085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21086 }
21087 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21088 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21089 if (!SWIG_IsOK(res2)) {
21090 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21091 }
21092 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21093 if (obj2) {
21094 ecode3 = SWIG_AsVal_int(obj2, &val3);
21095 if (!SWIG_IsOK(ecode3)) {
21096 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21097 }
21098 arg3 = static_cast< int >(val3);
21099 }
21100 if (obj3) {
21101 {
21102 arg4 = wxString_in_helper(obj3);
21103 if (arg4 == NULL) SWIG_fail;
21104 temp4 = true;
21105 }
21106 }
21107 if (obj4) {
21108 {
21109 arg5 = &temp5;
21110 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21111 }
21112 }
21113 if (obj5) {
21114 {
21115 arg6 = &temp6;
21116 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21117 }
21118 }
21119 if (obj6) {
21120 ecode7 = SWIG_AsVal_long(obj6, &val7);
21121 if (!SWIG_IsOK(ecode7)) {
21122 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21123 }
21124 arg7 = static_cast< long >(val7);
21125 }
21126 if (obj7) {
21127 {
21128 arg8 = wxString_in_helper(obj7);
21129 if (arg8 == NULL) SWIG_fail;
21130 temp8 = true;
21131 }
21132 }
21133 {
21134 PyThreadState* __tstate = wxPyBeginAllowThreads();
21135 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21136 wxPyEndAllowThreads(__tstate);
21137 if (PyErr_Occurred()) SWIG_fail;
21138 }
21139 {
21140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21141 }
21142 {
21143 if (temp4)
21144 delete arg4;
21145 }
21146 {
21147 if (temp8)
21148 delete arg8;
21149 }
21150 return resultobj;
21151 fail:
21152 {
21153 if (temp4)
21154 delete arg4;
21155 }
21156 {
21157 if (temp8)
21158 delete arg8;
21159 }
21160 return NULL;
21161 }
21162
21163
21164 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21165 PyObject *resultobj = 0;
21166 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21167 void *argp1 = 0 ;
21168 int res1 = 0 ;
21169 PyObject *swig_obj[1] ;
21170
21171 if (!args) SWIG_fail;
21172 swig_obj[0] = args;
21173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21174 if (!SWIG_IsOK(res1)) {
21175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21176 }
21177 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21178 {
21179 PyThreadState* __tstate = wxPyBeginAllowThreads();
21180 (arg1)->Activate();
21181 wxPyEndAllowThreads(__tstate);
21182 if (PyErr_Occurred()) SWIG_fail;
21183 }
21184 resultobj = SWIG_Py_Void();
21185 return resultobj;
21186 fail:
21187 return NULL;
21188 }
21189
21190
21191 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21192 PyObject *obj;
21193 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21194 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21195 return SWIG_Py_Void();
21196 }
21197
21198 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21199 return SWIG_Python_InitShadowInstance(args);
21200 }
21201
21202 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21203 PyObject *resultobj = 0;
21204 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21205 long arg2 = (long) 0 ;
21206 wxMDIClientWindow *result = 0 ;
21207 void *argp1 = 0 ;
21208 int res1 = 0 ;
21209 long val2 ;
21210 int ecode2 = 0 ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char * kwnames[] = {
21214 (char *) "parent",(char *) "style", NULL
21215 };
21216
21217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21219 if (!SWIG_IsOK(res1)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21221 }
21222 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21223 if (obj1) {
21224 ecode2 = SWIG_AsVal_long(obj1, &val2);
21225 if (!SWIG_IsOK(ecode2)) {
21226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21227 }
21228 arg2 = static_cast< long >(val2);
21229 }
21230 {
21231 if (!wxPyCheckForApp()) SWIG_fail;
21232 PyThreadState* __tstate = wxPyBeginAllowThreads();
21233 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21234 wxPyEndAllowThreads(__tstate);
21235 if (PyErr_Occurred()) SWIG_fail;
21236 }
21237 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21238 return resultobj;
21239 fail:
21240 return NULL;
21241 }
21242
21243
21244 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21245 PyObject *resultobj = 0;
21246 wxMDIClientWindow *result = 0 ;
21247
21248 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21249 {
21250 if (!wxPyCheckForApp()) SWIG_fail;
21251 PyThreadState* __tstate = wxPyBeginAllowThreads();
21252 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21253 wxPyEndAllowThreads(__tstate);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21257 return resultobj;
21258 fail:
21259 return NULL;
21260 }
21261
21262
21263 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21264 PyObject *resultobj = 0;
21265 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21266 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21267 long arg3 = (long) 0 ;
21268 bool result;
21269 void *argp1 = 0 ;
21270 int res1 = 0 ;
21271 void *argp2 = 0 ;
21272 int res2 = 0 ;
21273 long val3 ;
21274 int ecode3 = 0 ;
21275 PyObject * obj0 = 0 ;
21276 PyObject * obj1 = 0 ;
21277 PyObject * obj2 = 0 ;
21278 char * kwnames[] = {
21279 (char *) "self",(char *) "parent",(char *) "style", NULL
21280 };
21281
21282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21284 if (!SWIG_IsOK(res1)) {
21285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21286 }
21287 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21288 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21289 if (!SWIG_IsOK(res2)) {
21290 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21291 }
21292 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21293 if (obj2) {
21294 ecode3 = SWIG_AsVal_long(obj2, &val3);
21295 if (!SWIG_IsOK(ecode3)) {
21296 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21297 }
21298 arg3 = static_cast< long >(val3);
21299 }
21300 {
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 result = (bool)(arg1)->Create(arg2,arg3);
21303 wxPyEndAllowThreads(__tstate);
21304 if (PyErr_Occurred()) SWIG_fail;
21305 }
21306 {
21307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21308 }
21309 return resultobj;
21310 fail:
21311 return NULL;
21312 }
21313
21314
21315 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21316 PyObject *obj;
21317 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21318 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21319 return SWIG_Py_Void();
21320 }
21321
21322 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21323 return SWIG_Python_InitShadowInstance(args);
21324 }
21325
21326 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21327 PyObject *resultobj = 0;
21328 wxWindow *arg1 = (wxWindow *) 0 ;
21329 int arg2 = (int) (int)-1 ;
21330 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21331 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21332 wxSize const &arg4_defvalue = wxDefaultSize ;
21333 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21334 long arg5 = (long) 0 ;
21335 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21336 wxString *arg6 = (wxString *) &arg6_defvalue ;
21337 wxPyWindow *result = 0 ;
21338 void *argp1 = 0 ;
21339 int res1 = 0 ;
21340 int val2 ;
21341 int ecode2 = 0 ;
21342 wxPoint temp3 ;
21343 wxSize temp4 ;
21344 long val5 ;
21345 int ecode5 = 0 ;
21346 bool temp6 = false ;
21347 PyObject * obj0 = 0 ;
21348 PyObject * obj1 = 0 ;
21349 PyObject * obj2 = 0 ;
21350 PyObject * obj3 = 0 ;
21351 PyObject * obj4 = 0 ;
21352 PyObject * obj5 = 0 ;
21353 char * kwnames[] = {
21354 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21355 };
21356
21357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21359 if (!SWIG_IsOK(res1)) {
21360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21361 }
21362 arg1 = reinterpret_cast< wxWindow * >(argp1);
21363 if (obj1) {
21364 ecode2 = SWIG_AsVal_int(obj1, &val2);
21365 if (!SWIG_IsOK(ecode2)) {
21366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21367 }
21368 arg2 = static_cast< int >(val2);
21369 }
21370 if (obj2) {
21371 {
21372 arg3 = &temp3;
21373 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21374 }
21375 }
21376 if (obj3) {
21377 {
21378 arg4 = &temp4;
21379 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21380 }
21381 }
21382 if (obj4) {
21383 ecode5 = SWIG_AsVal_long(obj4, &val5);
21384 if (!SWIG_IsOK(ecode5)) {
21385 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21386 }
21387 arg5 = static_cast< long >(val5);
21388 }
21389 if (obj5) {
21390 {
21391 arg6 = wxString_in_helper(obj5);
21392 if (arg6 == NULL) SWIG_fail;
21393 temp6 = true;
21394 }
21395 }
21396 {
21397 if (!wxPyCheckForApp()) SWIG_fail;
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21404 {
21405 if (temp6)
21406 delete arg6;
21407 }
21408 return resultobj;
21409 fail:
21410 {
21411 if (temp6)
21412 delete arg6;
21413 }
21414 return NULL;
21415 }
21416
21417
21418 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21419 PyObject *resultobj = 0;
21420 wxPyWindow *result = 0 ;
21421
21422 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21423 {
21424 if (!wxPyCheckForApp()) SWIG_fail;
21425 PyThreadState* __tstate = wxPyBeginAllowThreads();
21426 result = (wxPyWindow *)new wxPyWindow();
21427 wxPyEndAllowThreads(__tstate);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 }
21430 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21431 return resultobj;
21432 fail:
21433 return NULL;
21434 }
21435
21436
21437 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21438 PyObject *resultobj = 0;
21439 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21440 PyObject *arg2 = (PyObject *) 0 ;
21441 PyObject *arg3 = (PyObject *) 0 ;
21442 void *argp1 = 0 ;
21443 int res1 = 0 ;
21444 PyObject * obj0 = 0 ;
21445 PyObject * obj1 = 0 ;
21446 PyObject * obj2 = 0 ;
21447 char * kwnames[] = {
21448 (char *) "self",(char *) "self",(char *) "_class", NULL
21449 };
21450
21451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21453 if (!SWIG_IsOK(res1)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21455 }
21456 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21457 arg2 = obj1;
21458 arg3 = obj2;
21459 {
21460 PyThreadState* __tstate = wxPyBeginAllowThreads();
21461 (arg1)->_setCallbackInfo(arg2,arg3);
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
21465 resultobj = SWIG_Py_Void();
21466 return resultobj;
21467 fail:
21468 return NULL;
21469 }
21470
21471
21472 SWIGINTERN PyObject *_wrap_PyWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21473 PyObject *resultobj = 0;
21474 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21475 wxSize *arg2 = 0 ;
21476 void *argp1 = 0 ;
21477 int res1 = 0 ;
21478 wxSize temp2 ;
21479 PyObject * obj0 = 0 ;
21480 PyObject * obj1 = 0 ;
21481 char * kwnames[] = {
21482 (char *) "self",(char *) "size", NULL
21483 };
21484
21485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
21486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21487 if (!SWIG_IsOK(res1)) {
21488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21489 }
21490 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21491 {
21492 arg2 = &temp2;
21493 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21494 }
21495 {
21496 PyThreadState* __tstate = wxPyBeginAllowThreads();
21497 (arg1)->SetBestSize((wxSize const &)*arg2);
21498 wxPyEndAllowThreads(__tstate);
21499 if (PyErr_Occurred()) SWIG_fail;
21500 }
21501 resultobj = SWIG_Py_Void();
21502 return resultobj;
21503 fail:
21504 return NULL;
21505 }
21506
21507
21508 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21509 PyObject *resultobj = 0;
21510 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21511 wxDC *arg2 = (wxDC *) 0 ;
21512 bool result;
21513 void *argp1 = 0 ;
21514 int res1 = 0 ;
21515 void *argp2 = 0 ;
21516 int res2 = 0 ;
21517 PyObject * obj0 = 0 ;
21518 PyObject * obj1 = 0 ;
21519 char * kwnames[] = {
21520 (char *) "self",(char *) "dc", NULL
21521 };
21522
21523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21525 if (!SWIG_IsOK(res1)) {
21526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21527 }
21528 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21529 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21530 if (!SWIG_IsOK(res2)) {
21531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21532 }
21533 arg2 = reinterpret_cast< wxDC * >(argp2);
21534 {
21535 PyThreadState* __tstate = wxPyBeginAllowThreads();
21536 result = (bool)(arg1)->DoEraseBackground(arg2);
21537 wxPyEndAllowThreads(__tstate);
21538 if (PyErr_Occurred()) SWIG_fail;
21539 }
21540 {
21541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21542 }
21543 return resultobj;
21544 fail:
21545 return NULL;
21546 }
21547
21548
21549 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21550 PyObject *resultobj = 0;
21551 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21552 int arg2 ;
21553 int arg3 ;
21554 int arg4 ;
21555 int arg5 ;
21556 void *argp1 = 0 ;
21557 int res1 = 0 ;
21558 int val2 ;
21559 int ecode2 = 0 ;
21560 int val3 ;
21561 int ecode3 = 0 ;
21562 int val4 ;
21563 int ecode4 = 0 ;
21564 int val5 ;
21565 int ecode5 = 0 ;
21566 PyObject * obj0 = 0 ;
21567 PyObject * obj1 = 0 ;
21568 PyObject * obj2 = 0 ;
21569 PyObject * obj3 = 0 ;
21570 PyObject * obj4 = 0 ;
21571 char * kwnames[] = {
21572 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21573 };
21574
21575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21577 if (!SWIG_IsOK(res1)) {
21578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21579 }
21580 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21581 ecode2 = SWIG_AsVal_int(obj1, &val2);
21582 if (!SWIG_IsOK(ecode2)) {
21583 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21584 }
21585 arg2 = static_cast< int >(val2);
21586 ecode3 = SWIG_AsVal_int(obj2, &val3);
21587 if (!SWIG_IsOK(ecode3)) {
21588 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21589 }
21590 arg3 = static_cast< int >(val3);
21591 ecode4 = SWIG_AsVal_int(obj3, &val4);
21592 if (!SWIG_IsOK(ecode4)) {
21593 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21594 }
21595 arg4 = static_cast< int >(val4);
21596 ecode5 = SWIG_AsVal_int(obj4, &val5);
21597 if (!SWIG_IsOK(ecode5)) {
21598 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21599 }
21600 arg5 = static_cast< int >(val5);
21601 {
21602 PyThreadState* __tstate = wxPyBeginAllowThreads();
21603 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21604 wxPyEndAllowThreads(__tstate);
21605 if (PyErr_Occurred()) SWIG_fail;
21606 }
21607 resultobj = SWIG_Py_Void();
21608 return resultobj;
21609 fail:
21610 return NULL;
21611 }
21612
21613
21614 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21615 PyObject *resultobj = 0;
21616 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21617 int arg2 ;
21618 int arg3 ;
21619 int arg4 ;
21620 int arg5 ;
21621 int arg6 = (int) wxSIZE_AUTO ;
21622 void *argp1 = 0 ;
21623 int res1 = 0 ;
21624 int val2 ;
21625 int ecode2 = 0 ;
21626 int val3 ;
21627 int ecode3 = 0 ;
21628 int val4 ;
21629 int ecode4 = 0 ;
21630 int val5 ;
21631 int ecode5 = 0 ;
21632 int val6 ;
21633 int ecode6 = 0 ;
21634 PyObject * obj0 = 0 ;
21635 PyObject * obj1 = 0 ;
21636 PyObject * obj2 = 0 ;
21637 PyObject * obj3 = 0 ;
21638 PyObject * obj4 = 0 ;
21639 PyObject * obj5 = 0 ;
21640 char * kwnames[] = {
21641 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21642 };
21643
21644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21646 if (!SWIG_IsOK(res1)) {
21647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21648 }
21649 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21650 ecode2 = SWIG_AsVal_int(obj1, &val2);
21651 if (!SWIG_IsOK(ecode2)) {
21652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21653 }
21654 arg2 = static_cast< int >(val2);
21655 ecode3 = SWIG_AsVal_int(obj2, &val3);
21656 if (!SWIG_IsOK(ecode3)) {
21657 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21658 }
21659 arg3 = static_cast< int >(val3);
21660 ecode4 = SWIG_AsVal_int(obj3, &val4);
21661 if (!SWIG_IsOK(ecode4)) {
21662 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21663 }
21664 arg4 = static_cast< int >(val4);
21665 ecode5 = SWIG_AsVal_int(obj4, &val5);
21666 if (!SWIG_IsOK(ecode5)) {
21667 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21668 }
21669 arg5 = static_cast< int >(val5);
21670 if (obj5) {
21671 ecode6 = SWIG_AsVal_int(obj5, &val6);
21672 if (!SWIG_IsOK(ecode6)) {
21673 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21674 }
21675 arg6 = static_cast< int >(val6);
21676 }
21677 {
21678 PyThreadState* __tstate = wxPyBeginAllowThreads();
21679 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21680 wxPyEndAllowThreads(__tstate);
21681 if (PyErr_Occurred()) SWIG_fail;
21682 }
21683 resultobj = SWIG_Py_Void();
21684 return resultobj;
21685 fail:
21686 return NULL;
21687 }
21688
21689
21690 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21691 PyObject *resultobj = 0;
21692 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21693 int arg2 ;
21694 int arg3 ;
21695 void *argp1 = 0 ;
21696 int res1 = 0 ;
21697 int val2 ;
21698 int ecode2 = 0 ;
21699 int val3 ;
21700 int ecode3 = 0 ;
21701 PyObject * obj0 = 0 ;
21702 PyObject * obj1 = 0 ;
21703 PyObject * obj2 = 0 ;
21704 char * kwnames[] = {
21705 (char *) "self",(char *) "width",(char *) "height", NULL
21706 };
21707
21708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21710 if (!SWIG_IsOK(res1)) {
21711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21712 }
21713 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21714 ecode2 = SWIG_AsVal_int(obj1, &val2);
21715 if (!SWIG_IsOK(ecode2)) {
21716 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21717 }
21718 arg2 = static_cast< int >(val2);
21719 ecode3 = SWIG_AsVal_int(obj2, &val3);
21720 if (!SWIG_IsOK(ecode3)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21722 }
21723 arg3 = static_cast< int >(val3);
21724 {
21725 PyThreadState* __tstate = wxPyBeginAllowThreads();
21726 (arg1)->DoSetClientSize(arg2,arg3);
21727 wxPyEndAllowThreads(__tstate);
21728 if (PyErr_Occurred()) SWIG_fail;
21729 }
21730 resultobj = SWIG_Py_Void();
21731 return resultobj;
21732 fail:
21733 return NULL;
21734 }
21735
21736
21737 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21738 PyObject *resultobj = 0;
21739 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21740 int arg2 ;
21741 int arg3 ;
21742 void *argp1 = 0 ;
21743 int res1 = 0 ;
21744 int val2 ;
21745 int ecode2 = 0 ;
21746 int val3 ;
21747 int ecode3 = 0 ;
21748 PyObject * obj0 = 0 ;
21749 PyObject * obj1 = 0 ;
21750 PyObject * obj2 = 0 ;
21751 char * kwnames[] = {
21752 (char *) "self",(char *) "x",(char *) "y", NULL
21753 };
21754
21755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21757 if (!SWIG_IsOK(res1)) {
21758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21759 }
21760 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21761 ecode2 = SWIG_AsVal_int(obj1, &val2);
21762 if (!SWIG_IsOK(ecode2)) {
21763 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21764 }
21765 arg2 = static_cast< int >(val2);
21766 ecode3 = SWIG_AsVal_int(obj2, &val3);
21767 if (!SWIG_IsOK(ecode3)) {
21768 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21769 }
21770 arg3 = static_cast< int >(val3);
21771 {
21772 PyThreadState* __tstate = wxPyBeginAllowThreads();
21773 (arg1)->DoSetVirtualSize(arg2,arg3);
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
21777 resultobj = SWIG_Py_Void();
21778 return resultobj;
21779 fail:
21780 return NULL;
21781 }
21782
21783
21784 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21785 PyObject *resultobj = 0;
21786 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21787 int *arg2 = (int *) 0 ;
21788 int *arg3 = (int *) 0 ;
21789 void *argp1 = 0 ;
21790 int res1 = 0 ;
21791 int temp2 ;
21792 int res2 = SWIG_TMPOBJ ;
21793 int temp3 ;
21794 int res3 = SWIG_TMPOBJ ;
21795 PyObject *swig_obj[1] ;
21796
21797 arg2 = &temp2;
21798 arg3 = &temp3;
21799 if (!args) SWIG_fail;
21800 swig_obj[0] = args;
21801 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21802 if (!SWIG_IsOK(res1)) {
21803 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21804 }
21805 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21806 {
21807 PyThreadState* __tstate = wxPyBeginAllowThreads();
21808 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21809 wxPyEndAllowThreads(__tstate);
21810 if (PyErr_Occurred()) SWIG_fail;
21811 }
21812 resultobj = SWIG_Py_Void();
21813 if (SWIG_IsTmpObj(res2)) {
21814 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21815 } else {
21816 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21817 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21818 }
21819 if (SWIG_IsTmpObj(res3)) {
21820 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21821 } else {
21822 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21823 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21824 }
21825 return resultobj;
21826 fail:
21827 return NULL;
21828 }
21829
21830
21831 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21832 PyObject *resultobj = 0;
21833 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21834 int *arg2 = (int *) 0 ;
21835 int *arg3 = (int *) 0 ;
21836 void *argp1 = 0 ;
21837 int res1 = 0 ;
21838 int temp2 ;
21839 int res2 = SWIG_TMPOBJ ;
21840 int temp3 ;
21841 int res3 = SWIG_TMPOBJ ;
21842 PyObject *swig_obj[1] ;
21843
21844 arg2 = &temp2;
21845 arg3 = &temp3;
21846 if (!args) SWIG_fail;
21847 swig_obj[0] = args;
21848 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21849 if (!SWIG_IsOK(res1)) {
21850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21851 }
21852 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21853 {
21854 PyThreadState* __tstate = wxPyBeginAllowThreads();
21855 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21856 wxPyEndAllowThreads(__tstate);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 }
21859 resultobj = SWIG_Py_Void();
21860 if (SWIG_IsTmpObj(res2)) {
21861 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21862 } else {
21863 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21864 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21865 }
21866 if (SWIG_IsTmpObj(res3)) {
21867 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21868 } else {
21869 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21870 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21871 }
21872 return resultobj;
21873 fail:
21874 return NULL;
21875 }
21876
21877
21878 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21879 PyObject *resultobj = 0;
21880 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21881 int *arg2 = (int *) 0 ;
21882 int *arg3 = (int *) 0 ;
21883 void *argp1 = 0 ;
21884 int res1 = 0 ;
21885 int temp2 ;
21886 int res2 = SWIG_TMPOBJ ;
21887 int temp3 ;
21888 int res3 = SWIG_TMPOBJ ;
21889 PyObject *swig_obj[1] ;
21890
21891 arg2 = &temp2;
21892 arg3 = &temp3;
21893 if (!args) SWIG_fail;
21894 swig_obj[0] = args;
21895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21896 if (!SWIG_IsOK(res1)) {
21897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21898 }
21899 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21900 {
21901 PyThreadState* __tstate = wxPyBeginAllowThreads();
21902 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21903 wxPyEndAllowThreads(__tstate);
21904 if (PyErr_Occurred()) SWIG_fail;
21905 }
21906 resultobj = SWIG_Py_Void();
21907 if (SWIG_IsTmpObj(res2)) {
21908 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21909 } else {
21910 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21911 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21912 }
21913 if (SWIG_IsTmpObj(res3)) {
21914 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21915 } else {
21916 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21917 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21918 }
21919 return resultobj;
21920 fail:
21921 return NULL;
21922 }
21923
21924
21925 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21926 PyObject *resultobj = 0;
21927 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21928 wxSize result;
21929 void *argp1 = 0 ;
21930 int res1 = 0 ;
21931 PyObject *swig_obj[1] ;
21932
21933 if (!args) SWIG_fail;
21934 swig_obj[0] = args;
21935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21936 if (!SWIG_IsOK(res1)) {
21937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21938 }
21939 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21940 {
21941 PyThreadState* __tstate = wxPyBeginAllowThreads();
21942 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
21943 wxPyEndAllowThreads(__tstate);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21947 return resultobj;
21948 fail:
21949 return NULL;
21950 }
21951
21952
21953 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21954 PyObject *resultobj = 0;
21955 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21956 wxSize result;
21957 void *argp1 = 0 ;
21958 int res1 = 0 ;
21959 PyObject *swig_obj[1] ;
21960
21961 if (!args) SWIG_fail;
21962 swig_obj[0] = args;
21963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21964 if (!SWIG_IsOK(res1)) {
21965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21966 }
21967 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21968 {
21969 PyThreadState* __tstate = wxPyBeginAllowThreads();
21970 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
21971 wxPyEndAllowThreads(__tstate);
21972 if (PyErr_Occurred()) SWIG_fail;
21973 }
21974 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
21975 return resultobj;
21976 fail:
21977 return NULL;
21978 }
21979
21980
21981 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21982 PyObject *resultobj = 0;
21983 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21984 SwigValueWrapper<wxVisualAttributes > result;
21985 void *argp1 = 0 ;
21986 int res1 = 0 ;
21987 PyObject *swig_obj[1] ;
21988
21989 if (!args) SWIG_fail;
21990 swig_obj[0] = args;
21991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21992 if (!SWIG_IsOK(res1)) {
21993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21994 }
21995 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21996 {
21997 PyThreadState* __tstate = wxPyBeginAllowThreads();
21998 result = (arg1)->GetDefaultAttributes();
21999 wxPyEndAllowThreads(__tstate);
22000 if (PyErr_Occurred()) SWIG_fail;
22001 }
22002 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22003 return resultobj;
22004 fail:
22005 return NULL;
22006 }
22007
22008
22009 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22010 PyObject *resultobj = 0;
22011 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22012 void *argp1 = 0 ;
22013 int res1 = 0 ;
22014 PyObject *swig_obj[1] ;
22015
22016 if (!args) SWIG_fail;
22017 swig_obj[0] = args;
22018 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22019 if (!SWIG_IsOK(res1)) {
22020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22021 }
22022 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22023 {
22024 PyThreadState* __tstate = wxPyBeginAllowThreads();
22025 (arg1)->OnInternalIdle();
22026 wxPyEndAllowThreads(__tstate);
22027 if (PyErr_Occurred()) SWIG_fail;
22028 }
22029 resultobj = SWIG_Py_Void();
22030 return resultobj;
22031 fail:
22032 return NULL;
22033 }
22034
22035
22036 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22037 PyObject *obj;
22038 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22039 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22040 return SWIG_Py_Void();
22041 }
22042
22043 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22044 return SWIG_Python_InitShadowInstance(args);
22045 }
22046
22047 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22048 PyObject *resultobj = 0;
22049 wxWindow *arg1 = (wxWindow *) 0 ;
22050 int arg2 = (int) (int)-1 ;
22051 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22052 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22053 wxSize const &arg4_defvalue = wxDefaultSize ;
22054 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22055 long arg5 = (long) 0 ;
22056 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22057 wxString *arg6 = (wxString *) &arg6_defvalue ;
22058 wxPyPanel *result = 0 ;
22059 void *argp1 = 0 ;
22060 int res1 = 0 ;
22061 int val2 ;
22062 int ecode2 = 0 ;
22063 wxPoint temp3 ;
22064 wxSize temp4 ;
22065 long val5 ;
22066 int ecode5 = 0 ;
22067 bool temp6 = false ;
22068 PyObject * obj0 = 0 ;
22069 PyObject * obj1 = 0 ;
22070 PyObject * obj2 = 0 ;
22071 PyObject * obj3 = 0 ;
22072 PyObject * obj4 = 0 ;
22073 PyObject * obj5 = 0 ;
22074 char * kwnames[] = {
22075 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22076 };
22077
22078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22080 if (!SWIG_IsOK(res1)) {
22081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22082 }
22083 arg1 = reinterpret_cast< wxWindow * >(argp1);
22084 if (obj1) {
22085 ecode2 = SWIG_AsVal_int(obj1, &val2);
22086 if (!SWIG_IsOK(ecode2)) {
22087 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22088 }
22089 arg2 = static_cast< int >(val2);
22090 }
22091 if (obj2) {
22092 {
22093 arg3 = &temp3;
22094 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22095 }
22096 }
22097 if (obj3) {
22098 {
22099 arg4 = &temp4;
22100 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22101 }
22102 }
22103 if (obj4) {
22104 ecode5 = SWIG_AsVal_long(obj4, &val5);
22105 if (!SWIG_IsOK(ecode5)) {
22106 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22107 }
22108 arg5 = static_cast< long >(val5);
22109 }
22110 if (obj5) {
22111 {
22112 arg6 = wxString_in_helper(obj5);
22113 if (arg6 == NULL) SWIG_fail;
22114 temp6 = true;
22115 }
22116 }
22117 {
22118 if (!wxPyCheckForApp()) SWIG_fail;
22119 PyThreadState* __tstate = wxPyBeginAllowThreads();
22120 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22121 wxPyEndAllowThreads(__tstate);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22125 {
22126 if (temp6)
22127 delete arg6;
22128 }
22129 return resultobj;
22130 fail:
22131 {
22132 if (temp6)
22133 delete arg6;
22134 }
22135 return NULL;
22136 }
22137
22138
22139 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22140 PyObject *resultobj = 0;
22141 wxPyPanel *result = 0 ;
22142
22143 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22144 {
22145 if (!wxPyCheckForApp()) SWIG_fail;
22146 PyThreadState* __tstate = wxPyBeginAllowThreads();
22147 result = (wxPyPanel *)new wxPyPanel();
22148 wxPyEndAllowThreads(__tstate);
22149 if (PyErr_Occurred()) SWIG_fail;
22150 }
22151 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22152 return resultobj;
22153 fail:
22154 return NULL;
22155 }
22156
22157
22158 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22159 PyObject *resultobj = 0;
22160 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22161 PyObject *arg2 = (PyObject *) 0 ;
22162 PyObject *arg3 = (PyObject *) 0 ;
22163 void *argp1 = 0 ;
22164 int res1 = 0 ;
22165 PyObject * obj0 = 0 ;
22166 PyObject * obj1 = 0 ;
22167 PyObject * obj2 = 0 ;
22168 char * kwnames[] = {
22169 (char *) "self",(char *) "self",(char *) "_class", NULL
22170 };
22171
22172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22174 if (!SWIG_IsOK(res1)) {
22175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22176 }
22177 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22178 arg2 = obj1;
22179 arg3 = obj2;
22180 {
22181 PyThreadState* __tstate = wxPyBeginAllowThreads();
22182 (arg1)->_setCallbackInfo(arg2,arg3);
22183 wxPyEndAllowThreads(__tstate);
22184 if (PyErr_Occurred()) SWIG_fail;
22185 }
22186 resultobj = SWIG_Py_Void();
22187 return resultobj;
22188 fail:
22189 return NULL;
22190 }
22191
22192
22193 SWIGINTERN PyObject *_wrap_PyPanel_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22194 PyObject *resultobj = 0;
22195 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22196 wxSize *arg2 = 0 ;
22197 void *argp1 = 0 ;
22198 int res1 = 0 ;
22199 wxSize temp2 ;
22200 PyObject * obj0 = 0 ;
22201 PyObject * obj1 = 0 ;
22202 char * kwnames[] = {
22203 (char *) "self",(char *) "size", NULL
22204 };
22205
22206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22208 if (!SWIG_IsOK(res1)) {
22209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22210 }
22211 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22212 {
22213 arg2 = &temp2;
22214 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22215 }
22216 {
22217 PyThreadState* __tstate = wxPyBeginAllowThreads();
22218 (arg1)->SetBestSize((wxSize const &)*arg2);
22219 wxPyEndAllowThreads(__tstate);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 }
22222 resultobj = SWIG_Py_Void();
22223 return resultobj;
22224 fail:
22225 return NULL;
22226 }
22227
22228
22229 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22230 PyObject *resultobj = 0;
22231 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22232 wxDC *arg2 = (wxDC *) 0 ;
22233 bool result;
22234 void *argp1 = 0 ;
22235 int res1 = 0 ;
22236 void *argp2 = 0 ;
22237 int res2 = 0 ;
22238 PyObject * obj0 = 0 ;
22239 PyObject * obj1 = 0 ;
22240 char * kwnames[] = {
22241 (char *) "self",(char *) "dc", NULL
22242 };
22243
22244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22246 if (!SWIG_IsOK(res1)) {
22247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22248 }
22249 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22250 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22251 if (!SWIG_IsOK(res2)) {
22252 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22253 }
22254 arg2 = reinterpret_cast< wxDC * >(argp2);
22255 {
22256 PyThreadState* __tstate = wxPyBeginAllowThreads();
22257 result = (bool)(arg1)->DoEraseBackground(arg2);
22258 wxPyEndAllowThreads(__tstate);
22259 if (PyErr_Occurred()) SWIG_fail;
22260 }
22261 {
22262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22263 }
22264 return resultobj;
22265 fail:
22266 return NULL;
22267 }
22268
22269
22270 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22271 PyObject *resultobj = 0;
22272 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22273 int arg2 ;
22274 int arg3 ;
22275 int arg4 ;
22276 int arg5 ;
22277 void *argp1 = 0 ;
22278 int res1 = 0 ;
22279 int val2 ;
22280 int ecode2 = 0 ;
22281 int val3 ;
22282 int ecode3 = 0 ;
22283 int val4 ;
22284 int ecode4 = 0 ;
22285 int val5 ;
22286 int ecode5 = 0 ;
22287 PyObject * obj0 = 0 ;
22288 PyObject * obj1 = 0 ;
22289 PyObject * obj2 = 0 ;
22290 PyObject * obj3 = 0 ;
22291 PyObject * obj4 = 0 ;
22292 char * kwnames[] = {
22293 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22294 };
22295
22296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22298 if (!SWIG_IsOK(res1)) {
22299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22300 }
22301 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22302 ecode2 = SWIG_AsVal_int(obj1, &val2);
22303 if (!SWIG_IsOK(ecode2)) {
22304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22305 }
22306 arg2 = static_cast< int >(val2);
22307 ecode3 = SWIG_AsVal_int(obj2, &val3);
22308 if (!SWIG_IsOK(ecode3)) {
22309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22310 }
22311 arg3 = static_cast< int >(val3);
22312 ecode4 = SWIG_AsVal_int(obj3, &val4);
22313 if (!SWIG_IsOK(ecode4)) {
22314 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22315 }
22316 arg4 = static_cast< int >(val4);
22317 ecode5 = SWIG_AsVal_int(obj4, &val5);
22318 if (!SWIG_IsOK(ecode5)) {
22319 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22320 }
22321 arg5 = static_cast< int >(val5);
22322 {
22323 PyThreadState* __tstate = wxPyBeginAllowThreads();
22324 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22325 wxPyEndAllowThreads(__tstate);
22326 if (PyErr_Occurred()) SWIG_fail;
22327 }
22328 resultobj = SWIG_Py_Void();
22329 return resultobj;
22330 fail:
22331 return NULL;
22332 }
22333
22334
22335 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22336 PyObject *resultobj = 0;
22337 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22338 int arg2 ;
22339 int arg3 ;
22340 int arg4 ;
22341 int arg5 ;
22342 int arg6 = (int) wxSIZE_AUTO ;
22343 void *argp1 = 0 ;
22344 int res1 = 0 ;
22345 int val2 ;
22346 int ecode2 = 0 ;
22347 int val3 ;
22348 int ecode3 = 0 ;
22349 int val4 ;
22350 int ecode4 = 0 ;
22351 int val5 ;
22352 int ecode5 = 0 ;
22353 int val6 ;
22354 int ecode6 = 0 ;
22355 PyObject * obj0 = 0 ;
22356 PyObject * obj1 = 0 ;
22357 PyObject * obj2 = 0 ;
22358 PyObject * obj3 = 0 ;
22359 PyObject * obj4 = 0 ;
22360 PyObject * obj5 = 0 ;
22361 char * kwnames[] = {
22362 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22363 };
22364
22365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22367 if (!SWIG_IsOK(res1)) {
22368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22369 }
22370 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22371 ecode2 = SWIG_AsVal_int(obj1, &val2);
22372 if (!SWIG_IsOK(ecode2)) {
22373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22374 }
22375 arg2 = static_cast< int >(val2);
22376 ecode3 = SWIG_AsVal_int(obj2, &val3);
22377 if (!SWIG_IsOK(ecode3)) {
22378 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22379 }
22380 arg3 = static_cast< int >(val3);
22381 ecode4 = SWIG_AsVal_int(obj3, &val4);
22382 if (!SWIG_IsOK(ecode4)) {
22383 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22384 }
22385 arg4 = static_cast< int >(val4);
22386 ecode5 = SWIG_AsVal_int(obj4, &val5);
22387 if (!SWIG_IsOK(ecode5)) {
22388 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22389 }
22390 arg5 = static_cast< int >(val5);
22391 if (obj5) {
22392 ecode6 = SWIG_AsVal_int(obj5, &val6);
22393 if (!SWIG_IsOK(ecode6)) {
22394 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22395 }
22396 arg6 = static_cast< int >(val6);
22397 }
22398 {
22399 PyThreadState* __tstate = wxPyBeginAllowThreads();
22400 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22401 wxPyEndAllowThreads(__tstate);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
22404 resultobj = SWIG_Py_Void();
22405 return resultobj;
22406 fail:
22407 return NULL;
22408 }
22409
22410
22411 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22412 PyObject *resultobj = 0;
22413 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22414 int arg2 ;
22415 int arg3 ;
22416 void *argp1 = 0 ;
22417 int res1 = 0 ;
22418 int val2 ;
22419 int ecode2 = 0 ;
22420 int val3 ;
22421 int ecode3 = 0 ;
22422 PyObject * obj0 = 0 ;
22423 PyObject * obj1 = 0 ;
22424 PyObject * obj2 = 0 ;
22425 char * kwnames[] = {
22426 (char *) "self",(char *) "width",(char *) "height", NULL
22427 };
22428
22429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22431 if (!SWIG_IsOK(res1)) {
22432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22433 }
22434 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22435 ecode2 = SWIG_AsVal_int(obj1, &val2);
22436 if (!SWIG_IsOK(ecode2)) {
22437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22438 }
22439 arg2 = static_cast< int >(val2);
22440 ecode3 = SWIG_AsVal_int(obj2, &val3);
22441 if (!SWIG_IsOK(ecode3)) {
22442 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22443 }
22444 arg3 = static_cast< int >(val3);
22445 {
22446 PyThreadState* __tstate = wxPyBeginAllowThreads();
22447 (arg1)->DoSetClientSize(arg2,arg3);
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 resultobj = SWIG_Py_Void();
22452 return resultobj;
22453 fail:
22454 return NULL;
22455 }
22456
22457
22458 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22459 PyObject *resultobj = 0;
22460 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22461 int arg2 ;
22462 int arg3 ;
22463 void *argp1 = 0 ;
22464 int res1 = 0 ;
22465 int val2 ;
22466 int ecode2 = 0 ;
22467 int val3 ;
22468 int ecode3 = 0 ;
22469 PyObject * obj0 = 0 ;
22470 PyObject * obj1 = 0 ;
22471 PyObject * obj2 = 0 ;
22472 char * kwnames[] = {
22473 (char *) "self",(char *) "x",(char *) "y", NULL
22474 };
22475
22476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22478 if (!SWIG_IsOK(res1)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22480 }
22481 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22482 ecode2 = SWIG_AsVal_int(obj1, &val2);
22483 if (!SWIG_IsOK(ecode2)) {
22484 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22485 }
22486 arg2 = static_cast< int >(val2);
22487 ecode3 = SWIG_AsVal_int(obj2, &val3);
22488 if (!SWIG_IsOK(ecode3)) {
22489 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22490 }
22491 arg3 = static_cast< int >(val3);
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 (arg1)->DoSetVirtualSize(arg2,arg3);
22495 wxPyEndAllowThreads(__tstate);
22496 if (PyErr_Occurred()) SWIG_fail;
22497 }
22498 resultobj = SWIG_Py_Void();
22499 return resultobj;
22500 fail:
22501 return NULL;
22502 }
22503
22504
22505 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22506 PyObject *resultobj = 0;
22507 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22508 int *arg2 = (int *) 0 ;
22509 int *arg3 = (int *) 0 ;
22510 void *argp1 = 0 ;
22511 int res1 = 0 ;
22512 int temp2 ;
22513 int res2 = SWIG_TMPOBJ ;
22514 int temp3 ;
22515 int res3 = SWIG_TMPOBJ ;
22516 PyObject *swig_obj[1] ;
22517
22518 arg2 = &temp2;
22519 arg3 = &temp3;
22520 if (!args) SWIG_fail;
22521 swig_obj[0] = args;
22522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22523 if (!SWIG_IsOK(res1)) {
22524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22525 }
22526 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22527 {
22528 PyThreadState* __tstate = wxPyBeginAllowThreads();
22529 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22530 wxPyEndAllowThreads(__tstate);
22531 if (PyErr_Occurred()) SWIG_fail;
22532 }
22533 resultobj = SWIG_Py_Void();
22534 if (SWIG_IsTmpObj(res2)) {
22535 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22536 } else {
22537 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22538 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22539 }
22540 if (SWIG_IsTmpObj(res3)) {
22541 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22542 } else {
22543 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22544 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22545 }
22546 return resultobj;
22547 fail:
22548 return NULL;
22549 }
22550
22551
22552 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22553 PyObject *resultobj = 0;
22554 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22555 int *arg2 = (int *) 0 ;
22556 int *arg3 = (int *) 0 ;
22557 void *argp1 = 0 ;
22558 int res1 = 0 ;
22559 int temp2 ;
22560 int res2 = SWIG_TMPOBJ ;
22561 int temp3 ;
22562 int res3 = SWIG_TMPOBJ ;
22563 PyObject *swig_obj[1] ;
22564
22565 arg2 = &temp2;
22566 arg3 = &temp3;
22567 if (!args) SWIG_fail;
22568 swig_obj[0] = args;
22569 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22570 if (!SWIG_IsOK(res1)) {
22571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22572 }
22573 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22574 {
22575 PyThreadState* __tstate = wxPyBeginAllowThreads();
22576 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22577 wxPyEndAllowThreads(__tstate);
22578 if (PyErr_Occurred()) SWIG_fail;
22579 }
22580 resultobj = SWIG_Py_Void();
22581 if (SWIG_IsTmpObj(res2)) {
22582 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22583 } else {
22584 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22585 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22586 }
22587 if (SWIG_IsTmpObj(res3)) {
22588 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22589 } else {
22590 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22591 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22592 }
22593 return resultobj;
22594 fail:
22595 return NULL;
22596 }
22597
22598
22599 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22600 PyObject *resultobj = 0;
22601 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22602 int *arg2 = (int *) 0 ;
22603 int *arg3 = (int *) 0 ;
22604 void *argp1 = 0 ;
22605 int res1 = 0 ;
22606 int temp2 ;
22607 int res2 = SWIG_TMPOBJ ;
22608 int temp3 ;
22609 int res3 = SWIG_TMPOBJ ;
22610 PyObject *swig_obj[1] ;
22611
22612 arg2 = &temp2;
22613 arg3 = &temp3;
22614 if (!args) SWIG_fail;
22615 swig_obj[0] = args;
22616 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22617 if (!SWIG_IsOK(res1)) {
22618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22619 }
22620 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22621 {
22622 PyThreadState* __tstate = wxPyBeginAllowThreads();
22623 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22624 wxPyEndAllowThreads(__tstate);
22625 if (PyErr_Occurred()) SWIG_fail;
22626 }
22627 resultobj = SWIG_Py_Void();
22628 if (SWIG_IsTmpObj(res2)) {
22629 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22630 } else {
22631 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22632 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22633 }
22634 if (SWIG_IsTmpObj(res3)) {
22635 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22636 } else {
22637 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22638 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22639 }
22640 return resultobj;
22641 fail:
22642 return NULL;
22643 }
22644
22645
22646 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22647 PyObject *resultobj = 0;
22648 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22649 wxSize result;
22650 void *argp1 = 0 ;
22651 int res1 = 0 ;
22652 PyObject *swig_obj[1] ;
22653
22654 if (!args) SWIG_fail;
22655 swig_obj[0] = args;
22656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22657 if (!SWIG_IsOK(res1)) {
22658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22659 }
22660 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22661 {
22662 PyThreadState* __tstate = wxPyBeginAllowThreads();
22663 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22664 wxPyEndAllowThreads(__tstate);
22665 if (PyErr_Occurred()) SWIG_fail;
22666 }
22667 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22668 return resultobj;
22669 fail:
22670 return NULL;
22671 }
22672
22673
22674 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22675 PyObject *resultobj = 0;
22676 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22677 wxSize result;
22678 void *argp1 = 0 ;
22679 int res1 = 0 ;
22680 PyObject *swig_obj[1] ;
22681
22682 if (!args) SWIG_fail;
22683 swig_obj[0] = args;
22684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22685 if (!SWIG_IsOK(res1)) {
22686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22687 }
22688 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22689 {
22690 PyThreadState* __tstate = wxPyBeginAllowThreads();
22691 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22692 wxPyEndAllowThreads(__tstate);
22693 if (PyErr_Occurred()) SWIG_fail;
22694 }
22695 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22696 return resultobj;
22697 fail:
22698 return NULL;
22699 }
22700
22701
22702 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22703 PyObject *resultobj = 0;
22704 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22705 SwigValueWrapper<wxVisualAttributes > result;
22706 void *argp1 = 0 ;
22707 int res1 = 0 ;
22708 PyObject *swig_obj[1] ;
22709
22710 if (!args) SWIG_fail;
22711 swig_obj[0] = args;
22712 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22713 if (!SWIG_IsOK(res1)) {
22714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22715 }
22716 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22717 {
22718 PyThreadState* __tstate = wxPyBeginAllowThreads();
22719 result = (arg1)->GetDefaultAttributes();
22720 wxPyEndAllowThreads(__tstate);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 }
22723 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22724 return resultobj;
22725 fail:
22726 return NULL;
22727 }
22728
22729
22730 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22731 PyObject *resultobj = 0;
22732 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22733 void *argp1 = 0 ;
22734 int res1 = 0 ;
22735 PyObject *swig_obj[1] ;
22736
22737 if (!args) SWIG_fail;
22738 swig_obj[0] = args;
22739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22740 if (!SWIG_IsOK(res1)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22742 }
22743 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22744 {
22745 PyThreadState* __tstate = wxPyBeginAllowThreads();
22746 (arg1)->OnInternalIdle();
22747 wxPyEndAllowThreads(__tstate);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
22750 resultobj = SWIG_Py_Void();
22751 return resultobj;
22752 fail:
22753 return NULL;
22754 }
22755
22756
22757 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22758 PyObject *obj;
22759 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22760 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22761 return SWIG_Py_Void();
22762 }
22763
22764 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22765 return SWIG_Python_InitShadowInstance(args);
22766 }
22767
22768 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22769 PyObject *resultobj = 0;
22770 wxWindow *arg1 = (wxWindow *) 0 ;
22771 int arg2 = (int) (int)-1 ;
22772 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22773 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22774 wxSize const &arg4_defvalue = wxDefaultSize ;
22775 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22776 long arg5 = (long) 0 ;
22777 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22778 wxString *arg6 = (wxString *) &arg6_defvalue ;
22779 wxPyScrolledWindow *result = 0 ;
22780 void *argp1 = 0 ;
22781 int res1 = 0 ;
22782 int val2 ;
22783 int ecode2 = 0 ;
22784 wxPoint temp3 ;
22785 wxSize temp4 ;
22786 long val5 ;
22787 int ecode5 = 0 ;
22788 bool temp6 = false ;
22789 PyObject * obj0 = 0 ;
22790 PyObject * obj1 = 0 ;
22791 PyObject * obj2 = 0 ;
22792 PyObject * obj3 = 0 ;
22793 PyObject * obj4 = 0 ;
22794 PyObject * obj5 = 0 ;
22795 char * kwnames[] = {
22796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22797 };
22798
22799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22801 if (!SWIG_IsOK(res1)) {
22802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22803 }
22804 arg1 = reinterpret_cast< wxWindow * >(argp1);
22805 if (obj1) {
22806 ecode2 = SWIG_AsVal_int(obj1, &val2);
22807 if (!SWIG_IsOK(ecode2)) {
22808 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22809 }
22810 arg2 = static_cast< int >(val2);
22811 }
22812 if (obj2) {
22813 {
22814 arg3 = &temp3;
22815 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22816 }
22817 }
22818 if (obj3) {
22819 {
22820 arg4 = &temp4;
22821 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22822 }
22823 }
22824 if (obj4) {
22825 ecode5 = SWIG_AsVal_long(obj4, &val5);
22826 if (!SWIG_IsOK(ecode5)) {
22827 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22828 }
22829 arg5 = static_cast< long >(val5);
22830 }
22831 if (obj5) {
22832 {
22833 arg6 = wxString_in_helper(obj5);
22834 if (arg6 == NULL) SWIG_fail;
22835 temp6 = true;
22836 }
22837 }
22838 {
22839 if (!wxPyCheckForApp()) SWIG_fail;
22840 PyThreadState* __tstate = wxPyBeginAllowThreads();
22841 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22842 wxPyEndAllowThreads(__tstate);
22843 if (PyErr_Occurred()) SWIG_fail;
22844 }
22845 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22846 {
22847 if (temp6)
22848 delete arg6;
22849 }
22850 return resultobj;
22851 fail:
22852 {
22853 if (temp6)
22854 delete arg6;
22855 }
22856 return NULL;
22857 }
22858
22859
22860 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22861 PyObject *resultobj = 0;
22862 wxPyScrolledWindow *result = 0 ;
22863
22864 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22865 {
22866 if (!wxPyCheckForApp()) SWIG_fail;
22867 PyThreadState* __tstate = wxPyBeginAllowThreads();
22868 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22869 wxPyEndAllowThreads(__tstate);
22870 if (PyErr_Occurred()) SWIG_fail;
22871 }
22872 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22873 return resultobj;
22874 fail:
22875 return NULL;
22876 }
22877
22878
22879 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22880 PyObject *resultobj = 0;
22881 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22882 PyObject *arg2 = (PyObject *) 0 ;
22883 PyObject *arg3 = (PyObject *) 0 ;
22884 void *argp1 = 0 ;
22885 int res1 = 0 ;
22886 PyObject * obj0 = 0 ;
22887 PyObject * obj1 = 0 ;
22888 PyObject * obj2 = 0 ;
22889 char * kwnames[] = {
22890 (char *) "self",(char *) "self",(char *) "_class", NULL
22891 };
22892
22893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22895 if (!SWIG_IsOK(res1)) {
22896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22897 }
22898 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22899 arg2 = obj1;
22900 arg3 = obj2;
22901 {
22902 PyThreadState* __tstate = wxPyBeginAllowThreads();
22903 (arg1)->_setCallbackInfo(arg2,arg3);
22904 wxPyEndAllowThreads(__tstate);
22905 if (PyErr_Occurred()) SWIG_fail;
22906 }
22907 resultobj = SWIG_Py_Void();
22908 return resultobj;
22909 fail:
22910 return NULL;
22911 }
22912
22913
22914 SWIGINTERN PyObject *_wrap_PyScrolledWindow_SetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22915 PyObject *resultobj = 0;
22916 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22917 wxSize *arg2 = 0 ;
22918 void *argp1 = 0 ;
22919 int res1 = 0 ;
22920 wxSize temp2 ;
22921 PyObject * obj0 = 0 ;
22922 PyObject * obj1 = 0 ;
22923 char * kwnames[] = {
22924 (char *) "self",(char *) "size", NULL
22925 };
22926
22927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames,&obj0,&obj1)) SWIG_fail;
22928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22929 if (!SWIG_IsOK(res1)) {
22930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22931 }
22932 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22933 {
22934 arg2 = &temp2;
22935 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22936 }
22937 {
22938 PyThreadState* __tstate = wxPyBeginAllowThreads();
22939 (arg1)->SetBestSize((wxSize const &)*arg2);
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 resultobj = SWIG_Py_Void();
22944 return resultobj;
22945 fail:
22946 return NULL;
22947 }
22948
22949
22950 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22951 PyObject *resultobj = 0;
22952 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22953 wxDC *arg2 = (wxDC *) 0 ;
22954 bool result;
22955 void *argp1 = 0 ;
22956 int res1 = 0 ;
22957 void *argp2 = 0 ;
22958 int res2 = 0 ;
22959 PyObject * obj0 = 0 ;
22960 PyObject * obj1 = 0 ;
22961 char * kwnames[] = {
22962 (char *) "self",(char *) "dc", NULL
22963 };
22964
22965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22967 if (!SWIG_IsOK(res1)) {
22968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22969 }
22970 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22971 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22972 if (!SWIG_IsOK(res2)) {
22973 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22974 }
22975 arg2 = reinterpret_cast< wxDC * >(argp2);
22976 {
22977 PyThreadState* __tstate = wxPyBeginAllowThreads();
22978 result = (bool)(arg1)->DoEraseBackground(arg2);
22979 wxPyEndAllowThreads(__tstate);
22980 if (PyErr_Occurred()) SWIG_fail;
22981 }
22982 {
22983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22984 }
22985 return resultobj;
22986 fail:
22987 return NULL;
22988 }
22989
22990
22991 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22992 PyObject *resultobj = 0;
22993 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22994 int arg2 ;
22995 int arg3 ;
22996 int arg4 ;
22997 int arg5 ;
22998 void *argp1 = 0 ;
22999 int res1 = 0 ;
23000 int val2 ;
23001 int ecode2 = 0 ;
23002 int val3 ;
23003 int ecode3 = 0 ;
23004 int val4 ;
23005 int ecode4 = 0 ;
23006 int val5 ;
23007 int ecode5 = 0 ;
23008 PyObject * obj0 = 0 ;
23009 PyObject * obj1 = 0 ;
23010 PyObject * obj2 = 0 ;
23011 PyObject * obj3 = 0 ;
23012 PyObject * obj4 = 0 ;
23013 char * kwnames[] = {
23014 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23015 };
23016
23017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23019 if (!SWIG_IsOK(res1)) {
23020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23021 }
23022 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23023 ecode2 = SWIG_AsVal_int(obj1, &val2);
23024 if (!SWIG_IsOK(ecode2)) {
23025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23026 }
23027 arg2 = static_cast< int >(val2);
23028 ecode3 = SWIG_AsVal_int(obj2, &val3);
23029 if (!SWIG_IsOK(ecode3)) {
23030 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23031 }
23032 arg3 = static_cast< int >(val3);
23033 ecode4 = SWIG_AsVal_int(obj3, &val4);
23034 if (!SWIG_IsOK(ecode4)) {
23035 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23036 }
23037 arg4 = static_cast< int >(val4);
23038 ecode5 = SWIG_AsVal_int(obj4, &val5);
23039 if (!SWIG_IsOK(ecode5)) {
23040 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23041 }
23042 arg5 = static_cast< int >(val5);
23043 {
23044 PyThreadState* __tstate = wxPyBeginAllowThreads();
23045 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23046 wxPyEndAllowThreads(__tstate);
23047 if (PyErr_Occurred()) SWIG_fail;
23048 }
23049 resultobj = SWIG_Py_Void();
23050 return resultobj;
23051 fail:
23052 return NULL;
23053 }
23054
23055
23056 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23057 PyObject *resultobj = 0;
23058 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23059 int arg2 ;
23060 int arg3 ;
23061 int arg4 ;
23062 int arg5 ;
23063 int arg6 = (int) wxSIZE_AUTO ;
23064 void *argp1 = 0 ;
23065 int res1 = 0 ;
23066 int val2 ;
23067 int ecode2 = 0 ;
23068 int val3 ;
23069 int ecode3 = 0 ;
23070 int val4 ;
23071 int ecode4 = 0 ;
23072 int val5 ;
23073 int ecode5 = 0 ;
23074 int val6 ;
23075 int ecode6 = 0 ;
23076 PyObject * obj0 = 0 ;
23077 PyObject * obj1 = 0 ;
23078 PyObject * obj2 = 0 ;
23079 PyObject * obj3 = 0 ;
23080 PyObject * obj4 = 0 ;
23081 PyObject * obj5 = 0 ;
23082 char * kwnames[] = {
23083 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23084 };
23085
23086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23088 if (!SWIG_IsOK(res1)) {
23089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23090 }
23091 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23092 ecode2 = SWIG_AsVal_int(obj1, &val2);
23093 if (!SWIG_IsOK(ecode2)) {
23094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23095 }
23096 arg2 = static_cast< int >(val2);
23097 ecode3 = SWIG_AsVal_int(obj2, &val3);
23098 if (!SWIG_IsOK(ecode3)) {
23099 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23100 }
23101 arg3 = static_cast< int >(val3);
23102 ecode4 = SWIG_AsVal_int(obj3, &val4);
23103 if (!SWIG_IsOK(ecode4)) {
23104 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23105 }
23106 arg4 = static_cast< int >(val4);
23107 ecode5 = SWIG_AsVal_int(obj4, &val5);
23108 if (!SWIG_IsOK(ecode5)) {
23109 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23110 }
23111 arg5 = static_cast< int >(val5);
23112 if (obj5) {
23113 ecode6 = SWIG_AsVal_int(obj5, &val6);
23114 if (!SWIG_IsOK(ecode6)) {
23115 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23116 }
23117 arg6 = static_cast< int >(val6);
23118 }
23119 {
23120 PyThreadState* __tstate = wxPyBeginAllowThreads();
23121 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23122 wxPyEndAllowThreads(__tstate);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 }
23125 resultobj = SWIG_Py_Void();
23126 return resultobj;
23127 fail:
23128 return NULL;
23129 }
23130
23131
23132 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23133 PyObject *resultobj = 0;
23134 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23135 int arg2 ;
23136 int arg3 ;
23137 void *argp1 = 0 ;
23138 int res1 = 0 ;
23139 int val2 ;
23140 int ecode2 = 0 ;
23141 int val3 ;
23142 int ecode3 = 0 ;
23143 PyObject * obj0 = 0 ;
23144 PyObject * obj1 = 0 ;
23145 PyObject * obj2 = 0 ;
23146 char * kwnames[] = {
23147 (char *) "self",(char *) "width",(char *) "height", NULL
23148 };
23149
23150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23152 if (!SWIG_IsOK(res1)) {
23153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23154 }
23155 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23156 ecode2 = SWIG_AsVal_int(obj1, &val2);
23157 if (!SWIG_IsOK(ecode2)) {
23158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23159 }
23160 arg2 = static_cast< int >(val2);
23161 ecode3 = SWIG_AsVal_int(obj2, &val3);
23162 if (!SWIG_IsOK(ecode3)) {
23163 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23164 }
23165 arg3 = static_cast< int >(val3);
23166 {
23167 PyThreadState* __tstate = wxPyBeginAllowThreads();
23168 (arg1)->DoSetClientSize(arg2,arg3);
23169 wxPyEndAllowThreads(__tstate);
23170 if (PyErr_Occurred()) SWIG_fail;
23171 }
23172 resultobj = SWIG_Py_Void();
23173 return resultobj;
23174 fail:
23175 return NULL;
23176 }
23177
23178
23179 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23180 PyObject *resultobj = 0;
23181 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23182 int arg2 ;
23183 int arg3 ;
23184 void *argp1 = 0 ;
23185 int res1 = 0 ;
23186 int val2 ;
23187 int ecode2 = 0 ;
23188 int val3 ;
23189 int ecode3 = 0 ;
23190 PyObject * obj0 = 0 ;
23191 PyObject * obj1 = 0 ;
23192 PyObject * obj2 = 0 ;
23193 char * kwnames[] = {
23194 (char *) "self",(char *) "x",(char *) "y", NULL
23195 };
23196
23197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23199 if (!SWIG_IsOK(res1)) {
23200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23201 }
23202 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23203 ecode2 = SWIG_AsVal_int(obj1, &val2);
23204 if (!SWIG_IsOK(ecode2)) {
23205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23206 }
23207 arg2 = static_cast< int >(val2);
23208 ecode3 = SWIG_AsVal_int(obj2, &val3);
23209 if (!SWIG_IsOK(ecode3)) {
23210 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23211 }
23212 arg3 = static_cast< int >(val3);
23213 {
23214 PyThreadState* __tstate = wxPyBeginAllowThreads();
23215 (arg1)->DoSetVirtualSize(arg2,arg3);
23216 wxPyEndAllowThreads(__tstate);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 resultobj = SWIG_Py_Void();
23220 return resultobj;
23221 fail:
23222 return NULL;
23223 }
23224
23225
23226 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23227 PyObject *resultobj = 0;
23228 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23229 int *arg2 = (int *) 0 ;
23230 int *arg3 = (int *) 0 ;
23231 void *argp1 = 0 ;
23232 int res1 = 0 ;
23233 int temp2 ;
23234 int res2 = SWIG_TMPOBJ ;
23235 int temp3 ;
23236 int res3 = SWIG_TMPOBJ ;
23237 PyObject *swig_obj[1] ;
23238
23239 arg2 = &temp2;
23240 arg3 = &temp3;
23241 if (!args) SWIG_fail;
23242 swig_obj[0] = args;
23243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23244 if (!SWIG_IsOK(res1)) {
23245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23246 }
23247 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23248 {
23249 PyThreadState* __tstate = wxPyBeginAllowThreads();
23250 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23251 wxPyEndAllowThreads(__tstate);
23252 if (PyErr_Occurred()) SWIG_fail;
23253 }
23254 resultobj = SWIG_Py_Void();
23255 if (SWIG_IsTmpObj(res2)) {
23256 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23257 } else {
23258 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23259 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23260 }
23261 if (SWIG_IsTmpObj(res3)) {
23262 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23263 } else {
23264 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23265 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23266 }
23267 return resultobj;
23268 fail:
23269 return NULL;
23270 }
23271
23272
23273 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23274 PyObject *resultobj = 0;
23275 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23276 int *arg2 = (int *) 0 ;
23277 int *arg3 = (int *) 0 ;
23278 void *argp1 = 0 ;
23279 int res1 = 0 ;
23280 int temp2 ;
23281 int res2 = SWIG_TMPOBJ ;
23282 int temp3 ;
23283 int res3 = SWIG_TMPOBJ ;
23284 PyObject *swig_obj[1] ;
23285
23286 arg2 = &temp2;
23287 arg3 = &temp3;
23288 if (!args) SWIG_fail;
23289 swig_obj[0] = args;
23290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23291 if (!SWIG_IsOK(res1)) {
23292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23293 }
23294 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23295 {
23296 PyThreadState* __tstate = wxPyBeginAllowThreads();
23297 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23298 wxPyEndAllowThreads(__tstate);
23299 if (PyErr_Occurred()) SWIG_fail;
23300 }
23301 resultobj = SWIG_Py_Void();
23302 if (SWIG_IsTmpObj(res2)) {
23303 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23304 } else {
23305 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23306 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23307 }
23308 if (SWIG_IsTmpObj(res3)) {
23309 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23310 } else {
23311 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23312 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23313 }
23314 return resultobj;
23315 fail:
23316 return NULL;
23317 }
23318
23319
23320 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23321 PyObject *resultobj = 0;
23322 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23323 int *arg2 = (int *) 0 ;
23324 int *arg3 = (int *) 0 ;
23325 void *argp1 = 0 ;
23326 int res1 = 0 ;
23327 int temp2 ;
23328 int res2 = SWIG_TMPOBJ ;
23329 int temp3 ;
23330 int res3 = SWIG_TMPOBJ ;
23331 PyObject *swig_obj[1] ;
23332
23333 arg2 = &temp2;
23334 arg3 = &temp3;
23335 if (!args) SWIG_fail;
23336 swig_obj[0] = args;
23337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23338 if (!SWIG_IsOK(res1)) {
23339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23340 }
23341 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23342 {
23343 PyThreadState* __tstate = wxPyBeginAllowThreads();
23344 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23345 wxPyEndAllowThreads(__tstate);
23346 if (PyErr_Occurred()) SWIG_fail;
23347 }
23348 resultobj = SWIG_Py_Void();
23349 if (SWIG_IsTmpObj(res2)) {
23350 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23351 } else {
23352 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23353 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23354 }
23355 if (SWIG_IsTmpObj(res3)) {
23356 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23357 } else {
23358 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23359 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23360 }
23361 return resultobj;
23362 fail:
23363 return NULL;
23364 }
23365
23366
23367 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23368 PyObject *resultobj = 0;
23369 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23370 wxSize result;
23371 void *argp1 = 0 ;
23372 int res1 = 0 ;
23373 PyObject *swig_obj[1] ;
23374
23375 if (!args) SWIG_fail;
23376 swig_obj[0] = args;
23377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23378 if (!SWIG_IsOK(res1)) {
23379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23380 }
23381 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23382 {
23383 PyThreadState* __tstate = wxPyBeginAllowThreads();
23384 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23385 wxPyEndAllowThreads(__tstate);
23386 if (PyErr_Occurred()) SWIG_fail;
23387 }
23388 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23389 return resultobj;
23390 fail:
23391 return NULL;
23392 }
23393
23394
23395 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23396 PyObject *resultobj = 0;
23397 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23398 wxSize result;
23399 void *argp1 = 0 ;
23400 int res1 = 0 ;
23401 PyObject *swig_obj[1] ;
23402
23403 if (!args) SWIG_fail;
23404 swig_obj[0] = args;
23405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23406 if (!SWIG_IsOK(res1)) {
23407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23408 }
23409 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23410 {
23411 PyThreadState* __tstate = wxPyBeginAllowThreads();
23412 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23413 wxPyEndAllowThreads(__tstate);
23414 if (PyErr_Occurred()) SWIG_fail;
23415 }
23416 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23417 return resultobj;
23418 fail:
23419 return NULL;
23420 }
23421
23422
23423 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23424 PyObject *resultobj = 0;
23425 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23426 SwigValueWrapper<wxVisualAttributes > result;
23427 void *argp1 = 0 ;
23428 int res1 = 0 ;
23429 PyObject *swig_obj[1] ;
23430
23431 if (!args) SWIG_fail;
23432 swig_obj[0] = args;
23433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23434 if (!SWIG_IsOK(res1)) {
23435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23436 }
23437 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23438 {
23439 PyThreadState* __tstate = wxPyBeginAllowThreads();
23440 result = (arg1)->GetDefaultAttributes();
23441 wxPyEndAllowThreads(__tstate);
23442 if (PyErr_Occurred()) SWIG_fail;
23443 }
23444 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23445 return resultobj;
23446 fail:
23447 return NULL;
23448 }
23449
23450
23451 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23452 PyObject *resultobj = 0;
23453 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23454 void *argp1 = 0 ;
23455 int res1 = 0 ;
23456 PyObject *swig_obj[1] ;
23457
23458 if (!args) SWIG_fail;
23459 swig_obj[0] = args;
23460 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23461 if (!SWIG_IsOK(res1)) {
23462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23463 }
23464 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23465 {
23466 PyThreadState* __tstate = wxPyBeginAllowThreads();
23467 (arg1)->OnInternalIdle();
23468 wxPyEndAllowThreads(__tstate);
23469 if (PyErr_Occurred()) SWIG_fail;
23470 }
23471 resultobj = SWIG_Py_Void();
23472 return resultobj;
23473 fail:
23474 return NULL;
23475 }
23476
23477
23478 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23479 PyObject *obj;
23480 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23481 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23482 return SWIG_Py_Void();
23483 }
23484
23485 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23486 return SWIG_Python_InitShadowInstance(args);
23487 }
23488
23489 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23490 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23491 return 1;
23492 }
23493
23494
23495 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23496 PyObject *pyobj = 0;
23497
23498 {
23499 #if wxUSE_UNICODE
23500 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23501 #else
23502 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23503 #endif
23504 }
23505 return pyobj;
23506 }
23507
23508
23509 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23510 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23511 return 1;
23512 }
23513
23514
23515 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23516 PyObject *pyobj = 0;
23517
23518 {
23519 #if wxUSE_UNICODE
23520 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23521 #else
23522 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23523 #endif
23524 }
23525 return pyobj;
23526 }
23527
23528
23529 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23530 PyObject *resultobj = 0;
23531 wxPrintData *result = 0 ;
23532
23533 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23534 {
23535 PyThreadState* __tstate = wxPyBeginAllowThreads();
23536 result = (wxPrintData *)new wxPrintData();
23537 wxPyEndAllowThreads(__tstate);
23538 if (PyErr_Occurred()) SWIG_fail;
23539 }
23540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23541 return resultobj;
23542 fail:
23543 return NULL;
23544 }
23545
23546
23547 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23548 PyObject *resultobj = 0;
23549 wxPrintData *arg1 = 0 ;
23550 wxPrintData *result = 0 ;
23551 void *argp1 = 0 ;
23552 int res1 = 0 ;
23553
23554 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23556 if (!SWIG_IsOK(res1)) {
23557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23558 }
23559 if (!argp1) {
23560 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23561 }
23562 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23563 {
23564 PyThreadState* __tstate = wxPyBeginAllowThreads();
23565 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23566 wxPyEndAllowThreads(__tstate);
23567 if (PyErr_Occurred()) SWIG_fail;
23568 }
23569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23570 return resultobj;
23571 fail:
23572 return NULL;
23573 }
23574
23575
23576 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23577 int argc;
23578 PyObject *argv[2];
23579
23580 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23581 --argc;
23582 if (argc == 0) {
23583 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23584 }
23585 if (argc == 1) {
23586 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23587 }
23588
23589 fail:
23590 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23591 return NULL;
23592 }
23593
23594
23595 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23596 PyObject *resultobj = 0;
23597 wxPrintData *arg1 = (wxPrintData *) 0 ;
23598 void *argp1 = 0 ;
23599 int res1 = 0 ;
23600 PyObject *swig_obj[1] ;
23601
23602 if (!args) SWIG_fail;
23603 swig_obj[0] = args;
23604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23605 if (!SWIG_IsOK(res1)) {
23606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23607 }
23608 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23609 {
23610 PyThreadState* __tstate = wxPyBeginAllowThreads();
23611 delete arg1;
23612
23613 wxPyEndAllowThreads(__tstate);
23614 if (PyErr_Occurred()) SWIG_fail;
23615 }
23616 resultobj = SWIG_Py_Void();
23617 return resultobj;
23618 fail:
23619 return NULL;
23620 }
23621
23622
23623 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23624 PyObject *resultobj = 0;
23625 wxPrintData *arg1 = (wxPrintData *) 0 ;
23626 int result;
23627 void *argp1 = 0 ;
23628 int res1 = 0 ;
23629 PyObject *swig_obj[1] ;
23630
23631 if (!args) SWIG_fail;
23632 swig_obj[0] = args;
23633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23634 if (!SWIG_IsOK(res1)) {
23635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23636 }
23637 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23638 {
23639 PyThreadState* __tstate = wxPyBeginAllowThreads();
23640 result = (int)(arg1)->GetNoCopies();
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 resultobj = SWIG_From_int(static_cast< int >(result));
23645 return resultobj;
23646 fail:
23647 return NULL;
23648 }
23649
23650
23651 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23652 PyObject *resultobj = 0;
23653 wxPrintData *arg1 = (wxPrintData *) 0 ;
23654 bool result;
23655 void *argp1 = 0 ;
23656 int res1 = 0 ;
23657 PyObject *swig_obj[1] ;
23658
23659 if (!args) SWIG_fail;
23660 swig_obj[0] = args;
23661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23662 if (!SWIG_IsOK(res1)) {
23663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23664 }
23665 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 result = (bool)(arg1)->GetCollate();
23669 wxPyEndAllowThreads(__tstate);
23670 if (PyErr_Occurred()) SWIG_fail;
23671 }
23672 {
23673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23674 }
23675 return resultobj;
23676 fail:
23677 return NULL;
23678 }
23679
23680
23681 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23682 PyObject *resultobj = 0;
23683 wxPrintData *arg1 = (wxPrintData *) 0 ;
23684 int result;
23685 void *argp1 = 0 ;
23686 int res1 = 0 ;
23687 PyObject *swig_obj[1] ;
23688
23689 if (!args) SWIG_fail;
23690 swig_obj[0] = args;
23691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23692 if (!SWIG_IsOK(res1)) {
23693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23694 }
23695 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 result = (int)(arg1)->GetOrientation();
23699 wxPyEndAllowThreads(__tstate);
23700 if (PyErr_Occurred()) SWIG_fail;
23701 }
23702 resultobj = SWIG_From_int(static_cast< int >(result));
23703 return resultobj;
23704 fail:
23705 return NULL;
23706 }
23707
23708
23709 SWIGINTERN PyObject *_wrap_PrintData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23710 PyObject *resultobj = 0;
23711 wxPrintData *arg1 = (wxPrintData *) 0 ;
23712 bool result;
23713 void *argp1 = 0 ;
23714 int res1 = 0 ;
23715 PyObject *swig_obj[1] ;
23716
23717 if (!args) SWIG_fail;
23718 swig_obj[0] = args;
23719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23720 if (!SWIG_IsOK(res1)) {
23721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23722 }
23723 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23724 {
23725 PyThreadState* __tstate = wxPyBeginAllowThreads();
23726 result = (bool)(arg1)->Ok();
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 {
23731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23732 }
23733 return resultobj;
23734 fail:
23735 return NULL;
23736 }
23737
23738
23739 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23740 PyObject *resultobj = 0;
23741 wxPrintData *arg1 = (wxPrintData *) 0 ;
23742 wxString *result = 0 ;
23743 void *argp1 = 0 ;
23744 int res1 = 0 ;
23745 PyObject *swig_obj[1] ;
23746
23747 if (!args) SWIG_fail;
23748 swig_obj[0] = args;
23749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23750 if (!SWIG_IsOK(res1)) {
23751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23752 }
23753 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23754 {
23755 PyThreadState* __tstate = wxPyBeginAllowThreads();
23756 {
23757 wxString const &_result_ref = (arg1)->GetPrinterName();
23758 result = (wxString *) &_result_ref;
23759 }
23760 wxPyEndAllowThreads(__tstate);
23761 if (PyErr_Occurred()) SWIG_fail;
23762 }
23763 {
23764 #if wxUSE_UNICODE
23765 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23766 #else
23767 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23768 #endif
23769 }
23770 return resultobj;
23771 fail:
23772 return NULL;
23773 }
23774
23775
23776 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23777 PyObject *resultobj = 0;
23778 wxPrintData *arg1 = (wxPrintData *) 0 ;
23779 bool result;
23780 void *argp1 = 0 ;
23781 int res1 = 0 ;
23782 PyObject *swig_obj[1] ;
23783
23784 if (!args) SWIG_fail;
23785 swig_obj[0] = args;
23786 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23787 if (!SWIG_IsOK(res1)) {
23788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23789 }
23790 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = (bool)(arg1)->GetColour();
23794 wxPyEndAllowThreads(__tstate);
23795 if (PyErr_Occurred()) SWIG_fail;
23796 }
23797 {
23798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23799 }
23800 return resultobj;
23801 fail:
23802 return NULL;
23803 }
23804
23805
23806 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23807 PyObject *resultobj = 0;
23808 wxPrintData *arg1 = (wxPrintData *) 0 ;
23809 wxDuplexMode result;
23810 void *argp1 = 0 ;
23811 int res1 = 0 ;
23812 PyObject *swig_obj[1] ;
23813
23814 if (!args) SWIG_fail;
23815 swig_obj[0] = args;
23816 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23817 if (!SWIG_IsOK(res1)) {
23818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23819 }
23820 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23821 {
23822 PyThreadState* __tstate = wxPyBeginAllowThreads();
23823 result = (wxDuplexMode)(arg1)->GetDuplex();
23824 wxPyEndAllowThreads(__tstate);
23825 if (PyErr_Occurred()) SWIG_fail;
23826 }
23827 resultobj = SWIG_From_int(static_cast< int >(result));
23828 return resultobj;
23829 fail:
23830 return NULL;
23831 }
23832
23833
23834 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23835 PyObject *resultobj = 0;
23836 wxPrintData *arg1 = (wxPrintData *) 0 ;
23837 wxPaperSize result;
23838 void *argp1 = 0 ;
23839 int res1 = 0 ;
23840 PyObject *swig_obj[1] ;
23841
23842 if (!args) SWIG_fail;
23843 swig_obj[0] = args;
23844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23845 if (!SWIG_IsOK(res1)) {
23846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23847 }
23848 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 result = (wxPaperSize)(arg1)->GetPaperId();
23852 wxPyEndAllowThreads(__tstate);
23853 if (PyErr_Occurred()) SWIG_fail;
23854 }
23855 resultobj = SWIG_From_int(static_cast< int >(result));
23856 return resultobj;
23857 fail:
23858 return NULL;
23859 }
23860
23861
23862 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23863 PyObject *resultobj = 0;
23864 wxPrintData *arg1 = (wxPrintData *) 0 ;
23865 wxSize *result = 0 ;
23866 void *argp1 = 0 ;
23867 int res1 = 0 ;
23868 PyObject *swig_obj[1] ;
23869
23870 if (!args) SWIG_fail;
23871 swig_obj[0] = args;
23872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23873 if (!SWIG_IsOK(res1)) {
23874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23875 }
23876 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23877 {
23878 PyThreadState* __tstate = wxPyBeginAllowThreads();
23879 {
23880 wxSize const &_result_ref = (arg1)->GetPaperSize();
23881 result = (wxSize *) &_result_ref;
23882 }
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23887 return resultobj;
23888 fail:
23889 return NULL;
23890 }
23891
23892
23893 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23894 PyObject *resultobj = 0;
23895 wxPrintData *arg1 = (wxPrintData *) 0 ;
23896 int result;
23897 void *argp1 = 0 ;
23898 int res1 = 0 ;
23899 PyObject *swig_obj[1] ;
23900
23901 if (!args) SWIG_fail;
23902 swig_obj[0] = args;
23903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23904 if (!SWIG_IsOK(res1)) {
23905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23906 }
23907 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23908 {
23909 PyThreadState* __tstate = wxPyBeginAllowThreads();
23910 result = (int)(arg1)->GetQuality();
23911 wxPyEndAllowThreads(__tstate);
23912 if (PyErr_Occurred()) SWIG_fail;
23913 }
23914 resultobj = SWIG_From_int(static_cast< int >(result));
23915 return resultobj;
23916 fail:
23917 return NULL;
23918 }
23919
23920
23921 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23922 PyObject *resultobj = 0;
23923 wxPrintData *arg1 = (wxPrintData *) 0 ;
23924 wxPrintBin result;
23925 void *argp1 = 0 ;
23926 int res1 = 0 ;
23927 PyObject *swig_obj[1] ;
23928
23929 if (!args) SWIG_fail;
23930 swig_obj[0] = args;
23931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23932 if (!SWIG_IsOK(res1)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23934 }
23935 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23936 {
23937 PyThreadState* __tstate = wxPyBeginAllowThreads();
23938 result = (wxPrintBin)(arg1)->GetBin();
23939 wxPyEndAllowThreads(__tstate);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 }
23942 resultobj = SWIG_From_int(static_cast< int >(result));
23943 return resultobj;
23944 fail:
23945 return NULL;
23946 }
23947
23948
23949 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23950 PyObject *resultobj = 0;
23951 wxPrintData *arg1 = (wxPrintData *) 0 ;
23952 wxPrintMode result;
23953 void *argp1 = 0 ;
23954 int res1 = 0 ;
23955 PyObject *swig_obj[1] ;
23956
23957 if (!args) SWIG_fail;
23958 swig_obj[0] = args;
23959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23960 if (!SWIG_IsOK(res1)) {
23961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23962 }
23963 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23964 {
23965 PyThreadState* __tstate = wxPyBeginAllowThreads();
23966 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23967 wxPyEndAllowThreads(__tstate);
23968 if (PyErr_Occurred()) SWIG_fail;
23969 }
23970 resultobj = SWIG_From_int(static_cast< int >(result));
23971 return resultobj;
23972 fail:
23973 return NULL;
23974 }
23975
23976
23977 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23978 PyObject *resultobj = 0;
23979 wxPrintData *arg1 = (wxPrintData *) 0 ;
23980 int arg2 ;
23981 void *argp1 = 0 ;
23982 int res1 = 0 ;
23983 int val2 ;
23984 int ecode2 = 0 ;
23985 PyObject * obj0 = 0 ;
23986 PyObject * obj1 = 0 ;
23987 char * kwnames[] = {
23988 (char *) "self",(char *) "v", NULL
23989 };
23990
23991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
23992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23993 if (!SWIG_IsOK(res1)) {
23994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23995 }
23996 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23997 ecode2 = SWIG_AsVal_int(obj1, &val2);
23998 if (!SWIG_IsOK(ecode2)) {
23999 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24000 }
24001 arg2 = static_cast< int >(val2);
24002 {
24003 PyThreadState* __tstate = wxPyBeginAllowThreads();
24004 (arg1)->SetNoCopies(arg2);
24005 wxPyEndAllowThreads(__tstate);
24006 if (PyErr_Occurred()) SWIG_fail;
24007 }
24008 resultobj = SWIG_Py_Void();
24009 return resultobj;
24010 fail:
24011 return NULL;
24012 }
24013
24014
24015 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24016 PyObject *resultobj = 0;
24017 wxPrintData *arg1 = (wxPrintData *) 0 ;
24018 bool arg2 ;
24019 void *argp1 = 0 ;
24020 int res1 = 0 ;
24021 bool val2 ;
24022 int ecode2 = 0 ;
24023 PyObject * obj0 = 0 ;
24024 PyObject * obj1 = 0 ;
24025 char * kwnames[] = {
24026 (char *) "self",(char *) "flag", NULL
24027 };
24028
24029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24031 if (!SWIG_IsOK(res1)) {
24032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24033 }
24034 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24035 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24036 if (!SWIG_IsOK(ecode2)) {
24037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24038 }
24039 arg2 = static_cast< bool >(val2);
24040 {
24041 PyThreadState* __tstate = wxPyBeginAllowThreads();
24042 (arg1)->SetCollate(arg2);
24043 wxPyEndAllowThreads(__tstate);
24044 if (PyErr_Occurred()) SWIG_fail;
24045 }
24046 resultobj = SWIG_Py_Void();
24047 return resultobj;
24048 fail:
24049 return NULL;
24050 }
24051
24052
24053 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24054 PyObject *resultobj = 0;
24055 wxPrintData *arg1 = (wxPrintData *) 0 ;
24056 int arg2 ;
24057 void *argp1 = 0 ;
24058 int res1 = 0 ;
24059 int val2 ;
24060 int ecode2 = 0 ;
24061 PyObject * obj0 = 0 ;
24062 PyObject * obj1 = 0 ;
24063 char * kwnames[] = {
24064 (char *) "self",(char *) "orient", NULL
24065 };
24066
24067 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24068 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24069 if (!SWIG_IsOK(res1)) {
24070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24071 }
24072 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24073 ecode2 = SWIG_AsVal_int(obj1, &val2);
24074 if (!SWIG_IsOK(ecode2)) {
24075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24076 }
24077 arg2 = static_cast< int >(val2);
24078 {
24079 PyThreadState* __tstate = wxPyBeginAllowThreads();
24080 (arg1)->SetOrientation(arg2);
24081 wxPyEndAllowThreads(__tstate);
24082 if (PyErr_Occurred()) SWIG_fail;
24083 }
24084 resultobj = SWIG_Py_Void();
24085 return resultobj;
24086 fail:
24087 return NULL;
24088 }
24089
24090
24091 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24092 PyObject *resultobj = 0;
24093 wxPrintData *arg1 = (wxPrintData *) 0 ;
24094 wxString *arg2 = 0 ;
24095 void *argp1 = 0 ;
24096 int res1 = 0 ;
24097 bool temp2 = false ;
24098 PyObject * obj0 = 0 ;
24099 PyObject * obj1 = 0 ;
24100 char * kwnames[] = {
24101 (char *) "self",(char *) "name", NULL
24102 };
24103
24104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24106 if (!SWIG_IsOK(res1)) {
24107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24108 }
24109 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24110 {
24111 arg2 = wxString_in_helper(obj1);
24112 if (arg2 == NULL) SWIG_fail;
24113 temp2 = true;
24114 }
24115 {
24116 PyThreadState* __tstate = wxPyBeginAllowThreads();
24117 (arg1)->SetPrinterName((wxString const &)*arg2);
24118 wxPyEndAllowThreads(__tstate);
24119 if (PyErr_Occurred()) SWIG_fail;
24120 }
24121 resultobj = SWIG_Py_Void();
24122 {
24123 if (temp2)
24124 delete arg2;
24125 }
24126 return resultobj;
24127 fail:
24128 {
24129 if (temp2)
24130 delete arg2;
24131 }
24132 return NULL;
24133 }
24134
24135
24136 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24137 PyObject *resultobj = 0;
24138 wxPrintData *arg1 = (wxPrintData *) 0 ;
24139 bool arg2 ;
24140 void *argp1 = 0 ;
24141 int res1 = 0 ;
24142 bool val2 ;
24143 int ecode2 = 0 ;
24144 PyObject * obj0 = 0 ;
24145 PyObject * obj1 = 0 ;
24146 char * kwnames[] = {
24147 (char *) "self",(char *) "colour", NULL
24148 };
24149
24150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24151 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24152 if (!SWIG_IsOK(res1)) {
24153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24154 }
24155 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24156 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24157 if (!SWIG_IsOK(ecode2)) {
24158 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24159 }
24160 arg2 = static_cast< bool >(val2);
24161 {
24162 PyThreadState* __tstate = wxPyBeginAllowThreads();
24163 (arg1)->SetColour(arg2);
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
24167 resultobj = SWIG_Py_Void();
24168 return resultobj;
24169 fail:
24170 return NULL;
24171 }
24172
24173
24174 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24175 PyObject *resultobj = 0;
24176 wxPrintData *arg1 = (wxPrintData *) 0 ;
24177 wxDuplexMode arg2 ;
24178 void *argp1 = 0 ;
24179 int res1 = 0 ;
24180 int val2 ;
24181 int ecode2 = 0 ;
24182 PyObject * obj0 = 0 ;
24183 PyObject * obj1 = 0 ;
24184 char * kwnames[] = {
24185 (char *) "self",(char *) "duplex", NULL
24186 };
24187
24188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24190 if (!SWIG_IsOK(res1)) {
24191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24192 }
24193 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24194 ecode2 = SWIG_AsVal_int(obj1, &val2);
24195 if (!SWIG_IsOK(ecode2)) {
24196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24197 }
24198 arg2 = static_cast< wxDuplexMode >(val2);
24199 {
24200 PyThreadState* __tstate = wxPyBeginAllowThreads();
24201 (arg1)->SetDuplex(arg2);
24202 wxPyEndAllowThreads(__tstate);
24203 if (PyErr_Occurred()) SWIG_fail;
24204 }
24205 resultobj = SWIG_Py_Void();
24206 return resultobj;
24207 fail:
24208 return NULL;
24209 }
24210
24211
24212 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24213 PyObject *resultobj = 0;
24214 wxPrintData *arg1 = (wxPrintData *) 0 ;
24215 wxPaperSize arg2 ;
24216 void *argp1 = 0 ;
24217 int res1 = 0 ;
24218 int val2 ;
24219 int ecode2 = 0 ;
24220 PyObject * obj0 = 0 ;
24221 PyObject * obj1 = 0 ;
24222 char * kwnames[] = {
24223 (char *) "self",(char *) "sizeId", NULL
24224 };
24225
24226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24228 if (!SWIG_IsOK(res1)) {
24229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24230 }
24231 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24232 ecode2 = SWIG_AsVal_int(obj1, &val2);
24233 if (!SWIG_IsOK(ecode2)) {
24234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24235 }
24236 arg2 = static_cast< wxPaperSize >(val2);
24237 {
24238 PyThreadState* __tstate = wxPyBeginAllowThreads();
24239 (arg1)->SetPaperId(arg2);
24240 wxPyEndAllowThreads(__tstate);
24241 if (PyErr_Occurred()) SWIG_fail;
24242 }
24243 resultobj = SWIG_Py_Void();
24244 return resultobj;
24245 fail:
24246 return NULL;
24247 }
24248
24249
24250 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24251 PyObject *resultobj = 0;
24252 wxPrintData *arg1 = (wxPrintData *) 0 ;
24253 wxSize *arg2 = 0 ;
24254 void *argp1 = 0 ;
24255 int res1 = 0 ;
24256 wxSize temp2 ;
24257 PyObject * obj0 = 0 ;
24258 PyObject * obj1 = 0 ;
24259 char * kwnames[] = {
24260 (char *) "self",(char *) "sz", NULL
24261 };
24262
24263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24265 if (!SWIG_IsOK(res1)) {
24266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24267 }
24268 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24269 {
24270 arg2 = &temp2;
24271 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24272 }
24273 {
24274 PyThreadState* __tstate = wxPyBeginAllowThreads();
24275 (arg1)->SetPaperSize((wxSize const &)*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_SetQuality(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 *) "quality", NULL
24298 };
24299
24300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",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_SetQuality" "', 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_SetQuality" "', expected argument " "2"" of type '" "int""'");
24309 }
24310 arg2 = static_cast< int >(val2);
24311 {
24312 PyThreadState* __tstate = wxPyBeginAllowThreads();
24313 (arg1)->SetQuality(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_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24325 PyObject *resultobj = 0;
24326 wxPrintData *arg1 = (wxPrintData *) 0 ;
24327 wxPrintBin arg2 ;
24328 void *argp1 = 0 ;
24329 int res1 = 0 ;
24330 int val2 ;
24331 int ecode2 = 0 ;
24332 PyObject * obj0 = 0 ;
24333 PyObject * obj1 = 0 ;
24334 char * kwnames[] = {
24335 (char *) "self",(char *) "bin", NULL
24336 };
24337
24338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24340 if (!SWIG_IsOK(res1)) {
24341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24342 }
24343 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24344 ecode2 = SWIG_AsVal_int(obj1, &val2);
24345 if (!SWIG_IsOK(ecode2)) {
24346 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24347 }
24348 arg2 = static_cast< wxPrintBin >(val2);
24349 {
24350 PyThreadState* __tstate = wxPyBeginAllowThreads();
24351 (arg1)->SetBin(arg2);
24352 wxPyEndAllowThreads(__tstate);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
24355 resultobj = SWIG_Py_Void();
24356 return resultobj;
24357 fail:
24358 return NULL;
24359 }
24360
24361
24362 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24363 PyObject *resultobj = 0;
24364 wxPrintData *arg1 = (wxPrintData *) 0 ;
24365 wxPrintMode arg2 ;
24366 void *argp1 = 0 ;
24367 int res1 = 0 ;
24368 int val2 ;
24369 int ecode2 = 0 ;
24370 PyObject * obj0 = 0 ;
24371 PyObject * obj1 = 0 ;
24372 char * kwnames[] = {
24373 (char *) "self",(char *) "printMode", NULL
24374 };
24375
24376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24378 if (!SWIG_IsOK(res1)) {
24379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24380 }
24381 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24382 ecode2 = SWIG_AsVal_int(obj1, &val2);
24383 if (!SWIG_IsOK(ecode2)) {
24384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24385 }
24386 arg2 = static_cast< wxPrintMode >(val2);
24387 {
24388 PyThreadState* __tstate = wxPyBeginAllowThreads();
24389 (arg1)->SetPrintMode(arg2);
24390 wxPyEndAllowThreads(__tstate);
24391 if (PyErr_Occurred()) SWIG_fail;
24392 }
24393 resultobj = SWIG_Py_Void();
24394 return resultobj;
24395 fail:
24396 return NULL;
24397 }
24398
24399
24400 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24401 PyObject *resultobj = 0;
24402 wxPrintData *arg1 = (wxPrintData *) 0 ;
24403 wxString result;
24404 void *argp1 = 0 ;
24405 int res1 = 0 ;
24406 PyObject *swig_obj[1] ;
24407
24408 if (!args) SWIG_fail;
24409 swig_obj[0] = args;
24410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24411 if (!SWIG_IsOK(res1)) {
24412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24413 }
24414 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24415 {
24416 PyThreadState* __tstate = wxPyBeginAllowThreads();
24417 result = ((wxPrintData const *)arg1)->GetFilename();
24418 wxPyEndAllowThreads(__tstate);
24419 if (PyErr_Occurred()) SWIG_fail;
24420 }
24421 {
24422 #if wxUSE_UNICODE
24423 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24424 #else
24425 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24426 #endif
24427 }
24428 return resultobj;
24429 fail:
24430 return NULL;
24431 }
24432
24433
24434 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24435 PyObject *resultobj = 0;
24436 wxPrintData *arg1 = (wxPrintData *) 0 ;
24437 wxString *arg2 = 0 ;
24438 void *argp1 = 0 ;
24439 int res1 = 0 ;
24440 bool temp2 = false ;
24441 PyObject * obj0 = 0 ;
24442 PyObject * obj1 = 0 ;
24443 char * kwnames[] = {
24444 (char *) "self",(char *) "filename", NULL
24445 };
24446
24447 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24448 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24449 if (!SWIG_IsOK(res1)) {
24450 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24451 }
24452 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24453 {
24454 arg2 = wxString_in_helper(obj1);
24455 if (arg2 == NULL) SWIG_fail;
24456 temp2 = true;
24457 }
24458 {
24459 PyThreadState* __tstate = wxPyBeginAllowThreads();
24460 (arg1)->SetFilename((wxString const &)*arg2);
24461 wxPyEndAllowThreads(__tstate);
24462 if (PyErr_Occurred()) SWIG_fail;
24463 }
24464 resultobj = SWIG_Py_Void();
24465 {
24466 if (temp2)
24467 delete arg2;
24468 }
24469 return resultobj;
24470 fail:
24471 {
24472 if (temp2)
24473 delete arg2;
24474 }
24475 return NULL;
24476 }
24477
24478
24479 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24480 PyObject *resultobj = 0;
24481 wxPrintData *arg1 = (wxPrintData *) 0 ;
24482 PyObject *result = 0 ;
24483 void *argp1 = 0 ;
24484 int res1 = 0 ;
24485 PyObject *swig_obj[1] ;
24486
24487 if (!args) SWIG_fail;
24488 swig_obj[0] = args;
24489 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24490 if (!SWIG_IsOK(res1)) {
24491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24492 }
24493 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24494 {
24495 PyThreadState* __tstate = wxPyBeginAllowThreads();
24496 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24497 wxPyEndAllowThreads(__tstate);
24498 if (PyErr_Occurred()) SWIG_fail;
24499 }
24500 resultobj = result;
24501 return resultobj;
24502 fail:
24503 return NULL;
24504 }
24505
24506
24507 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24508 PyObject *resultobj = 0;
24509 wxPrintData *arg1 = (wxPrintData *) 0 ;
24510 PyObject *arg2 = (PyObject *) 0 ;
24511 void *argp1 = 0 ;
24512 int res1 = 0 ;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 char * kwnames[] = {
24516 (char *) "self",(char *) "data", NULL
24517 };
24518
24519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24521 if (!SWIG_IsOK(res1)) {
24522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24523 }
24524 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24525 arg2 = obj1;
24526 {
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 wxPrintData_SetPrivData(arg1,arg2);
24529 wxPyEndAllowThreads(__tstate);
24530 if (PyErr_Occurred()) SWIG_fail;
24531 }
24532 resultobj = SWIG_Py_Void();
24533 return resultobj;
24534 fail:
24535 return NULL;
24536 }
24537
24538
24539 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24540 PyObject *obj;
24541 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24542 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24543 return SWIG_Py_Void();
24544 }
24545
24546 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24547 return SWIG_Python_InitShadowInstance(args);
24548 }
24549
24550 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24551 PyObject *resultobj = 0;
24552 wxPageSetupDialogData *result = 0 ;
24553
24554 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24558 wxPyEndAllowThreads(__tstate);
24559 if (PyErr_Occurred()) SWIG_fail;
24560 }
24561 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24562 return resultobj;
24563 fail:
24564 return NULL;
24565 }
24566
24567
24568 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24569 PyObject *resultobj = 0;
24570 wxPageSetupDialogData *arg1 = 0 ;
24571 wxPageSetupDialogData *result = 0 ;
24572 void *argp1 = 0 ;
24573 int res1 = 0 ;
24574
24575 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24577 if (!SWIG_IsOK(res1)) {
24578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24579 }
24580 if (!argp1) {
24581 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24582 }
24583 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24584 {
24585 PyThreadState* __tstate = wxPyBeginAllowThreads();
24586 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24591 return resultobj;
24592 fail:
24593 return NULL;
24594 }
24595
24596
24597 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24598 PyObject *resultobj = 0;
24599 wxPrintData *arg1 = 0 ;
24600 wxPageSetupDialogData *result = 0 ;
24601 void *argp1 = 0 ;
24602 int res1 = 0 ;
24603
24604 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24605 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24606 if (!SWIG_IsOK(res1)) {
24607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24608 }
24609 if (!argp1) {
24610 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24611 }
24612 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24613 {
24614 PyThreadState* __tstate = wxPyBeginAllowThreads();
24615 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24616 wxPyEndAllowThreads(__tstate);
24617 if (PyErr_Occurred()) SWIG_fail;
24618 }
24619 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24620 return resultobj;
24621 fail:
24622 return NULL;
24623 }
24624
24625
24626 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24627 int argc;
24628 PyObject *argv[2];
24629
24630 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24631 --argc;
24632 if (argc == 0) {
24633 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24634 }
24635 if (argc == 1) {
24636 int _v = 0;
24637 {
24638 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24639 _v = SWIG_CheckState(res);
24640 }
24641 if (!_v) goto check_2;
24642 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24643 }
24644 check_2:
24645
24646 if (argc == 1) {
24647 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24648 }
24649
24650 fail:
24651 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24652 return NULL;
24653 }
24654
24655
24656 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24657 PyObject *resultobj = 0;
24658 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24659 void *argp1 = 0 ;
24660 int res1 = 0 ;
24661 PyObject *swig_obj[1] ;
24662
24663 if (!args) SWIG_fail;
24664 swig_obj[0] = args;
24665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24666 if (!SWIG_IsOK(res1)) {
24667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24668 }
24669 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24670 {
24671 PyThreadState* __tstate = wxPyBeginAllowThreads();
24672 delete arg1;
24673
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
24677 resultobj = SWIG_Py_Void();
24678 return resultobj;
24679 fail:
24680 return NULL;
24681 }
24682
24683
24684 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24685 PyObject *resultobj = 0;
24686 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24687 bool arg2 ;
24688 void *argp1 = 0 ;
24689 int res1 = 0 ;
24690 bool val2 ;
24691 int ecode2 = 0 ;
24692 PyObject * obj0 = 0 ;
24693 PyObject * obj1 = 0 ;
24694 char * kwnames[] = {
24695 (char *) "self",(char *) "flag", NULL
24696 };
24697
24698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24700 if (!SWIG_IsOK(res1)) {
24701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24702 }
24703 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24704 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24705 if (!SWIG_IsOK(ecode2)) {
24706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24707 }
24708 arg2 = static_cast< bool >(val2);
24709 {
24710 PyThreadState* __tstate = wxPyBeginAllowThreads();
24711 (arg1)->EnableHelp(arg2);
24712 wxPyEndAllowThreads(__tstate);
24713 if (PyErr_Occurred()) SWIG_fail;
24714 }
24715 resultobj = SWIG_Py_Void();
24716 return resultobj;
24717 fail:
24718 return NULL;
24719 }
24720
24721
24722 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24723 PyObject *resultobj = 0;
24724 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24725 bool arg2 ;
24726 void *argp1 = 0 ;
24727 int res1 = 0 ;
24728 bool val2 ;
24729 int ecode2 = 0 ;
24730 PyObject * obj0 = 0 ;
24731 PyObject * obj1 = 0 ;
24732 char * kwnames[] = {
24733 (char *) "self",(char *) "flag", NULL
24734 };
24735
24736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24738 if (!SWIG_IsOK(res1)) {
24739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24740 }
24741 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24742 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24743 if (!SWIG_IsOK(ecode2)) {
24744 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24745 }
24746 arg2 = static_cast< bool >(val2);
24747 {
24748 PyThreadState* __tstate = wxPyBeginAllowThreads();
24749 (arg1)->EnableMargins(arg2);
24750 wxPyEndAllowThreads(__tstate);
24751 if (PyErr_Occurred()) SWIG_fail;
24752 }
24753 resultobj = SWIG_Py_Void();
24754 return resultobj;
24755 fail:
24756 return NULL;
24757 }
24758
24759
24760 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24761 PyObject *resultobj = 0;
24762 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24763 bool arg2 ;
24764 void *argp1 = 0 ;
24765 int res1 = 0 ;
24766 bool val2 ;
24767 int ecode2 = 0 ;
24768 PyObject * obj0 = 0 ;
24769 PyObject * obj1 = 0 ;
24770 char * kwnames[] = {
24771 (char *) "self",(char *) "flag", NULL
24772 };
24773
24774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24776 if (!SWIG_IsOK(res1)) {
24777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24778 }
24779 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24780 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24781 if (!SWIG_IsOK(ecode2)) {
24782 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24783 }
24784 arg2 = static_cast< bool >(val2);
24785 {
24786 PyThreadState* __tstate = wxPyBeginAllowThreads();
24787 (arg1)->EnableOrientation(arg2);
24788 wxPyEndAllowThreads(__tstate);
24789 if (PyErr_Occurred()) SWIG_fail;
24790 }
24791 resultobj = SWIG_Py_Void();
24792 return resultobj;
24793 fail:
24794 return NULL;
24795 }
24796
24797
24798 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24799 PyObject *resultobj = 0;
24800 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24801 bool arg2 ;
24802 void *argp1 = 0 ;
24803 int res1 = 0 ;
24804 bool val2 ;
24805 int ecode2 = 0 ;
24806 PyObject * obj0 = 0 ;
24807 PyObject * obj1 = 0 ;
24808 char * kwnames[] = {
24809 (char *) "self",(char *) "flag", NULL
24810 };
24811
24812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24814 if (!SWIG_IsOK(res1)) {
24815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24816 }
24817 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24818 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24819 if (!SWIG_IsOK(ecode2)) {
24820 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24821 }
24822 arg2 = static_cast< bool >(val2);
24823 {
24824 PyThreadState* __tstate = wxPyBeginAllowThreads();
24825 (arg1)->EnablePaper(arg2);
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
24829 resultobj = SWIG_Py_Void();
24830 return resultobj;
24831 fail:
24832 return NULL;
24833 }
24834
24835
24836 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj = 0;
24838 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24839 bool arg2 ;
24840 void *argp1 = 0 ;
24841 int res1 = 0 ;
24842 bool val2 ;
24843 int ecode2 = 0 ;
24844 PyObject * obj0 = 0 ;
24845 PyObject * obj1 = 0 ;
24846 char * kwnames[] = {
24847 (char *) "self",(char *) "flag", NULL
24848 };
24849
24850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24852 if (!SWIG_IsOK(res1)) {
24853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24854 }
24855 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24856 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24857 if (!SWIG_IsOK(ecode2)) {
24858 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24859 }
24860 arg2 = static_cast< bool >(val2);
24861 {
24862 PyThreadState* __tstate = wxPyBeginAllowThreads();
24863 (arg1)->EnablePrinter(arg2);
24864 wxPyEndAllowThreads(__tstate);
24865 if (PyErr_Occurred()) SWIG_fail;
24866 }
24867 resultobj = SWIG_Py_Void();
24868 return resultobj;
24869 fail:
24870 return NULL;
24871 }
24872
24873
24874 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24875 PyObject *resultobj = 0;
24876 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24877 bool result;
24878 void *argp1 = 0 ;
24879 int res1 = 0 ;
24880 PyObject *swig_obj[1] ;
24881
24882 if (!args) SWIG_fail;
24883 swig_obj[0] = args;
24884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24885 if (!SWIG_IsOK(res1)) {
24886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24887 }
24888 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24889 {
24890 PyThreadState* __tstate = wxPyBeginAllowThreads();
24891 result = (bool)(arg1)->GetDefaultMinMargins();
24892 wxPyEndAllowThreads(__tstate);
24893 if (PyErr_Occurred()) SWIG_fail;
24894 }
24895 {
24896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24897 }
24898 return resultobj;
24899 fail:
24900 return NULL;
24901 }
24902
24903
24904 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24905 PyObject *resultobj = 0;
24906 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24907 bool result;
24908 void *argp1 = 0 ;
24909 int res1 = 0 ;
24910 PyObject *swig_obj[1] ;
24911
24912 if (!args) SWIG_fail;
24913 swig_obj[0] = args;
24914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24915 if (!SWIG_IsOK(res1)) {
24916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24917 }
24918 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24919 {
24920 PyThreadState* __tstate = wxPyBeginAllowThreads();
24921 result = (bool)(arg1)->GetEnableMargins();
24922 wxPyEndAllowThreads(__tstate);
24923 if (PyErr_Occurred()) SWIG_fail;
24924 }
24925 {
24926 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24927 }
24928 return resultobj;
24929 fail:
24930 return NULL;
24931 }
24932
24933
24934 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24935 PyObject *resultobj = 0;
24936 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24937 bool result;
24938 void *argp1 = 0 ;
24939 int res1 = 0 ;
24940 PyObject *swig_obj[1] ;
24941
24942 if (!args) SWIG_fail;
24943 swig_obj[0] = args;
24944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24945 if (!SWIG_IsOK(res1)) {
24946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24947 }
24948 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24949 {
24950 PyThreadState* __tstate = wxPyBeginAllowThreads();
24951 result = (bool)(arg1)->GetEnableOrientation();
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 {
24956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24957 }
24958 return resultobj;
24959 fail:
24960 return NULL;
24961 }
24962
24963
24964 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24965 PyObject *resultobj = 0;
24966 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24967 bool result;
24968 void *argp1 = 0 ;
24969 int res1 = 0 ;
24970 PyObject *swig_obj[1] ;
24971
24972 if (!args) SWIG_fail;
24973 swig_obj[0] = args;
24974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24975 if (!SWIG_IsOK(res1)) {
24976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24977 }
24978 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24979 {
24980 PyThreadState* __tstate = wxPyBeginAllowThreads();
24981 result = (bool)(arg1)->GetEnablePaper();
24982 wxPyEndAllowThreads(__tstate);
24983 if (PyErr_Occurred()) SWIG_fail;
24984 }
24985 {
24986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24987 }
24988 return resultobj;
24989 fail:
24990 return NULL;
24991 }
24992
24993
24994 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24995 PyObject *resultobj = 0;
24996 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24997 bool result;
24998 void *argp1 = 0 ;
24999 int res1 = 0 ;
25000 PyObject *swig_obj[1] ;
25001
25002 if (!args) SWIG_fail;
25003 swig_obj[0] = args;
25004 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25005 if (!SWIG_IsOK(res1)) {
25006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25007 }
25008 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25009 {
25010 PyThreadState* __tstate = wxPyBeginAllowThreads();
25011 result = (bool)(arg1)->GetEnablePrinter();
25012 wxPyEndAllowThreads(__tstate);
25013 if (PyErr_Occurred()) SWIG_fail;
25014 }
25015 {
25016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25017 }
25018 return resultobj;
25019 fail:
25020 return NULL;
25021 }
25022
25023
25024 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25025 PyObject *resultobj = 0;
25026 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25027 bool result;
25028 void *argp1 = 0 ;
25029 int res1 = 0 ;
25030 PyObject *swig_obj[1] ;
25031
25032 if (!args) SWIG_fail;
25033 swig_obj[0] = args;
25034 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25035 if (!SWIG_IsOK(res1)) {
25036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25037 }
25038 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25039 {
25040 PyThreadState* __tstate = wxPyBeginAllowThreads();
25041 result = (bool)(arg1)->GetEnableHelp();
25042 wxPyEndAllowThreads(__tstate);
25043 if (PyErr_Occurred()) SWIG_fail;
25044 }
25045 {
25046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25047 }
25048 return resultobj;
25049 fail:
25050 return NULL;
25051 }
25052
25053
25054 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25055 PyObject *resultobj = 0;
25056 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25057 bool result;
25058 void *argp1 = 0 ;
25059 int res1 = 0 ;
25060 PyObject *swig_obj[1] ;
25061
25062 if (!args) SWIG_fail;
25063 swig_obj[0] = args;
25064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25065 if (!SWIG_IsOK(res1)) {
25066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25067 }
25068 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25069 {
25070 PyThreadState* __tstate = wxPyBeginAllowThreads();
25071 result = (bool)(arg1)->GetDefaultInfo();
25072 wxPyEndAllowThreads(__tstate);
25073 if (PyErr_Occurred()) SWIG_fail;
25074 }
25075 {
25076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25077 }
25078 return resultobj;
25079 fail:
25080 return NULL;
25081 }
25082
25083
25084 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25085 PyObject *resultobj = 0;
25086 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25087 wxPoint result;
25088 void *argp1 = 0 ;
25089 int res1 = 0 ;
25090 PyObject *swig_obj[1] ;
25091
25092 if (!args) SWIG_fail;
25093 swig_obj[0] = args;
25094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25095 if (!SWIG_IsOK(res1)) {
25096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25097 }
25098 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25099 {
25100 PyThreadState* __tstate = wxPyBeginAllowThreads();
25101 result = (arg1)->GetMarginTopLeft();
25102 wxPyEndAllowThreads(__tstate);
25103 if (PyErr_Occurred()) SWIG_fail;
25104 }
25105 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25106 return resultobj;
25107 fail:
25108 return NULL;
25109 }
25110
25111
25112 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25113 PyObject *resultobj = 0;
25114 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25115 wxPoint result;
25116 void *argp1 = 0 ;
25117 int res1 = 0 ;
25118 PyObject *swig_obj[1] ;
25119
25120 if (!args) SWIG_fail;
25121 swig_obj[0] = args;
25122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25123 if (!SWIG_IsOK(res1)) {
25124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25125 }
25126 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25127 {
25128 PyThreadState* __tstate = wxPyBeginAllowThreads();
25129 result = (arg1)->GetMarginBottomRight();
25130 wxPyEndAllowThreads(__tstate);
25131 if (PyErr_Occurred()) SWIG_fail;
25132 }
25133 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25134 return resultobj;
25135 fail:
25136 return NULL;
25137 }
25138
25139
25140 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25141 PyObject *resultobj = 0;
25142 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25143 wxPoint result;
25144 void *argp1 = 0 ;
25145 int res1 = 0 ;
25146 PyObject *swig_obj[1] ;
25147
25148 if (!args) SWIG_fail;
25149 swig_obj[0] = args;
25150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25151 if (!SWIG_IsOK(res1)) {
25152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25153 }
25154 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25155 {
25156 PyThreadState* __tstate = wxPyBeginAllowThreads();
25157 result = (arg1)->GetMinMarginTopLeft();
25158 wxPyEndAllowThreads(__tstate);
25159 if (PyErr_Occurred()) SWIG_fail;
25160 }
25161 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25162 return resultobj;
25163 fail:
25164 return NULL;
25165 }
25166
25167
25168 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25169 PyObject *resultobj = 0;
25170 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25171 wxPoint result;
25172 void *argp1 = 0 ;
25173 int res1 = 0 ;
25174 PyObject *swig_obj[1] ;
25175
25176 if (!args) SWIG_fail;
25177 swig_obj[0] = args;
25178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25179 if (!SWIG_IsOK(res1)) {
25180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25181 }
25182 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 result = (arg1)->GetMinMarginBottomRight();
25186 wxPyEndAllowThreads(__tstate);
25187 if (PyErr_Occurred()) SWIG_fail;
25188 }
25189 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25190 return resultobj;
25191 fail:
25192 return NULL;
25193 }
25194
25195
25196 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25197 PyObject *resultobj = 0;
25198 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25199 wxPaperSize result;
25200 void *argp1 = 0 ;
25201 int res1 = 0 ;
25202 PyObject *swig_obj[1] ;
25203
25204 if (!args) SWIG_fail;
25205 swig_obj[0] = args;
25206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25207 if (!SWIG_IsOK(res1)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25209 }
25210 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25211 {
25212 PyThreadState* __tstate = wxPyBeginAllowThreads();
25213 result = (wxPaperSize)(arg1)->GetPaperId();
25214 wxPyEndAllowThreads(__tstate);
25215 if (PyErr_Occurred()) SWIG_fail;
25216 }
25217 resultobj = SWIG_From_int(static_cast< int >(result));
25218 return resultobj;
25219 fail:
25220 return NULL;
25221 }
25222
25223
25224 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25225 PyObject *resultobj = 0;
25226 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25227 wxSize result;
25228 void *argp1 = 0 ;
25229 int res1 = 0 ;
25230 PyObject *swig_obj[1] ;
25231
25232 if (!args) SWIG_fail;
25233 swig_obj[0] = args;
25234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25235 if (!SWIG_IsOK(res1)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25237 }
25238 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25239 {
25240 PyThreadState* __tstate = wxPyBeginAllowThreads();
25241 result = (arg1)->GetPaperSize();
25242 wxPyEndAllowThreads(__tstate);
25243 if (PyErr_Occurred()) SWIG_fail;
25244 }
25245 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25246 return resultobj;
25247 fail:
25248 return NULL;
25249 }
25250
25251
25252 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25253 PyObject *resultobj = 0;
25254 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25255 wxPrintData *result = 0 ;
25256 void *argp1 = 0 ;
25257 int res1 = 0 ;
25258 PyObject *swig_obj[1] ;
25259
25260 if (!args) SWIG_fail;
25261 swig_obj[0] = args;
25262 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25263 if (!SWIG_IsOK(res1)) {
25264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25265 }
25266 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25267 {
25268 PyThreadState* __tstate = wxPyBeginAllowThreads();
25269 {
25270 wxPrintData &_result_ref = (arg1)->GetPrintData();
25271 result = (wxPrintData *) &_result_ref;
25272 }
25273 wxPyEndAllowThreads(__tstate);
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25277 return resultobj;
25278 fail:
25279 return NULL;
25280 }
25281
25282
25283 SWIGINTERN PyObject *_wrap_PageSetupDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25284 PyObject *resultobj = 0;
25285 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25286 bool result;
25287 void *argp1 = 0 ;
25288 int res1 = 0 ;
25289 PyObject *swig_obj[1] ;
25290
25291 if (!args) SWIG_fail;
25292 swig_obj[0] = args;
25293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25294 if (!SWIG_IsOK(res1)) {
25295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25296 }
25297 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25298 {
25299 PyThreadState* __tstate = wxPyBeginAllowThreads();
25300 result = (bool)(arg1)->Ok();
25301 wxPyEndAllowThreads(__tstate);
25302 if (PyErr_Occurred()) SWIG_fail;
25303 }
25304 {
25305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25306 }
25307 return resultobj;
25308 fail:
25309 return NULL;
25310 }
25311
25312
25313 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25314 PyObject *resultobj = 0;
25315 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25316 bool arg2 ;
25317 void *argp1 = 0 ;
25318 int res1 = 0 ;
25319 bool val2 ;
25320 int ecode2 = 0 ;
25321 PyObject * obj0 = 0 ;
25322 PyObject * obj1 = 0 ;
25323 char * kwnames[] = {
25324 (char *) "self",(char *) "flag", NULL
25325 };
25326
25327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25329 if (!SWIG_IsOK(res1)) {
25330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25331 }
25332 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25333 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25334 if (!SWIG_IsOK(ecode2)) {
25335 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25336 }
25337 arg2 = static_cast< bool >(val2);
25338 {
25339 PyThreadState* __tstate = wxPyBeginAllowThreads();
25340 (arg1)->SetDefaultInfo(arg2);
25341 wxPyEndAllowThreads(__tstate);
25342 if (PyErr_Occurred()) SWIG_fail;
25343 }
25344 resultobj = SWIG_Py_Void();
25345 return resultobj;
25346 fail:
25347 return NULL;
25348 }
25349
25350
25351 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25352 PyObject *resultobj = 0;
25353 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25354 bool arg2 ;
25355 void *argp1 = 0 ;
25356 int res1 = 0 ;
25357 bool val2 ;
25358 int ecode2 = 0 ;
25359 PyObject * obj0 = 0 ;
25360 PyObject * obj1 = 0 ;
25361 char * kwnames[] = {
25362 (char *) "self",(char *) "flag", NULL
25363 };
25364
25365 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25366 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25367 if (!SWIG_IsOK(res1)) {
25368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25369 }
25370 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25371 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25372 if (!SWIG_IsOK(ecode2)) {
25373 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25374 }
25375 arg2 = static_cast< bool >(val2);
25376 {
25377 PyThreadState* __tstate = wxPyBeginAllowThreads();
25378 (arg1)->SetDefaultMinMargins(arg2);
25379 wxPyEndAllowThreads(__tstate);
25380 if (PyErr_Occurred()) SWIG_fail;
25381 }
25382 resultobj = SWIG_Py_Void();
25383 return resultobj;
25384 fail:
25385 return NULL;
25386 }
25387
25388
25389 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25390 PyObject *resultobj = 0;
25391 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25392 wxPoint *arg2 = 0 ;
25393 void *argp1 = 0 ;
25394 int res1 = 0 ;
25395 wxPoint temp2 ;
25396 PyObject * obj0 = 0 ;
25397 PyObject * obj1 = 0 ;
25398 char * kwnames[] = {
25399 (char *) "self",(char *) "pt", NULL
25400 };
25401
25402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25404 if (!SWIG_IsOK(res1)) {
25405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25406 }
25407 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25408 {
25409 arg2 = &temp2;
25410 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25411 }
25412 {
25413 PyThreadState* __tstate = wxPyBeginAllowThreads();
25414 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25415 wxPyEndAllowThreads(__tstate);
25416 if (PyErr_Occurred()) SWIG_fail;
25417 }
25418 resultobj = SWIG_Py_Void();
25419 return resultobj;
25420 fail:
25421 return NULL;
25422 }
25423
25424
25425 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25426 PyObject *resultobj = 0;
25427 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25428 wxPoint *arg2 = 0 ;
25429 void *argp1 = 0 ;
25430 int res1 = 0 ;
25431 wxPoint temp2 ;
25432 PyObject * obj0 = 0 ;
25433 PyObject * obj1 = 0 ;
25434 char * kwnames[] = {
25435 (char *) "self",(char *) "pt", NULL
25436 };
25437
25438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25440 if (!SWIG_IsOK(res1)) {
25441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25442 }
25443 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25444 {
25445 arg2 = &temp2;
25446 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25447 }
25448 {
25449 PyThreadState* __tstate = wxPyBeginAllowThreads();
25450 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25451 wxPyEndAllowThreads(__tstate);
25452 if (PyErr_Occurred()) SWIG_fail;
25453 }
25454 resultobj = SWIG_Py_Void();
25455 return resultobj;
25456 fail:
25457 return NULL;
25458 }
25459
25460
25461 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25462 PyObject *resultobj = 0;
25463 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25464 wxPoint *arg2 = 0 ;
25465 void *argp1 = 0 ;
25466 int res1 = 0 ;
25467 wxPoint temp2 ;
25468 PyObject * obj0 = 0 ;
25469 PyObject * obj1 = 0 ;
25470 char * kwnames[] = {
25471 (char *) "self",(char *) "pt", NULL
25472 };
25473
25474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25476 if (!SWIG_IsOK(res1)) {
25477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25478 }
25479 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25480 {
25481 arg2 = &temp2;
25482 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25483 }
25484 {
25485 PyThreadState* __tstate = wxPyBeginAllowThreads();
25486 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25487 wxPyEndAllowThreads(__tstate);
25488 if (PyErr_Occurred()) SWIG_fail;
25489 }
25490 resultobj = SWIG_Py_Void();
25491 return resultobj;
25492 fail:
25493 return NULL;
25494 }
25495
25496
25497 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25498 PyObject *resultobj = 0;
25499 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25500 wxPoint *arg2 = 0 ;
25501 void *argp1 = 0 ;
25502 int res1 = 0 ;
25503 wxPoint temp2 ;
25504 PyObject * obj0 = 0 ;
25505 PyObject * obj1 = 0 ;
25506 char * kwnames[] = {
25507 (char *) "self",(char *) "pt", NULL
25508 };
25509
25510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25512 if (!SWIG_IsOK(res1)) {
25513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25514 }
25515 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25516 {
25517 arg2 = &temp2;
25518 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25519 }
25520 {
25521 PyThreadState* __tstate = wxPyBeginAllowThreads();
25522 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25523 wxPyEndAllowThreads(__tstate);
25524 if (PyErr_Occurred()) SWIG_fail;
25525 }
25526 resultobj = SWIG_Py_Void();
25527 return resultobj;
25528 fail:
25529 return NULL;
25530 }
25531
25532
25533 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25534 PyObject *resultobj = 0;
25535 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25536 wxPaperSize arg2 ;
25537 void *argp1 = 0 ;
25538 int res1 = 0 ;
25539 int val2 ;
25540 int ecode2 = 0 ;
25541 PyObject * obj0 = 0 ;
25542 PyObject * obj1 = 0 ;
25543 char * kwnames[] = {
25544 (char *) "self",(char *) "id", NULL
25545 };
25546
25547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25549 if (!SWIG_IsOK(res1)) {
25550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25551 }
25552 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25553 ecode2 = SWIG_AsVal_int(obj1, &val2);
25554 if (!SWIG_IsOK(ecode2)) {
25555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25556 }
25557 arg2 = static_cast< wxPaperSize >(val2);
25558 {
25559 PyThreadState* __tstate = wxPyBeginAllowThreads();
25560 (arg1)->SetPaperId(arg2);
25561 wxPyEndAllowThreads(__tstate);
25562 if (PyErr_Occurred()) SWIG_fail;
25563 }
25564 resultobj = SWIG_Py_Void();
25565 return resultobj;
25566 fail:
25567 return NULL;
25568 }
25569
25570
25571 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25572 PyObject *resultobj = 0;
25573 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25574 wxSize *arg2 = 0 ;
25575 void *argp1 = 0 ;
25576 int res1 = 0 ;
25577 wxSize temp2 ;
25578 PyObject * obj0 = 0 ;
25579 PyObject * obj1 = 0 ;
25580 char * kwnames[] = {
25581 (char *) "self",(char *) "size", NULL
25582 };
25583
25584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25586 if (!SWIG_IsOK(res1)) {
25587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25588 }
25589 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25590 {
25591 arg2 = &temp2;
25592 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25593 }
25594 {
25595 PyThreadState* __tstate = wxPyBeginAllowThreads();
25596 (arg1)->SetPaperSize((wxSize const &)*arg2);
25597 wxPyEndAllowThreads(__tstate);
25598 if (PyErr_Occurred()) SWIG_fail;
25599 }
25600 resultobj = SWIG_Py_Void();
25601 return resultobj;
25602 fail:
25603 return NULL;
25604 }
25605
25606
25607 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25608 PyObject *resultobj = 0;
25609 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25610 wxPrintData *arg2 = 0 ;
25611 void *argp1 = 0 ;
25612 int res1 = 0 ;
25613 void *argp2 = 0 ;
25614 int res2 = 0 ;
25615 PyObject * obj0 = 0 ;
25616 PyObject * obj1 = 0 ;
25617 char * kwnames[] = {
25618 (char *) "self",(char *) "printData", NULL
25619 };
25620
25621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25623 if (!SWIG_IsOK(res1)) {
25624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25625 }
25626 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25627 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25628 if (!SWIG_IsOK(res2)) {
25629 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25630 }
25631 if (!argp2) {
25632 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25633 }
25634 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25635 {
25636 PyThreadState* __tstate = wxPyBeginAllowThreads();
25637 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25638 wxPyEndAllowThreads(__tstate);
25639 if (PyErr_Occurred()) SWIG_fail;
25640 }
25641 resultobj = SWIG_Py_Void();
25642 return resultobj;
25643 fail:
25644 return NULL;
25645 }
25646
25647
25648 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25649 PyObject *resultobj = 0;
25650 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25651 void *argp1 = 0 ;
25652 int res1 = 0 ;
25653 PyObject *swig_obj[1] ;
25654
25655 if (!args) SWIG_fail;
25656 swig_obj[0] = args;
25657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25658 if (!SWIG_IsOK(res1)) {
25659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25660 }
25661 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25662 {
25663 PyThreadState* __tstate = wxPyBeginAllowThreads();
25664 (arg1)->CalculateIdFromPaperSize();
25665 wxPyEndAllowThreads(__tstate);
25666 if (PyErr_Occurred()) SWIG_fail;
25667 }
25668 resultobj = SWIG_Py_Void();
25669 return resultobj;
25670 fail:
25671 return NULL;
25672 }
25673
25674
25675 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25676 PyObject *resultobj = 0;
25677 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25678 void *argp1 = 0 ;
25679 int res1 = 0 ;
25680 PyObject *swig_obj[1] ;
25681
25682 if (!args) SWIG_fail;
25683 swig_obj[0] = args;
25684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25685 if (!SWIG_IsOK(res1)) {
25686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25687 }
25688 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25689 {
25690 PyThreadState* __tstate = wxPyBeginAllowThreads();
25691 (arg1)->CalculatePaperSizeFromId();
25692 wxPyEndAllowThreads(__tstate);
25693 if (PyErr_Occurred()) SWIG_fail;
25694 }
25695 resultobj = SWIG_Py_Void();
25696 return resultobj;
25697 fail:
25698 return NULL;
25699 }
25700
25701
25702 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25703 PyObject *obj;
25704 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25705 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25706 return SWIG_Py_Void();
25707 }
25708
25709 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25710 return SWIG_Python_InitShadowInstance(args);
25711 }
25712
25713 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25714 PyObject *resultobj = 0;
25715 wxWindow *arg1 = (wxWindow *) 0 ;
25716 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25717 wxPageSetupDialog *result = 0 ;
25718 void *argp1 = 0 ;
25719 int res1 = 0 ;
25720 void *argp2 = 0 ;
25721 int res2 = 0 ;
25722 PyObject * obj0 = 0 ;
25723 PyObject * obj1 = 0 ;
25724 char * kwnames[] = {
25725 (char *) "parent",(char *) "data", NULL
25726 };
25727
25728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25730 if (!SWIG_IsOK(res1)) {
25731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25732 }
25733 arg1 = reinterpret_cast< wxWindow * >(argp1);
25734 if (obj1) {
25735 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25736 if (!SWIG_IsOK(res2)) {
25737 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25738 }
25739 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25740 }
25741 {
25742 if (!wxPyCheckForApp()) SWIG_fail;
25743 PyThreadState* __tstate = wxPyBeginAllowThreads();
25744 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25745 wxPyEndAllowThreads(__tstate);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
25748 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25749 return resultobj;
25750 fail:
25751 return NULL;
25752 }
25753
25754
25755 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25756 PyObject *resultobj = 0;
25757 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25758 void *argp1 = 0 ;
25759 int res1 = 0 ;
25760 PyObject *swig_obj[1] ;
25761
25762 if (!args) SWIG_fail;
25763 swig_obj[0] = args;
25764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25765 if (!SWIG_IsOK(res1)) {
25766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25767 }
25768 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25769 {
25770 PyThreadState* __tstate = wxPyBeginAllowThreads();
25771 delete arg1;
25772
25773 wxPyEndAllowThreads(__tstate);
25774 if (PyErr_Occurred()) SWIG_fail;
25775 }
25776 resultobj = SWIG_Py_Void();
25777 return resultobj;
25778 fail:
25779 return NULL;
25780 }
25781
25782
25783 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25784 PyObject *resultobj = 0;
25785 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25786 wxPageSetupDialogData *result = 0 ;
25787 void *argp1 = 0 ;
25788 int res1 = 0 ;
25789 PyObject *swig_obj[1] ;
25790
25791 if (!args) SWIG_fail;
25792 swig_obj[0] = args;
25793 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25794 if (!SWIG_IsOK(res1)) {
25795 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25796 }
25797 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25798 {
25799 PyThreadState* __tstate = wxPyBeginAllowThreads();
25800 {
25801 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25802 result = (wxPageSetupDialogData *) &_result_ref;
25803 }
25804 wxPyEndAllowThreads(__tstate);
25805 if (PyErr_Occurred()) SWIG_fail;
25806 }
25807 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25808 return resultobj;
25809 fail:
25810 return NULL;
25811 }
25812
25813
25814 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25815 PyObject *resultobj = 0;
25816 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25817 wxPageSetupDialogData *result = 0 ;
25818 void *argp1 = 0 ;
25819 int res1 = 0 ;
25820 PyObject *swig_obj[1] ;
25821
25822 if (!args) SWIG_fail;
25823 swig_obj[0] = args;
25824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25825 if (!SWIG_IsOK(res1)) {
25826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25827 }
25828 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25829 {
25830 PyThreadState* __tstate = wxPyBeginAllowThreads();
25831 {
25832 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25833 result = (wxPageSetupDialogData *) &_result_ref;
25834 }
25835 wxPyEndAllowThreads(__tstate);
25836 if (PyErr_Occurred()) SWIG_fail;
25837 }
25838 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25839 return resultobj;
25840 fail:
25841 return NULL;
25842 }
25843
25844
25845 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25846 PyObject *resultobj = 0;
25847 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25848 int result;
25849 void *argp1 = 0 ;
25850 int res1 = 0 ;
25851 PyObject *swig_obj[1] ;
25852
25853 if (!args) SWIG_fail;
25854 swig_obj[0] = args;
25855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25856 if (!SWIG_IsOK(res1)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25858 }
25859 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25860 {
25861 PyThreadState* __tstate = wxPyBeginAllowThreads();
25862 result = (int)(arg1)->ShowModal();
25863 wxPyEndAllowThreads(__tstate);
25864 if (PyErr_Occurred()) SWIG_fail;
25865 }
25866 resultobj = SWIG_From_int(static_cast< int >(result));
25867 return resultobj;
25868 fail:
25869 return NULL;
25870 }
25871
25872
25873 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25874 PyObject *obj;
25875 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25876 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25877 return SWIG_Py_Void();
25878 }
25879
25880 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25881 return SWIG_Python_InitShadowInstance(args);
25882 }
25883
25884 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25885 PyObject *resultobj = 0;
25886 wxPrintDialogData *result = 0 ;
25887
25888 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25889 {
25890 PyThreadState* __tstate = wxPyBeginAllowThreads();
25891 result = (wxPrintDialogData *)new wxPrintDialogData();
25892 wxPyEndAllowThreads(__tstate);
25893 if (PyErr_Occurred()) SWIG_fail;
25894 }
25895 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25896 return resultobj;
25897 fail:
25898 return NULL;
25899 }
25900
25901
25902 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25903 PyObject *resultobj = 0;
25904 wxPrintData *arg1 = 0 ;
25905 wxPrintDialogData *result = 0 ;
25906 void *argp1 = 0 ;
25907 int res1 = 0 ;
25908
25909 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25911 if (!SWIG_IsOK(res1)) {
25912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25913 }
25914 if (!argp1) {
25915 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25916 }
25917 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25918 {
25919 PyThreadState* __tstate = wxPyBeginAllowThreads();
25920 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25921 wxPyEndAllowThreads(__tstate);
25922 if (PyErr_Occurred()) SWIG_fail;
25923 }
25924 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25925 return resultobj;
25926 fail:
25927 return NULL;
25928 }
25929
25930
25931 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25932 PyObject *resultobj = 0;
25933 wxPrintDialogData *arg1 = 0 ;
25934 wxPrintDialogData *result = 0 ;
25935 void *argp1 = 0 ;
25936 int res1 = 0 ;
25937
25938 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
25940 if (!SWIG_IsOK(res1)) {
25941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25942 }
25943 if (!argp1) {
25944 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25945 }
25946 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
25947 {
25948 PyThreadState* __tstate = wxPyBeginAllowThreads();
25949 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
25950 wxPyEndAllowThreads(__tstate);
25951 if (PyErr_Occurred()) SWIG_fail;
25952 }
25953 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25954 return resultobj;
25955 fail:
25956 return NULL;
25957 }
25958
25959
25960 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
25961 int argc;
25962 PyObject *argv[2];
25963
25964 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
25965 --argc;
25966 if (argc == 0) {
25967 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
25968 }
25969 if (argc == 1) {
25970 int _v = 0;
25971 {
25972 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
25973 _v = SWIG_CheckState(res);
25974 }
25975 if (!_v) goto check_2;
25976 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
25977 }
25978 check_2:
25979
25980 if (argc == 1) {
25981 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
25982 }
25983
25984 fail:
25985 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
25986 return NULL;
25987 }
25988
25989
25990 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25991 PyObject *resultobj = 0;
25992 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
25993 void *argp1 = 0 ;
25994 int res1 = 0 ;
25995 PyObject *swig_obj[1] ;
25996
25997 if (!args) SWIG_fail;
25998 swig_obj[0] = args;
25999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26000 if (!SWIG_IsOK(res1)) {
26001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26002 }
26003 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26004 {
26005 PyThreadState* __tstate = wxPyBeginAllowThreads();
26006 delete arg1;
26007
26008 wxPyEndAllowThreads(__tstate);
26009 if (PyErr_Occurred()) SWIG_fail;
26010 }
26011 resultobj = SWIG_Py_Void();
26012 return resultobj;
26013 fail:
26014 return NULL;
26015 }
26016
26017
26018 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26019 PyObject *resultobj = 0;
26020 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26021 int result;
26022 void *argp1 = 0 ;
26023 int res1 = 0 ;
26024 PyObject *swig_obj[1] ;
26025
26026 if (!args) SWIG_fail;
26027 swig_obj[0] = args;
26028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26029 if (!SWIG_IsOK(res1)) {
26030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26031 }
26032 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26033 {
26034 PyThreadState* __tstate = wxPyBeginAllowThreads();
26035 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 resultobj = SWIG_From_int(static_cast< int >(result));
26040 return resultobj;
26041 fail:
26042 return NULL;
26043 }
26044
26045
26046 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26047 PyObject *resultobj = 0;
26048 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26049 int result;
26050 void *argp1 = 0 ;
26051 int res1 = 0 ;
26052 PyObject *swig_obj[1] ;
26053
26054 if (!args) SWIG_fail;
26055 swig_obj[0] = args;
26056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26057 if (!SWIG_IsOK(res1)) {
26058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26059 }
26060 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26061 {
26062 PyThreadState* __tstate = wxPyBeginAllowThreads();
26063 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26064 wxPyEndAllowThreads(__tstate);
26065 if (PyErr_Occurred()) SWIG_fail;
26066 }
26067 resultobj = SWIG_From_int(static_cast< int >(result));
26068 return resultobj;
26069 fail:
26070 return NULL;
26071 }
26072
26073
26074 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26075 PyObject *resultobj = 0;
26076 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26077 int result;
26078 void *argp1 = 0 ;
26079 int res1 = 0 ;
26080 PyObject *swig_obj[1] ;
26081
26082 if (!args) SWIG_fail;
26083 swig_obj[0] = args;
26084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26085 if (!SWIG_IsOK(res1)) {
26086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26087 }
26088 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26089 {
26090 PyThreadState* __tstate = wxPyBeginAllowThreads();
26091 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26092 wxPyEndAllowThreads(__tstate);
26093 if (PyErr_Occurred()) SWIG_fail;
26094 }
26095 resultobj = SWIG_From_int(static_cast< int >(result));
26096 return resultobj;
26097 fail:
26098 return NULL;
26099 }
26100
26101
26102 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26103 PyObject *resultobj = 0;
26104 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26105 int result;
26106 void *argp1 = 0 ;
26107 int res1 = 0 ;
26108 PyObject *swig_obj[1] ;
26109
26110 if (!args) SWIG_fail;
26111 swig_obj[0] = args;
26112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26113 if (!SWIG_IsOK(res1)) {
26114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26115 }
26116 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26117 {
26118 PyThreadState* __tstate = wxPyBeginAllowThreads();
26119 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26120 wxPyEndAllowThreads(__tstate);
26121 if (PyErr_Occurred()) SWIG_fail;
26122 }
26123 resultobj = SWIG_From_int(static_cast< int >(result));
26124 return resultobj;
26125 fail:
26126 return NULL;
26127 }
26128
26129
26130 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26131 PyObject *resultobj = 0;
26132 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26133 int result;
26134 void *argp1 = 0 ;
26135 int res1 = 0 ;
26136 PyObject *swig_obj[1] ;
26137
26138 if (!args) SWIG_fail;
26139 swig_obj[0] = args;
26140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26141 if (!SWIG_IsOK(res1)) {
26142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26143 }
26144 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26145 {
26146 PyThreadState* __tstate = wxPyBeginAllowThreads();
26147 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26148 wxPyEndAllowThreads(__tstate);
26149 if (PyErr_Occurred()) SWIG_fail;
26150 }
26151 resultobj = SWIG_From_int(static_cast< int >(result));
26152 return resultobj;
26153 fail:
26154 return NULL;
26155 }
26156
26157
26158 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26159 PyObject *resultobj = 0;
26160 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26161 bool result;
26162 void *argp1 = 0 ;
26163 int res1 = 0 ;
26164 PyObject *swig_obj[1] ;
26165
26166 if (!args) SWIG_fail;
26167 swig_obj[0] = args;
26168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26169 if (!SWIG_IsOK(res1)) {
26170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26171 }
26172 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26173 {
26174 PyThreadState* __tstate = wxPyBeginAllowThreads();
26175 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26176 wxPyEndAllowThreads(__tstate);
26177 if (PyErr_Occurred()) SWIG_fail;
26178 }
26179 {
26180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26181 }
26182 return resultobj;
26183 fail:
26184 return NULL;
26185 }
26186
26187
26188 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26189 PyObject *resultobj = 0;
26190 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26191 bool result;
26192 void *argp1 = 0 ;
26193 int res1 = 0 ;
26194 PyObject *swig_obj[1] ;
26195
26196 if (!args) SWIG_fail;
26197 swig_obj[0] = args;
26198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26199 if (!SWIG_IsOK(res1)) {
26200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26201 }
26202 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26203 {
26204 PyThreadState* __tstate = wxPyBeginAllowThreads();
26205 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26206 wxPyEndAllowThreads(__tstate);
26207 if (PyErr_Occurred()) SWIG_fail;
26208 }
26209 {
26210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26211 }
26212 return resultobj;
26213 fail:
26214 return NULL;
26215 }
26216
26217
26218 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26219 PyObject *resultobj = 0;
26220 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26221 bool result;
26222 void *argp1 = 0 ;
26223 int res1 = 0 ;
26224 PyObject *swig_obj[1] ;
26225
26226 if (!args) SWIG_fail;
26227 swig_obj[0] = args;
26228 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26229 if (!SWIG_IsOK(res1)) {
26230 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26231 }
26232 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26233 {
26234 PyThreadState* __tstate = wxPyBeginAllowThreads();
26235 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26236 wxPyEndAllowThreads(__tstate);
26237 if (PyErr_Occurred()) SWIG_fail;
26238 }
26239 {
26240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26241 }
26242 return resultobj;
26243 fail:
26244 return NULL;
26245 }
26246
26247
26248 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26249 PyObject *resultobj = 0;
26250 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26251 bool result;
26252 void *argp1 = 0 ;
26253 int res1 = 0 ;
26254 PyObject *swig_obj[1] ;
26255
26256 if (!args) SWIG_fail;
26257 swig_obj[0] = args;
26258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26259 if (!SWIG_IsOK(res1)) {
26260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26261 }
26262 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26263 {
26264 PyThreadState* __tstate = wxPyBeginAllowThreads();
26265 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26266 wxPyEndAllowThreads(__tstate);
26267 if (PyErr_Occurred()) SWIG_fail;
26268 }
26269 {
26270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26271 }
26272 return resultobj;
26273 fail:
26274 return NULL;
26275 }
26276
26277
26278 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26279 PyObject *resultobj = 0;
26280 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26281 int arg2 ;
26282 void *argp1 = 0 ;
26283 int res1 = 0 ;
26284 int val2 ;
26285 int ecode2 = 0 ;
26286 PyObject * obj0 = 0 ;
26287 PyObject * obj1 = 0 ;
26288 char * kwnames[] = {
26289 (char *) "self",(char *) "v", NULL
26290 };
26291
26292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26294 if (!SWIG_IsOK(res1)) {
26295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26296 }
26297 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26298 ecode2 = SWIG_AsVal_int(obj1, &val2);
26299 if (!SWIG_IsOK(ecode2)) {
26300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26301 }
26302 arg2 = static_cast< int >(val2);
26303 {
26304 PyThreadState* __tstate = wxPyBeginAllowThreads();
26305 (arg1)->SetFromPage(arg2);
26306 wxPyEndAllowThreads(__tstate);
26307 if (PyErr_Occurred()) SWIG_fail;
26308 }
26309 resultobj = SWIG_Py_Void();
26310 return resultobj;
26311 fail:
26312 return NULL;
26313 }
26314
26315
26316 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26317 PyObject *resultobj = 0;
26318 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26319 int arg2 ;
26320 void *argp1 = 0 ;
26321 int res1 = 0 ;
26322 int val2 ;
26323 int ecode2 = 0 ;
26324 PyObject * obj0 = 0 ;
26325 PyObject * obj1 = 0 ;
26326 char * kwnames[] = {
26327 (char *) "self",(char *) "v", NULL
26328 };
26329
26330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26332 if (!SWIG_IsOK(res1)) {
26333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26334 }
26335 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26336 ecode2 = SWIG_AsVal_int(obj1, &val2);
26337 if (!SWIG_IsOK(ecode2)) {
26338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26339 }
26340 arg2 = static_cast< int >(val2);
26341 {
26342 PyThreadState* __tstate = wxPyBeginAllowThreads();
26343 (arg1)->SetToPage(arg2);
26344 wxPyEndAllowThreads(__tstate);
26345 if (PyErr_Occurred()) SWIG_fail;
26346 }
26347 resultobj = SWIG_Py_Void();
26348 return resultobj;
26349 fail:
26350 return NULL;
26351 }
26352
26353
26354 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26355 PyObject *resultobj = 0;
26356 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26357 int arg2 ;
26358 void *argp1 = 0 ;
26359 int res1 = 0 ;
26360 int val2 ;
26361 int ecode2 = 0 ;
26362 PyObject * obj0 = 0 ;
26363 PyObject * obj1 = 0 ;
26364 char * kwnames[] = {
26365 (char *) "self",(char *) "v", NULL
26366 };
26367
26368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26370 if (!SWIG_IsOK(res1)) {
26371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26372 }
26373 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26374 ecode2 = SWIG_AsVal_int(obj1, &val2);
26375 if (!SWIG_IsOK(ecode2)) {
26376 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26377 }
26378 arg2 = static_cast< int >(val2);
26379 {
26380 PyThreadState* __tstate = wxPyBeginAllowThreads();
26381 (arg1)->SetMinPage(arg2);
26382 wxPyEndAllowThreads(__tstate);
26383 if (PyErr_Occurred()) SWIG_fail;
26384 }
26385 resultobj = SWIG_Py_Void();
26386 return resultobj;
26387 fail:
26388 return NULL;
26389 }
26390
26391
26392 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26393 PyObject *resultobj = 0;
26394 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26395 int arg2 ;
26396 void *argp1 = 0 ;
26397 int res1 = 0 ;
26398 int val2 ;
26399 int ecode2 = 0 ;
26400 PyObject * obj0 = 0 ;
26401 PyObject * obj1 = 0 ;
26402 char * kwnames[] = {
26403 (char *) "self",(char *) "v", NULL
26404 };
26405
26406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26408 if (!SWIG_IsOK(res1)) {
26409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26410 }
26411 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26412 ecode2 = SWIG_AsVal_int(obj1, &val2);
26413 if (!SWIG_IsOK(ecode2)) {
26414 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26415 }
26416 arg2 = static_cast< int >(val2);
26417 {
26418 PyThreadState* __tstate = wxPyBeginAllowThreads();
26419 (arg1)->SetMaxPage(arg2);
26420 wxPyEndAllowThreads(__tstate);
26421 if (PyErr_Occurred()) SWIG_fail;
26422 }
26423 resultobj = SWIG_Py_Void();
26424 return resultobj;
26425 fail:
26426 return NULL;
26427 }
26428
26429
26430 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26431 PyObject *resultobj = 0;
26432 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26433 int arg2 ;
26434 void *argp1 = 0 ;
26435 int res1 = 0 ;
26436 int val2 ;
26437 int ecode2 = 0 ;
26438 PyObject * obj0 = 0 ;
26439 PyObject * obj1 = 0 ;
26440 char * kwnames[] = {
26441 (char *) "self",(char *) "v", NULL
26442 };
26443
26444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26446 if (!SWIG_IsOK(res1)) {
26447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26448 }
26449 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26450 ecode2 = SWIG_AsVal_int(obj1, &val2);
26451 if (!SWIG_IsOK(ecode2)) {
26452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26453 }
26454 arg2 = static_cast< int >(val2);
26455 {
26456 PyThreadState* __tstate = wxPyBeginAllowThreads();
26457 (arg1)->SetNoCopies(arg2);
26458 wxPyEndAllowThreads(__tstate);
26459 if (PyErr_Occurred()) SWIG_fail;
26460 }
26461 resultobj = SWIG_Py_Void();
26462 return resultobj;
26463 fail:
26464 return NULL;
26465 }
26466
26467
26468 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26469 PyObject *resultobj = 0;
26470 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26471 bool arg2 ;
26472 void *argp1 = 0 ;
26473 int res1 = 0 ;
26474 bool val2 ;
26475 int ecode2 = 0 ;
26476 PyObject * obj0 = 0 ;
26477 PyObject * obj1 = 0 ;
26478 char * kwnames[] = {
26479 (char *) "self",(char *) "flag", NULL
26480 };
26481
26482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26484 if (!SWIG_IsOK(res1)) {
26485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26486 }
26487 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26488 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26489 if (!SWIG_IsOK(ecode2)) {
26490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26491 }
26492 arg2 = static_cast< bool >(val2);
26493 {
26494 PyThreadState* __tstate = wxPyBeginAllowThreads();
26495 (arg1)->SetAllPages(arg2);
26496 wxPyEndAllowThreads(__tstate);
26497 if (PyErr_Occurred()) SWIG_fail;
26498 }
26499 resultobj = SWIG_Py_Void();
26500 return resultobj;
26501 fail:
26502 return NULL;
26503 }
26504
26505
26506 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26507 PyObject *resultobj = 0;
26508 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26509 bool arg2 ;
26510 void *argp1 = 0 ;
26511 int res1 = 0 ;
26512 bool val2 ;
26513 int ecode2 = 0 ;
26514 PyObject * obj0 = 0 ;
26515 PyObject * obj1 = 0 ;
26516 char * kwnames[] = {
26517 (char *) "self",(char *) "flag", NULL
26518 };
26519
26520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26522 if (!SWIG_IsOK(res1)) {
26523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26524 }
26525 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26526 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26527 if (!SWIG_IsOK(ecode2)) {
26528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26529 }
26530 arg2 = static_cast< bool >(val2);
26531 {
26532 PyThreadState* __tstate = wxPyBeginAllowThreads();
26533 (arg1)->SetSelection(arg2);
26534 wxPyEndAllowThreads(__tstate);
26535 if (PyErr_Occurred()) SWIG_fail;
26536 }
26537 resultobj = SWIG_Py_Void();
26538 return resultobj;
26539 fail:
26540 return NULL;
26541 }
26542
26543
26544 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26545 PyObject *resultobj = 0;
26546 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26547 bool arg2 ;
26548 void *argp1 = 0 ;
26549 int res1 = 0 ;
26550 bool val2 ;
26551 int ecode2 = 0 ;
26552 PyObject * obj0 = 0 ;
26553 PyObject * obj1 = 0 ;
26554 char * kwnames[] = {
26555 (char *) "self",(char *) "flag", NULL
26556 };
26557
26558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26560 if (!SWIG_IsOK(res1)) {
26561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26562 }
26563 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26564 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26565 if (!SWIG_IsOK(ecode2)) {
26566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26567 }
26568 arg2 = static_cast< bool >(val2);
26569 {
26570 PyThreadState* __tstate = wxPyBeginAllowThreads();
26571 (arg1)->SetCollate(arg2);
26572 wxPyEndAllowThreads(__tstate);
26573 if (PyErr_Occurred()) SWIG_fail;
26574 }
26575 resultobj = SWIG_Py_Void();
26576 return resultobj;
26577 fail:
26578 return NULL;
26579 }
26580
26581
26582 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26583 PyObject *resultobj = 0;
26584 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26585 bool arg2 ;
26586 void *argp1 = 0 ;
26587 int res1 = 0 ;
26588 bool val2 ;
26589 int ecode2 = 0 ;
26590 PyObject * obj0 = 0 ;
26591 PyObject * obj1 = 0 ;
26592 char * kwnames[] = {
26593 (char *) "self",(char *) "flag", NULL
26594 };
26595
26596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26598 if (!SWIG_IsOK(res1)) {
26599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26600 }
26601 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26602 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26603 if (!SWIG_IsOK(ecode2)) {
26604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26605 }
26606 arg2 = static_cast< bool >(val2);
26607 {
26608 PyThreadState* __tstate = wxPyBeginAllowThreads();
26609 (arg1)->SetPrintToFile(arg2);
26610 wxPyEndAllowThreads(__tstate);
26611 if (PyErr_Occurred()) SWIG_fail;
26612 }
26613 resultobj = SWIG_Py_Void();
26614 return resultobj;
26615 fail:
26616 return NULL;
26617 }
26618
26619
26620 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26621 PyObject *resultobj = 0;
26622 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26623 bool arg2 ;
26624 void *argp1 = 0 ;
26625 int res1 = 0 ;
26626 bool val2 ;
26627 int ecode2 = 0 ;
26628 PyObject * obj0 = 0 ;
26629 PyObject * obj1 = 0 ;
26630 char * kwnames[] = {
26631 (char *) "self",(char *) "flag", NULL
26632 };
26633
26634 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26635 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26636 if (!SWIG_IsOK(res1)) {
26637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26638 }
26639 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26640 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26641 if (!SWIG_IsOK(ecode2)) {
26642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26643 }
26644 arg2 = static_cast< bool >(val2);
26645 {
26646 PyThreadState* __tstate = wxPyBeginAllowThreads();
26647 (arg1)->EnablePrintToFile(arg2);
26648 wxPyEndAllowThreads(__tstate);
26649 if (PyErr_Occurred()) SWIG_fail;
26650 }
26651 resultobj = SWIG_Py_Void();
26652 return resultobj;
26653 fail:
26654 return NULL;
26655 }
26656
26657
26658 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26659 PyObject *resultobj = 0;
26660 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26661 bool arg2 ;
26662 void *argp1 = 0 ;
26663 int res1 = 0 ;
26664 bool val2 ;
26665 int ecode2 = 0 ;
26666 PyObject * obj0 = 0 ;
26667 PyObject * obj1 = 0 ;
26668 char * kwnames[] = {
26669 (char *) "self",(char *) "flag", NULL
26670 };
26671
26672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26674 if (!SWIG_IsOK(res1)) {
26675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26676 }
26677 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26678 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26679 if (!SWIG_IsOK(ecode2)) {
26680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26681 }
26682 arg2 = static_cast< bool >(val2);
26683 {
26684 PyThreadState* __tstate = wxPyBeginAllowThreads();
26685 (arg1)->EnableSelection(arg2);
26686 wxPyEndAllowThreads(__tstate);
26687 if (PyErr_Occurred()) SWIG_fail;
26688 }
26689 resultobj = SWIG_Py_Void();
26690 return resultobj;
26691 fail:
26692 return NULL;
26693 }
26694
26695
26696 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26697 PyObject *resultobj = 0;
26698 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26699 bool arg2 ;
26700 void *argp1 = 0 ;
26701 int res1 = 0 ;
26702 bool val2 ;
26703 int ecode2 = 0 ;
26704 PyObject * obj0 = 0 ;
26705 PyObject * obj1 = 0 ;
26706 char * kwnames[] = {
26707 (char *) "self",(char *) "flag", NULL
26708 };
26709
26710 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26711 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26712 if (!SWIG_IsOK(res1)) {
26713 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26714 }
26715 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26716 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26717 if (!SWIG_IsOK(ecode2)) {
26718 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26719 }
26720 arg2 = static_cast< bool >(val2);
26721 {
26722 PyThreadState* __tstate = wxPyBeginAllowThreads();
26723 (arg1)->EnablePageNumbers(arg2);
26724 wxPyEndAllowThreads(__tstate);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 }
26727 resultobj = SWIG_Py_Void();
26728 return resultobj;
26729 fail:
26730 return NULL;
26731 }
26732
26733
26734 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26735 PyObject *resultobj = 0;
26736 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26737 bool arg2 ;
26738 void *argp1 = 0 ;
26739 int res1 = 0 ;
26740 bool val2 ;
26741 int ecode2 = 0 ;
26742 PyObject * obj0 = 0 ;
26743 PyObject * obj1 = 0 ;
26744 char * kwnames[] = {
26745 (char *) "self",(char *) "flag", NULL
26746 };
26747
26748 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26749 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26750 if (!SWIG_IsOK(res1)) {
26751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26752 }
26753 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26754 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26755 if (!SWIG_IsOK(ecode2)) {
26756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26757 }
26758 arg2 = static_cast< bool >(val2);
26759 {
26760 PyThreadState* __tstate = wxPyBeginAllowThreads();
26761 (arg1)->EnableHelp(arg2);
26762 wxPyEndAllowThreads(__tstate);
26763 if (PyErr_Occurred()) SWIG_fail;
26764 }
26765 resultobj = SWIG_Py_Void();
26766 return resultobj;
26767 fail:
26768 return NULL;
26769 }
26770
26771
26772 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26773 PyObject *resultobj = 0;
26774 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26775 bool result;
26776 void *argp1 = 0 ;
26777 int res1 = 0 ;
26778 PyObject *swig_obj[1] ;
26779
26780 if (!args) SWIG_fail;
26781 swig_obj[0] = args;
26782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26783 if (!SWIG_IsOK(res1)) {
26784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26785 }
26786 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26787 {
26788 PyThreadState* __tstate = wxPyBeginAllowThreads();
26789 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26790 wxPyEndAllowThreads(__tstate);
26791 if (PyErr_Occurred()) SWIG_fail;
26792 }
26793 {
26794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26795 }
26796 return resultobj;
26797 fail:
26798 return NULL;
26799 }
26800
26801
26802 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26803 PyObject *resultobj = 0;
26804 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26805 bool result;
26806 void *argp1 = 0 ;
26807 int res1 = 0 ;
26808 PyObject *swig_obj[1] ;
26809
26810 if (!args) SWIG_fail;
26811 swig_obj[0] = args;
26812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26813 if (!SWIG_IsOK(res1)) {
26814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26815 }
26816 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26817 {
26818 PyThreadState* __tstate = wxPyBeginAllowThreads();
26819 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26820 wxPyEndAllowThreads(__tstate);
26821 if (PyErr_Occurred()) SWIG_fail;
26822 }
26823 {
26824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26825 }
26826 return resultobj;
26827 fail:
26828 return NULL;
26829 }
26830
26831
26832 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26833 PyObject *resultobj = 0;
26834 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26835 bool result;
26836 void *argp1 = 0 ;
26837 int res1 = 0 ;
26838 PyObject *swig_obj[1] ;
26839
26840 if (!args) SWIG_fail;
26841 swig_obj[0] = args;
26842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26843 if (!SWIG_IsOK(res1)) {
26844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26845 }
26846 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26847 {
26848 PyThreadState* __tstate = wxPyBeginAllowThreads();
26849 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26850 wxPyEndAllowThreads(__tstate);
26851 if (PyErr_Occurred()) SWIG_fail;
26852 }
26853 {
26854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26855 }
26856 return resultobj;
26857 fail:
26858 return NULL;
26859 }
26860
26861
26862 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26863 PyObject *resultobj = 0;
26864 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26865 bool result;
26866 void *argp1 = 0 ;
26867 int res1 = 0 ;
26868 PyObject *swig_obj[1] ;
26869
26870 if (!args) SWIG_fail;
26871 swig_obj[0] = args;
26872 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26873 if (!SWIG_IsOK(res1)) {
26874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26875 }
26876 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26877 {
26878 PyThreadState* __tstate = wxPyBeginAllowThreads();
26879 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26880 wxPyEndAllowThreads(__tstate);
26881 if (PyErr_Occurred()) SWIG_fail;
26882 }
26883 {
26884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26885 }
26886 return resultobj;
26887 fail:
26888 return NULL;
26889 }
26890
26891
26892 SWIGINTERN PyObject *_wrap_PrintDialogData_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26893 PyObject *resultobj = 0;
26894 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26895 bool result;
26896 void *argp1 = 0 ;
26897 int res1 = 0 ;
26898 PyObject *swig_obj[1] ;
26899
26900 if (!args) SWIG_fail;
26901 swig_obj[0] = args;
26902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26903 if (!SWIG_IsOK(res1)) {
26904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26905 }
26906 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26907 {
26908 PyThreadState* __tstate = wxPyBeginAllowThreads();
26909 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
26910 wxPyEndAllowThreads(__tstate);
26911 if (PyErr_Occurred()) SWIG_fail;
26912 }
26913 {
26914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26915 }
26916 return resultobj;
26917 fail:
26918 return NULL;
26919 }
26920
26921
26922 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26923 PyObject *resultobj = 0;
26924 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26925 wxPrintData *result = 0 ;
26926 void *argp1 = 0 ;
26927 int res1 = 0 ;
26928 PyObject *swig_obj[1] ;
26929
26930 if (!args) SWIG_fail;
26931 swig_obj[0] = args;
26932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26933 if (!SWIG_IsOK(res1)) {
26934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26935 }
26936 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26937 {
26938 PyThreadState* __tstate = wxPyBeginAllowThreads();
26939 {
26940 wxPrintData &_result_ref = (arg1)->GetPrintData();
26941 result = (wxPrintData *) &_result_ref;
26942 }
26943 wxPyEndAllowThreads(__tstate);
26944 if (PyErr_Occurred()) SWIG_fail;
26945 }
26946 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
26947 return resultobj;
26948 fail:
26949 return NULL;
26950 }
26951
26952
26953 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26954 PyObject *resultobj = 0;
26955 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26956 wxPrintData *arg2 = 0 ;
26957 void *argp1 = 0 ;
26958 int res1 = 0 ;
26959 void *argp2 = 0 ;
26960 int res2 = 0 ;
26961 PyObject * obj0 = 0 ;
26962 PyObject * obj1 = 0 ;
26963 char * kwnames[] = {
26964 (char *) "self",(char *) "printData", NULL
26965 };
26966
26967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26969 if (!SWIG_IsOK(res1)) {
26970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26971 }
26972 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26973 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26974 if (!SWIG_IsOK(res2)) {
26975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26976 }
26977 if (!argp2) {
26978 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26979 }
26980 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26981 {
26982 PyThreadState* __tstate = wxPyBeginAllowThreads();
26983 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26984 wxPyEndAllowThreads(__tstate);
26985 if (PyErr_Occurred()) SWIG_fail;
26986 }
26987 resultobj = SWIG_Py_Void();
26988 return resultobj;
26989 fail:
26990 return NULL;
26991 }
26992
26993
26994 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26995 PyObject *obj;
26996 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26997 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
26998 return SWIG_Py_Void();
26999 }
27000
27001 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27002 return SWIG_Python_InitShadowInstance(args);
27003 }
27004
27005 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27006 PyObject *resultobj = 0;
27007 wxWindow *arg1 = (wxWindow *) 0 ;
27008 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27009 wxPrintDialog *result = 0 ;
27010 void *argp1 = 0 ;
27011 int res1 = 0 ;
27012 void *argp2 = 0 ;
27013 int res2 = 0 ;
27014 PyObject * obj0 = 0 ;
27015 PyObject * obj1 = 0 ;
27016 char * kwnames[] = {
27017 (char *) "parent",(char *) "data", NULL
27018 };
27019
27020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27022 if (!SWIG_IsOK(res1)) {
27023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27024 }
27025 arg1 = reinterpret_cast< wxWindow * >(argp1);
27026 if (obj1) {
27027 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27028 if (!SWIG_IsOK(res2)) {
27029 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27030 }
27031 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27032 }
27033 {
27034 if (!wxPyCheckForApp()) SWIG_fail;
27035 PyThreadState* __tstate = wxPyBeginAllowThreads();
27036 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27037 wxPyEndAllowThreads(__tstate);
27038 if (PyErr_Occurred()) SWIG_fail;
27039 }
27040 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27041 return resultobj;
27042 fail:
27043 return NULL;
27044 }
27045
27046
27047 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27048 PyObject *resultobj = 0;
27049 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27050 void *argp1 = 0 ;
27051 int res1 = 0 ;
27052 PyObject *swig_obj[1] ;
27053
27054 if (!args) SWIG_fail;
27055 swig_obj[0] = args;
27056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27057 if (!SWIG_IsOK(res1)) {
27058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27059 }
27060 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27061 {
27062 PyThreadState* __tstate = wxPyBeginAllowThreads();
27063 delete arg1;
27064
27065 wxPyEndAllowThreads(__tstate);
27066 if (PyErr_Occurred()) SWIG_fail;
27067 }
27068 resultobj = SWIG_Py_Void();
27069 return resultobj;
27070 fail:
27071 return NULL;
27072 }
27073
27074
27075 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27076 PyObject *resultobj = 0;
27077 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27078 int result;
27079 void *argp1 = 0 ;
27080 int res1 = 0 ;
27081 PyObject *swig_obj[1] ;
27082
27083 if (!args) SWIG_fail;
27084 swig_obj[0] = args;
27085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27086 if (!SWIG_IsOK(res1)) {
27087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27088 }
27089 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27090 {
27091 PyThreadState* __tstate = wxPyBeginAllowThreads();
27092 result = (int)(arg1)->ShowModal();
27093 wxPyEndAllowThreads(__tstate);
27094 if (PyErr_Occurred()) SWIG_fail;
27095 }
27096 resultobj = SWIG_From_int(static_cast< int >(result));
27097 return resultobj;
27098 fail:
27099 return NULL;
27100 }
27101
27102
27103 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27104 PyObject *resultobj = 0;
27105 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27106 wxPrintDialogData *result = 0 ;
27107 void *argp1 = 0 ;
27108 int res1 = 0 ;
27109 PyObject *swig_obj[1] ;
27110
27111 if (!args) SWIG_fail;
27112 swig_obj[0] = args;
27113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27114 if (!SWIG_IsOK(res1)) {
27115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27116 }
27117 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27118 {
27119 PyThreadState* __tstate = wxPyBeginAllowThreads();
27120 {
27121 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27122 result = (wxPrintDialogData *) &_result_ref;
27123 }
27124 wxPyEndAllowThreads(__tstate);
27125 if (PyErr_Occurred()) SWIG_fail;
27126 }
27127 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27128 return resultobj;
27129 fail:
27130 return NULL;
27131 }
27132
27133
27134 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27135 PyObject *resultobj = 0;
27136 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27137 wxPrintData *result = 0 ;
27138 void *argp1 = 0 ;
27139 int res1 = 0 ;
27140 PyObject *swig_obj[1] ;
27141
27142 if (!args) SWIG_fail;
27143 swig_obj[0] = args;
27144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27145 if (!SWIG_IsOK(res1)) {
27146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27147 }
27148 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27149 {
27150 PyThreadState* __tstate = wxPyBeginAllowThreads();
27151 {
27152 wxPrintData &_result_ref = (arg1)->GetPrintData();
27153 result = (wxPrintData *) &_result_ref;
27154 }
27155 wxPyEndAllowThreads(__tstate);
27156 if (PyErr_Occurred()) SWIG_fail;
27157 }
27158 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27159 return resultobj;
27160 fail:
27161 return NULL;
27162 }
27163
27164
27165 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27166 PyObject *resultobj = 0;
27167 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27168 wxDC *result = 0 ;
27169 void *argp1 = 0 ;
27170 int res1 = 0 ;
27171 PyObject *swig_obj[1] ;
27172
27173 if (!args) SWIG_fail;
27174 swig_obj[0] = args;
27175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27176 if (!SWIG_IsOK(res1)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27178 }
27179 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27180 {
27181 PyThreadState* __tstate = wxPyBeginAllowThreads();
27182 result = (wxDC *)(arg1)->GetPrintDC();
27183 wxPyEndAllowThreads(__tstate);
27184 if (PyErr_Occurred()) SWIG_fail;
27185 }
27186 {
27187 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27188 }
27189 return resultobj;
27190 fail:
27191 return NULL;
27192 }
27193
27194
27195 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27196 PyObject *obj;
27197 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27198 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27199 return SWIG_Py_Void();
27200 }
27201
27202 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27203 return SWIG_Python_InitShadowInstance(args);
27204 }
27205
27206 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27207 PyObject *resultobj = 0;
27208 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27209 wxPrinter *result = 0 ;
27210 void *argp1 = 0 ;
27211 int res1 = 0 ;
27212 PyObject * obj0 = 0 ;
27213 char * kwnames[] = {
27214 (char *) "data", NULL
27215 };
27216
27217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27218 if (obj0) {
27219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27220 if (!SWIG_IsOK(res1)) {
27221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27222 }
27223 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27224 }
27225 {
27226 if (!wxPyCheckForApp()) SWIG_fail;
27227 PyThreadState* __tstate = wxPyBeginAllowThreads();
27228 result = (wxPrinter *)new wxPrinter(arg1);
27229 wxPyEndAllowThreads(__tstate);
27230 if (PyErr_Occurred()) SWIG_fail;
27231 }
27232 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27233 return resultobj;
27234 fail:
27235 return NULL;
27236 }
27237
27238
27239 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27240 PyObject *resultobj = 0;
27241 wxPrinter *arg1 = (wxPrinter *) 0 ;
27242 void *argp1 = 0 ;
27243 int res1 = 0 ;
27244 PyObject *swig_obj[1] ;
27245
27246 if (!args) SWIG_fail;
27247 swig_obj[0] = args;
27248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27249 if (!SWIG_IsOK(res1)) {
27250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27251 }
27252 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27253 {
27254 PyThreadState* __tstate = wxPyBeginAllowThreads();
27255 delete arg1;
27256
27257 wxPyEndAllowThreads(__tstate);
27258 if (PyErr_Occurred()) SWIG_fail;
27259 }
27260 resultobj = SWIG_Py_Void();
27261 return resultobj;
27262 fail:
27263 return NULL;
27264 }
27265
27266
27267 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27268 PyObject *resultobj = 0;
27269 wxPrinter *arg1 = (wxPrinter *) 0 ;
27270 wxWindow *arg2 = (wxWindow *) 0 ;
27271 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27272 wxWindow *result = 0 ;
27273 void *argp1 = 0 ;
27274 int res1 = 0 ;
27275 void *argp2 = 0 ;
27276 int res2 = 0 ;
27277 void *argp3 = 0 ;
27278 int res3 = 0 ;
27279 PyObject * obj0 = 0 ;
27280 PyObject * obj1 = 0 ;
27281 PyObject * obj2 = 0 ;
27282 char * kwnames[] = {
27283 (char *) "self",(char *) "parent",(char *) "printout", NULL
27284 };
27285
27286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27288 if (!SWIG_IsOK(res1)) {
27289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27290 }
27291 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27292 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27293 if (!SWIG_IsOK(res2)) {
27294 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27295 }
27296 arg2 = reinterpret_cast< wxWindow * >(argp2);
27297 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27298 if (!SWIG_IsOK(res3)) {
27299 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27300 }
27301 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27302 {
27303 PyThreadState* __tstate = wxPyBeginAllowThreads();
27304 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27305 wxPyEndAllowThreads(__tstate);
27306 if (PyErr_Occurred()) SWIG_fail;
27307 }
27308 {
27309 resultobj = wxPyMake_wxObject(result, 0);
27310 }
27311 return resultobj;
27312 fail:
27313 return NULL;
27314 }
27315
27316
27317 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27318 PyObject *resultobj = 0;
27319 wxPrinter *arg1 = (wxPrinter *) 0 ;
27320 wxWindow *arg2 = (wxWindow *) 0 ;
27321 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27322 wxString *arg4 = 0 ;
27323 void *argp1 = 0 ;
27324 int res1 = 0 ;
27325 void *argp2 = 0 ;
27326 int res2 = 0 ;
27327 void *argp3 = 0 ;
27328 int res3 = 0 ;
27329 bool temp4 = false ;
27330 PyObject * obj0 = 0 ;
27331 PyObject * obj1 = 0 ;
27332 PyObject * obj2 = 0 ;
27333 PyObject * obj3 = 0 ;
27334 char * kwnames[] = {
27335 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27336 };
27337
27338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27340 if (!SWIG_IsOK(res1)) {
27341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27342 }
27343 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27344 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27345 if (!SWIG_IsOK(res2)) {
27346 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27347 }
27348 arg2 = reinterpret_cast< wxWindow * >(argp2);
27349 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27350 if (!SWIG_IsOK(res3)) {
27351 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27352 }
27353 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27354 {
27355 arg4 = wxString_in_helper(obj3);
27356 if (arg4 == NULL) SWIG_fail;
27357 temp4 = true;
27358 }
27359 {
27360 PyThreadState* __tstate = wxPyBeginAllowThreads();
27361 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27362 wxPyEndAllowThreads(__tstate);
27363 if (PyErr_Occurred()) SWIG_fail;
27364 }
27365 resultobj = SWIG_Py_Void();
27366 {
27367 if (temp4)
27368 delete arg4;
27369 }
27370 return resultobj;
27371 fail:
27372 {
27373 if (temp4)
27374 delete arg4;
27375 }
27376 return NULL;
27377 }
27378
27379
27380 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27381 PyObject *resultobj = 0;
27382 wxPrinter *arg1 = (wxPrinter *) 0 ;
27383 wxWindow *arg2 = (wxWindow *) 0 ;
27384 bool result;
27385 void *argp1 = 0 ;
27386 int res1 = 0 ;
27387 void *argp2 = 0 ;
27388 int res2 = 0 ;
27389 PyObject * obj0 = 0 ;
27390 PyObject * obj1 = 0 ;
27391 char * kwnames[] = {
27392 (char *) "self",(char *) "parent", NULL
27393 };
27394
27395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27397 if (!SWIG_IsOK(res1)) {
27398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27399 }
27400 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27401 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27402 if (!SWIG_IsOK(res2)) {
27403 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27404 }
27405 arg2 = reinterpret_cast< wxWindow * >(argp2);
27406 {
27407 PyThreadState* __tstate = wxPyBeginAllowThreads();
27408 result = (bool)(arg1)->Setup(arg2);
27409 wxPyEndAllowThreads(__tstate);
27410 if (PyErr_Occurred()) SWIG_fail;
27411 }
27412 {
27413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27414 }
27415 return resultobj;
27416 fail:
27417 return NULL;
27418 }
27419
27420
27421 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27422 PyObject *resultobj = 0;
27423 wxPrinter *arg1 = (wxPrinter *) 0 ;
27424 wxWindow *arg2 = (wxWindow *) 0 ;
27425 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27426 bool arg4 = (bool) true ;
27427 bool result;
27428 void *argp1 = 0 ;
27429 int res1 = 0 ;
27430 void *argp2 = 0 ;
27431 int res2 = 0 ;
27432 void *argp3 = 0 ;
27433 int res3 = 0 ;
27434 bool val4 ;
27435 int ecode4 = 0 ;
27436 PyObject * obj0 = 0 ;
27437 PyObject * obj1 = 0 ;
27438 PyObject * obj2 = 0 ;
27439 PyObject * obj3 = 0 ;
27440 char * kwnames[] = {
27441 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27442 };
27443
27444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27446 if (!SWIG_IsOK(res1)) {
27447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27448 }
27449 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27450 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27451 if (!SWIG_IsOK(res2)) {
27452 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27453 }
27454 arg2 = reinterpret_cast< wxWindow * >(argp2);
27455 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27456 if (!SWIG_IsOK(res3)) {
27457 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27458 }
27459 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27460 if (obj3) {
27461 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27462 if (!SWIG_IsOK(ecode4)) {
27463 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27464 }
27465 arg4 = static_cast< bool >(val4);
27466 }
27467 {
27468 PyThreadState* __tstate = wxPyBeginAllowThreads();
27469 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27470 wxPyEndAllowThreads(__tstate);
27471 if (PyErr_Occurred()) SWIG_fail;
27472 }
27473 {
27474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27475 }
27476 return resultobj;
27477 fail:
27478 return NULL;
27479 }
27480
27481
27482 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27483 PyObject *resultobj = 0;
27484 wxPrinter *arg1 = (wxPrinter *) 0 ;
27485 wxWindow *arg2 = (wxWindow *) 0 ;
27486 wxDC *result = 0 ;
27487 void *argp1 = 0 ;
27488 int res1 = 0 ;
27489 void *argp2 = 0 ;
27490 int res2 = 0 ;
27491 PyObject * obj0 = 0 ;
27492 PyObject * obj1 = 0 ;
27493 char * kwnames[] = {
27494 (char *) "self",(char *) "parent", NULL
27495 };
27496
27497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27499 if (!SWIG_IsOK(res1)) {
27500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27501 }
27502 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27503 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27504 if (!SWIG_IsOK(res2)) {
27505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27506 }
27507 arg2 = reinterpret_cast< wxWindow * >(argp2);
27508 {
27509 PyThreadState* __tstate = wxPyBeginAllowThreads();
27510 result = (wxDC *)(arg1)->PrintDialog(arg2);
27511 wxPyEndAllowThreads(__tstate);
27512 if (PyErr_Occurred()) SWIG_fail;
27513 }
27514 {
27515 resultobj = wxPyMake_wxObject(result, (bool)0);
27516 }
27517 return resultobj;
27518 fail:
27519 return NULL;
27520 }
27521
27522
27523 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27524 PyObject *resultobj = 0;
27525 wxPrinter *arg1 = (wxPrinter *) 0 ;
27526 wxPrintDialogData *result = 0 ;
27527 void *argp1 = 0 ;
27528 int res1 = 0 ;
27529 PyObject *swig_obj[1] ;
27530
27531 if (!args) SWIG_fail;
27532 swig_obj[0] = args;
27533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27534 if (!SWIG_IsOK(res1)) {
27535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27536 }
27537 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27538 {
27539 PyThreadState* __tstate = wxPyBeginAllowThreads();
27540 {
27541 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27542 result = (wxPrintDialogData *) &_result_ref;
27543 }
27544 wxPyEndAllowThreads(__tstate);
27545 if (PyErr_Occurred()) SWIG_fail;
27546 }
27547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27548 return resultobj;
27549 fail:
27550 return NULL;
27551 }
27552
27553
27554 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27555 PyObject *resultobj = 0;
27556 wxPrinter *arg1 = (wxPrinter *) 0 ;
27557 bool result;
27558 void *argp1 = 0 ;
27559 int res1 = 0 ;
27560 PyObject *swig_obj[1] ;
27561
27562 if (!args) SWIG_fail;
27563 swig_obj[0] = args;
27564 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27565 if (!SWIG_IsOK(res1)) {
27566 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27567 }
27568 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27569 {
27570 PyThreadState* __tstate = wxPyBeginAllowThreads();
27571 result = (bool)(arg1)->GetAbort();
27572 wxPyEndAllowThreads(__tstate);
27573 if (PyErr_Occurred()) SWIG_fail;
27574 }
27575 {
27576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27577 }
27578 return resultobj;
27579 fail:
27580 return NULL;
27581 }
27582
27583
27584 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27585 PyObject *resultobj = 0;
27586 wxPrinterError result;
27587
27588 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27589 {
27590 PyThreadState* __tstate = wxPyBeginAllowThreads();
27591 result = (wxPrinterError)wxPrinter::GetLastError();
27592 wxPyEndAllowThreads(__tstate);
27593 if (PyErr_Occurred()) SWIG_fail;
27594 }
27595 resultobj = SWIG_From_int(static_cast< int >(result));
27596 return resultobj;
27597 fail:
27598 return NULL;
27599 }
27600
27601
27602 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27603 PyObject *obj;
27604 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27605 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27606 return SWIG_Py_Void();
27607 }
27608
27609 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27610 return SWIG_Python_InitShadowInstance(args);
27611 }
27612
27613 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27614 PyObject *resultobj = 0;
27615 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27616 wxString *arg1 = (wxString *) &arg1_defvalue ;
27617 wxPyPrintout *result = 0 ;
27618 bool temp1 = false ;
27619 PyObject * obj0 = 0 ;
27620 char * kwnames[] = {
27621 (char *) "title", NULL
27622 };
27623
27624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27625 if (obj0) {
27626 {
27627 arg1 = wxString_in_helper(obj0);
27628 if (arg1 == NULL) SWIG_fail;
27629 temp1 = true;
27630 }
27631 }
27632 {
27633 if (!wxPyCheckForApp()) SWIG_fail;
27634 PyThreadState* __tstate = wxPyBeginAllowThreads();
27635 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27636 wxPyEndAllowThreads(__tstate);
27637 if (PyErr_Occurred()) SWIG_fail;
27638 }
27639 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27640 {
27641 if (temp1)
27642 delete arg1;
27643 }
27644 return resultobj;
27645 fail:
27646 {
27647 if (temp1)
27648 delete arg1;
27649 }
27650 return NULL;
27651 }
27652
27653
27654 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27655 PyObject *resultobj = 0;
27656 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27657 void *argp1 = 0 ;
27658 int res1 = 0 ;
27659 PyObject *swig_obj[1] ;
27660
27661 if (!args) SWIG_fail;
27662 swig_obj[0] = args;
27663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27664 if (!SWIG_IsOK(res1)) {
27665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27666 }
27667 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27668 {
27669 PyThreadState* __tstate = wxPyBeginAllowThreads();
27670 delete arg1;
27671
27672 wxPyEndAllowThreads(__tstate);
27673 if (PyErr_Occurred()) SWIG_fail;
27674 }
27675 resultobj = SWIG_Py_Void();
27676 return resultobj;
27677 fail:
27678 return NULL;
27679 }
27680
27681
27682 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27683 PyObject *resultobj = 0;
27684 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27685 PyObject *arg2 = (PyObject *) 0 ;
27686 PyObject *arg3 = (PyObject *) 0 ;
27687 void *argp1 = 0 ;
27688 int res1 = 0 ;
27689 PyObject * obj0 = 0 ;
27690 PyObject * obj1 = 0 ;
27691 PyObject * obj2 = 0 ;
27692 char * kwnames[] = {
27693 (char *) "self",(char *) "self",(char *) "_class", NULL
27694 };
27695
27696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27698 if (!SWIG_IsOK(res1)) {
27699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27700 }
27701 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27702 arg2 = obj1;
27703 arg3 = obj2;
27704 {
27705 PyThreadState* __tstate = wxPyBeginAllowThreads();
27706 (arg1)->_setCallbackInfo(arg2,arg3);
27707 wxPyEndAllowThreads(__tstate);
27708 if (PyErr_Occurred()) SWIG_fail;
27709 }
27710 resultobj = SWIG_Py_Void();
27711 return resultobj;
27712 fail:
27713 return NULL;
27714 }
27715
27716
27717 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27718 PyObject *resultobj = 0;
27719 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27720 wxString result;
27721 void *argp1 = 0 ;
27722 int res1 = 0 ;
27723 PyObject *swig_obj[1] ;
27724
27725 if (!args) SWIG_fail;
27726 swig_obj[0] = args;
27727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27728 if (!SWIG_IsOK(res1)) {
27729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27730 }
27731 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27732 {
27733 PyThreadState* __tstate = wxPyBeginAllowThreads();
27734 result = ((wxPyPrintout const *)arg1)->GetTitle();
27735 wxPyEndAllowThreads(__tstate);
27736 if (PyErr_Occurred()) SWIG_fail;
27737 }
27738 {
27739 #if wxUSE_UNICODE
27740 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27741 #else
27742 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27743 #endif
27744 }
27745 return resultobj;
27746 fail:
27747 return NULL;
27748 }
27749
27750
27751 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27752 PyObject *resultobj = 0;
27753 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27754 wxDC *result = 0 ;
27755 void *argp1 = 0 ;
27756 int res1 = 0 ;
27757 PyObject *swig_obj[1] ;
27758
27759 if (!args) SWIG_fail;
27760 swig_obj[0] = args;
27761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27762 if (!SWIG_IsOK(res1)) {
27763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27764 }
27765 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27766 {
27767 PyThreadState* __tstate = wxPyBeginAllowThreads();
27768 result = (wxDC *)(arg1)->GetDC();
27769 wxPyEndAllowThreads(__tstate);
27770 if (PyErr_Occurred()) SWIG_fail;
27771 }
27772 {
27773 resultobj = wxPyMake_wxObject(result, (bool)0);
27774 }
27775 return resultobj;
27776 fail:
27777 return NULL;
27778 }
27779
27780
27781 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27782 PyObject *resultobj = 0;
27783 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27784 wxDC *arg2 = (wxDC *) 0 ;
27785 void *argp1 = 0 ;
27786 int res1 = 0 ;
27787 void *argp2 = 0 ;
27788 int res2 = 0 ;
27789 PyObject * obj0 = 0 ;
27790 PyObject * obj1 = 0 ;
27791 char * kwnames[] = {
27792 (char *) "self",(char *) "dc", NULL
27793 };
27794
27795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27797 if (!SWIG_IsOK(res1)) {
27798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27799 }
27800 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27801 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27802 if (!SWIG_IsOK(res2)) {
27803 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27804 }
27805 arg2 = reinterpret_cast< wxDC * >(argp2);
27806 {
27807 PyThreadState* __tstate = wxPyBeginAllowThreads();
27808 (arg1)->SetDC(arg2);
27809 wxPyEndAllowThreads(__tstate);
27810 if (PyErr_Occurred()) SWIG_fail;
27811 }
27812 resultobj = SWIG_Py_Void();
27813 return resultobj;
27814 fail:
27815 return NULL;
27816 }
27817
27818
27819 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27820 PyObject *resultobj = 0;
27821 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27822 int arg2 ;
27823 int arg3 ;
27824 void *argp1 = 0 ;
27825 int res1 = 0 ;
27826 int val2 ;
27827 int ecode2 = 0 ;
27828 int val3 ;
27829 int ecode3 = 0 ;
27830 PyObject * obj0 = 0 ;
27831 PyObject * obj1 = 0 ;
27832 PyObject * obj2 = 0 ;
27833 char * kwnames[] = {
27834 (char *) "self",(char *) "w",(char *) "h", NULL
27835 };
27836
27837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27839 if (!SWIG_IsOK(res1)) {
27840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27841 }
27842 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27843 ecode2 = SWIG_AsVal_int(obj1, &val2);
27844 if (!SWIG_IsOK(ecode2)) {
27845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27846 }
27847 arg2 = static_cast< int >(val2);
27848 ecode3 = SWIG_AsVal_int(obj2, &val3);
27849 if (!SWIG_IsOK(ecode3)) {
27850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27851 }
27852 arg3 = static_cast< int >(val3);
27853 {
27854 PyThreadState* __tstate = wxPyBeginAllowThreads();
27855 (arg1)->SetPageSizePixels(arg2,arg3);
27856 wxPyEndAllowThreads(__tstate);
27857 if (PyErr_Occurred()) SWIG_fail;
27858 }
27859 resultobj = SWIG_Py_Void();
27860 return resultobj;
27861 fail:
27862 return NULL;
27863 }
27864
27865
27866 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27867 PyObject *resultobj = 0;
27868 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27869 int *arg2 = (int *) 0 ;
27870 int *arg3 = (int *) 0 ;
27871 void *argp1 = 0 ;
27872 int res1 = 0 ;
27873 int temp2 ;
27874 int res2 = SWIG_TMPOBJ ;
27875 int temp3 ;
27876 int res3 = SWIG_TMPOBJ ;
27877 PyObject *swig_obj[1] ;
27878
27879 arg2 = &temp2;
27880 arg3 = &temp3;
27881 if (!args) SWIG_fail;
27882 swig_obj[0] = args;
27883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27884 if (!SWIG_IsOK(res1)) {
27885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27886 }
27887 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27888 {
27889 PyThreadState* __tstate = wxPyBeginAllowThreads();
27890 (arg1)->GetPageSizePixels(arg2,arg3);
27891 wxPyEndAllowThreads(__tstate);
27892 if (PyErr_Occurred()) SWIG_fail;
27893 }
27894 resultobj = SWIG_Py_Void();
27895 if (SWIG_IsTmpObj(res2)) {
27896 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27897 } else {
27898 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27899 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27900 }
27901 if (SWIG_IsTmpObj(res3)) {
27902 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27903 } else {
27904 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27905 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
27906 }
27907 return resultobj;
27908 fail:
27909 return NULL;
27910 }
27911
27912
27913 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27914 PyObject *resultobj = 0;
27915 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27916 int arg2 ;
27917 int arg3 ;
27918 void *argp1 = 0 ;
27919 int res1 = 0 ;
27920 int val2 ;
27921 int ecode2 = 0 ;
27922 int val3 ;
27923 int ecode3 = 0 ;
27924 PyObject * obj0 = 0 ;
27925 PyObject * obj1 = 0 ;
27926 PyObject * obj2 = 0 ;
27927 char * kwnames[] = {
27928 (char *) "self",(char *) "w",(char *) "h", NULL
27929 };
27930
27931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27933 if (!SWIG_IsOK(res1)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27935 }
27936 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27937 ecode2 = SWIG_AsVal_int(obj1, &val2);
27938 if (!SWIG_IsOK(ecode2)) {
27939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27940 }
27941 arg2 = static_cast< int >(val2);
27942 ecode3 = SWIG_AsVal_int(obj2, &val3);
27943 if (!SWIG_IsOK(ecode3)) {
27944 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27945 }
27946 arg3 = static_cast< int >(val3);
27947 {
27948 PyThreadState* __tstate = wxPyBeginAllowThreads();
27949 (arg1)->SetPageSizeMM(arg2,arg3);
27950 wxPyEndAllowThreads(__tstate);
27951 if (PyErr_Occurred()) SWIG_fail;
27952 }
27953 resultobj = SWIG_Py_Void();
27954 return resultobj;
27955 fail:
27956 return NULL;
27957 }
27958
27959
27960 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27961 PyObject *resultobj = 0;
27962 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27963 int *arg2 = (int *) 0 ;
27964 int *arg3 = (int *) 0 ;
27965 void *argp1 = 0 ;
27966 int res1 = 0 ;
27967 int temp2 ;
27968 int res2 = SWIG_TMPOBJ ;
27969 int temp3 ;
27970 int res3 = SWIG_TMPOBJ ;
27971 PyObject *swig_obj[1] ;
27972
27973 arg2 = &temp2;
27974 arg3 = &temp3;
27975 if (!args) SWIG_fail;
27976 swig_obj[0] = args;
27977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27978 if (!SWIG_IsOK(res1)) {
27979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27980 }
27981 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27982 {
27983 PyThreadState* __tstate = wxPyBeginAllowThreads();
27984 (arg1)->GetPageSizeMM(arg2,arg3);
27985 wxPyEndAllowThreads(__tstate);
27986 if (PyErr_Occurred()) SWIG_fail;
27987 }
27988 resultobj = SWIG_Py_Void();
27989 if (SWIG_IsTmpObj(res2)) {
27990 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
27991 } else {
27992 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27993 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
27994 }
27995 if (SWIG_IsTmpObj(res3)) {
27996 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
27997 } else {
27998 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
27999 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28000 }
28001 return resultobj;
28002 fail:
28003 return NULL;
28004 }
28005
28006
28007 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28008 PyObject *resultobj = 0;
28009 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28010 int arg2 ;
28011 int arg3 ;
28012 void *argp1 = 0 ;
28013 int res1 = 0 ;
28014 int val2 ;
28015 int ecode2 = 0 ;
28016 int val3 ;
28017 int ecode3 = 0 ;
28018 PyObject * obj0 = 0 ;
28019 PyObject * obj1 = 0 ;
28020 PyObject * obj2 = 0 ;
28021 char * kwnames[] = {
28022 (char *) "self",(char *) "x",(char *) "y", NULL
28023 };
28024
28025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28027 if (!SWIG_IsOK(res1)) {
28028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28029 }
28030 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28031 ecode2 = SWIG_AsVal_int(obj1, &val2);
28032 if (!SWIG_IsOK(ecode2)) {
28033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28034 }
28035 arg2 = static_cast< int >(val2);
28036 ecode3 = SWIG_AsVal_int(obj2, &val3);
28037 if (!SWIG_IsOK(ecode3)) {
28038 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28039 }
28040 arg3 = static_cast< int >(val3);
28041 {
28042 PyThreadState* __tstate = wxPyBeginAllowThreads();
28043 (arg1)->SetPPIScreen(arg2,arg3);
28044 wxPyEndAllowThreads(__tstate);
28045 if (PyErr_Occurred()) SWIG_fail;
28046 }
28047 resultobj = SWIG_Py_Void();
28048 return resultobj;
28049 fail:
28050 return NULL;
28051 }
28052
28053
28054 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28055 PyObject *resultobj = 0;
28056 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28057 int *arg2 = (int *) 0 ;
28058 int *arg3 = (int *) 0 ;
28059 void *argp1 = 0 ;
28060 int res1 = 0 ;
28061 int temp2 ;
28062 int res2 = SWIG_TMPOBJ ;
28063 int temp3 ;
28064 int res3 = SWIG_TMPOBJ ;
28065 PyObject *swig_obj[1] ;
28066
28067 arg2 = &temp2;
28068 arg3 = &temp3;
28069 if (!args) SWIG_fail;
28070 swig_obj[0] = args;
28071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28072 if (!SWIG_IsOK(res1)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28074 }
28075 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28076 {
28077 PyThreadState* __tstate = wxPyBeginAllowThreads();
28078 (arg1)->GetPPIScreen(arg2,arg3);
28079 wxPyEndAllowThreads(__tstate);
28080 if (PyErr_Occurred()) SWIG_fail;
28081 }
28082 resultobj = SWIG_Py_Void();
28083 if (SWIG_IsTmpObj(res2)) {
28084 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28085 } else {
28086 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28087 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28088 }
28089 if (SWIG_IsTmpObj(res3)) {
28090 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28091 } else {
28092 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28093 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28094 }
28095 return resultobj;
28096 fail:
28097 return NULL;
28098 }
28099
28100
28101 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28102 PyObject *resultobj = 0;
28103 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28104 int arg2 ;
28105 int arg3 ;
28106 void *argp1 = 0 ;
28107 int res1 = 0 ;
28108 int val2 ;
28109 int ecode2 = 0 ;
28110 int val3 ;
28111 int ecode3 = 0 ;
28112 PyObject * obj0 = 0 ;
28113 PyObject * obj1 = 0 ;
28114 PyObject * obj2 = 0 ;
28115 char * kwnames[] = {
28116 (char *) "self",(char *) "x",(char *) "y", NULL
28117 };
28118
28119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28121 if (!SWIG_IsOK(res1)) {
28122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28123 }
28124 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28125 ecode2 = SWIG_AsVal_int(obj1, &val2);
28126 if (!SWIG_IsOK(ecode2)) {
28127 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28128 }
28129 arg2 = static_cast< int >(val2);
28130 ecode3 = SWIG_AsVal_int(obj2, &val3);
28131 if (!SWIG_IsOK(ecode3)) {
28132 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28133 }
28134 arg3 = static_cast< int >(val3);
28135 {
28136 PyThreadState* __tstate = wxPyBeginAllowThreads();
28137 (arg1)->SetPPIPrinter(arg2,arg3);
28138 wxPyEndAllowThreads(__tstate);
28139 if (PyErr_Occurred()) SWIG_fail;
28140 }
28141 resultobj = SWIG_Py_Void();
28142 return resultobj;
28143 fail:
28144 return NULL;
28145 }
28146
28147
28148 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28149 PyObject *resultobj = 0;
28150 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28151 int *arg2 = (int *) 0 ;
28152 int *arg3 = (int *) 0 ;
28153 void *argp1 = 0 ;
28154 int res1 = 0 ;
28155 int temp2 ;
28156 int res2 = SWIG_TMPOBJ ;
28157 int temp3 ;
28158 int res3 = SWIG_TMPOBJ ;
28159 PyObject *swig_obj[1] ;
28160
28161 arg2 = &temp2;
28162 arg3 = &temp3;
28163 if (!args) SWIG_fail;
28164 swig_obj[0] = args;
28165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28166 if (!SWIG_IsOK(res1)) {
28167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28168 }
28169 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28170 {
28171 PyThreadState* __tstate = wxPyBeginAllowThreads();
28172 (arg1)->GetPPIPrinter(arg2,arg3);
28173 wxPyEndAllowThreads(__tstate);
28174 if (PyErr_Occurred()) SWIG_fail;
28175 }
28176 resultobj = SWIG_Py_Void();
28177 if (SWIG_IsTmpObj(res2)) {
28178 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28179 } else {
28180 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28181 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28182 }
28183 if (SWIG_IsTmpObj(res3)) {
28184 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28185 } else {
28186 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28187 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28188 }
28189 return resultobj;
28190 fail:
28191 return NULL;
28192 }
28193
28194
28195 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28196 PyObject *resultobj = 0;
28197 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28198 bool result;
28199 void *argp1 = 0 ;
28200 int res1 = 0 ;
28201 PyObject *swig_obj[1] ;
28202
28203 if (!args) SWIG_fail;
28204 swig_obj[0] = args;
28205 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28206 if (!SWIG_IsOK(res1)) {
28207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28208 }
28209 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28210 {
28211 PyThreadState* __tstate = wxPyBeginAllowThreads();
28212 result = (bool)(arg1)->IsPreview();
28213 wxPyEndAllowThreads(__tstate);
28214 if (PyErr_Occurred()) SWIG_fail;
28215 }
28216 {
28217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28218 }
28219 return resultobj;
28220 fail:
28221 return NULL;
28222 }
28223
28224
28225 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28226 PyObject *resultobj = 0;
28227 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28228 bool arg2 ;
28229 void *argp1 = 0 ;
28230 int res1 = 0 ;
28231 bool val2 ;
28232 int ecode2 = 0 ;
28233 PyObject * obj0 = 0 ;
28234 PyObject * obj1 = 0 ;
28235 char * kwnames[] = {
28236 (char *) "self",(char *) "p", NULL
28237 };
28238
28239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28241 if (!SWIG_IsOK(res1)) {
28242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28243 }
28244 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28245 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28246 if (!SWIG_IsOK(ecode2)) {
28247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28248 }
28249 arg2 = static_cast< bool >(val2);
28250 {
28251 PyThreadState* __tstate = wxPyBeginAllowThreads();
28252 (arg1)->SetIsPreview(arg2);
28253 wxPyEndAllowThreads(__tstate);
28254 if (PyErr_Occurred()) SWIG_fail;
28255 }
28256 resultobj = SWIG_Py_Void();
28257 return resultobj;
28258 fail:
28259 return NULL;
28260 }
28261
28262
28263 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28264 PyObject *resultobj = 0;
28265 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28266 int arg2 ;
28267 int arg3 ;
28268 bool result;
28269 void *argp1 = 0 ;
28270 int res1 = 0 ;
28271 int val2 ;
28272 int ecode2 = 0 ;
28273 int val3 ;
28274 int ecode3 = 0 ;
28275 PyObject * obj0 = 0 ;
28276 PyObject * obj1 = 0 ;
28277 PyObject * obj2 = 0 ;
28278 char * kwnames[] = {
28279 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28280 };
28281
28282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28284 if (!SWIG_IsOK(res1)) {
28285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28286 }
28287 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28288 ecode2 = SWIG_AsVal_int(obj1, &val2);
28289 if (!SWIG_IsOK(ecode2)) {
28290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28291 }
28292 arg2 = static_cast< int >(val2);
28293 ecode3 = SWIG_AsVal_int(obj2, &val3);
28294 if (!SWIG_IsOK(ecode3)) {
28295 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28296 }
28297 arg3 = static_cast< int >(val3);
28298 {
28299 PyThreadState* __tstate = wxPyBeginAllowThreads();
28300 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28301 wxPyEndAllowThreads(__tstate);
28302 if (PyErr_Occurred()) SWIG_fail;
28303 }
28304 {
28305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28306 }
28307 return resultobj;
28308 fail:
28309 return NULL;
28310 }
28311
28312
28313 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28314 PyObject *resultobj = 0;
28315 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28316 void *argp1 = 0 ;
28317 int res1 = 0 ;
28318 PyObject *swig_obj[1] ;
28319
28320 if (!args) SWIG_fail;
28321 swig_obj[0] = args;
28322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28323 if (!SWIG_IsOK(res1)) {
28324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28325 }
28326 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28327 {
28328 PyThreadState* __tstate = wxPyBeginAllowThreads();
28329 (arg1)->OnEndDocument();
28330 wxPyEndAllowThreads(__tstate);
28331 if (PyErr_Occurred()) SWIG_fail;
28332 }
28333 resultobj = SWIG_Py_Void();
28334 return resultobj;
28335 fail:
28336 return NULL;
28337 }
28338
28339
28340 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28341 PyObject *resultobj = 0;
28342 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28343 void *argp1 = 0 ;
28344 int res1 = 0 ;
28345 PyObject *swig_obj[1] ;
28346
28347 if (!args) SWIG_fail;
28348 swig_obj[0] = args;
28349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28350 if (!SWIG_IsOK(res1)) {
28351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28352 }
28353 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28354 {
28355 PyThreadState* __tstate = wxPyBeginAllowThreads();
28356 (arg1)->OnBeginPrinting();
28357 wxPyEndAllowThreads(__tstate);
28358 if (PyErr_Occurred()) SWIG_fail;
28359 }
28360 resultobj = SWIG_Py_Void();
28361 return resultobj;
28362 fail:
28363 return NULL;
28364 }
28365
28366
28367 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28368 PyObject *resultobj = 0;
28369 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28370 void *argp1 = 0 ;
28371 int res1 = 0 ;
28372 PyObject *swig_obj[1] ;
28373
28374 if (!args) SWIG_fail;
28375 swig_obj[0] = args;
28376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28377 if (!SWIG_IsOK(res1)) {
28378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28379 }
28380 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28381 {
28382 PyThreadState* __tstate = wxPyBeginAllowThreads();
28383 (arg1)->OnEndPrinting();
28384 wxPyEndAllowThreads(__tstate);
28385 if (PyErr_Occurred()) SWIG_fail;
28386 }
28387 resultobj = SWIG_Py_Void();
28388 return resultobj;
28389 fail:
28390 return NULL;
28391 }
28392
28393
28394 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28395 PyObject *resultobj = 0;
28396 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28397 void *argp1 = 0 ;
28398 int res1 = 0 ;
28399 PyObject *swig_obj[1] ;
28400
28401 if (!args) SWIG_fail;
28402 swig_obj[0] = args;
28403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28404 if (!SWIG_IsOK(res1)) {
28405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28406 }
28407 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28408 {
28409 PyThreadState* __tstate = wxPyBeginAllowThreads();
28410 (arg1)->OnPreparePrinting();
28411 wxPyEndAllowThreads(__tstate);
28412 if (PyErr_Occurred()) SWIG_fail;
28413 }
28414 resultobj = SWIG_Py_Void();
28415 return resultobj;
28416 fail:
28417 return NULL;
28418 }
28419
28420
28421 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28422 PyObject *resultobj = 0;
28423 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28424 int arg2 ;
28425 bool result;
28426 void *argp1 = 0 ;
28427 int res1 = 0 ;
28428 int val2 ;
28429 int ecode2 = 0 ;
28430 PyObject * obj0 = 0 ;
28431 PyObject * obj1 = 0 ;
28432 char * kwnames[] = {
28433 (char *) "self",(char *) "page", NULL
28434 };
28435
28436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28438 if (!SWIG_IsOK(res1)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28440 }
28441 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28442 ecode2 = SWIG_AsVal_int(obj1, &val2);
28443 if (!SWIG_IsOK(ecode2)) {
28444 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28445 }
28446 arg2 = static_cast< int >(val2);
28447 {
28448 PyThreadState* __tstate = wxPyBeginAllowThreads();
28449 result = (bool)(arg1)->HasPage(arg2);
28450 wxPyEndAllowThreads(__tstate);
28451 if (PyErr_Occurred()) SWIG_fail;
28452 }
28453 {
28454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28455 }
28456 return resultobj;
28457 fail:
28458 return NULL;
28459 }
28460
28461
28462 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28463 PyObject *resultobj = 0;
28464 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28465 int *arg2 = (int *) 0 ;
28466 int *arg3 = (int *) 0 ;
28467 int *arg4 = (int *) 0 ;
28468 int *arg5 = (int *) 0 ;
28469 void *argp1 = 0 ;
28470 int res1 = 0 ;
28471 int temp2 ;
28472 int res2 = SWIG_TMPOBJ ;
28473 int temp3 ;
28474 int res3 = SWIG_TMPOBJ ;
28475 int temp4 ;
28476 int res4 = SWIG_TMPOBJ ;
28477 int temp5 ;
28478 int res5 = SWIG_TMPOBJ ;
28479 PyObject *swig_obj[1] ;
28480
28481 arg2 = &temp2;
28482 arg3 = &temp3;
28483 arg4 = &temp4;
28484 arg5 = &temp5;
28485 if (!args) SWIG_fail;
28486 swig_obj[0] = args;
28487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28488 if (!SWIG_IsOK(res1)) {
28489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28490 }
28491 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28492 {
28493 PyThreadState* __tstate = wxPyBeginAllowThreads();
28494 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
28495 wxPyEndAllowThreads(__tstate);
28496 if (PyErr_Occurred()) SWIG_fail;
28497 }
28498 resultobj = SWIG_Py_Void();
28499 if (SWIG_IsTmpObj(res2)) {
28500 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28501 } else {
28502 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28503 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28504 }
28505 if (SWIG_IsTmpObj(res3)) {
28506 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28507 } else {
28508 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28509 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28510 }
28511 if (SWIG_IsTmpObj(res4)) {
28512 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
28513 } else {
28514 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28515 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
28516 }
28517 if (SWIG_IsTmpObj(res5)) {
28518 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
28519 } else {
28520 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28521 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
28522 }
28523 return resultobj;
28524 fail:
28525 return NULL;
28526 }
28527
28528
28529 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28530 PyObject *obj;
28531 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28532 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
28533 return SWIG_Py_Void();
28534 }
28535
28536 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28537 return SWIG_Python_InitShadowInstance(args);
28538 }
28539
28540 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28541 PyObject *resultobj = 0;
28542 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28543 wxWindow *arg2 = (wxWindow *) 0 ;
28544 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28545 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28546 wxSize const &arg4_defvalue = wxDefaultSize ;
28547 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28548 long arg5 = (long) 0 ;
28549 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
28550 wxString *arg6 = (wxString *) &arg6_defvalue ;
28551 wxPreviewCanvas *result = 0 ;
28552 void *argp1 = 0 ;
28553 int res1 = 0 ;
28554 void *argp2 = 0 ;
28555 int res2 = 0 ;
28556 wxPoint temp3 ;
28557 wxSize temp4 ;
28558 long val5 ;
28559 int ecode5 = 0 ;
28560 bool temp6 = false ;
28561 PyObject * obj0 = 0 ;
28562 PyObject * obj1 = 0 ;
28563 PyObject * obj2 = 0 ;
28564 PyObject * obj3 = 0 ;
28565 PyObject * obj4 = 0 ;
28566 PyObject * obj5 = 0 ;
28567 char * kwnames[] = {
28568 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28569 };
28570
28571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
28572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28573 if (!SWIG_IsOK(res1)) {
28574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28575 }
28576 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28577 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
28578 if (!SWIG_IsOK(res2)) {
28579 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28580 }
28581 arg2 = reinterpret_cast< wxWindow * >(argp2);
28582 if (obj2) {
28583 {
28584 arg3 = &temp3;
28585 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28586 }
28587 }
28588 if (obj3) {
28589 {
28590 arg4 = &temp4;
28591 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28592 }
28593 }
28594 if (obj4) {
28595 ecode5 = SWIG_AsVal_long(obj4, &val5);
28596 if (!SWIG_IsOK(ecode5)) {
28597 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28598 }
28599 arg5 = static_cast< long >(val5);
28600 }
28601 if (obj5) {
28602 {
28603 arg6 = wxString_in_helper(obj5);
28604 if (arg6 == NULL) SWIG_fail;
28605 temp6 = true;
28606 }
28607 }
28608 {
28609 if (!wxPyCheckForApp()) SWIG_fail;
28610 PyThreadState* __tstate = wxPyBeginAllowThreads();
28611 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
28612 wxPyEndAllowThreads(__tstate);
28613 if (PyErr_Occurred()) SWIG_fail;
28614 }
28615 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
28616 {
28617 if (temp6)
28618 delete arg6;
28619 }
28620 return resultobj;
28621 fail:
28622 {
28623 if (temp6)
28624 delete arg6;
28625 }
28626 return NULL;
28627 }
28628
28629
28630 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28631 PyObject *obj;
28632 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28633 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
28634 return SWIG_Py_Void();
28635 }
28636
28637 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28638 return SWIG_Python_InitShadowInstance(args);
28639 }
28640
28641 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28642 PyObject *resultobj = 0;
28643 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28644 wxFrame *arg2 = (wxFrame *) 0 ;
28645 wxString *arg3 = 0 ;
28646 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28647 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28648 wxSize const &arg5_defvalue = wxDefaultSize ;
28649 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28650 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
28651 wxString const &arg7_defvalue = wxPyFrameNameStr ;
28652 wxString *arg7 = (wxString *) &arg7_defvalue ;
28653 wxPreviewFrame *result = 0 ;
28654 int res1 = 0 ;
28655 void *argp2 = 0 ;
28656 int res2 = 0 ;
28657 bool temp3 = false ;
28658 wxPoint temp4 ;
28659 wxSize temp5 ;
28660 long val6 ;
28661 int ecode6 = 0 ;
28662 bool temp7 = false ;
28663 PyObject * obj0 = 0 ;
28664 PyObject * obj1 = 0 ;
28665 PyObject * obj2 = 0 ;
28666 PyObject * obj3 = 0 ;
28667 PyObject * obj4 = 0 ;
28668 PyObject * obj5 = 0 ;
28669 PyObject * obj6 = 0 ;
28670 char * kwnames[] = {
28671 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28672 };
28673
28674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28675 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
28676 if (!SWIG_IsOK(res1)) {
28677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28678 }
28679 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
28680 if (!SWIG_IsOK(res2)) {
28681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28682 }
28683 arg2 = reinterpret_cast< wxFrame * >(argp2);
28684 {
28685 arg3 = wxString_in_helper(obj2);
28686 if (arg3 == NULL) SWIG_fail;
28687 temp3 = true;
28688 }
28689 if (obj3) {
28690 {
28691 arg4 = &temp4;
28692 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28693 }
28694 }
28695 if (obj4) {
28696 {
28697 arg5 = &temp5;
28698 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28699 }
28700 }
28701 if (obj5) {
28702 ecode6 = SWIG_AsVal_long(obj5, &val6);
28703 if (!SWIG_IsOK(ecode6)) {
28704 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28705 }
28706 arg6 = static_cast< long >(val6);
28707 }
28708 if (obj6) {
28709 {
28710 arg7 = wxString_in_helper(obj6);
28711 if (arg7 == NULL) SWIG_fail;
28712 temp7 = true;
28713 }
28714 }
28715 {
28716 if (!wxPyCheckForApp()) SWIG_fail;
28717 PyThreadState* __tstate = wxPyBeginAllowThreads();
28718 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28719 wxPyEndAllowThreads(__tstate);
28720 if (PyErr_Occurred()) SWIG_fail;
28721 }
28722 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
28723 {
28724 if (temp3)
28725 delete arg3;
28726 }
28727 {
28728 if (temp7)
28729 delete arg7;
28730 }
28731 return resultobj;
28732 fail:
28733 {
28734 if (temp3)
28735 delete arg3;
28736 }
28737 {
28738 if (temp7)
28739 delete arg7;
28740 }
28741 return NULL;
28742 }
28743
28744
28745 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28746 PyObject *resultobj = 0;
28747 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28748 void *argp1 = 0 ;
28749 int res1 = 0 ;
28750 PyObject *swig_obj[1] ;
28751
28752 if (!args) SWIG_fail;
28753 swig_obj[0] = args;
28754 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28755 if (!SWIG_IsOK(res1)) {
28756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28757 }
28758 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28759 {
28760 PyThreadState* __tstate = wxPyBeginAllowThreads();
28761 (arg1)->Initialize();
28762 wxPyEndAllowThreads(__tstate);
28763 if (PyErr_Occurred()) SWIG_fail;
28764 }
28765 resultobj = SWIG_Py_Void();
28766 return resultobj;
28767 fail:
28768 return NULL;
28769 }
28770
28771
28772 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28773 PyObject *resultobj = 0;
28774 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28775 void *argp1 = 0 ;
28776 int res1 = 0 ;
28777 PyObject *swig_obj[1] ;
28778
28779 if (!args) SWIG_fail;
28780 swig_obj[0] = args;
28781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28782 if (!SWIG_IsOK(res1)) {
28783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28784 }
28785 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28786 {
28787 PyThreadState* __tstate = wxPyBeginAllowThreads();
28788 (arg1)->CreateControlBar();
28789 wxPyEndAllowThreads(__tstate);
28790 if (PyErr_Occurred()) SWIG_fail;
28791 }
28792 resultobj = SWIG_Py_Void();
28793 return resultobj;
28794 fail:
28795 return NULL;
28796 }
28797
28798
28799 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28800 PyObject *resultobj = 0;
28801 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28802 void *argp1 = 0 ;
28803 int res1 = 0 ;
28804 PyObject *swig_obj[1] ;
28805
28806 if (!args) SWIG_fail;
28807 swig_obj[0] = args;
28808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28809 if (!SWIG_IsOK(res1)) {
28810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28811 }
28812 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28813 {
28814 PyThreadState* __tstate = wxPyBeginAllowThreads();
28815 (arg1)->CreateCanvas();
28816 wxPyEndAllowThreads(__tstate);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 resultobj = SWIG_Py_Void();
28820 return resultobj;
28821 fail:
28822 return NULL;
28823 }
28824
28825
28826 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28827 PyObject *resultobj = 0;
28828 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
28829 wxPreviewControlBar *result = 0 ;
28830 void *argp1 = 0 ;
28831 int res1 = 0 ;
28832 PyObject *swig_obj[1] ;
28833
28834 if (!args) SWIG_fail;
28835 swig_obj[0] = args;
28836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
28837 if (!SWIG_IsOK(res1)) {
28838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28839 }
28840 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
28841 {
28842 PyThreadState* __tstate = wxPyBeginAllowThreads();
28843 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
28844 wxPyEndAllowThreads(__tstate);
28845 if (PyErr_Occurred()) SWIG_fail;
28846 }
28847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28848 return resultobj;
28849 fail:
28850 return NULL;
28851 }
28852
28853
28854 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28855 PyObject *obj;
28856 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28857 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
28858 return SWIG_Py_Void();
28859 }
28860
28861 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28862 return SWIG_Python_InitShadowInstance(args);
28863 }
28864
28865 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28866 PyObject *resultobj = 0;
28867 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
28868 long arg2 ;
28869 wxWindow *arg3 = (wxWindow *) 0 ;
28870 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28871 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28872 wxSize const &arg5_defvalue = wxDefaultSize ;
28873 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28874 long arg6 = (long) wxTAB_TRAVERSAL ;
28875 wxString const &arg7_defvalue = wxPyPanelNameStr ;
28876 wxString *arg7 = (wxString *) &arg7_defvalue ;
28877 wxPreviewControlBar *result = 0 ;
28878 void *argp1 = 0 ;
28879 int res1 = 0 ;
28880 long val2 ;
28881 int ecode2 = 0 ;
28882 void *argp3 = 0 ;
28883 int res3 = 0 ;
28884 wxPoint temp4 ;
28885 wxSize temp5 ;
28886 long val6 ;
28887 int ecode6 = 0 ;
28888 bool temp7 = false ;
28889 PyObject * obj0 = 0 ;
28890 PyObject * obj1 = 0 ;
28891 PyObject * obj2 = 0 ;
28892 PyObject * obj3 = 0 ;
28893 PyObject * obj4 = 0 ;
28894 PyObject * obj5 = 0 ;
28895 PyObject * obj6 = 0 ;
28896 char * kwnames[] = {
28897 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28898 };
28899
28900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
28901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
28902 if (!SWIG_IsOK(res1)) {
28903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28904 }
28905 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
28906 ecode2 = SWIG_AsVal_long(obj1, &val2);
28907 if (!SWIG_IsOK(ecode2)) {
28908 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28909 }
28910 arg2 = static_cast< long >(val2);
28911 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
28912 if (!SWIG_IsOK(res3)) {
28913 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28914 }
28915 arg3 = reinterpret_cast< wxWindow * >(argp3);
28916 if (obj3) {
28917 {
28918 arg4 = &temp4;
28919 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28920 }
28921 }
28922 if (obj4) {
28923 {
28924 arg5 = &temp5;
28925 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28926 }
28927 }
28928 if (obj5) {
28929 ecode6 = SWIG_AsVal_long(obj5, &val6);
28930 if (!SWIG_IsOK(ecode6)) {
28931 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28932 }
28933 arg6 = static_cast< long >(val6);
28934 }
28935 if (obj6) {
28936 {
28937 arg7 = wxString_in_helper(obj6);
28938 if (arg7 == NULL) SWIG_fail;
28939 temp7 = true;
28940 }
28941 }
28942 {
28943 if (!wxPyCheckForApp()) SWIG_fail;
28944 PyThreadState* __tstate = wxPyBeginAllowThreads();
28945 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
28946 wxPyEndAllowThreads(__tstate);
28947 if (PyErr_Occurred()) SWIG_fail;
28948 }
28949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
28950 {
28951 if (temp7)
28952 delete arg7;
28953 }
28954 return resultobj;
28955 fail:
28956 {
28957 if (temp7)
28958 delete arg7;
28959 }
28960 return NULL;
28961 }
28962
28963
28964 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28965 PyObject *resultobj = 0;
28966 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28967 int result;
28968 void *argp1 = 0 ;
28969 int res1 = 0 ;
28970 PyObject *swig_obj[1] ;
28971
28972 if (!args) SWIG_fail;
28973 swig_obj[0] = args;
28974 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
28975 if (!SWIG_IsOK(res1)) {
28976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28977 }
28978 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
28979 {
28980 PyThreadState* __tstate = wxPyBeginAllowThreads();
28981 result = (int)(arg1)->GetZoomControl();
28982 wxPyEndAllowThreads(__tstate);
28983 if (PyErr_Occurred()) SWIG_fail;
28984 }
28985 resultobj = SWIG_From_int(static_cast< int >(result));
28986 return resultobj;
28987 fail:
28988 return NULL;
28989 }
28990
28991
28992 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28993 PyObject *resultobj = 0;
28994 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
28995 int arg2 ;
28996 void *argp1 = 0 ;
28997 int res1 = 0 ;
28998 int val2 ;
28999 int ecode2 = 0 ;
29000 PyObject * obj0 = 0 ;
29001 PyObject * obj1 = 0 ;
29002 char * kwnames[] = {
29003 (char *) "self",(char *) "zoom", NULL
29004 };
29005
29006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29008 if (!SWIG_IsOK(res1)) {
29009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29010 }
29011 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29012 ecode2 = SWIG_AsVal_int(obj1, &val2);
29013 if (!SWIG_IsOK(ecode2)) {
29014 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29015 }
29016 arg2 = static_cast< int >(val2);
29017 {
29018 PyThreadState* __tstate = wxPyBeginAllowThreads();
29019 (arg1)->SetZoomControl(arg2);
29020 wxPyEndAllowThreads(__tstate);
29021 if (PyErr_Occurred()) SWIG_fail;
29022 }
29023 resultobj = SWIG_Py_Void();
29024 return resultobj;
29025 fail:
29026 return NULL;
29027 }
29028
29029
29030 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29031 PyObject *resultobj = 0;
29032 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29033 wxPrintPreview *result = 0 ;
29034 void *argp1 = 0 ;
29035 int res1 = 0 ;
29036 PyObject *swig_obj[1] ;
29037
29038 if (!args) SWIG_fail;
29039 swig_obj[0] = args;
29040 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29041 if (!SWIG_IsOK(res1)) {
29042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29043 }
29044 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29045 {
29046 PyThreadState* __tstate = wxPyBeginAllowThreads();
29047 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29048 wxPyEndAllowThreads(__tstate);
29049 if (PyErr_Occurred()) SWIG_fail;
29050 }
29051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29052 return resultobj;
29053 fail:
29054 return NULL;
29055 }
29056
29057
29058 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29059 PyObject *resultobj = 0;
29060 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29061 void *argp1 = 0 ;
29062 int res1 = 0 ;
29063 PyObject *swig_obj[1] ;
29064
29065 if (!args) SWIG_fail;
29066 swig_obj[0] = args;
29067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29068 if (!SWIG_IsOK(res1)) {
29069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29070 }
29071 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29072 {
29073 PyThreadState* __tstate = wxPyBeginAllowThreads();
29074 (arg1)->OnNext();
29075 wxPyEndAllowThreads(__tstate);
29076 if (PyErr_Occurred()) SWIG_fail;
29077 }
29078 resultobj = SWIG_Py_Void();
29079 return resultobj;
29080 fail:
29081 return NULL;
29082 }
29083
29084
29085 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29086 PyObject *resultobj = 0;
29087 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29088 void *argp1 = 0 ;
29089 int res1 = 0 ;
29090 PyObject *swig_obj[1] ;
29091
29092 if (!args) SWIG_fail;
29093 swig_obj[0] = args;
29094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29095 if (!SWIG_IsOK(res1)) {
29096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29097 }
29098 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29099 {
29100 PyThreadState* __tstate = wxPyBeginAllowThreads();
29101 (arg1)->OnPrevious();
29102 wxPyEndAllowThreads(__tstate);
29103 if (PyErr_Occurred()) SWIG_fail;
29104 }
29105 resultobj = SWIG_Py_Void();
29106 return resultobj;
29107 fail:
29108 return NULL;
29109 }
29110
29111
29112 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29113 PyObject *resultobj = 0;
29114 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29115 void *argp1 = 0 ;
29116 int res1 = 0 ;
29117 PyObject *swig_obj[1] ;
29118
29119 if (!args) SWIG_fail;
29120 swig_obj[0] = args;
29121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29122 if (!SWIG_IsOK(res1)) {
29123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29124 }
29125 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29126 {
29127 PyThreadState* __tstate = wxPyBeginAllowThreads();
29128 (arg1)->OnFirst();
29129 wxPyEndAllowThreads(__tstate);
29130 if (PyErr_Occurred()) SWIG_fail;
29131 }
29132 resultobj = SWIG_Py_Void();
29133 return resultobj;
29134 fail:
29135 return NULL;
29136 }
29137
29138
29139 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29140 PyObject *resultobj = 0;
29141 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29142 void *argp1 = 0 ;
29143 int res1 = 0 ;
29144 PyObject *swig_obj[1] ;
29145
29146 if (!args) SWIG_fail;
29147 swig_obj[0] = args;
29148 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29149 if (!SWIG_IsOK(res1)) {
29150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29151 }
29152 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29153 {
29154 PyThreadState* __tstate = wxPyBeginAllowThreads();
29155 (arg1)->OnLast();
29156 wxPyEndAllowThreads(__tstate);
29157 if (PyErr_Occurred()) SWIG_fail;
29158 }
29159 resultobj = SWIG_Py_Void();
29160 return resultobj;
29161 fail:
29162 return NULL;
29163 }
29164
29165
29166 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29167 PyObject *resultobj = 0;
29168 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29169 void *argp1 = 0 ;
29170 int res1 = 0 ;
29171 PyObject *swig_obj[1] ;
29172
29173 if (!args) SWIG_fail;
29174 swig_obj[0] = args;
29175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29176 if (!SWIG_IsOK(res1)) {
29177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29178 }
29179 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29180 {
29181 PyThreadState* __tstate = wxPyBeginAllowThreads();
29182 (arg1)->OnGoto();
29183 wxPyEndAllowThreads(__tstate);
29184 if (PyErr_Occurred()) SWIG_fail;
29185 }
29186 resultobj = SWIG_Py_Void();
29187 return resultobj;
29188 fail:
29189 return NULL;
29190 }
29191
29192
29193 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29194 PyObject *obj;
29195 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29196 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29197 return SWIG_Py_Void();
29198 }
29199
29200 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29201 return SWIG_Python_InitShadowInstance(args);
29202 }
29203
29204 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29205 PyObject *resultobj = 0;
29206 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29207 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29208 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29209 wxPrintPreview *result = 0 ;
29210 int res1 = 0 ;
29211 int res2 = 0 ;
29212 void *argp3 = 0 ;
29213 int res3 = 0 ;
29214
29215 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29216 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29217 if (!SWIG_IsOK(res1)) {
29218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29219 }
29220 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29221 if (!SWIG_IsOK(res2)) {
29222 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29223 }
29224 if (swig_obj[2]) {
29225 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29226 if (!SWIG_IsOK(res3)) {
29227 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29228 }
29229 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29230 }
29231 {
29232 if (!wxPyCheckForApp()) SWIG_fail;
29233 PyThreadState* __tstate = wxPyBeginAllowThreads();
29234 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29235 wxPyEndAllowThreads(__tstate);
29236 if (PyErr_Occurred()) SWIG_fail;
29237 }
29238 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29239 return resultobj;
29240 fail:
29241 return NULL;
29242 }
29243
29244
29245 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29246 PyObject *resultobj = 0;
29247 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29248 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29249 wxPrintData *arg3 = (wxPrintData *) 0 ;
29250 wxPrintPreview *result = 0 ;
29251 int res1 = 0 ;
29252 int res2 = 0 ;
29253 void *argp3 = 0 ;
29254 int res3 = 0 ;
29255
29256 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29257 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29258 if (!SWIG_IsOK(res1)) {
29259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29260 }
29261 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29262 if (!SWIG_IsOK(res2)) {
29263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29264 }
29265 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29266 if (!SWIG_IsOK(res3)) {
29267 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29268 }
29269 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29270 {
29271 if (!wxPyCheckForApp()) SWIG_fail;
29272 PyThreadState* __tstate = wxPyBeginAllowThreads();
29273 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29274 wxPyEndAllowThreads(__tstate);
29275 if (PyErr_Occurred()) SWIG_fail;
29276 }
29277 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29278 return resultobj;
29279 fail:
29280 return NULL;
29281 }
29282
29283
29284 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29285 int argc;
29286 PyObject *argv[4];
29287
29288 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29289 --argc;
29290 if ((argc >= 2) && (argc <= 3)) {
29291 int _v = 0;
29292 if (argc > 2) {
29293 {
29294 void *vptr = 0;
29295 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29296 _v = SWIG_CheckState(res);
29297 }
29298 if (!_v) goto check_1;
29299 }
29300 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29301 }
29302 check_1:
29303
29304 if (argc == 3) {
29305 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29306 }
29307
29308 fail:
29309 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29310 return NULL;
29311 }
29312
29313
29314 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29315 PyObject *resultobj = 0;
29316 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29317 void *argp1 = 0 ;
29318 int res1 = 0 ;
29319 PyObject *swig_obj[1] ;
29320
29321 if (!args) SWIG_fail;
29322 swig_obj[0] = args;
29323 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29324 if (!SWIG_IsOK(res1)) {
29325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29326 }
29327 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29328 {
29329 PyThreadState* __tstate = wxPyBeginAllowThreads();
29330 delete arg1;
29331
29332 wxPyEndAllowThreads(__tstate);
29333 if (PyErr_Occurred()) SWIG_fail;
29334 }
29335 resultobj = SWIG_Py_Void();
29336 return resultobj;
29337 fail:
29338 return NULL;
29339 }
29340
29341
29342 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29343 PyObject *resultobj = 0;
29344 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29345 int arg2 ;
29346 bool result;
29347 void *argp1 = 0 ;
29348 int res1 = 0 ;
29349 int val2 ;
29350 int ecode2 = 0 ;
29351 PyObject * obj0 = 0 ;
29352 PyObject * obj1 = 0 ;
29353 char * kwnames[] = {
29354 (char *) "self",(char *) "pageNum", NULL
29355 };
29356
29357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29359 if (!SWIG_IsOK(res1)) {
29360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29361 }
29362 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29363 ecode2 = SWIG_AsVal_int(obj1, &val2);
29364 if (!SWIG_IsOK(ecode2)) {
29365 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29366 }
29367 arg2 = static_cast< int >(val2);
29368 {
29369 PyThreadState* __tstate = wxPyBeginAllowThreads();
29370 result = (bool)(arg1)->SetCurrentPage(arg2);
29371 wxPyEndAllowThreads(__tstate);
29372 if (PyErr_Occurred()) SWIG_fail;
29373 }
29374 {
29375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29376 }
29377 return resultobj;
29378 fail:
29379 return NULL;
29380 }
29381
29382
29383 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29384 PyObject *resultobj = 0;
29385 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29386 int result;
29387 void *argp1 = 0 ;
29388 int res1 = 0 ;
29389 PyObject *swig_obj[1] ;
29390
29391 if (!args) SWIG_fail;
29392 swig_obj[0] = args;
29393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29394 if (!SWIG_IsOK(res1)) {
29395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29396 }
29397 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29398 {
29399 PyThreadState* __tstate = wxPyBeginAllowThreads();
29400 result = (int)(arg1)->GetCurrentPage();
29401 wxPyEndAllowThreads(__tstate);
29402 if (PyErr_Occurred()) SWIG_fail;
29403 }
29404 resultobj = SWIG_From_int(static_cast< int >(result));
29405 return resultobj;
29406 fail:
29407 return NULL;
29408 }
29409
29410
29411 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29412 PyObject *resultobj = 0;
29413 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29414 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29415 void *argp1 = 0 ;
29416 int res1 = 0 ;
29417 int res2 = 0 ;
29418 PyObject * obj0 = 0 ;
29419 PyObject * obj1 = 0 ;
29420 char * kwnames[] = {
29421 (char *) "self",(char *) "printout", NULL
29422 };
29423
29424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29426 if (!SWIG_IsOK(res1)) {
29427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29428 }
29429 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29430 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29431 if (!SWIG_IsOK(res2)) {
29432 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29433 }
29434 {
29435 PyThreadState* __tstate = wxPyBeginAllowThreads();
29436 (arg1)->SetPrintout(arg2);
29437 wxPyEndAllowThreads(__tstate);
29438 if (PyErr_Occurred()) SWIG_fail;
29439 }
29440 resultobj = SWIG_Py_Void();
29441 return resultobj;
29442 fail:
29443 return NULL;
29444 }
29445
29446
29447 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29448 PyObject *resultobj = 0;
29449 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29450 wxPyPrintout *result = 0 ;
29451 void *argp1 = 0 ;
29452 int res1 = 0 ;
29453 PyObject *swig_obj[1] ;
29454
29455 if (!args) SWIG_fail;
29456 swig_obj[0] = args;
29457 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29458 if (!SWIG_IsOK(res1)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29460 }
29461 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29462 {
29463 PyThreadState* __tstate = wxPyBeginAllowThreads();
29464 result = (wxPyPrintout *)(arg1)->GetPrintout();
29465 wxPyEndAllowThreads(__tstate);
29466 if (PyErr_Occurred()) SWIG_fail;
29467 }
29468 {
29469 resultobj = wxPyMake_wxObject(result, 0);
29470 }
29471 return resultobj;
29472 fail:
29473 return NULL;
29474 }
29475
29476
29477 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29478 PyObject *resultobj = 0;
29479 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29480 wxPyPrintout *result = 0 ;
29481 void *argp1 = 0 ;
29482 int res1 = 0 ;
29483 PyObject *swig_obj[1] ;
29484
29485 if (!args) SWIG_fail;
29486 swig_obj[0] = args;
29487 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29488 if (!SWIG_IsOK(res1)) {
29489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29490 }
29491 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29492 {
29493 PyThreadState* __tstate = wxPyBeginAllowThreads();
29494 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
29495 wxPyEndAllowThreads(__tstate);
29496 if (PyErr_Occurred()) SWIG_fail;
29497 }
29498 {
29499 resultobj = wxPyMake_wxObject(result, 0);
29500 }
29501 return resultobj;
29502 fail:
29503 return NULL;
29504 }
29505
29506
29507 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29508 PyObject *resultobj = 0;
29509 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29510 wxFrame *arg2 = (wxFrame *) 0 ;
29511 void *argp1 = 0 ;
29512 int res1 = 0 ;
29513 void *argp2 = 0 ;
29514 int res2 = 0 ;
29515 PyObject * obj0 = 0 ;
29516 PyObject * obj1 = 0 ;
29517 char * kwnames[] = {
29518 (char *) "self",(char *) "frame", NULL
29519 };
29520
29521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
29522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29523 if (!SWIG_IsOK(res1)) {
29524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29525 }
29526 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29527 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29528 if (!SWIG_IsOK(res2)) {
29529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29530 }
29531 arg2 = reinterpret_cast< wxFrame * >(argp2);
29532 {
29533 PyThreadState* __tstate = wxPyBeginAllowThreads();
29534 (arg1)->SetFrame(arg2);
29535 wxPyEndAllowThreads(__tstate);
29536 if (PyErr_Occurred()) SWIG_fail;
29537 }
29538 resultobj = SWIG_Py_Void();
29539 return resultobj;
29540 fail:
29541 return NULL;
29542 }
29543
29544
29545 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29546 PyObject *resultobj = 0;
29547 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29548 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29549 void *argp1 = 0 ;
29550 int res1 = 0 ;
29551 void *argp2 = 0 ;
29552 int res2 = 0 ;
29553 PyObject * obj0 = 0 ;
29554 PyObject * obj1 = 0 ;
29555 char * kwnames[] = {
29556 (char *) "self",(char *) "canvas", NULL
29557 };
29558
29559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
29560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29561 if (!SWIG_IsOK(res1)) {
29562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29563 }
29564 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29565 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29566 if (!SWIG_IsOK(res2)) {
29567 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29568 }
29569 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29570 {
29571 PyThreadState* __tstate = wxPyBeginAllowThreads();
29572 (arg1)->SetCanvas(arg2);
29573 wxPyEndAllowThreads(__tstate);
29574 if (PyErr_Occurred()) SWIG_fail;
29575 }
29576 resultobj = SWIG_Py_Void();
29577 return resultobj;
29578 fail:
29579 return NULL;
29580 }
29581
29582
29583 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29584 PyObject *resultobj = 0;
29585 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29586 wxFrame *result = 0 ;
29587 void *argp1 = 0 ;
29588 int res1 = 0 ;
29589 PyObject *swig_obj[1] ;
29590
29591 if (!args) SWIG_fail;
29592 swig_obj[0] = args;
29593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29594 if (!SWIG_IsOK(res1)) {
29595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29596 }
29597 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29598 {
29599 PyThreadState* __tstate = wxPyBeginAllowThreads();
29600 result = (wxFrame *)(arg1)->GetFrame();
29601 wxPyEndAllowThreads(__tstate);
29602 if (PyErr_Occurred()) SWIG_fail;
29603 }
29604 {
29605 resultobj = wxPyMake_wxObject(result, 0);
29606 }
29607 return resultobj;
29608 fail:
29609 return NULL;
29610 }
29611
29612
29613 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29614 PyObject *resultobj = 0;
29615 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29616 wxPreviewCanvas *result = 0 ;
29617 void *argp1 = 0 ;
29618 int res1 = 0 ;
29619 PyObject *swig_obj[1] ;
29620
29621 if (!args) SWIG_fail;
29622 swig_obj[0] = args;
29623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29624 if (!SWIG_IsOK(res1)) {
29625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29626 }
29627 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29628 {
29629 PyThreadState* __tstate = wxPyBeginAllowThreads();
29630 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
29631 wxPyEndAllowThreads(__tstate);
29632 if (PyErr_Occurred()) SWIG_fail;
29633 }
29634 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29635 return resultobj;
29636 fail:
29637 return NULL;
29638 }
29639
29640
29641 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29642 PyObject *resultobj = 0;
29643 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29644 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29645 wxDC *arg3 = 0 ;
29646 bool result;
29647 void *argp1 = 0 ;
29648 int res1 = 0 ;
29649 void *argp2 = 0 ;
29650 int res2 = 0 ;
29651 void *argp3 = 0 ;
29652 int res3 = 0 ;
29653 PyObject * obj0 = 0 ;
29654 PyObject * obj1 = 0 ;
29655 PyObject * obj2 = 0 ;
29656 char * kwnames[] = {
29657 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29658 };
29659
29660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29662 if (!SWIG_IsOK(res1)) {
29663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29664 }
29665 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29666 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29667 if (!SWIG_IsOK(res2)) {
29668 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29669 }
29670 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29671 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29672 if (!SWIG_IsOK(res3)) {
29673 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29674 }
29675 if (!argp3) {
29676 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29677 }
29678 arg3 = reinterpret_cast< wxDC * >(argp3);
29679 {
29680 PyThreadState* __tstate = wxPyBeginAllowThreads();
29681 result = (bool)(arg1)->PaintPage(arg2,*arg3);
29682 wxPyEndAllowThreads(__tstate);
29683 if (PyErr_Occurred()) SWIG_fail;
29684 }
29685 {
29686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29687 }
29688 return resultobj;
29689 fail:
29690 return NULL;
29691 }
29692
29693
29694 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29695 PyObject *resultobj = 0;
29696 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29697 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29698 wxDC *arg3 = 0 ;
29699 bool result;
29700 void *argp1 = 0 ;
29701 int res1 = 0 ;
29702 void *argp2 = 0 ;
29703 int res2 = 0 ;
29704 void *argp3 = 0 ;
29705 int res3 = 0 ;
29706 PyObject * obj0 = 0 ;
29707 PyObject * obj1 = 0 ;
29708 PyObject * obj2 = 0 ;
29709 char * kwnames[] = {
29710 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29711 };
29712
29713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29715 if (!SWIG_IsOK(res1)) {
29716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29717 }
29718 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29719 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29720 if (!SWIG_IsOK(res2)) {
29721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29722 }
29723 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29724 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
29725 if (!SWIG_IsOK(res3)) {
29726 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29727 }
29728 if (!argp3) {
29729 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29730 }
29731 arg3 = reinterpret_cast< wxDC * >(argp3);
29732 {
29733 PyThreadState* __tstate = wxPyBeginAllowThreads();
29734 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
29735 wxPyEndAllowThreads(__tstate);
29736 if (PyErr_Occurred()) SWIG_fail;
29737 }
29738 {
29739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29740 }
29741 return resultobj;
29742 fail:
29743 return NULL;
29744 }
29745
29746
29747 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29748 PyObject *resultobj = 0;
29749 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29750 int arg2 ;
29751 bool result;
29752 void *argp1 = 0 ;
29753 int res1 = 0 ;
29754 int val2 ;
29755 int ecode2 = 0 ;
29756 PyObject * obj0 = 0 ;
29757 PyObject * obj1 = 0 ;
29758 char * kwnames[] = {
29759 (char *) "self",(char *) "pageNum", NULL
29760 };
29761
29762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
29763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29764 if (!SWIG_IsOK(res1)) {
29765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29766 }
29767 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29768 ecode2 = SWIG_AsVal_int(obj1, &val2);
29769 if (!SWIG_IsOK(ecode2)) {
29770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29771 }
29772 arg2 = static_cast< int >(val2);
29773 {
29774 PyThreadState* __tstate = wxPyBeginAllowThreads();
29775 result = (bool)(arg1)->RenderPage(arg2);
29776 wxPyEndAllowThreads(__tstate);
29777 if (PyErr_Occurred()) SWIG_fail;
29778 }
29779 {
29780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29781 }
29782 return resultobj;
29783 fail:
29784 return NULL;
29785 }
29786
29787
29788 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29789 PyObject *resultobj = 0;
29790 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29791 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
29792 void *argp1 = 0 ;
29793 int res1 = 0 ;
29794 void *argp2 = 0 ;
29795 int res2 = 0 ;
29796 PyObject * obj0 = 0 ;
29797 PyObject * obj1 = 0 ;
29798 char * kwnames[] = {
29799 (char *) "self",(char *) "canvas", NULL
29800 };
29801
29802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
29803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29804 if (!SWIG_IsOK(res1)) {
29805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29806 }
29807 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29808 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
29809 if (!SWIG_IsOK(res2)) {
29810 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29811 }
29812 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
29813 {
29814 PyThreadState* __tstate = wxPyBeginAllowThreads();
29815 (arg1)->AdjustScrollbars(arg2);
29816 wxPyEndAllowThreads(__tstate);
29817 if (PyErr_Occurred()) SWIG_fail;
29818 }
29819 resultobj = SWIG_Py_Void();
29820 return resultobj;
29821 fail:
29822 return NULL;
29823 }
29824
29825
29826 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29827 PyObject *resultobj = 0;
29828 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29829 wxPrintDialogData *result = 0 ;
29830 void *argp1 = 0 ;
29831 int res1 = 0 ;
29832 PyObject *swig_obj[1] ;
29833
29834 if (!args) SWIG_fail;
29835 swig_obj[0] = args;
29836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29837 if (!SWIG_IsOK(res1)) {
29838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29839 }
29840 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29841 {
29842 PyThreadState* __tstate = wxPyBeginAllowThreads();
29843 {
29844 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
29845 result = (wxPrintDialogData *) &_result_ref;
29846 }
29847 wxPyEndAllowThreads(__tstate);
29848 if (PyErr_Occurred()) SWIG_fail;
29849 }
29850 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29851 return resultobj;
29852 fail:
29853 return NULL;
29854 }
29855
29856
29857 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29858 PyObject *resultobj = 0;
29859 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29860 int arg2 ;
29861 void *argp1 = 0 ;
29862 int res1 = 0 ;
29863 int val2 ;
29864 int ecode2 = 0 ;
29865 PyObject * obj0 = 0 ;
29866 PyObject * obj1 = 0 ;
29867 char * kwnames[] = {
29868 (char *) "self",(char *) "percent", NULL
29869 };
29870
29871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
29872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29873 if (!SWIG_IsOK(res1)) {
29874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29875 }
29876 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29877 ecode2 = SWIG_AsVal_int(obj1, &val2);
29878 if (!SWIG_IsOK(ecode2)) {
29879 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29880 }
29881 arg2 = static_cast< int >(val2);
29882 {
29883 PyThreadState* __tstate = wxPyBeginAllowThreads();
29884 (arg1)->SetZoom(arg2);
29885 wxPyEndAllowThreads(__tstate);
29886 if (PyErr_Occurred()) SWIG_fail;
29887 }
29888 resultobj = SWIG_Py_Void();
29889 return resultobj;
29890 fail:
29891 return NULL;
29892 }
29893
29894
29895 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29896 PyObject *resultobj = 0;
29897 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29898 int result;
29899 void *argp1 = 0 ;
29900 int res1 = 0 ;
29901 PyObject *swig_obj[1] ;
29902
29903 if (!args) SWIG_fail;
29904 swig_obj[0] = args;
29905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29906 if (!SWIG_IsOK(res1)) {
29907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29908 }
29909 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29910 {
29911 PyThreadState* __tstate = wxPyBeginAllowThreads();
29912 result = (int)(arg1)->GetZoom();
29913 wxPyEndAllowThreads(__tstate);
29914 if (PyErr_Occurred()) SWIG_fail;
29915 }
29916 resultobj = SWIG_From_int(static_cast< int >(result));
29917 return resultobj;
29918 fail:
29919 return NULL;
29920 }
29921
29922
29923 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29924 PyObject *resultobj = 0;
29925 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29926 int result;
29927 void *argp1 = 0 ;
29928 int res1 = 0 ;
29929 PyObject *swig_obj[1] ;
29930
29931 if (!args) SWIG_fail;
29932 swig_obj[0] = args;
29933 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29934 if (!SWIG_IsOK(res1)) {
29935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29936 }
29937 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29938 {
29939 PyThreadState* __tstate = wxPyBeginAllowThreads();
29940 result = (int)(arg1)->GetMaxPage();
29941 wxPyEndAllowThreads(__tstate);
29942 if (PyErr_Occurred()) SWIG_fail;
29943 }
29944 resultobj = SWIG_From_int(static_cast< int >(result));
29945 return resultobj;
29946 fail:
29947 return NULL;
29948 }
29949
29950
29951 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29952 PyObject *resultobj = 0;
29953 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29954 int result;
29955 void *argp1 = 0 ;
29956 int res1 = 0 ;
29957 PyObject *swig_obj[1] ;
29958
29959 if (!args) SWIG_fail;
29960 swig_obj[0] = args;
29961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29962 if (!SWIG_IsOK(res1)) {
29963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29964 }
29965 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29966 {
29967 PyThreadState* __tstate = wxPyBeginAllowThreads();
29968 result = (int)(arg1)->GetMinPage();
29969 wxPyEndAllowThreads(__tstate);
29970 if (PyErr_Occurred()) SWIG_fail;
29971 }
29972 resultobj = SWIG_From_int(static_cast< int >(result));
29973 return resultobj;
29974 fail:
29975 return NULL;
29976 }
29977
29978
29979 SWIGINTERN PyObject *_wrap_PrintPreview_Ok(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29980 PyObject *resultobj = 0;
29981 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29982 bool result;
29983 void *argp1 = 0 ;
29984 int res1 = 0 ;
29985 PyObject *swig_obj[1] ;
29986
29987 if (!args) SWIG_fail;
29988 swig_obj[0] = args;
29989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29990 if (!SWIG_IsOK(res1)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29992 }
29993 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 result = (bool)(arg1)->Ok();
29997 wxPyEndAllowThreads(__tstate);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
30000 {
30001 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30002 }
30003 return resultobj;
30004 fail:
30005 return NULL;
30006 }
30007
30008
30009 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30010 PyObject *resultobj = 0;
30011 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30012 bool arg2 ;
30013 void *argp1 = 0 ;
30014 int res1 = 0 ;
30015 bool val2 ;
30016 int ecode2 = 0 ;
30017 PyObject * obj0 = 0 ;
30018 PyObject * obj1 = 0 ;
30019 char * kwnames[] = {
30020 (char *) "self",(char *) "ok", NULL
30021 };
30022
30023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30025 if (!SWIG_IsOK(res1)) {
30026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30027 }
30028 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30029 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30030 if (!SWIG_IsOK(ecode2)) {
30031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30032 }
30033 arg2 = static_cast< bool >(val2);
30034 {
30035 PyThreadState* __tstate = wxPyBeginAllowThreads();
30036 (arg1)->SetOk(arg2);
30037 wxPyEndAllowThreads(__tstate);
30038 if (PyErr_Occurred()) SWIG_fail;
30039 }
30040 resultobj = SWIG_Py_Void();
30041 return resultobj;
30042 fail:
30043 return NULL;
30044 }
30045
30046
30047 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30048 PyObject *resultobj = 0;
30049 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30050 bool arg2 ;
30051 bool result;
30052 void *argp1 = 0 ;
30053 int res1 = 0 ;
30054 bool val2 ;
30055 int ecode2 = 0 ;
30056 PyObject * obj0 = 0 ;
30057 PyObject * obj1 = 0 ;
30058 char * kwnames[] = {
30059 (char *) "self",(char *) "interactive", NULL
30060 };
30061
30062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30064 if (!SWIG_IsOK(res1)) {
30065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30066 }
30067 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30068 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30069 if (!SWIG_IsOK(ecode2)) {
30070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30071 }
30072 arg2 = static_cast< bool >(val2);
30073 {
30074 PyThreadState* __tstate = wxPyBeginAllowThreads();
30075 result = (bool)(arg1)->Print(arg2);
30076 wxPyEndAllowThreads(__tstate);
30077 if (PyErr_Occurred()) SWIG_fail;
30078 }
30079 {
30080 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30081 }
30082 return resultobj;
30083 fail:
30084 return NULL;
30085 }
30086
30087
30088 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30089 PyObject *resultobj = 0;
30090 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30091 void *argp1 = 0 ;
30092 int res1 = 0 ;
30093 PyObject *swig_obj[1] ;
30094
30095 if (!args) SWIG_fail;
30096 swig_obj[0] = args;
30097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30098 if (!SWIG_IsOK(res1)) {
30099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30100 }
30101 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30102 {
30103 PyThreadState* __tstate = wxPyBeginAllowThreads();
30104 (arg1)->DetermineScaling();
30105 wxPyEndAllowThreads(__tstate);
30106 if (PyErr_Occurred()) SWIG_fail;
30107 }
30108 resultobj = SWIG_Py_Void();
30109 return resultobj;
30110 fail:
30111 return NULL;
30112 }
30113
30114
30115 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30116 PyObject *obj;
30117 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30118 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30119 return SWIG_Py_Void();
30120 }
30121
30122 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30123 return SWIG_Python_InitShadowInstance(args);
30124 }
30125
30126 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30127 PyObject *resultobj = 0;
30128 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30129 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30130 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30131 wxPyPrintPreview *result = 0 ;
30132 int res1 = 0 ;
30133 int res2 = 0 ;
30134 void *argp3 = 0 ;
30135 int res3 = 0 ;
30136
30137 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30138 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30139 if (!SWIG_IsOK(res1)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30141 }
30142 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30143 if (!SWIG_IsOK(res2)) {
30144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30145 }
30146 if (swig_obj[2]) {
30147 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30148 if (!SWIG_IsOK(res3)) {
30149 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30150 }
30151 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30152 }
30153 {
30154 if (!wxPyCheckForApp()) SWIG_fail;
30155 PyThreadState* __tstate = wxPyBeginAllowThreads();
30156 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30157 wxPyEndAllowThreads(__tstate);
30158 if (PyErr_Occurred()) SWIG_fail;
30159 }
30160 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30161 return resultobj;
30162 fail:
30163 return NULL;
30164 }
30165
30166
30167 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30168 PyObject *resultobj = 0;
30169 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30170 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30171 wxPrintData *arg3 = (wxPrintData *) 0 ;
30172 wxPyPrintPreview *result = 0 ;
30173 int res1 = 0 ;
30174 int res2 = 0 ;
30175 void *argp3 = 0 ;
30176 int res3 = 0 ;
30177
30178 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30179 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30180 if (!SWIG_IsOK(res1)) {
30181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30182 }
30183 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30184 if (!SWIG_IsOK(res2)) {
30185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30186 }
30187 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30188 if (!SWIG_IsOK(res3)) {
30189 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30190 }
30191 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30192 {
30193 if (!wxPyCheckForApp()) SWIG_fail;
30194 PyThreadState* __tstate = wxPyBeginAllowThreads();
30195 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30196 wxPyEndAllowThreads(__tstate);
30197 if (PyErr_Occurred()) SWIG_fail;
30198 }
30199 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30200 return resultobj;
30201 fail:
30202 return NULL;
30203 }
30204
30205
30206 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30207 int argc;
30208 PyObject *argv[4];
30209
30210 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30211 --argc;
30212 if ((argc >= 2) && (argc <= 3)) {
30213 int _v = 0;
30214 if (argc > 2) {
30215 {
30216 void *vptr = 0;
30217 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30218 _v = SWIG_CheckState(res);
30219 }
30220 if (!_v) goto check_1;
30221 }
30222 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30223 }
30224 check_1:
30225
30226 if (argc == 3) {
30227 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30228 }
30229
30230 fail:
30231 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30232 return NULL;
30233 }
30234
30235
30236 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30237 PyObject *resultobj = 0;
30238 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30239 PyObject *arg2 = (PyObject *) 0 ;
30240 PyObject *arg3 = (PyObject *) 0 ;
30241 void *argp1 = 0 ;
30242 int res1 = 0 ;
30243 PyObject * obj0 = 0 ;
30244 PyObject * obj1 = 0 ;
30245 PyObject * obj2 = 0 ;
30246 char * kwnames[] = {
30247 (char *) "self",(char *) "self",(char *) "_class", NULL
30248 };
30249
30250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30252 if (!SWIG_IsOK(res1)) {
30253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30254 }
30255 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30256 arg2 = obj1;
30257 arg3 = obj2;
30258 {
30259 PyThreadState* __tstate = wxPyBeginAllowThreads();
30260 (arg1)->_setCallbackInfo(arg2,arg3);
30261 wxPyEndAllowThreads(__tstate);
30262 if (PyErr_Occurred()) SWIG_fail;
30263 }
30264 resultobj = SWIG_Py_Void();
30265 return resultobj;
30266 fail:
30267 return NULL;
30268 }
30269
30270
30271 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30272 PyObject *obj;
30273 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30274 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30275 return SWIG_Py_Void();
30276 }
30277
30278 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30279 return SWIG_Python_InitShadowInstance(args);
30280 }
30281
30282 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30283 PyObject *resultobj = 0;
30284 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30285 wxFrame *arg2 = (wxFrame *) 0 ;
30286 wxString *arg3 = 0 ;
30287 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30288 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30289 wxSize const &arg5_defvalue = wxDefaultSize ;
30290 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30291 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30292 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30293 wxString *arg7 = (wxString *) &arg7_defvalue ;
30294 wxPyPreviewFrame *result = 0 ;
30295 void *argp1 = 0 ;
30296 int res1 = 0 ;
30297 void *argp2 = 0 ;
30298 int res2 = 0 ;
30299 bool temp3 = false ;
30300 wxPoint temp4 ;
30301 wxSize temp5 ;
30302 long val6 ;
30303 int ecode6 = 0 ;
30304 bool temp7 = false ;
30305 PyObject * obj0 = 0 ;
30306 PyObject * obj1 = 0 ;
30307 PyObject * obj2 = 0 ;
30308 PyObject * obj3 = 0 ;
30309 PyObject * obj4 = 0 ;
30310 PyObject * obj5 = 0 ;
30311 PyObject * obj6 = 0 ;
30312 char * kwnames[] = {
30313 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30314 };
30315
30316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30318 if (!SWIG_IsOK(res1)) {
30319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30320 }
30321 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30322 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30323 if (!SWIG_IsOK(res2)) {
30324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30325 }
30326 arg2 = reinterpret_cast< wxFrame * >(argp2);
30327 {
30328 arg3 = wxString_in_helper(obj2);
30329 if (arg3 == NULL) SWIG_fail;
30330 temp3 = true;
30331 }
30332 if (obj3) {
30333 {
30334 arg4 = &temp4;
30335 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30336 }
30337 }
30338 if (obj4) {
30339 {
30340 arg5 = &temp5;
30341 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30342 }
30343 }
30344 if (obj5) {
30345 ecode6 = SWIG_AsVal_long(obj5, &val6);
30346 if (!SWIG_IsOK(ecode6)) {
30347 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30348 }
30349 arg6 = static_cast< long >(val6);
30350 }
30351 if (obj6) {
30352 {
30353 arg7 = wxString_in_helper(obj6);
30354 if (arg7 == NULL) SWIG_fail;
30355 temp7 = true;
30356 }
30357 }
30358 {
30359 if (!wxPyCheckForApp()) SWIG_fail;
30360 PyThreadState* __tstate = wxPyBeginAllowThreads();
30361 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30362 wxPyEndAllowThreads(__tstate);
30363 if (PyErr_Occurred()) SWIG_fail;
30364 }
30365 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30366 {
30367 if (temp3)
30368 delete arg3;
30369 }
30370 {
30371 if (temp7)
30372 delete arg7;
30373 }
30374 return resultobj;
30375 fail:
30376 {
30377 if (temp3)
30378 delete arg3;
30379 }
30380 {
30381 if (temp7)
30382 delete arg7;
30383 }
30384 return NULL;
30385 }
30386
30387
30388 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30389 PyObject *resultobj = 0;
30390 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30391 PyObject *arg2 = (PyObject *) 0 ;
30392 PyObject *arg3 = (PyObject *) 0 ;
30393 void *argp1 = 0 ;
30394 int res1 = 0 ;
30395 PyObject * obj0 = 0 ;
30396 PyObject * obj1 = 0 ;
30397 PyObject * obj2 = 0 ;
30398 char * kwnames[] = {
30399 (char *) "self",(char *) "self",(char *) "_class", NULL
30400 };
30401
30402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30404 if (!SWIG_IsOK(res1)) {
30405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30406 }
30407 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30408 arg2 = obj1;
30409 arg3 = obj2;
30410 {
30411 PyThreadState* __tstate = wxPyBeginAllowThreads();
30412 (arg1)->_setCallbackInfo(arg2,arg3);
30413 wxPyEndAllowThreads(__tstate);
30414 if (PyErr_Occurred()) SWIG_fail;
30415 }
30416 resultobj = SWIG_Py_Void();
30417 return resultobj;
30418 fail:
30419 return NULL;
30420 }
30421
30422
30423 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30424 PyObject *resultobj = 0;
30425 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30426 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30427 void *argp1 = 0 ;
30428 int res1 = 0 ;
30429 void *argp2 = 0 ;
30430 int res2 = 0 ;
30431 PyObject * obj0 = 0 ;
30432 PyObject * obj1 = 0 ;
30433 char * kwnames[] = {
30434 (char *) "self",(char *) "canvas", NULL
30435 };
30436
30437 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30438 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30439 if (!SWIG_IsOK(res1)) {
30440 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30441 }
30442 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30443 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30444 if (!SWIG_IsOK(res2)) {
30445 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30446 }
30447 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30448 {
30449 PyThreadState* __tstate = wxPyBeginAllowThreads();
30450 (arg1)->SetPreviewCanvas(arg2);
30451 wxPyEndAllowThreads(__tstate);
30452 if (PyErr_Occurred()) SWIG_fail;
30453 }
30454 resultobj = SWIG_Py_Void();
30455 return resultobj;
30456 fail:
30457 return NULL;
30458 }
30459
30460
30461 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30462 PyObject *resultobj = 0;
30463 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30464 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
30465 void *argp1 = 0 ;
30466 int res1 = 0 ;
30467 void *argp2 = 0 ;
30468 int res2 = 0 ;
30469 PyObject * obj0 = 0 ;
30470 PyObject * obj1 = 0 ;
30471 char * kwnames[] = {
30472 (char *) "self",(char *) "bar", NULL
30473 };
30474
30475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
30476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30477 if (!SWIG_IsOK(res1)) {
30478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30479 }
30480 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30481 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30482 if (!SWIG_IsOK(res2)) {
30483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30484 }
30485 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
30486 {
30487 PyThreadState* __tstate = wxPyBeginAllowThreads();
30488 (arg1)->SetControlBar(arg2);
30489 wxPyEndAllowThreads(__tstate);
30490 if (PyErr_Occurred()) SWIG_fail;
30491 }
30492 resultobj = SWIG_Py_Void();
30493 return resultobj;
30494 fail:
30495 return NULL;
30496 }
30497
30498
30499 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30500 PyObject *resultobj = 0;
30501 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30502 void *argp1 = 0 ;
30503 int res1 = 0 ;
30504 PyObject *swig_obj[1] ;
30505
30506 if (!args) SWIG_fail;
30507 swig_obj[0] = args;
30508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30509 if (!SWIG_IsOK(res1)) {
30510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30511 }
30512 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30513 {
30514 PyThreadState* __tstate = wxPyBeginAllowThreads();
30515 (arg1)->Initialize();
30516 wxPyEndAllowThreads(__tstate);
30517 if (PyErr_Occurred()) SWIG_fail;
30518 }
30519 resultobj = SWIG_Py_Void();
30520 return resultobj;
30521 fail:
30522 return NULL;
30523 }
30524
30525
30526 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30527 PyObject *resultobj = 0;
30528 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30529 void *argp1 = 0 ;
30530 int res1 = 0 ;
30531 PyObject *swig_obj[1] ;
30532
30533 if (!args) SWIG_fail;
30534 swig_obj[0] = args;
30535 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30536 if (!SWIG_IsOK(res1)) {
30537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30538 }
30539 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30540 {
30541 PyThreadState* __tstate = wxPyBeginAllowThreads();
30542 (arg1)->CreateCanvas();
30543 wxPyEndAllowThreads(__tstate);
30544 if (PyErr_Occurred()) SWIG_fail;
30545 }
30546 resultobj = SWIG_Py_Void();
30547 return resultobj;
30548 fail:
30549 return NULL;
30550 }
30551
30552
30553 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30554 PyObject *resultobj = 0;
30555 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30556 void *argp1 = 0 ;
30557 int res1 = 0 ;
30558 PyObject *swig_obj[1] ;
30559
30560 if (!args) SWIG_fail;
30561 swig_obj[0] = args;
30562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30563 if (!SWIG_IsOK(res1)) {
30564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30565 }
30566 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30567 {
30568 PyThreadState* __tstate = wxPyBeginAllowThreads();
30569 (arg1)->CreateControlBar();
30570 wxPyEndAllowThreads(__tstate);
30571 if (PyErr_Occurred()) SWIG_fail;
30572 }
30573 resultobj = SWIG_Py_Void();
30574 return resultobj;
30575 fail:
30576 return NULL;
30577 }
30578
30579
30580 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30581 PyObject *obj;
30582 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30583 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
30584 return SWIG_Py_Void();
30585 }
30586
30587 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30588 return SWIG_Python_InitShadowInstance(args);
30589 }
30590
30591 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30592 PyObject *resultobj = 0;
30593 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30594 long arg2 ;
30595 wxWindow *arg3 = (wxWindow *) 0 ;
30596 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30597 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30598 wxSize const &arg5_defvalue = wxDefaultSize ;
30599 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30600 long arg6 = (long) 0 ;
30601 wxString const &arg7_defvalue = wxPyPanelNameStr ;
30602 wxString *arg7 = (wxString *) &arg7_defvalue ;
30603 wxPyPreviewControlBar *result = 0 ;
30604 void *argp1 = 0 ;
30605 int res1 = 0 ;
30606 long val2 ;
30607 int ecode2 = 0 ;
30608 void *argp3 = 0 ;
30609 int res3 = 0 ;
30610 wxPoint temp4 ;
30611 wxSize temp5 ;
30612 long val6 ;
30613 int ecode6 = 0 ;
30614 bool temp7 = false ;
30615 PyObject * obj0 = 0 ;
30616 PyObject * obj1 = 0 ;
30617 PyObject * obj2 = 0 ;
30618 PyObject * obj3 = 0 ;
30619 PyObject * obj4 = 0 ;
30620 PyObject * obj5 = 0 ;
30621 PyObject * obj6 = 0 ;
30622 char * kwnames[] = {
30623 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30624 };
30625
30626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30628 if (!SWIG_IsOK(res1)) {
30629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30630 }
30631 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30632 ecode2 = SWIG_AsVal_long(obj1, &val2);
30633 if (!SWIG_IsOK(ecode2)) {
30634 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30635 }
30636 arg2 = static_cast< long >(val2);
30637 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
30638 if (!SWIG_IsOK(res3)) {
30639 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30640 }
30641 arg3 = reinterpret_cast< wxWindow * >(argp3);
30642 if (obj3) {
30643 {
30644 arg4 = &temp4;
30645 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30646 }
30647 }
30648 if (obj4) {
30649 {
30650 arg5 = &temp5;
30651 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30652 }
30653 }
30654 if (obj5) {
30655 ecode6 = SWIG_AsVal_long(obj5, &val6);
30656 if (!SWIG_IsOK(ecode6)) {
30657 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30658 }
30659 arg6 = static_cast< long >(val6);
30660 }
30661 if (obj6) {
30662 {
30663 arg7 = wxString_in_helper(obj6);
30664 if (arg7 == NULL) SWIG_fail;
30665 temp7 = true;
30666 }
30667 }
30668 {
30669 if (!wxPyCheckForApp()) SWIG_fail;
30670 PyThreadState* __tstate = wxPyBeginAllowThreads();
30671 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30672 wxPyEndAllowThreads(__tstate);
30673 if (PyErr_Occurred()) SWIG_fail;
30674 }
30675 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
30676 {
30677 if (temp7)
30678 delete arg7;
30679 }
30680 return resultobj;
30681 fail:
30682 {
30683 if (temp7)
30684 delete arg7;
30685 }
30686 return NULL;
30687 }
30688
30689
30690 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30691 PyObject *resultobj = 0;
30692 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30693 PyObject *arg2 = (PyObject *) 0 ;
30694 PyObject *arg3 = (PyObject *) 0 ;
30695 void *argp1 = 0 ;
30696 int res1 = 0 ;
30697 PyObject * obj0 = 0 ;
30698 PyObject * obj1 = 0 ;
30699 PyObject * obj2 = 0 ;
30700 char * kwnames[] = {
30701 (char *) "self",(char *) "self",(char *) "_class", NULL
30702 };
30703
30704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30706 if (!SWIG_IsOK(res1)) {
30707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30708 }
30709 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30710 arg2 = obj1;
30711 arg3 = obj2;
30712 {
30713 PyThreadState* __tstate = wxPyBeginAllowThreads();
30714 (arg1)->_setCallbackInfo(arg2,arg3);
30715 wxPyEndAllowThreads(__tstate);
30716 if (PyErr_Occurred()) SWIG_fail;
30717 }
30718 resultobj = SWIG_Py_Void();
30719 return resultobj;
30720 fail:
30721 return NULL;
30722 }
30723
30724
30725 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30726 PyObject *resultobj = 0;
30727 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30728 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
30729 void *argp1 = 0 ;
30730 int res1 = 0 ;
30731 void *argp2 = 0 ;
30732 int res2 = 0 ;
30733 PyObject * obj0 = 0 ;
30734 PyObject * obj1 = 0 ;
30735 char * kwnames[] = {
30736 (char *) "self",(char *) "preview", NULL
30737 };
30738
30739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
30740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30741 if (!SWIG_IsOK(res1)) {
30742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30743 }
30744 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30745 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30746 if (!SWIG_IsOK(res2)) {
30747 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30748 }
30749 arg2 = reinterpret_cast< wxPrintPreview * >(argp2);
30750 {
30751 PyThreadState* __tstate = wxPyBeginAllowThreads();
30752 (arg1)->SetPrintPreview(arg2);
30753 wxPyEndAllowThreads(__tstate);
30754 if (PyErr_Occurred()) SWIG_fail;
30755 }
30756 resultobj = SWIG_Py_Void();
30757 return resultobj;
30758 fail:
30759 return NULL;
30760 }
30761
30762
30763 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30764 PyObject *resultobj = 0;
30765 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30766 void *argp1 = 0 ;
30767 int res1 = 0 ;
30768 PyObject *swig_obj[1] ;
30769
30770 if (!args) SWIG_fail;
30771 swig_obj[0] = args;
30772 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30773 if (!SWIG_IsOK(res1)) {
30774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30775 }
30776 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30777 {
30778 PyThreadState* __tstate = wxPyBeginAllowThreads();
30779 (arg1)->CreateButtons();
30780 wxPyEndAllowThreads(__tstate);
30781 if (PyErr_Occurred()) SWIG_fail;
30782 }
30783 resultobj = SWIG_Py_Void();
30784 return resultobj;
30785 fail:
30786 return NULL;
30787 }
30788
30789
30790 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30791 PyObject *resultobj = 0;
30792 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
30793 int arg2 ;
30794 void *argp1 = 0 ;
30795 int res1 = 0 ;
30796 int val2 ;
30797 int ecode2 = 0 ;
30798 PyObject * obj0 = 0 ;
30799 PyObject * obj1 = 0 ;
30800 char * kwnames[] = {
30801 (char *) "self",(char *) "zoom", NULL
30802 };
30803
30804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
30805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
30806 if (!SWIG_IsOK(res1)) {
30807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30808 }
30809 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
30810 ecode2 = SWIG_AsVal_int(obj1, &val2);
30811 if (!SWIG_IsOK(ecode2)) {
30812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30813 }
30814 arg2 = static_cast< int >(val2);
30815 {
30816 PyThreadState* __tstate = wxPyBeginAllowThreads();
30817 (arg1)->SetZoomControl(arg2);
30818 wxPyEndAllowThreads(__tstate);
30819 if (PyErr_Occurred()) SWIG_fail;
30820 }
30821 resultobj = SWIG_Py_Void();
30822 return resultobj;
30823 fail:
30824 return NULL;
30825 }
30826
30827
30828 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30829 PyObject *obj;
30830 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30831 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
30832 return SWIG_Py_Void();
30833 }
30834
30835 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30836 return SWIG_Python_InitShadowInstance(args);
30837 }
30838
30839 static PyMethodDef SwigMethods[] = {
30840 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
30841 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
30842 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30843 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
30844 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30845 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
30846 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
30847 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30848 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
30849 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30850 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
30851 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
30852 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30853 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
30854 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
30855 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
30856 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
30857 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
30858 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
30859 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
30860 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
30861 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
30862 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
30863 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
30864 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
30865 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30866 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
30867 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS, NULL},
30868 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction)_wrap_ScrolledWindow_GetTargetRect, METH_O, NULL},
30869 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
30870 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30871 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
30872 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
30873 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
30874 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
30875 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
30876 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
30877 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
30878 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
30879 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
30880 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
30881 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
30882 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30883 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
30884 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
30885 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
30886 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
30887 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
30888 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
30889 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
30890 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
30891 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30892 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
30893 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
30894 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
30895 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30896 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
30897 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
30898 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
30899 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
30900 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30901 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
30902 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30903 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30904 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30905 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30906 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30907 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
30908 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
30909 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30910 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
30911 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
30912 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
30913 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
30914 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30915 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
30916 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
30917 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
30918 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
30919 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30920 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
30921 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
30922 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
30923 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
30924 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
30925 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
30926 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30927 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30928 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
30929 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
30930 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
30931 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
30932 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30933 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
30934 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
30935 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
30936 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
30937 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30938 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
30939 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
30940 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30941 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
30942 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
30943 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
30944 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
30945 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
30946 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
30947 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
30948 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
30949 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
30950 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
30951 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
30952 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
30953 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30954 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
30955 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
30956 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30957 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30958 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30959 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
30960 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
30961 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
30962 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
30963 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
30964 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
30965 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
30966 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30967 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
30968 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
30969 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30970 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
30971 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
30972 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
30973 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
30974 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
30975 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
30976 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
30977 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
30978 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
30979 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
30980 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
30981 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
30982 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
30983 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
30984 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
30985 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
30986 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
30987 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
30988 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
30989 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
30990 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
30991 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
30992 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
30993 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
30994 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
30995 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
30996 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
30997 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
30998 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
30999 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31000 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31001 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31002 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31003 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31004 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31005 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31006 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31007 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31008 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31009 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31010 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31011 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31012 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31013 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31014 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31015 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31016 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31017 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31018 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31019 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31020 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31021 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31022 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31023 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31024 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31025 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31026 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31027 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31028 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31029 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31030 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31031 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31032 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31033 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31034 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31035 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31036 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31037 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31038 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31039 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31040 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31041 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31042 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31043 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31044 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31045 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31046 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31047 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31048 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31049 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31050 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31051 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31052 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31053 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31054 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31055 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31056 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31057 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31058 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31059 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31060 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31061 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31062 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31063 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31064 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31065 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31066 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31067 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31068 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31069 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31070 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31071 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31072 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31073 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31074 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31075 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31076 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31077 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31078 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31079 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31080 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31081 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31082 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31083 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31084 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31085 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31086 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31087 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31088 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31089 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31090 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31091 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31092 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31093 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31094 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31095 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31096 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31097 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31098 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31099 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31100 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31101 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31102 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31103 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31104 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31105 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31106 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31107 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31108 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31109 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31110 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31111 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31112 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31113 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31114 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31115 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31116 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31117 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31118 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31119 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31120 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31121 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31122 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31123 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31124 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31125 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31126 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31127 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31128 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31129 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31130 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31131 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31132 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31133 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31134 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31135 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31136 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31137 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31138 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31139 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31140 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31141 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31142 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31143 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31144 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31145 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31146 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31147 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31148 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31149 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31150 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31151 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31152 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31153 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31154 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31155 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31156 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31157 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31158 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31159 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31160 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31161 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31162 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31163 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31164 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31165 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31166 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31167 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31168 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31169 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31170 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31171 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31172 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31173 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31174 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31175 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31176 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31177 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31178 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31179 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31180 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31181 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31182 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31183 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31184 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31185 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31186 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31187 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31188 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31189 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31190 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31191 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31192 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31193 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31194 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31195 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31196 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31197 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31198 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31199 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31200 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31201 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31202 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31203 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31204 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31205 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31206 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31207 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31208 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31209 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31210 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31211 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31212 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31213 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31214 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31215 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31216 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31217 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31218 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31219 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31220 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31221 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31222 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31223 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31224 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31225 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31226 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31227 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31228 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31229 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31230 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31231 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31232 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31233 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31234 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31235 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31236 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31237 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31238 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31239 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31240 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31241 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31242 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31243 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31244 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31245 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31246 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31247 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31248 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31249 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31250 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31251 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31252 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31253 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31254 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31255 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31256 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31257 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31258 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31259 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31260 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31261 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31262 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31263 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31264 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31265 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31266 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31267 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31268 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31269 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31270 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31271 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31272 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31273 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31274 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31275 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31276 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31277 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31278 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31279 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31280 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31281 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31282 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31283 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31284 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31285 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31286 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31287 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31288 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31289 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31290 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31291 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31292 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31293 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31294 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31295 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31296 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31297 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction)_wrap_MDIParentFrame_GetToolBar, METH_O, NULL},
31298 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction)_wrap_MDIParentFrame_GetWindowMenu, METH_O, NULL},
31299 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31300 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31301 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31302 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31303 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31304 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31305 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31306 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31307 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31308 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31309 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31310 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31311 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31312 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31313 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31314 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31315 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31316 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31317 { (char *)"PyWindow_SetBestSize", (PyCFunction) _wrap_PyWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31318 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31319 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31320 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31321 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31322 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31323 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31324 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31325 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31326 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31327 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31328 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31329 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31330 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31331 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31332 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31333 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31334 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31335 { (char *)"PyPanel_SetBestSize", (PyCFunction) _wrap_PyPanel_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31336 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31337 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31338 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31339 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31340 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31341 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31342 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31343 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31344 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31345 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31346 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31347 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31348 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31349 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31350 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31351 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31352 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31353 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction) _wrap_PyScrolledWindow_SetBestSize, METH_VARARGS | METH_KEYWORDS, NULL},
31354 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31355 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31356 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31357 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31358 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31359 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31360 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31361 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31362 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31363 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31364 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31365 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31366 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31367 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31368 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31369 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31370 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31371 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31372 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31373 { (char *)"PrintData_Ok", (PyCFunction)_wrap_PrintData_Ok, METH_O, NULL},
31374 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31375 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31376 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31377 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31378 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31379 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31380 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31381 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31382 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31383 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31384 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31385 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31386 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31387 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31388 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31389 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31390 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31391 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31392 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31393 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31394 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31395 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31396 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31397 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31398 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31399 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31400 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31401 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31403 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31404 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31407 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31408 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31409 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31410 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31411 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31412 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31413 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31414 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31415 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31416 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31417 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31418 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31419 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31420 { (char *)"PageSetupDialogData_Ok", (PyCFunction)_wrap_PageSetupDialogData_Ok, METH_O, NULL},
31421 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31422 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31423 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31424 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31425 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31427 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31428 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31429 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31430 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31431 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31432 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31433 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31434 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31436 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31437 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31438 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31439 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31440 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31441 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31442 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31443 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31444 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
31445 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
31446 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
31447 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
31448 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
31449 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
31450 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
31451 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
31452 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
31454 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
31455 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
31456 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
31458 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31459 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31460 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
31466 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
31467 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
31468 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
31469 { (char *)"PrintDialogData_Ok", (PyCFunction)_wrap_PrintDialogData_Ok, METH_O, NULL},
31470 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
31471 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31472 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
31473 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
31474 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31475 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
31476 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
31477 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
31478 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
31479 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
31480 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
31481 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
31482 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
31483 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
31484 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31485 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
31487 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31488 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31489 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
31490 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
31491 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
31492 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
31493 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
31494 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
31495 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
31496 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31497 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
31498 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
31499 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
31500 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
31501 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
31502 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
31503 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
31504 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31505 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
31506 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31507 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
31508 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
31509 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31510 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
31511 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
31512 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
31513 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
31514 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
31515 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
31516 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
31517 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
31518 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
31519 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
31521 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
31522 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31523 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
31524 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
31525 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
31526 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
31527 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
31528 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
31529 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
31531 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31532 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
31533 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
31534 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
31535 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
31536 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
31537 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
31538 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
31539 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
31540 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
31541 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
31542 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
31543 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
31544 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
31545 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
31546 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
31547 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31548 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31549 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
31550 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
31551 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
31552 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
31553 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31555 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
31556 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
31557 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
31558 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
31559 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
31560 { (char *)"PrintPreview_Ok", (PyCFunction)_wrap_PrintPreview_Ok, METH_O, NULL},
31561 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
31562 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
31563 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
31564 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
31565 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
31566 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
31567 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31568 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
31569 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
31570 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31571 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31572 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
31573 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
31575 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
31576 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
31577 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
31578 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
31579 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
31580 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31581 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
31582 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
31583 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
31584 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
31585 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
31586 { NULL, NULL, 0, NULL }
31587 };
31588
31589
31590 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31591
31592 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
31593 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31594 }
31595 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31596 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31597 }
31598 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31599 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31600 }
31601 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31602 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31603 }
31604 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31605 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31606 }
31607 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31608 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31609 }
31610 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31611 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31612 }
31613 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
31614 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
31615 }
31616 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31617 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31618 }
31619 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31620 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31621 }
31622 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
31623 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
31624 }
31625 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31626 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31627 }
31628 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31629 return (void *)((wxEvent *) ((wxPyEvent *) x));
31630 }
31631 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
31632 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
31633 }
31634 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31635 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31636 }
31637 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31638 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31639 }
31640 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31641 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31642 }
31643 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31644 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31645 }
31646 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31647 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31648 }
31649 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31650 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31651 }
31652 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31653 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31654 }
31655 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31656 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31657 }
31658 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
31659 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
31660 }
31661 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
31662 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
31663 }
31664 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31665 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31666 }
31667 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31668 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31669 }
31670 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31671 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31672 }
31673 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31674 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31675 }
31676 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31677 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31678 }
31679 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31680 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31681 }
31682 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31683 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31684 }
31685 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31686 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31687 }
31688 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31689 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31690 }
31691 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31692 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31693 }
31694 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
31695 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
31696 }
31697 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
31698 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31699 }
31700 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31701 return (void *)((wxEvent *) ((wxShowEvent *) x));
31702 }
31703 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31704 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31705 }
31706 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31707 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31708 }
31709 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31710 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31711 }
31712 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31713 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31714 }
31715 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31716 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31717 }
31718 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31719 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31720 }
31721 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
31722 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
31723 }
31724 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
31725 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
31726 }
31727 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
31728 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31729 }
31730 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
31731 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
31732 }
31733 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
31734 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
31735 }
31736 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
31737 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31738 }
31739 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31740 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31741 }
31742 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31743 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31744 }
31745 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31746 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31747 }
31748 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31749 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31750 }
31751 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
31752 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
31753 }
31754 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
31755 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
31756 }
31757 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
31758 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
31759 }
31760 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
31761 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
31762 }
31763 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
31764 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
31765 }
31766 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
31767 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
31768 }
31769 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
31770 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
31771 }
31772 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
31773 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
31774 }
31775 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
31776 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
31777 }
31778 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
31779 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
31780 }
31781 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
31782 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
31783 }
31784 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
31785 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
31786 }
31787 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
31788 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
31789 }
31790 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
31791 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
31792 }
31793 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
31794 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
31795 }
31796 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
31797 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
31798 }
31799 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
31800 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
31801 }
31802 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
31803 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
31804 }
31805 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
31806 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
31807 }
31808 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31809 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31810 }
31811 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
31812 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
31813 }
31814 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
31815 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
31816 }
31817 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
31818 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
31819 }
31820 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
31821 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
31822 }
31823 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31824 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31825 }
31826 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
31827 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31828 }
31829 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
31830 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31831 }
31832 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
31833 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
31834 }
31835 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31836 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31837 }
31838 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31839 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31840 }
31841 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
31842 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
31843 }
31844 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
31845 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31846 }
31847 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
31848 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
31849 }
31850 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
31851 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
31852 }
31853 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
31854 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
31855 }
31856 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
31857 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
31858 }
31859 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
31860 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31861 }
31862 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
31863 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
31864 }
31865 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
31866 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
31867 }
31868 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
31869 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
31870 }
31871 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
31872 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
31873 }
31874 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
31875 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
31876 }
31877 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
31878 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
31879 }
31880 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
31881 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
31882 }
31883 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
31884 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
31885 }
31886 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
31887 return (void *)((wxFrame *) ((wxProgressDialog *) x));
31888 }
31889 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
31890 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
31891 }
31892 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
31893 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31894 }
31895 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
31896 return (void *)((wxFrame *) ((wxMiniFrame *) x));
31897 }
31898 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
31899 return (void *)((wxFrame *) ((wxSplashScreen *) x));
31900 }
31901 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
31902 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
31903 }
31904 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31905 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31906 }
31907 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
31908 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
31909 }
31910 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
31911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
31912 }
31913 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
31914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
31915 }
31916 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31917 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31918 }
31919 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31920 return (void *)((wxObject *) ((wxSizerItem *) x));
31921 }
31922 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31923 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31924 }
31925 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31926 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31927 }
31928 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31929 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31930 }
31931 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31932 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31933 }
31934 static void *_p_wxSizerTo_p_wxObject(void *x) {
31935 return (void *)((wxObject *) ((wxSizer *) x));
31936 }
31937 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31938 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31939 }
31940 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31941 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31942 }
31943 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
31944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
31945 }
31946 static void *_p_wxEventTo_p_wxObject(void *x) {
31947 return (void *)((wxObject *) ((wxEvent *) x));
31948 }
31949 static void *_p_wxFontDataTo_p_wxObject(void *x) {
31950 return (void *)((wxObject *) ((wxFontData *) x));
31951 }
31952 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
31953 return (void *)((wxObject *) ((wxPrintData *) x));
31954 }
31955 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31956 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31957 }
31958 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31959 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31960 }
31961 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31962 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31963 }
31964 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
31965 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
31966 }
31967 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
31968 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
31969 }
31970 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
31971 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
31972 }
31973 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
31974 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
31975 }
31976 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31977 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31978 }
31979 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31980 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31981 }
31982 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31983 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31984 }
31985 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31986 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31987 }
31988 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31989 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31990 }
31991 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31992 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31993 }
31994 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
31995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
31996 }
31997 static void *_p_wxControlTo_p_wxObject(void *x) {
31998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31999 }
32000 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32001 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32002 }
32003 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32004 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32005 }
32006 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32007 return (void *)((wxObject *) ((wxFSFile *) x));
32008 }
32009 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32010 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32011 }
32012 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32013 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32014 }
32015 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32017 }
32018 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32019 return (void *)((wxObject *) ((wxColourData *) x));
32020 }
32021 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32022 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32023 }
32024 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32025 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32026 }
32027 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32029 }
32030 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32032 }
32033 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32035 }
32036 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32038 }
32039 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32041 }
32042 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32044 }
32045 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32047 }
32048 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32050 }
32051 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32053 }
32054 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32056 }
32057 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32059 }
32060 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32061 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32062 }
32063 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32064 return (void *)((wxObject *) ((wxPrinter *) x));
32065 }
32066 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32067 return (void *)((wxObject *) ((wxMenuItem *) x));
32068 }
32069 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32070 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32071 }
32072 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32073 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32074 }
32075 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32076 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32077 }
32078 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32079 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32080 }
32081 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32082 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32083 }
32084 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32085 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32086 }
32087 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32088 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32089 }
32090 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32091 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32092 }
32093 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32094 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32095 }
32096 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32097 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32098 }
32099 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32100 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32101 }
32102 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32103 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32104 }
32105 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32106 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32107 }
32108 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32109 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32110 }
32111 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32112 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32113 }
32114 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32115 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32116 }
32117 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32118 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32119 }
32120 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32121 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32122 }
32123 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32124 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32125 }
32126 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32127 return (void *)((wxObject *) ((wxImageHandler *) x));
32128 }
32129 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32130 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32131 }
32132 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32133 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32134 }
32135 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32136 return (void *)((wxObject *) ((wxEvtHandler *) x));
32137 }
32138 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32139 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32140 }
32141 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32143 }
32144 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32146 }
32147 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32148 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32149 }
32150 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32151 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32152 }
32153 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32154 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32155 }
32156 static void *_p_wxImageTo_p_wxObject(void *x) {
32157 return (void *)((wxObject *) ((wxImage *) x));
32158 }
32159 static void *_p_wxFrameTo_p_wxObject(void *x) {
32160 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32161 }
32162 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32163 return (void *)((wxObject *) ((wxPyPrintout *) x));
32164 }
32165 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32166 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32167 }
32168 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32169 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32170 }
32171 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32173 }
32174 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32175 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32176 }
32177 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32178 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32179 }
32180 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32181 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32182 }
32183 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32184 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32185 }
32186 static void *_p_wxWindowTo_p_wxObject(void *x) {
32187 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32188 }
32189 static void *_p_wxMenuTo_p_wxObject(void *x) {
32190 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32191 }
32192 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32193 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32194 }
32195 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32196 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32197 }
32198 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32199 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32200 }
32201 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32203 }
32204 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32206 }
32207 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32209 }
32210 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32212 }
32213 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32215 }
32216 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32218 }
32219 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32221 }
32222 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32224 }
32225 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32227 }
32228 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32230 }
32231 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32232 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32233 }
32234 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32235 return (void *)((wxObject *) ((wxPrintPreview *) x));
32236 }
32237 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32238 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32239 }
32240 static void *_p_wxPanelTo_p_wxObject(void *x) {
32241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32242 }
32243 static void *_p_wxDialogTo_p_wxObject(void *x) {
32244 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32245 }
32246 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32248 }
32249 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32251 }
32252 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32254 }
32255 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32256 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32257 }
32258 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32259 return (void *)((wxObject *) ((wxPrintDialog *) x));
32260 }
32261 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32262 return (void *)((wxObject *) ((wxFileSystem *) x));
32263 }
32264 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32265 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32266 }
32267 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32268 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32269 }
32270 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32271 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32272 }
32273 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32274 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32275 }
32276 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32277 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32278 }
32279 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32280 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32281 }
32282 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32283 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32284 }
32285 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32286 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32287 }
32288 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32290 }
32291 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32292 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32293 }
32294 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32295 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32296 }
32297 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32298 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32299 }
32300 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32301 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32302 }
32303 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32305 }
32306 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32307 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32308 }
32309 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32310 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32311 }
32312 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32313 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32314 }
32315 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32316 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32317 }
32318 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32319 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32320 }
32321 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32322 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32323 }
32324 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32325 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32326 }
32327 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32328 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32329 }
32330 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32331 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32332 }
32333 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32334 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32335 }
32336 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32337 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32338 }
32339 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32340 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32341 }
32342 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32343 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32344 }
32345 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32346 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32347 }
32348 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32349 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32350 }
32351 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32352 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32353 }
32354 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32355 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32356 }
32357 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32358 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32359 }
32360 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32361 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32362 }
32363 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32364 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32365 }
32366 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32367 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32368 }
32369 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32370 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32371 }
32372 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32373 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32374 }
32375 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32376 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32377 }
32378 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32379 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32380 }
32381 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32382 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32383 }
32384 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32385 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32386 }
32387 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32388 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32389 }
32390 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32391 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32392 }
32393 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32394 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32395 }
32396 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32397 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32398 }
32399 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32400 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32401 }
32402 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32403 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32404 }
32405 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32406 return (void *)((wxWindow *) ((wxMenuBar *) x));
32407 }
32408 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32409 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32410 }
32411 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32412 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32413 }
32414 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32415 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32416 }
32417 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32418 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32419 }
32420 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32421 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32422 }
32423 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
32424 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32425 }
32426 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
32427 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32428 }
32429 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
32430 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32431 }
32432 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
32433 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32434 }
32435 static void *_p_wxPanelTo_p_wxWindow(void *x) {
32436 return (void *)((wxWindow *) ((wxPanel *) x));
32437 }
32438 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
32439 return (void *)((wxWindow *) ((wxStatusBar *) x));
32440 }
32441 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
32442 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
32443 }
32444 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
32445 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32446 }
32447 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
32448 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32449 }
32450 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
32451 return (void *)((wxWindow *) ((wxPopupWindow *) x));
32452 }
32453 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
32454 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
32455 }
32456 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
32457 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
32458 }
32459 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
32460 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
32461 }
32462 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
32463 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
32464 }
32465 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
32466 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
32467 }
32468 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
32469 return (void *)((wxWindow *) ((wxSashWindow *) x));
32470 }
32471 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
32472 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
32473 }
32474 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
32475 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32476 }
32477 static void *_p_wxControlTo_p_wxWindow(void *x) {
32478 return (void *)((wxWindow *) ((wxControl *) x));
32479 }
32480 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
32481 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32482 }
32483 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
32484 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32485 }
32486 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
32487 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32488 }
32489 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32490 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32491 }
32492 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
32493 return (void *)((wxWindow *) ((wxPyWindow *) x));
32494 }
32495 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
32496 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32497 }
32498 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
32499 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32500 }
32501 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
32502 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32503 }
32504 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
32505 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
32506 }
32507 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
32508 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32509 }
32510 static void *_p_wxFrameTo_p_wxWindow(void *x) {
32511 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
32512 }
32513 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
32514 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32515 }
32516 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
32517 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32518 }
32519 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
32520 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32521 }
32522 static void *_p_wxDialogTo_p_wxWindow(void *x) {
32523 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
32524 }
32525 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
32526 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32527 }
32528 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
32529 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32530 }
32531 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
32532 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
32533 }
32534 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
32535 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
32536 }
32537 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
32538 return (void *)((wxDialog *) ((wxColourDialog *) x));
32539 }
32540 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
32541 return (void *)((wxDialog *) ((wxDirDialog *) x));
32542 }
32543 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
32544 return (void *)((wxDialog *) ((wxFontDialog *) x));
32545 }
32546 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
32547 return (void *)((wxDialog *) ((wxFileDialog *) x));
32548 }
32549 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
32550 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
32551 }
32552 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
32553 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
32554 }
32555 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
32556 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
32557 }
32558 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
32559 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32560 }
32561 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
32562 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
32563 }
32564 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
32565 return (void *)((wxDialog *) ((wxMessageDialog *) x));
32566 }
32567 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
32568 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
32569 }
32570 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
32571 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
32572 }
32573 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
32574 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
32575 }
32576 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
32577 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32578 }
32579 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
32580 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32581 }
32582 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
32583 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32584 }
32585 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
32586 return (void *)((wxPanel *) ((wxPyPanel *) x));
32587 }
32588 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
32589 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
32590 }
32591 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
32592 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
32593 }
32594 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
32595 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32596 }
32597 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32598 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32599 }
32600 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32601 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32602 }
32603 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32604 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32605 }
32606 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
32607 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
32608 }
32609 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32610 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32611 }
32612 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
32613 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
32614 }
32615 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
32616 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
32617 }
32618 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32619 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32620 }
32621 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32622 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32623 }
32624 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
32625 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
32626 }
32627 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32628 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32629 }
32630 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32631 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32632 }
32633 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
32634 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
32635 }
32636 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
32637 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32638 }
32639 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32640 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
32641 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};
32642 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
32643 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32644 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32646 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32647 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32648 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32649 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32650 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32651 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32652 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32653 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32654 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32655 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32656 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32657 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32658 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32659 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32660 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32661 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32662 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32663 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32664 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32665 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32666 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32667 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32668 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32669 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32670 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32671 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32672 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32673 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32674 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32675 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32676 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32677 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32678 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32679 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32680 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32681 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32682 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32683 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32684 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32685 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32686 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32687 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32688 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32689 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32690 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32691 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32692 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32693 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
32694 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32695 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
32696 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
32697 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32698 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32699 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32700 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32701 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32702 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32703 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32704 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32705 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32706 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32707 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32708 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32709 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32710 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32711 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32712 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32713 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32714 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32715 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32716 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32717 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32718 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32719 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32720 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32721 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32722 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32723 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32724 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32725 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32726 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32727 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32728 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
32729 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32730 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32731 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32732 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
32733 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
32734 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32735 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32736 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32737 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32738 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32739 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32740 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32741 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32742 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32743 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32744 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32745 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32746 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32747 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32748 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32749 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
32750 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32751 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32752 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32753 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32754 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32755 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32756 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32757 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32758 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32759 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32760 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32761 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32762 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32763 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32764 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32765 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32766 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32767 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32768 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32769 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32770 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32771 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32772 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32775 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32778 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32779 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32780 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32782 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32783 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32786 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32787 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32788 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32789 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32790 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32791 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32792 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32793 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32794 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32795 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32796 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32797 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32798 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32799 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32800 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32801 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32802 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32803
32804 static swig_type_info *swig_type_initial[] = {
32805 &_swigt__p_bool,
32806 &_swigt__p_char,
32807 &_swigt__p_form_ops_t,
32808 &_swigt__p_int,
32809 &_swigt__p_unsigned_char,
32810 &_swigt__p_unsigned_int,
32811 &_swigt__p_unsigned_long,
32812 &_swigt__p_wxANIHandler,
32813 &_swigt__p_wxAcceleratorTable,
32814 &_swigt__p_wxActivateEvent,
32815 &_swigt__p_wxArrayInt,
32816 &_swigt__p_wxBMPHandler,
32817 &_swigt__p_wxBitmap,
32818 &_swigt__p_wxBoxSizer,
32819 &_swigt__p_wxCURHandler,
32820 &_swigt__p_wxCalculateLayoutEvent,
32821 &_swigt__p_wxChildFocusEvent,
32822 &_swigt__p_wxClipboardTextEvent,
32823 &_swigt__p_wxCloseEvent,
32824 &_swigt__p_wxColour,
32825 &_swigt__p_wxColourData,
32826 &_swigt__p_wxColourDialog,
32827 &_swigt__p_wxCommandEvent,
32828 &_swigt__p_wxContextMenuEvent,
32829 &_swigt__p_wxControl,
32830 &_swigt__p_wxControlWithItems,
32831 &_swigt__p_wxDC,
32832 &_swigt__p_wxDateEvent,
32833 &_swigt__p_wxDialog,
32834 &_swigt__p_wxDirDialog,
32835 &_swigt__p_wxDisplayChangedEvent,
32836 &_swigt__p_wxDropFilesEvent,
32837 &_swigt__p_wxDuplexMode,
32838 &_swigt__p_wxEraseEvent,
32839 &_swigt__p_wxEvent,
32840 &_swigt__p_wxEvtHandler,
32841 &_swigt__p_wxFSFile,
32842 &_swigt__p_wxFileDialog,
32843 &_swigt__p_wxFileSystem,
32844 &_swigt__p_wxFindDialogEvent,
32845 &_swigt__p_wxFindReplaceData,
32846 &_swigt__p_wxFindReplaceDialog,
32847 &_swigt__p_wxFlexGridSizer,
32848 &_swigt__p_wxFocusEvent,
32849 &_swigt__p_wxFont,
32850 &_swigt__p_wxFontData,
32851 &_swigt__p_wxFontDialog,
32852 &_swigt__p_wxFrame,
32853 &_swigt__p_wxGBSizerItem,
32854 &_swigt__p_wxGIFHandler,
32855 &_swigt__p_wxGridBagSizer,
32856 &_swigt__p_wxGridSizer,
32857 &_swigt__p_wxHtmlLinkInfo,
32858 &_swigt__p_wxICOHandler,
32859 &_swigt__p_wxIcon,
32860 &_swigt__p_wxIconBundle,
32861 &_swigt__p_wxIconizeEvent,
32862 &_swigt__p_wxIdleEvent,
32863 &_swigt__p_wxImage,
32864 &_swigt__p_wxImageHandler,
32865 &_swigt__p_wxIndividualLayoutConstraint,
32866 &_swigt__p_wxInitDialogEvent,
32867 &_swigt__p_wxJPEGHandler,
32868 &_swigt__p_wxKeyEvent,
32869 &_swigt__p_wxLayoutAlgorithm,
32870 &_swigt__p_wxLayoutConstraints,
32871 &_swigt__p_wxMDIChildFrame,
32872 &_swigt__p_wxMDIClientWindow,
32873 &_swigt__p_wxMDIParentFrame,
32874 &_swigt__p_wxMaximizeEvent,
32875 &_swigt__p_wxMenu,
32876 &_swigt__p_wxMenuBar,
32877 &_swigt__p_wxMenuEvent,
32878 &_swigt__p_wxMenuItem,
32879 &_swigt__p_wxMessageDialog,
32880 &_swigt__p_wxMiniFrame,
32881 &_swigt__p_wxMouseCaptureChangedEvent,
32882 &_swigt__p_wxMouseEvent,
32883 &_swigt__p_wxMoveEvent,
32884 &_swigt__p_wxMultiChoiceDialog,
32885 &_swigt__p_wxNavigationKeyEvent,
32886 &_swigt__p_wxNcPaintEvent,
32887 &_swigt__p_wxNotifyEvent,
32888 &_swigt__p_wxNumberEntryDialog,
32889 &_swigt__p_wxObject,
32890 &_swigt__p_wxPCXHandler,
32891 &_swigt__p_wxPNGHandler,
32892 &_swigt__p_wxPNMHandler,
32893 &_swigt__p_wxPageSetupDialog,
32894 &_swigt__p_wxPageSetupDialogData,
32895 &_swigt__p_wxPaintEvent,
32896 &_swigt__p_wxPaletteChangedEvent,
32897 &_swigt__p_wxPanel,
32898 &_swigt__p_wxPaperSize,
32899 &_swigt__p_wxPasswordEntryDialog,
32900 &_swigt__p_wxPoint,
32901 &_swigt__p_wxPopupWindow,
32902 &_swigt__p_wxPreviewCanvas,
32903 &_swigt__p_wxPreviewControlBar,
32904 &_swigt__p_wxPreviewFrame,
32905 &_swigt__p_wxPrintData,
32906 &_swigt__p_wxPrintDialog,
32907 &_swigt__p_wxPrintDialogData,
32908 &_swigt__p_wxPrintPreview,
32909 &_swigt__p_wxPrinter,
32910 &_swigt__p_wxProgressDialog,
32911 &_swigt__p_wxPyApp,
32912 &_swigt__p_wxPyCommandEvent,
32913 &_swigt__p_wxPyEvent,
32914 &_swigt__p_wxPyHtmlListBox,
32915 &_swigt__p_wxPyImageHandler,
32916 &_swigt__p_wxPyPanel,
32917 &_swigt__p_wxPyPopupTransientWindow,
32918 &_swigt__p_wxPyPreviewControlBar,
32919 &_swigt__p_wxPyPreviewFrame,
32920 &_swigt__p_wxPyPrintPreview,
32921 &_swigt__p_wxPyPrintout,
32922 &_swigt__p_wxPyScrolledWindow,
32923 &_swigt__p_wxPySizer,
32924 &_swigt__p_wxPyTaskBarIcon,
32925 &_swigt__p_wxPyVListBox,
32926 &_swigt__p_wxPyVScrolledWindow,
32927 &_swigt__p_wxPyValidator,
32928 &_swigt__p_wxPyWindow,
32929 &_swigt__p_wxQueryLayoutInfoEvent,
32930 &_swigt__p_wxQueryNewPaletteEvent,
32931 &_swigt__p_wxRect,
32932 &_swigt__p_wxRegion,
32933 &_swigt__p_wxSashEvent,
32934 &_swigt__p_wxSashLayoutWindow,
32935 &_swigt__p_wxSashWindow,
32936 &_swigt__p_wxScrollEvent,
32937 &_swigt__p_wxScrollWinEvent,
32938 &_swigt__p_wxScrolledWindow,
32939 &_swigt__p_wxSetCursorEvent,
32940 &_swigt__p_wxShowEvent,
32941 &_swigt__p_wxSingleChoiceDialog,
32942 &_swigt__p_wxSize,
32943 &_swigt__p_wxSizeEvent,
32944 &_swigt__p_wxSizer,
32945 &_swigt__p_wxSizerItem,
32946 &_swigt__p_wxSplashScreen,
32947 &_swigt__p_wxSplashScreenWindow,
32948 &_swigt__p_wxSplitterEvent,
32949 &_swigt__p_wxSplitterWindow,
32950 &_swigt__p_wxStaticBoxSizer,
32951 &_swigt__p_wxStatusBar,
32952 &_swigt__p_wxStdDialogButtonSizer,
32953 &_swigt__p_wxString,
32954 &_swigt__p_wxSysColourChangedEvent,
32955 &_swigt__p_wxTIFFHandler,
32956 &_swigt__p_wxTaskBarIcon,
32957 &_swigt__p_wxTaskBarIconEvent,
32958 &_swigt__p_wxTextEntryDialog,
32959 &_swigt__p_wxTipWindow,
32960 &_swigt__p_wxToolBar,
32961 &_swigt__p_wxTopLevelWindow,
32962 &_swigt__p_wxUpdateUIEvent,
32963 &_swigt__p_wxValidator,
32964 &_swigt__p_wxVisualAttributes,
32965 &_swigt__p_wxWindow,
32966 &_swigt__p_wxWindowCreateEvent,
32967 &_swigt__p_wxWindowDestroyEvent,
32968 &_swigt__p_wxXPMHandler,
32969 };
32970
32971 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
32977 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
32978 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
32979 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
32980 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
32993 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}};
32994 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
32995 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}};
32996 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33005 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33006 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33007 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33008 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33009 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33012 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33013 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33014 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33015 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
33024 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33025 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33026 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33029 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}};
33030 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33031 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33032 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33036 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33037 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33038 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}};
33039 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33040 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33041 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33044 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33045 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33046 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33049 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33050 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33051 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}};
33052 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33053 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33054 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33055 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33058 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33059 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33061 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33062 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33063 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33064 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33065 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33066 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33067 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33069 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33070 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33071 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33072 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33073 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33074 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33075 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33076 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33077 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33078 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33079 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33080 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33081 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
33082 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33083 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33084 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}};
33085 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33086 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33087 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33088 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}};
33089 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33090 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}};
33091 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}};
33092 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33093 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33094 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33095 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}};
33096 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33097 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33098 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33099 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33100 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}};
33101 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33102 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33103 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33104 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33105 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33106 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33107 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}};
33108 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}};
33109 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33110 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33111 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33112 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33113 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33114 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33115 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}};
33116 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33117 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}};
33118 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33119 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33120 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33121 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33122 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33123 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33124 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33125 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33126 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33127 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33128 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33129 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}};
33130 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33131 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33132 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}};
33133 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33134 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}};
33135
33136 static swig_cast_info *swig_cast_initial[] = {
33137 _swigc__p_bool,
33138 _swigc__p_char,
33139 _swigc__p_form_ops_t,
33140 _swigc__p_int,
33141 _swigc__p_unsigned_char,
33142 _swigc__p_unsigned_int,
33143 _swigc__p_unsigned_long,
33144 _swigc__p_wxANIHandler,
33145 _swigc__p_wxAcceleratorTable,
33146 _swigc__p_wxActivateEvent,
33147 _swigc__p_wxArrayInt,
33148 _swigc__p_wxBMPHandler,
33149 _swigc__p_wxBitmap,
33150 _swigc__p_wxBoxSizer,
33151 _swigc__p_wxCURHandler,
33152 _swigc__p_wxCalculateLayoutEvent,
33153 _swigc__p_wxChildFocusEvent,
33154 _swigc__p_wxClipboardTextEvent,
33155 _swigc__p_wxCloseEvent,
33156 _swigc__p_wxColour,
33157 _swigc__p_wxColourData,
33158 _swigc__p_wxColourDialog,
33159 _swigc__p_wxCommandEvent,
33160 _swigc__p_wxContextMenuEvent,
33161 _swigc__p_wxControl,
33162 _swigc__p_wxControlWithItems,
33163 _swigc__p_wxDC,
33164 _swigc__p_wxDateEvent,
33165 _swigc__p_wxDialog,
33166 _swigc__p_wxDirDialog,
33167 _swigc__p_wxDisplayChangedEvent,
33168 _swigc__p_wxDropFilesEvent,
33169 _swigc__p_wxDuplexMode,
33170 _swigc__p_wxEraseEvent,
33171 _swigc__p_wxEvent,
33172 _swigc__p_wxEvtHandler,
33173 _swigc__p_wxFSFile,
33174 _swigc__p_wxFileDialog,
33175 _swigc__p_wxFileSystem,
33176 _swigc__p_wxFindDialogEvent,
33177 _swigc__p_wxFindReplaceData,
33178 _swigc__p_wxFindReplaceDialog,
33179 _swigc__p_wxFlexGridSizer,
33180 _swigc__p_wxFocusEvent,
33181 _swigc__p_wxFont,
33182 _swigc__p_wxFontData,
33183 _swigc__p_wxFontDialog,
33184 _swigc__p_wxFrame,
33185 _swigc__p_wxGBSizerItem,
33186 _swigc__p_wxGIFHandler,
33187 _swigc__p_wxGridBagSizer,
33188 _swigc__p_wxGridSizer,
33189 _swigc__p_wxHtmlLinkInfo,
33190 _swigc__p_wxICOHandler,
33191 _swigc__p_wxIcon,
33192 _swigc__p_wxIconBundle,
33193 _swigc__p_wxIconizeEvent,
33194 _swigc__p_wxIdleEvent,
33195 _swigc__p_wxImage,
33196 _swigc__p_wxImageHandler,
33197 _swigc__p_wxIndividualLayoutConstraint,
33198 _swigc__p_wxInitDialogEvent,
33199 _swigc__p_wxJPEGHandler,
33200 _swigc__p_wxKeyEvent,
33201 _swigc__p_wxLayoutAlgorithm,
33202 _swigc__p_wxLayoutConstraints,
33203 _swigc__p_wxMDIChildFrame,
33204 _swigc__p_wxMDIClientWindow,
33205 _swigc__p_wxMDIParentFrame,
33206 _swigc__p_wxMaximizeEvent,
33207 _swigc__p_wxMenu,
33208 _swigc__p_wxMenuBar,
33209 _swigc__p_wxMenuEvent,
33210 _swigc__p_wxMenuItem,
33211 _swigc__p_wxMessageDialog,
33212 _swigc__p_wxMiniFrame,
33213 _swigc__p_wxMouseCaptureChangedEvent,
33214 _swigc__p_wxMouseEvent,
33215 _swigc__p_wxMoveEvent,
33216 _swigc__p_wxMultiChoiceDialog,
33217 _swigc__p_wxNavigationKeyEvent,
33218 _swigc__p_wxNcPaintEvent,
33219 _swigc__p_wxNotifyEvent,
33220 _swigc__p_wxNumberEntryDialog,
33221 _swigc__p_wxObject,
33222 _swigc__p_wxPCXHandler,
33223 _swigc__p_wxPNGHandler,
33224 _swigc__p_wxPNMHandler,
33225 _swigc__p_wxPageSetupDialog,
33226 _swigc__p_wxPageSetupDialogData,
33227 _swigc__p_wxPaintEvent,
33228 _swigc__p_wxPaletteChangedEvent,
33229 _swigc__p_wxPanel,
33230 _swigc__p_wxPaperSize,
33231 _swigc__p_wxPasswordEntryDialog,
33232 _swigc__p_wxPoint,
33233 _swigc__p_wxPopupWindow,
33234 _swigc__p_wxPreviewCanvas,
33235 _swigc__p_wxPreviewControlBar,
33236 _swigc__p_wxPreviewFrame,
33237 _swigc__p_wxPrintData,
33238 _swigc__p_wxPrintDialog,
33239 _swigc__p_wxPrintDialogData,
33240 _swigc__p_wxPrintPreview,
33241 _swigc__p_wxPrinter,
33242 _swigc__p_wxProgressDialog,
33243 _swigc__p_wxPyApp,
33244 _swigc__p_wxPyCommandEvent,
33245 _swigc__p_wxPyEvent,
33246 _swigc__p_wxPyHtmlListBox,
33247 _swigc__p_wxPyImageHandler,
33248 _swigc__p_wxPyPanel,
33249 _swigc__p_wxPyPopupTransientWindow,
33250 _swigc__p_wxPyPreviewControlBar,
33251 _swigc__p_wxPyPreviewFrame,
33252 _swigc__p_wxPyPrintPreview,
33253 _swigc__p_wxPyPrintout,
33254 _swigc__p_wxPyScrolledWindow,
33255 _swigc__p_wxPySizer,
33256 _swigc__p_wxPyTaskBarIcon,
33257 _swigc__p_wxPyVListBox,
33258 _swigc__p_wxPyVScrolledWindow,
33259 _swigc__p_wxPyValidator,
33260 _swigc__p_wxPyWindow,
33261 _swigc__p_wxQueryLayoutInfoEvent,
33262 _swigc__p_wxQueryNewPaletteEvent,
33263 _swigc__p_wxRect,
33264 _swigc__p_wxRegion,
33265 _swigc__p_wxSashEvent,
33266 _swigc__p_wxSashLayoutWindow,
33267 _swigc__p_wxSashWindow,
33268 _swigc__p_wxScrollEvent,
33269 _swigc__p_wxScrollWinEvent,
33270 _swigc__p_wxScrolledWindow,
33271 _swigc__p_wxSetCursorEvent,
33272 _swigc__p_wxShowEvent,
33273 _swigc__p_wxSingleChoiceDialog,
33274 _swigc__p_wxSize,
33275 _swigc__p_wxSizeEvent,
33276 _swigc__p_wxSizer,
33277 _swigc__p_wxSizerItem,
33278 _swigc__p_wxSplashScreen,
33279 _swigc__p_wxSplashScreenWindow,
33280 _swigc__p_wxSplitterEvent,
33281 _swigc__p_wxSplitterWindow,
33282 _swigc__p_wxStaticBoxSizer,
33283 _swigc__p_wxStatusBar,
33284 _swigc__p_wxStdDialogButtonSizer,
33285 _swigc__p_wxString,
33286 _swigc__p_wxSysColourChangedEvent,
33287 _swigc__p_wxTIFFHandler,
33288 _swigc__p_wxTaskBarIcon,
33289 _swigc__p_wxTaskBarIconEvent,
33290 _swigc__p_wxTextEntryDialog,
33291 _swigc__p_wxTipWindow,
33292 _swigc__p_wxToolBar,
33293 _swigc__p_wxTopLevelWindow,
33294 _swigc__p_wxUpdateUIEvent,
33295 _swigc__p_wxValidator,
33296 _swigc__p_wxVisualAttributes,
33297 _swigc__p_wxWindow,
33298 _swigc__p_wxWindowCreateEvent,
33299 _swigc__p_wxWindowDestroyEvent,
33300 _swigc__p_wxXPMHandler,
33301 };
33302
33303
33304 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33305
33306 static swig_const_info swig_const_table[] = {
33307 {0, 0, 0, 0.0, 0, 0}};
33308
33309 #ifdef __cplusplus
33310 }
33311 #endif
33312 /* -----------------------------------------------------------------------------
33313 * Type initialization:
33314 * This problem is tough by the requirement that no dynamic
33315 * memory is used. Also, since swig_type_info structures store pointers to
33316 * swig_cast_info structures and swig_cast_info structures store pointers back
33317 * to swig_type_info structures, we need some lookup code at initialization.
33318 * The idea is that swig generates all the structures that are needed.
33319 * The runtime then collects these partially filled structures.
33320 * The SWIG_InitializeModule function takes these initial arrays out of
33321 * swig_module, and does all the lookup, filling in the swig_module.types
33322 * array with the correct data and linking the correct swig_cast_info
33323 * structures together.
33324 *
33325 * The generated swig_type_info structures are assigned staticly to an initial
33326 * array. We just loop though that array, and handle each type individually.
33327 * First we lookup if this type has been already loaded, and if so, use the
33328 * loaded structure instead of the generated one. Then we have to fill in the
33329 * cast linked list. The cast data is initially stored in something like a
33330 * two-dimensional array. Each row corresponds to a type (there are the same
33331 * number of rows as there are in the swig_type_initial array). Each entry in
33332 * a column is one of the swig_cast_info structures for that type.
33333 * The cast_initial array is actually an array of arrays, because each row has
33334 * a variable number of columns. So to actually build the cast linked list,
33335 * we find the array of casts associated with the type, and loop through it
33336 * adding the casts to the list. The one last trick we need to do is making
33337 * sure the type pointer in the swig_cast_info struct is correct.
33338 *
33339 * First off, we lookup the cast->type name to see if it is already loaded.
33340 * There are three cases to handle:
33341 * 1) If the cast->type has already been loaded AND the type we are adding
33342 * casting info to has not been loaded (it is in this module), THEN we
33343 * replace the cast->type pointer with the type pointer that has already
33344 * been loaded.
33345 * 2) If BOTH types (the one we are adding casting info to, and the
33346 * cast->type) are loaded, THEN the cast info has already been loaded by
33347 * the previous module so we just ignore it.
33348 * 3) Finally, if cast->type has not already been loaded, then we add that
33349 * swig_cast_info to the linked list (because the cast->type) pointer will
33350 * be correct.
33351 * ----------------------------------------------------------------------------- */
33352
33353 #ifdef __cplusplus
33354 extern "C" {
33355 #if 0
33356 } /* c-mode */
33357 #endif
33358 #endif
33359
33360 #if 0
33361 #define SWIGRUNTIME_DEBUG
33362 #endif
33363
33364 SWIGRUNTIME void
33365 SWIG_InitializeModule(void *clientdata) {
33366 size_t i;
33367 swig_module_info *module_head;
33368 static int init_run = 0;
33369
33370 clientdata = clientdata;
33371
33372 if (init_run) return;
33373 init_run = 1;
33374
33375 /* Initialize the swig_module */
33376 swig_module.type_initial = swig_type_initial;
33377 swig_module.cast_initial = swig_cast_initial;
33378
33379 /* Try and load any already created modules */
33380 module_head = SWIG_GetModule(clientdata);
33381 if (module_head) {
33382 swig_module.next = module_head->next;
33383 module_head->next = &swig_module;
33384 } else {
33385 /* This is the first module loaded */
33386 swig_module.next = &swig_module;
33387 SWIG_SetModule(clientdata, &swig_module);
33388 }
33389
33390 /* Now work on filling in swig_module.types */
33391 #ifdef SWIGRUNTIME_DEBUG
33392 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33393 #endif
33394 for (i = 0; i < swig_module.size; ++i) {
33395 swig_type_info *type = 0;
33396 swig_type_info *ret;
33397 swig_cast_info *cast;
33398
33399 #ifdef SWIGRUNTIME_DEBUG
33400 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33401 #endif
33402
33403 /* if there is another module already loaded */
33404 if (swig_module.next != &swig_module) {
33405 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33406 }
33407 if (type) {
33408 /* Overwrite clientdata field */
33409 #ifdef SWIGRUNTIME_DEBUG
33410 printf("SWIG_InitializeModule: found type %s\n", type->name);
33411 #endif
33412 if (swig_module.type_initial[i]->clientdata) {
33413 type->clientdata = swig_module.type_initial[i]->clientdata;
33414 #ifdef SWIGRUNTIME_DEBUG
33415 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
33416 #endif
33417 }
33418 } else {
33419 type = swig_module.type_initial[i];
33420 }
33421
33422 /* Insert casting types */
33423 cast = swig_module.cast_initial[i];
33424 while (cast->type) {
33425 /* Don't need to add information already in the list */
33426 ret = 0;
33427 #ifdef SWIGRUNTIME_DEBUG
33428 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
33429 #endif
33430 if (swig_module.next != &swig_module) {
33431 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
33432 #ifdef SWIGRUNTIME_DEBUG
33433 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
33434 #endif
33435 }
33436 if (ret) {
33437 if (type == swig_module.type_initial[i]) {
33438 #ifdef SWIGRUNTIME_DEBUG
33439 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
33440 #endif
33441 cast->type = ret;
33442 ret = 0;
33443 } else {
33444 /* Check for casting already in the list */
33445 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
33446 #ifdef SWIGRUNTIME_DEBUG
33447 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
33448 #endif
33449 if (!ocast) ret = 0;
33450 }
33451 }
33452
33453 if (!ret) {
33454 #ifdef SWIGRUNTIME_DEBUG
33455 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
33456 #endif
33457 if (type->cast) {
33458 type->cast->prev = cast;
33459 cast->next = type->cast;
33460 }
33461 type->cast = cast;
33462 }
33463 cast++;
33464 }
33465 /* Set entry in modules->types array equal to the type */
33466 swig_module.types[i] = type;
33467 }
33468 swig_module.types[i] = 0;
33469
33470 #ifdef SWIGRUNTIME_DEBUG
33471 printf("**** SWIG_InitializeModule: Cast List ******\n");
33472 for (i = 0; i < swig_module.size; ++i) {
33473 int j = 0;
33474 swig_cast_info *cast = swig_module.cast_initial[i];
33475 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33476 while (cast->type) {
33477 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
33478 cast++;
33479 ++j;
33480 }
33481 printf("---- Total casts: %d\n",j);
33482 }
33483 printf("**** SWIG_InitializeModule: Cast List ******\n");
33484 #endif
33485 }
33486
33487 /* This function will propagate the clientdata field of type to
33488 * any new swig_type_info structures that have been added into the list
33489 * of equivalent types. It is like calling
33490 * SWIG_TypeClientData(type, clientdata) a second time.
33491 */
33492 SWIGRUNTIME void
33493 SWIG_PropagateClientData(void) {
33494 size_t i;
33495 swig_cast_info *equiv;
33496 static int init_run = 0;
33497
33498 if (init_run) return;
33499 init_run = 1;
33500
33501 for (i = 0; i < swig_module.size; i++) {
33502 if (swig_module.types[i]->clientdata) {
33503 equiv = swig_module.types[i]->cast;
33504 while (equiv) {
33505 if (!equiv->converter) {
33506 if (equiv->type && !equiv->type->clientdata)
33507 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
33508 }
33509 equiv = equiv->next;
33510 }
33511 }
33512 }
33513 }
33514
33515 #ifdef __cplusplus
33516 #if 0
33517 {
33518 /* c-mode */
33519 #endif
33520 }
33521 #endif
33522
33523
33524
33525 #ifdef __cplusplus
33526 extern "C" {
33527 #endif
33528
33529 /* Python-specific SWIG API */
33530 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33531 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33532 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33533
33534 /* -----------------------------------------------------------------------------
33535 * global variable support code.
33536 * ----------------------------------------------------------------------------- */
33537
33538 typedef struct swig_globalvar {
33539 char *name; /* Name of global variable */
33540 PyObject *(*get_attr)(void); /* Return the current value */
33541 int (*set_attr)(PyObject *); /* Set the value */
33542 struct swig_globalvar *next;
33543 } swig_globalvar;
33544
33545 typedef struct swig_varlinkobject {
33546 PyObject_HEAD
33547 swig_globalvar *vars;
33548 } swig_varlinkobject;
33549
33550 SWIGINTERN PyObject *
33551 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
33552 return PyString_FromString("<Swig global variables>");
33553 }
33554
33555 SWIGINTERN PyObject *
33556 swig_varlink_str(swig_varlinkobject *v) {
33557 PyObject *str = PyString_FromString("(");
33558 swig_globalvar *var;
33559 for (var = v->vars; var; var=var->next) {
33560 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
33561 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
33562 }
33563 PyString_ConcatAndDel(&str,PyString_FromString(")"));
33564 return str;
33565 }
33566
33567 SWIGINTERN int
33568 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
33569 PyObject *str = swig_varlink_str(v);
33570 fprintf(fp,"Swig global variables ");
33571 fprintf(fp,"%s\n", PyString_AsString(str));
33572 Py_DECREF(str);
33573 return 0;
33574 }
33575
33576 SWIGINTERN void
33577 swig_varlink_dealloc(swig_varlinkobject *v) {
33578 swig_globalvar *var = v->vars;
33579 while (var) {
33580 swig_globalvar *n = var->next;
33581 free(var->name);
33582 free(var);
33583 var = n;
33584 }
33585 }
33586
33587 SWIGINTERN PyObject *
33588 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
33589 PyObject *res = NULL;
33590 swig_globalvar *var = v->vars;
33591 while (var) {
33592 if (strcmp(var->name,n) == 0) {
33593 res = (*var->get_attr)();
33594 break;
33595 }
33596 var = var->next;
33597 }
33598 if (res == NULL && !PyErr_Occurred()) {
33599 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33600 }
33601 return res;
33602 }
33603
33604 SWIGINTERN int
33605 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
33606 int res = 1;
33607 swig_globalvar *var = v->vars;
33608 while (var) {
33609 if (strcmp(var->name,n) == 0) {
33610 res = (*var->set_attr)(p);
33611 break;
33612 }
33613 var = var->next;
33614 }
33615 if (res == 1 && !PyErr_Occurred()) {
33616 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
33617 }
33618 return res;
33619 }
33620
33621 SWIGINTERN PyTypeObject*
33622 swig_varlink_type(void) {
33623 static char varlink__doc__[] = "Swig var link object";
33624 static PyTypeObject varlink_type;
33625 static int type_init = 0;
33626 if (!type_init) {
33627 const PyTypeObject tmp
33628 = {
33629 PyObject_HEAD_INIT(NULL)
33630 0, /* Number of items in variable part (ob_size) */
33631 (char *)"swigvarlink", /* Type name (tp_name) */
33632 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
33633 0, /* Itemsize (tp_itemsize) */
33634 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
33635 (printfunc) swig_varlink_print, /* Print (tp_print) */
33636 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
33637 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
33638 0, /* tp_compare */
33639 (reprfunc) swig_varlink_repr, /* tp_repr */
33640 0, /* tp_as_number */
33641 0, /* tp_as_sequence */
33642 0, /* tp_as_mapping */
33643 0, /* tp_hash */
33644 0, /* tp_call */
33645 (reprfunc)swig_varlink_str, /* tp_str */
33646 0, /* tp_getattro */
33647 0, /* tp_setattro */
33648 0, /* tp_as_buffer */
33649 0, /* tp_flags */
33650 varlink__doc__, /* tp_doc */
33651 0, /* tp_traverse */
33652 0, /* tp_clear */
33653 0, /* tp_richcompare */
33654 0, /* tp_weaklistoffset */
33655 #if PY_VERSION_HEX >= 0x02020000
33656 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33657 #endif
33658 #if PY_VERSION_HEX >= 0x02030000
33659 0, /* tp_del */
33660 #endif
33661 #ifdef COUNT_ALLOCS
33662 0,0,0,0 /* tp_alloc -> tp_next */
33663 #endif
33664 };
33665 varlink_type = tmp;
33666 varlink_type.ob_type = &PyType_Type;
33667 type_init = 1;
33668 }
33669 return &varlink_type;
33670 }
33671
33672 /* Create a variable linking object for use later */
33673 SWIGINTERN PyObject *
33674 SWIG_Python_newvarlink(void) {
33675 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
33676 if (result) {
33677 result->vars = 0;
33678 }
33679 return ((PyObject*) result);
33680 }
33681
33682 SWIGINTERN void
33683 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
33684 swig_varlinkobject *v = (swig_varlinkobject *) p;
33685 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
33686 if (gv) {
33687 size_t size = strlen(name)+1;
33688 gv->name = (char *)malloc(size);
33689 if (gv->name) {
33690 strncpy(gv->name,name,size);
33691 gv->get_attr = get_attr;
33692 gv->set_attr = set_attr;
33693 gv->next = v->vars;
33694 }
33695 }
33696 v->vars = gv;
33697 }
33698
33699 SWIGINTERN PyObject *
33700 SWIG_globals() {
33701 static PyObject *_SWIG_globals = 0;
33702 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
33703 return _SWIG_globals;
33704 }
33705
33706 /* -----------------------------------------------------------------------------
33707 * constants/methods manipulation
33708 * ----------------------------------------------------------------------------- */
33709
33710 /* Install Constants */
33711 SWIGINTERN void
33712 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
33713 PyObject *obj = 0;
33714 size_t i;
33715 for (i = 0; constants[i].type; ++i) {
33716 switch(constants[i].type) {
33717 case SWIG_PY_POINTER:
33718 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
33719 break;
33720 case SWIG_PY_BINARY:
33721 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
33722 break;
33723 default:
33724 obj = 0;
33725 break;
33726 }
33727 if (obj) {
33728 PyDict_SetItemString(d, constants[i].name, obj);
33729 Py_DECREF(obj);
33730 }
33731 }
33732 }
33733
33734 /* -----------------------------------------------------------------------------*/
33735 /* Fix SwigMethods to carry the callback ptrs when needed */
33736 /* -----------------------------------------------------------------------------*/
33737
33738 SWIGINTERN void
33739 SWIG_Python_FixMethods(PyMethodDef *methods,
33740 swig_const_info *const_table,
33741 swig_type_info **types,
33742 swig_type_info **types_initial) {
33743 size_t i;
33744 for (i = 0; methods[i].ml_name; ++i) {
33745 const char *c = methods[i].ml_doc;
33746 if (c && (c = strstr(c, "swig_ptr: "))) {
33747 int j;
33748 swig_const_info *ci = 0;
33749 const char *name = c + 10;
33750 for (j = 0; const_table[j].type; ++j) {
33751 if (strncmp(const_table[j].name, name,
33752 strlen(const_table[j].name)) == 0) {
33753 ci = &(const_table[j]);
33754 break;
33755 }
33756 }
33757 if (ci) {
33758 size_t shift = (ci->ptype) - types;
33759 swig_type_info *ty = types_initial[shift];
33760 size_t ldoc = (c - methods[i].ml_doc);
33761 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
33762 char *ndoc = (char*)malloc(ldoc + lptr + 10);
33763 if (ndoc) {
33764 char *buff = ndoc;
33765 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
33766 if (ptr) {
33767 strncpy(buff, methods[i].ml_doc, ldoc);
33768 buff += ldoc;
33769 strncpy(buff, "swig_ptr: ", 10);
33770 buff += 10;
33771 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
33772 methods[i].ml_doc = ndoc;
33773 }
33774 }
33775 }
33776 }
33777 }
33778 }
33779
33780 #ifdef __cplusplus
33781 }
33782 #endif
33783
33784 /* -----------------------------------------------------------------------------*
33785 * Partial Init method
33786 * -----------------------------------------------------------------------------*/
33787
33788 #ifdef __cplusplus
33789 extern "C"
33790 #endif
33791 SWIGEXPORT void SWIG_init(void) {
33792 PyObject *m, *d;
33793
33794 /* Fix SwigMethods to carry the callback ptrs when needed */
33795 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
33796
33797 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33798 d = PyModule_GetDict(m);
33799
33800 SWIG_InitializeModule(0);
33801 SWIG_InstallConstants(d,swig_const_table);
33802
33803
33804 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
33805 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
33806 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
33807 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
33808 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
33809 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
33810 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
33811 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
33812 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
33813 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
33814 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
33815 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
33816 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
33817 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
33818 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
33819 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
33820 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
33821 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
33822 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
33823 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
33824 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
33825 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
33826 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
33827 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
33828 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
33829 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
33830 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
33831 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
33832 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
33833 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
33834 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
33835 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
33836 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
33837 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
33838 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
33839 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
33840 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
33841 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
33842 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
33843 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
33844 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
33845 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
33846 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
33847 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
33848 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
33849 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
33850 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
33851 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
33852 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
33853 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
33854 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
33855 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
33856 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
33857 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
33858 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
33859 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
33860 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
33861 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
33862 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
33863 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
33864 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
33865 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
33866 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
33867 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
33868 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
33869 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
33870 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
33871 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
33872 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
33873 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
33874 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
33875 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
33876 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
33877 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
33878 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
33879 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
33880 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
33881 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
33882 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
33883 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
33884 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
33885 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
33886 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
33887 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
33888 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
33889 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
33890 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
33891 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
33892 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
33893 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
33894 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
33895 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
33896 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
33897 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
33898 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
33899 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
33900 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
33901 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
33902 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
33903 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
33904 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
33905 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
33906
33907 // Map renamed classes back to their common name for OOR
33908 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33909 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33910 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33911
33912 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
33913 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
33914 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
33915 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
33916 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
33917 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
33918 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
33919 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
33920 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
33921 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
33922 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
33923 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
33924 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
33925 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
33926 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
33927 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
33928 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
33929 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
33930 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
33931 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
33932 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
33933 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
33934 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
33935 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
33936 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
33937 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
33938 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
33939 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
33940 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
33941 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
33942 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
33943 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
33944 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
33945 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
33946 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
33947 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
33948 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
33949 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
33950 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
33951 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
33952 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
33953 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
33954 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
33955 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
33956 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
33957 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33958 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33959 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33960 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33961 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33962 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33963 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33964 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33965 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33966 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
33967 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
33968 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
33969 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
33970 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
33971 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
33972 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
33973 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
33974 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
33975 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
33976 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
33977 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
33978 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
33979 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
33980 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
33981 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
33982 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
33983 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
33984 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
33985 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
33986 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
33987 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
33988 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
33989 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
33990 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
33991 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
33992 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
33993 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
33994 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
33995 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
33996 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
33997 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
33998 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
33999 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34000 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34001 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34002 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34003 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34004 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34005 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34006 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34007
34008 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34009
34010 }
34011