]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
STC is not a separate library anymore
[wxWidgets.git] / wxPython / src / gtk / _windows_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewCanvas swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewControlBar swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewFrame swig_types[103]
2570 #define SWIGTYPE_p_wxPrintData swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialogData swig_types[106]
2573 #define SWIGTYPE_p_wxPrintPreview swig_types[107]
2574 #define SWIGTYPE_p_wxPrinter swig_types[108]
2575 #define SWIGTYPE_p_wxProgressDialog swig_types[109]
2576 #define SWIGTYPE_p_wxPyApp swig_types[110]
2577 #define SWIGTYPE_p_wxPyCommandEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[113]
2580 #define SWIGTYPE_p_wxPyImageHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPyPanel swig_types[115]
2582 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117]
2584 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintPreview swig_types[119]
2586 #define SWIGTYPE_p_wxPyPrintout swig_types[120]
2587 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123]
2590 #define SWIGTYPE_p_wxPyVListBox swig_types[124]
2591 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxPyWindow swig_types[127]
2594 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxSashEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSashWindow swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrolledWindow swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140]
2607 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141]
2608 #define SWIGTYPE_p_wxSize swig_types[142]
2609 #define SWIGTYPE_p_wxSizeEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxSizerItem swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreen swig_types[146]
2613 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSplitterWindow swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStatusBar swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIcon swig_types[157]
2624 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158]
2625 #define SWIGTYPE_p_wxTextEntryDialog swig_types[159]
2626 #define SWIGTYPE_p_wxTipWindow swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxTopLevelWindow swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info *swig_types[171];
2637 static swig_module_info swig_module = {swig_types, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2640
2641 /* -------- TYPES TABLE (END) -------- */
2642
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2646 # endif
2647 #endif
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2650 #endif
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2653 #endif
2654 #ifndef METH_O
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2656 #endif
2657
2658 /*-----------------------------------------------
2659 @(target):= _windows_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_windows_
2662
2663 #define SWIG_name "_windows_"
2664
2665 #define SWIGVERSION 0x010329
2666
2667
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2670
2671
2672 #include <stdexcept>
2673
2674
2675 namespace swig {
2676 class PyObject_ptr {
2677 protected:
2678 PyObject *_obj;
2679
2680 public:
2681 PyObject_ptr() :_obj(0)
2682 {
2683 }
2684
2685 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2686 {
2687 Py_XINCREF(_obj);
2688 }
2689
2690 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2691 {
2692 if (initial_ref) Py_XINCREF(_obj);
2693 }
2694
2695 PyObject_ptr & operator=(const PyObject_ptr& item)
2696 {
2697 Py_XINCREF(item._obj);
2698 Py_XDECREF(_obj);
2699 _obj = item._obj;
2700 return *this;
2701 }
2702
2703 ~PyObject_ptr()
2704 {
2705 Py_XDECREF(_obj);
2706 }
2707
2708 operator PyObject *() const
2709 {
2710 return _obj;
2711 }
2712
2713 PyObject *operator->() const
2714 {
2715 return _obj;
2716 }
2717 };
2718 }
2719
2720
2721 namespace swig {
2722 struct PyObject_var : PyObject_ptr {
2723 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2724
2725 PyObject_var & operator = (PyObject* obj)
2726 {
2727 Py_XDECREF(_obj);
2728 _obj = obj;
2729 return *this;
2730 }
2731 };
2732 }
2733
2734
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2737
2738
2739 static const wxString wxPyEmptyString(wxEmptyString);
2740 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2741
2742
2743
2744 #include <limits.h>
2745 #ifndef LLONG_MIN
2746 # define LLONG_MIN LONG_LONG_MIN
2747 #endif
2748 #ifndef LLONG_MAX
2749 # define LLONG_MAX LONG_LONG_MAX
2750 #endif
2751 #ifndef ULLONG_MAX
2752 # define ULLONG_MAX ULONG_LONG_MAX
2753 #endif
2754
2755
2756 SWIGINTERN int
2757 SWIG_AsVal_long (PyObject* obj, long* val)
2758 {
2759 if (PyNumber_Check(obj)) {
2760 if (val) *val = PyInt_AsLong(obj);
2761 return SWIG_OK;
2762 }
2763 return SWIG_TypeError;
2764 }
2765
2766
2767 SWIGINTERN int
2768 SWIG_AsVal_int (PyObject * obj, int *val)
2769 {
2770 long v;
2771 int res = SWIG_AsVal_long (obj, &v);
2772 if (SWIG_IsOK(res)) {
2773 if ((v < INT_MIN || v > INT_MAX)) {
2774 return SWIG_OverflowError;
2775 } else {
2776 if (val) *val = static_cast< int >(v);
2777 }
2778 }
2779 return res;
2780 }
2781
2782
2783 SWIGINTERN int
2784 SWIG_AsVal_bool (PyObject *obj, bool *val)
2785 {
2786 if (obj == Py_True) {
2787 if (val) *val = true;
2788 return SWIG_OK;
2789 } else if (obj == Py_False) {
2790 if (val) *val = false;
2791 return SWIG_OK;
2792 } else {
2793 long v = 0;
2794 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2795 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2796 return res;
2797 }
2798 }
2799
2800
2801 #define SWIG_From_long PyInt_FromLong
2802
2803
2804 SWIGINTERNINLINE PyObject *
2805 SWIG_From_int (int value)
2806 {
2807 return SWIG_From_long (value);
2808 }
2809
2810
2811 SWIGINTERN int
2812 SWIG_AsVal_double (PyObject *obj, double* val)
2813 {
2814 if (PyNumber_Check(obj)) {
2815 if (val) *val = PyFloat_AsDouble(obj);
2816 return SWIG_OK;
2817 }
2818 return SWIG_TypeError;
2819 }
2820
2821
2822 #define SWIG_From_double PyFloat_FromDouble
2823
2824 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2825 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2826 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2827 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2828 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2829 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2830
2831 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2832
2833
2834
2835 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2836 wxRect r;
2837 self->GetFieldRect(i, r);
2838 return r;
2839 }
2840 static const wxString wxPySplitterNameStr(wxT("splitter"));
2841 static const wxString wxPySashNameStr(wxT("sashWindow"));
2842 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2843
2844 #include <wx/popupwin.h>
2845
2846
2847 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2848 {
2849 public:
2850 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2851 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2852 : wxPopupTransientWindow(parent, style) {}
2853
2854 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2855 DEC_PYCALLBACK__(OnDismiss);
2856 DEC_PYCALLBACK_BOOL_(CanDismiss);
2857 PYPRIVATE;
2858 };
2859
2860
2861 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2862 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2863 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2864
2865
2866 #include <wx/tipwin.h>
2867
2868 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2869 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2870 }
2871
2872 #include <wx/tipwin.h>
2873
2874
2875 #include <wx/vscroll.h>
2876
2877
2878 class wxPyVScrolledWindow : public wxVScrolledWindow
2879 {
2880 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2881 public:
2882 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2883
2884 wxPyVScrolledWindow(wxWindow *parent,
2885 wxWindowID id = wxID_ANY,
2886 const wxPoint& pos = wxDefaultPosition,
2887 const wxSize& size = wxDefaultSize,
2888 long style = 0,
2889 const wxString& name = wxPyPanelNameStr)
2890 : wxVScrolledWindow(parent, id, pos, size, style, name)
2891 {}
2892
2893 // Overridable virtuals
2894
2895 // this function must be overridden in the derived class and it should
2896 // return the height of the given line in pixels
2897 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2898
2899
2900 // this function doesn't have to be overridden but it may be useful to do
2901 // it if calculating the lines heights is a relatively expensive operation
2902 // as it gives the user code a possibility to calculate several of them at
2903 // once
2904 //
2905 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2906 // shouldn't rely on the latter being called for all lines in the interval
2907 // specified here. It is also possible that OnGetLineHeight() will be
2908 // called for the lines outside of this interval, so this is really just a
2909 // hint, not a promise.
2910 //
2911 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2912 // usual
2913 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2914
2915
2916 // when the number of lines changes, we try to estimate the total height
2917 // of all lines which is a rather expensive operation in terms of lines
2918 // access, so if the user code may estimate the average height
2919 // better/faster than we do, it should override this function to implement
2920 // its own logic
2921 //
2922 // this function should return the best guess for the total height it may
2923 // make
2924 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2925
2926
2927 // Also expose some other interesting protected methods
2928
2929
2930 // find the index of the line we need to show at the top of the window such
2931 // that the last (fully or partially) visible line is the given one
2932 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2933 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2934
2935 // get the total height of the lines between lineMin (inclusive) and
2936 // lineMax (exclusive)
2937 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2938 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2939
2940 // update the thumb size shown by the scrollbar
2941 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2942
2943 // remove the scrollbar completely because we don't need it
2944 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2945
2946 PYPRIVATE;
2947 };
2948
2949 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2950
2951 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2952 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2953 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2954
2955
2956 SWIGINTERN int
2957 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2958 {
2959 long v = 0;
2960 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2961 return SWIG_TypeError;
2962 }
2963 else if (val)
2964 *val = (unsigned long)v;
2965 return SWIG_OK;
2966 }
2967
2968
2969 SWIGINTERNINLINE int
2970 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2971 {
2972 unsigned long v;
2973 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2974 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2975 return res;
2976 }
2977
2978
2979 SWIGINTERNINLINE PyObject*
2980 SWIG_From_unsigned_SS_long (unsigned long value)
2981 {
2982 return (value > LONG_MAX) ?
2983 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2984 }
2985
2986
2987 SWIGINTERNINLINE PyObject *
2988 SWIG_From_size_t (size_t value)
2989 {
2990 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2991 }
2992
2993
2994 #include <wx/vlbox.h>
2995
2996 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2997
2998 class wxPyVListBox : public wxVListBox
2999 {
3000 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
3001 public:
3002 wxPyVListBox() : wxVListBox() {}
3003
3004 wxPyVListBox(wxWindow *parent,
3005 wxWindowID id = wxID_ANY,
3006 const wxPoint& pos = wxDefaultPosition,
3007 const wxSize& size = wxDefaultSize,
3008 long style = 0,
3009 const wxString& name = wxPyVListBoxNameStr)
3010 : wxVListBox(parent, id, pos, size, style, name)
3011 {}
3012
3013 // Overridable virtuals
3014
3015 // the derived class must implement this function to actually draw the item
3016 // with the given index on the provided DC
3017 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3018 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3019
3020
3021 // the derived class must implement this method to return the height of the
3022 // specified item
3023 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3024 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3025
3026
3027 // this method may be used to draw separators between the lines; note that
3028 // the rectangle may be modified, typically to deflate it a bit before
3029 // passing to OnDrawItem()
3030 //
3031 // the base class version doesn't do anything
3032 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3033 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3034
3035
3036 // this method is used to draw the items background and, maybe, a border
3037 // around it
3038 //
3039 // the base class version implements a reasonable default behaviour which
3040 // consists in drawing the selected item with the standard background
3041 // colour and drawing a border around the item if it is either selected or
3042 // current
3043 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3044 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3045
3046
3047 PYPRIVATE;
3048 };
3049
3050 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3051
3052 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3053 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3054 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3055 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3056
3057
3058 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3059 unsigned long cookie = 0;
3060 int selected = self->GetFirstSelected(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 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3069 int selected = self->GetNextSelected(cookie);
3070 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3071 PyObject* tup = PyTuple_New(2);
3072 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3073 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3074 wxPyEndBlockThreads(blocked);
3075 return tup;
3076 }
3077
3078 #include <wx/htmllbox.h>
3079
3080
3081 class wxPyHtmlListBox : public wxHtmlListBox
3082 {
3083 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3084 public:
3085 wxPyHtmlListBox() : wxHtmlListBox() {}
3086
3087 wxPyHtmlListBox(wxWindow *parent,
3088 wxWindowID id = wxID_ANY,
3089 const wxPoint& pos = wxDefaultPosition,
3090 const wxSize& size = wxDefaultSize,
3091 long style = 0,
3092 const wxString& name = wxPyVListBoxNameStr)
3093 : wxHtmlListBox(parent, id, pos, size, style, name)
3094 {}
3095
3096 // Overridable virtuals
3097
3098 // this method must be implemented in the derived class and should return
3099 // the body (i.e. without <html>) of the HTML for the given item
3100 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3101
3102 // this function may be overridden to decorate HTML returned by OnGetItem()
3103 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3104
3105 // These are from wxVListBox
3106 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3107 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3108
3109 // TODO:
3110 // // this method allows to customize the selection appearance: it may be used
3111 // // to specify the colour of the text which normally has the given colour
3112 // // colFg when it is inside the selection
3113 // //
3114 // // by default, the original colour is not used at all and all text has the
3115 // // same (default for this system) colour inside selection
3116 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3117
3118 // // this is the same as GetSelectedTextColour() but allows to customize the
3119 // // background colour -- this is even more rarely used as you can change it
3120 // // globally using SetSelectionBackground()
3121 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3122
3123
3124 // This method may be overriden to handle clicking on a link in
3125 // the listbox. By default, clicking links is ignored.
3126 virtual void OnLinkClicked(size_t n,
3127 const wxHtmlLinkInfo& link);
3128
3129 PYPRIVATE;
3130 };
3131
3132
3133 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3134
3135 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3136 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3137 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3138 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3139
3140
3141 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3142 const wxHtmlLinkInfo& link) {
3143 bool found;
3144 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3145 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3146 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3147 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3148 Py_DECREF(obj);
3149 }
3150 wxPyEndBlockThreads(blocked);
3151 if (! found)
3152 wxPyHtmlListBox::OnLinkClicked(n, link);
3153 }
3154
3155
3156
3157 const wxArrayString wxPyEmptyStringArray;
3158
3159 static const wxString wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr);
3160
3161
3162
3163 #ifndef wxHAS_TASK_BAR_ICON
3164 // implement dummy classes for platforms that don't have it
3165
3166 class wxTaskBarIcon : public wxEvtHandler
3167 {
3168 public:
3169 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3170 };
3171
3172
3173 class wxTaskBarIconEvent : public wxEvent
3174 {
3175 public:
3176 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3177 { wxPyRaiseNotImplemented(); }
3178 virtual wxEvent* Clone() const { return NULL; }
3179 bool IsOk() const { return false; }
3180 bool IsIconInstalled() const { return false; }
3181 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3182 bool RemoveIcon() { return false; }
3183 bool PopupMenu(wxMenu *menu) { return false; }
3184 };
3185
3186 enum {
3187 wxEVT_TASKBAR_MOVE = 0,
3188 wxEVT_TASKBAR_LEFT_DOWN = 0,
3189 wxEVT_TASKBAR_LEFT_UP = 0,
3190 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3191 wxEVT_TASKBAR_RIGHT_UP = 0,
3192 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3193 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3194 };
3195
3196
3197 #else
3198 // Otherwise make a class that can virtualize CreatePopupMenu
3199 class wxPyTaskBarIcon : public wxTaskBarIcon
3200 {
3201 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3202 public:
3203 wxPyTaskBarIcon() : wxTaskBarIcon()
3204 {}
3205
3206 wxMenu* CreatePopupMenu() {
3207 wxMenu *rval = NULL;
3208 bool found;
3209 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3210 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3211 PyObject* ro;
3212 wxMenu* ptr;
3213 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3214 if (ro) {
3215 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3216 rval = ptr;
3217 Py_DECREF(ro);
3218 }
3219 }
3220 wxPyEndBlockThreads(blocked);
3221 if (! found)
3222 rval = wxTaskBarIcon::CreatePopupMenu();
3223 return rval;
3224 }
3225
3226 PYPRIVATE;
3227 };
3228
3229 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3230
3231 #endif
3232
3233 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3234 self->RemoveIcon();
3235 delete self;
3236 }
3237 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3238 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3239 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3240 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3241 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3242 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3243
3244 // for compatibility only
3245 #define wxHIDE_READONLY 0
3246
3247 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3248 wxArrayString arr;
3249 self->GetFilenames(arr);
3250 return wxArrayString2PyList_helper(arr);
3251 }
3252 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3253 wxArrayString arr;
3254 self->GetPaths(arr);
3255 return wxArrayString2PyList_helper(arr);
3256 }
3257 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3258 return wxArrayInt2PyList_helper(self->GetSelections());
3259 }
3260 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){
3261 return new wxSingleChoiceDialog(parent, message, caption,
3262 choices, choices_array, NULL, style, pos);
3263 }
3264 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3265
3266 SWIGINTERNINLINE PyObject*
3267 SWIG_From_bool (bool value)
3268 {
3269 return PyBool_FromLong(value ? 1 : 0);
3270 }
3271
3272
3273 #include <wx/mdi.h>
3274
3275 // C++ version of Python aware wxWindow
3276 class wxPyWindow : public wxWindow
3277 {
3278 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3279 public:
3280 wxPyWindow() : wxWindow() {}
3281 wxPyWindow(wxWindow* parent, const wxWindowID id,
3282 const wxPoint& pos = wxDefaultPosition,
3283 const wxSize& size = wxDefaultSize,
3284 long style = 0,
3285 const wxString& name = wxPyPanelNameStr)
3286 : wxWindow(parent, id, pos, size, style, name) {}
3287
3288
3289 bool DoEraseBackground(wxDC* dc) {
3290 #ifdef __WXMSW__
3291 return wxWindow::DoEraseBackground(dc->GetHDC());
3292 #else
3293 dc->SetBackground(wxBrush(GetBackgroundColour()));
3294 dc->Clear();
3295 return true;
3296 #endif
3297 }
3298
3299 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3300 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3301 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3302 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3303
3304 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3306 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3307
3308 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3309 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3310
3311 DEC_PYCALLBACK__(InitDialog);
3312 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3313 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3314 DEC_PYCALLBACK_BOOL_(Validate);
3315
3316 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3317 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3318 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3319
3320 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3321 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3322
3323 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3324 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3325
3326 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3327
3328 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3329
3330 PYPRIVATE;
3331 };
3332
3333 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3334
3335 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3336 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3337 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3338 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3339
3340 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3342 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3343
3344 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3346
3347 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3348 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3351
3352 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3353 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3354 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3355
3356 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3357 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3358
3359 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3360 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3361
3362 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3363
3364 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3365
3366 // C++ version of Python aware wxPanel
3367 class wxPyPanel : public wxPanel
3368 {
3369 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3370 public:
3371 wxPyPanel() : wxPanel() {}
3372 wxPyPanel(wxWindow* parent, const wxWindowID id,
3373 const wxPoint& pos = wxDefaultPosition,
3374 const wxSize& size = wxDefaultSize,
3375 long style = 0,
3376 const wxString& name = wxPyPanelNameStr)
3377 : wxPanel(parent, id, pos, size, style, name) {}
3378
3379 bool DoEraseBackground(wxDC* dc) {
3380 #ifdef __WXMSW__
3381 return wxWindow::DoEraseBackground(dc->GetHDC());
3382 #else
3383 dc->SetBackground(wxBrush(GetBackgroundColour()));
3384 dc->Clear();
3385 return true;
3386 #endif
3387 }
3388
3389
3390 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3391 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3392 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3393 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3394
3395 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3397 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3398
3399 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3400 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3401
3402 DEC_PYCALLBACK__(InitDialog);
3403 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3404 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3405 DEC_PYCALLBACK_BOOL_(Validate);
3406
3407 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3408 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3409 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3410
3411 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3412 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3413
3414 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3415 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3416
3417 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3418
3419 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3420
3421 PYPRIVATE;
3422 };
3423
3424 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3425
3426 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3427 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3428 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3429 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3430
3431 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3433 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3434
3435 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3437
3438 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3439 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3441 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3442
3443 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3444 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3445 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3446
3447 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3448 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3449
3450 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3451 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3452
3453 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3454
3455 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3456
3457 // C++ version of Python aware wxScrolledWindow
3458 class wxPyScrolledWindow : public wxScrolledWindow
3459 {
3460 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3461 public:
3462 wxPyScrolledWindow() : wxScrolledWindow() {}
3463 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3464 const wxPoint& pos = wxDefaultPosition,
3465 const wxSize& size = wxDefaultSize,
3466 long style = 0,
3467 const wxString& name = wxPyPanelNameStr)
3468 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3469
3470 bool DoEraseBackground(wxDC* dc) {
3471 #ifdef __WXMSW__
3472 return wxWindow::DoEraseBackground(dc->GetHDC());
3473 #else
3474 dc->SetBackground(wxBrush(GetBackgroundColour()));
3475 dc->Clear();
3476 return true;
3477 #endif
3478 }
3479
3480 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3481 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3482 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3483 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3484
3485 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3487 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3488
3489 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3490 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3491
3492 DEC_PYCALLBACK__(InitDialog);
3493 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3494 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3495 DEC_PYCALLBACK_BOOL_(Validate);
3496
3497 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3498 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3499 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3500
3501 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3502 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3503
3504 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3505 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3506
3507 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3508
3509 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3510
3511 PYPRIVATE;
3512 };
3513
3514 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3515
3516 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3517 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3518 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3519 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3520
3521 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3523 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3524
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3527
3528 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3529 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3531 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3532
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3534 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3535 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3536
3537 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3538 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3539
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3541 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3542
3543 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3544
3545 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3546
3547
3548 #include "wx/wxPython/printfw.h"
3549
3550
3551 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3552 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3553 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3554 PyObject* data;
3555 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3556 data = PyString_FromStringAndSize(self->GetPrivData(),
3557 self->GetPrivDataLen());
3558 wxPyEndBlockThreads(blocked);
3559 return data;
3560 }
3561 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3562 if (! PyString_Check(data)) {
3563 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3564 "Expected string object"));
3565 return /* NULL */ ;
3566 }
3567
3568 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3569 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3570 wxPyEndBlockThreads(blocked);
3571 }
3572
3573
3574 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3575
3576 // Since this one would be tough and ugly to do with the Macros...
3577 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3578 bool hadErr = false;
3579 bool found;
3580
3581 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3582 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3583 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3584 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3585 PyObject* val;
3586
3587 val = PyTuple_GetItem(result, 0);
3588 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3589 else hadErr = true;
3590
3591 val = PyTuple_GetItem(result, 1);
3592 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3593 else hadErr = true;
3594
3595 val = PyTuple_GetItem(result, 2);
3596 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3597 else hadErr = true;
3598
3599 val = PyTuple_GetItem(result, 3);
3600 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3601 else hadErr = true;
3602 }
3603 else
3604 hadErr = true;
3605
3606 if (hadErr) {
3607 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3608 PyErr_Print();
3609 }
3610 Py_DECREF(result);
3611 }
3612 wxPyEndBlockThreads(blocked);
3613 if (! found)
3614 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3615 }
3616
3617
3618
3619 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3620 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3621 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3622 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3623 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3624 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3625 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3626
3627
3628
3629
3630
3631 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3632 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3633
3634
3635 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3636 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3637 bool rval=false; \
3638 bool found; \
3639 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3640 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3641 PyObject* win = wxPyMake_wxObject(a,false); \
3642 PyObject* dc = wxPyMake_wxObject(&b,false); \
3643 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3644 Py_DECREF(win); \
3645 Py_DECREF(dc); \
3646 } \
3647 wxPyEndBlockThreads(blocked); \
3648 if (! found) \
3649 rval = PCLASS::CBNAME(a, b); \
3650 return rval; \
3651 }
3652
3653
3654
3655
3656 class wxPyPrintPreview : public wxPrintPreview
3657 {
3658 DECLARE_CLASS(wxPyPrintPreview)
3659 public:
3660 wxPyPrintPreview(wxPyPrintout* printout,
3661 wxPyPrintout* printoutForPrinting,
3662 wxPrintDialogData* data=NULL)
3663 : wxPrintPreview(printout, printoutForPrinting, data)
3664 {}
3665 wxPyPrintPreview(wxPyPrintout* printout,
3666 wxPyPrintout* printoutForPrinting,
3667 wxPrintData* data)
3668 : wxPrintPreview(printout, printoutForPrinting, data)
3669 {}
3670
3671 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3672 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3673 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3674 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3675 DEC_PYCALLBACK_VOID_INT(SetZoom);
3676 DEC_PYCALLBACK_BOOL_BOOL(Print);
3677 DEC_PYCALLBACK_VOID_(DetermineScaling);
3678
3679 PYPRIVATE;
3680 };
3681
3682 // Stupid renamed classes... Fix this in 2.5...
3683 #if defined(__WXMSW__)
3684 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3685 #elif defined(__WXMAC__)
3686 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3687 #else
3688 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3689 #endif
3690
3691 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3692 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3693 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3694 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3695 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3696 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3697 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3698
3699
3700 class wxPyPreviewFrame : public wxPreviewFrame
3701 {
3702 DECLARE_CLASS(wxPyPreviewFrame)
3703 public:
3704 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3705 const wxString& title,
3706 const wxPoint& pos = wxDefaultPosition,
3707 const wxSize& size = wxDefaultSize,
3708 long style = wxDEFAULT_FRAME_STYLE,
3709 const wxString& name = wxPyFrameNameStr)
3710 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3711 {}
3712
3713 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3714 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3715
3716 DEC_PYCALLBACK_VOID_(Initialize);
3717 DEC_PYCALLBACK_VOID_(CreateCanvas);
3718 DEC_PYCALLBACK_VOID_(CreateControlBar);
3719
3720 PYPRIVATE;
3721 };
3722
3723 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3724
3725 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3727 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3728
3729
3730 class wxPyPreviewControlBar : public wxPreviewControlBar
3731 {
3732 DECLARE_CLASS(wxPyPreviewControlBar)
3733 public:
3734 wxPyPreviewControlBar(wxPrintPreview *preview,
3735 long buttons,
3736 wxWindow *parent,
3737 const wxPoint& pos = wxDefaultPosition,
3738 const wxSize& size = wxDefaultSize,
3739 long style = 0,
3740 const wxString& name = wxPyPanelNameStr)
3741 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3742 {}
3743
3744 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3745
3746 DEC_PYCALLBACK_VOID_(CreateButtons);
3747 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3748
3749 PYPRIVATE;
3750 };
3751
3752 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3753 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3754 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3755
3756 #ifdef __cplusplus
3757 extern "C" {
3758 #endif
3759 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj = 0;
3761 wxWindow *arg1 = (wxWindow *) 0 ;
3762 int arg2 = (int) (int)-1 ;
3763 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3764 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3765 wxSize const &arg4_defvalue = wxDefaultSize ;
3766 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3767 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3768 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3769 wxString *arg6 = (wxString *) &arg6_defvalue ;
3770 wxPanel *result = 0 ;
3771 void *argp1 = 0 ;
3772 int res1 = 0 ;
3773 int val2 ;
3774 int ecode2 = 0 ;
3775 wxPoint temp3 ;
3776 wxSize temp4 ;
3777 long val5 ;
3778 int ecode5 = 0 ;
3779 bool temp6 = false ;
3780 PyObject * obj0 = 0 ;
3781 PyObject * obj1 = 0 ;
3782 PyObject * obj2 = 0 ;
3783 PyObject * obj3 = 0 ;
3784 PyObject * obj4 = 0 ;
3785 PyObject * obj5 = 0 ;
3786 char * kwnames[] = {
3787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3788 };
3789
3790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3792 if (!SWIG_IsOK(res1)) {
3793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3794 }
3795 arg1 = reinterpret_cast< wxWindow * >(argp1);
3796 if (obj1) {
3797 ecode2 = SWIG_AsVal_int(obj1, &val2);
3798 if (!SWIG_IsOK(ecode2)) {
3799 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3800 }
3801 arg2 = static_cast< int >(val2);
3802 }
3803 if (obj2) {
3804 {
3805 arg3 = &temp3;
3806 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3807 }
3808 }
3809 if (obj3) {
3810 {
3811 arg4 = &temp4;
3812 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3813 }
3814 }
3815 if (obj4) {
3816 ecode5 = SWIG_AsVal_long(obj4, &val5);
3817 if (!SWIG_IsOK(ecode5)) {
3818 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3819 }
3820 arg5 = static_cast< long >(val5);
3821 }
3822 if (obj5) {
3823 {
3824 arg6 = wxString_in_helper(obj5);
3825 if (arg6 == NULL) SWIG_fail;
3826 temp6 = true;
3827 }
3828 }
3829 {
3830 if (!wxPyCheckForApp()) SWIG_fail;
3831 PyThreadState* __tstate = wxPyBeginAllowThreads();
3832 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3837 {
3838 if (temp6)
3839 delete arg6;
3840 }
3841 return resultobj;
3842 fail:
3843 {
3844 if (temp6)
3845 delete arg6;
3846 }
3847 return NULL;
3848 }
3849
3850
3851 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3852 PyObject *resultobj = 0;
3853 wxPanel *result = 0 ;
3854
3855 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3856 {
3857 if (!wxPyCheckForApp()) SWIG_fail;
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (wxPanel *)new wxPanel();
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3864 return resultobj;
3865 fail:
3866 return NULL;
3867 }
3868
3869
3870 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3871 PyObject *resultobj = 0;
3872 wxPanel *arg1 = (wxPanel *) 0 ;
3873 wxWindow *arg2 = (wxWindow *) 0 ;
3874 int arg3 = (int) (int)-1 ;
3875 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3876 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3877 wxSize const &arg5_defvalue = wxDefaultSize ;
3878 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3879 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3880 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3881 wxString *arg7 = (wxString *) &arg7_defvalue ;
3882 bool result;
3883 void *argp1 = 0 ;
3884 int res1 = 0 ;
3885 void *argp2 = 0 ;
3886 int res2 = 0 ;
3887 int val3 ;
3888 int ecode3 = 0 ;
3889 wxPoint temp4 ;
3890 wxSize temp5 ;
3891 long val6 ;
3892 int ecode6 = 0 ;
3893 bool temp7 = false ;
3894 PyObject * obj0 = 0 ;
3895 PyObject * obj1 = 0 ;
3896 PyObject * obj2 = 0 ;
3897 PyObject * obj3 = 0 ;
3898 PyObject * obj4 = 0 ;
3899 PyObject * obj5 = 0 ;
3900 PyObject * obj6 = 0 ;
3901 char * kwnames[] = {
3902 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3903 };
3904
3905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3907 if (!SWIG_IsOK(res1)) {
3908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3909 }
3910 arg1 = reinterpret_cast< wxPanel * >(argp1);
3911 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3912 if (!SWIG_IsOK(res2)) {
3913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3914 }
3915 arg2 = reinterpret_cast< wxWindow * >(argp2);
3916 if (obj2) {
3917 ecode3 = SWIG_AsVal_int(obj2, &val3);
3918 if (!SWIG_IsOK(ecode3)) {
3919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3920 }
3921 arg3 = static_cast< int >(val3);
3922 }
3923 if (obj3) {
3924 {
3925 arg4 = &temp4;
3926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3927 }
3928 }
3929 if (obj4) {
3930 {
3931 arg5 = &temp5;
3932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3933 }
3934 }
3935 if (obj5) {
3936 ecode6 = SWIG_AsVal_long(obj5, &val6);
3937 if (!SWIG_IsOK(ecode6)) {
3938 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3939 }
3940 arg6 = static_cast< long >(val6);
3941 }
3942 if (obj6) {
3943 {
3944 arg7 = wxString_in_helper(obj6);
3945 if (arg7 == NULL) SWIG_fail;
3946 temp7 = true;
3947 }
3948 }
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 {
3956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3957 }
3958 {
3959 if (temp7)
3960 delete arg7;
3961 }
3962 return resultobj;
3963 fail:
3964 {
3965 if (temp7)
3966 delete arg7;
3967 }
3968 return NULL;
3969 }
3970
3971
3972 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3973 PyObject *resultobj = 0;
3974 wxPanel *arg1 = (wxPanel *) 0 ;
3975 void *argp1 = 0 ;
3976 int res1 = 0 ;
3977 PyObject *swig_obj[1] ;
3978
3979 if (!args) SWIG_fail;
3980 swig_obj[0] = args;
3981 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3982 if (!SWIG_IsOK(res1)) {
3983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3984 }
3985 arg1 = reinterpret_cast< wxPanel * >(argp1);
3986 {
3987 PyThreadState* __tstate = wxPyBeginAllowThreads();
3988 (arg1)->SetFocusIgnoringChildren();
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 resultobj = SWIG_Py_Void();
3993 return resultobj;
3994 fail:
3995 return NULL;
3996 }
3997
3998
3999 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj = 0;
4001 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
4002 SwigValueWrapper<wxVisualAttributes > result;
4003 int val1 ;
4004 int ecode1 = 0 ;
4005 PyObject * obj0 = 0 ;
4006 char * kwnames[] = {
4007 (char *) "variant", NULL
4008 };
4009
4010 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4011 if (obj0) {
4012 ecode1 = SWIG_AsVal_int(obj0, &val1);
4013 if (!SWIG_IsOK(ecode1)) {
4014 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4015 }
4016 arg1 = static_cast< wxWindowVariant >(val1);
4017 }
4018 {
4019 if (!wxPyCheckForApp()) SWIG_fail;
4020 PyThreadState* __tstate = wxPyBeginAllowThreads();
4021 result = wxPanel::GetClassDefaultAttributes(arg1);
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4026 return resultobj;
4027 fail:
4028 return NULL;
4029 }
4030
4031
4032 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4033 PyObject *obj;
4034 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4036 return SWIG_Py_Void();
4037 }
4038
4039 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4040 return SWIG_Python_InitShadowInstance(args);
4041 }
4042
4043 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4044 PyObject *resultobj = 0;
4045 wxWindow *arg1 = (wxWindow *) 0 ;
4046 int arg2 = (int) (int)-1 ;
4047 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4048 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4049 wxSize const &arg4_defvalue = wxDefaultSize ;
4050 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4051 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4052 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4053 wxString *arg6 = (wxString *) &arg6_defvalue ;
4054 wxScrolledWindow *result = 0 ;
4055 void *argp1 = 0 ;
4056 int res1 = 0 ;
4057 int val2 ;
4058 int ecode2 = 0 ;
4059 wxPoint temp3 ;
4060 wxSize temp4 ;
4061 long val5 ;
4062 int ecode5 = 0 ;
4063 bool temp6 = false ;
4064 PyObject * obj0 = 0 ;
4065 PyObject * obj1 = 0 ;
4066 PyObject * obj2 = 0 ;
4067 PyObject * obj3 = 0 ;
4068 PyObject * obj4 = 0 ;
4069 PyObject * obj5 = 0 ;
4070 char * kwnames[] = {
4071 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4072 };
4073
4074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4076 if (!SWIG_IsOK(res1)) {
4077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4078 }
4079 arg1 = reinterpret_cast< wxWindow * >(argp1);
4080 if (obj1) {
4081 ecode2 = SWIG_AsVal_int(obj1, &val2);
4082 if (!SWIG_IsOK(ecode2)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4084 }
4085 arg2 = static_cast< int >(val2);
4086 }
4087 if (obj2) {
4088 {
4089 arg3 = &temp3;
4090 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4091 }
4092 }
4093 if (obj3) {
4094 {
4095 arg4 = &temp4;
4096 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4097 }
4098 }
4099 if (obj4) {
4100 ecode5 = SWIG_AsVal_long(obj4, &val5);
4101 if (!SWIG_IsOK(ecode5)) {
4102 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4103 }
4104 arg5 = static_cast< long >(val5);
4105 }
4106 if (obj5) {
4107 {
4108 arg6 = wxString_in_helper(obj5);
4109 if (arg6 == NULL) SWIG_fail;
4110 temp6 = true;
4111 }
4112 }
4113 {
4114 if (!wxPyCheckForApp()) SWIG_fail;
4115 PyThreadState* __tstate = wxPyBeginAllowThreads();
4116 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4121 {
4122 if (temp6)
4123 delete arg6;
4124 }
4125 return resultobj;
4126 fail:
4127 {
4128 if (temp6)
4129 delete arg6;
4130 }
4131 return NULL;
4132 }
4133
4134
4135 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4136 PyObject *resultobj = 0;
4137 wxScrolledWindow *result = 0 ;
4138
4139 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4140 {
4141 if (!wxPyCheckForApp()) SWIG_fail;
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (wxScrolledWindow *)new wxScrolledWindow();
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4148 return resultobj;
4149 fail:
4150 return NULL;
4151 }
4152
4153
4154 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4155 PyObject *resultobj = 0;
4156 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4157 wxWindow *arg2 = (wxWindow *) 0 ;
4158 int arg3 = (int) (int)-1 ;
4159 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4160 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4161 wxSize const &arg5_defvalue = wxDefaultSize ;
4162 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4163 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4164 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4165 wxString *arg7 = (wxString *) &arg7_defvalue ;
4166 bool result;
4167 void *argp1 = 0 ;
4168 int res1 = 0 ;
4169 void *argp2 = 0 ;
4170 int res2 = 0 ;
4171 int val3 ;
4172 int ecode3 = 0 ;
4173 wxPoint temp4 ;
4174 wxSize temp5 ;
4175 long val6 ;
4176 int ecode6 = 0 ;
4177 bool temp7 = false ;
4178 PyObject * obj0 = 0 ;
4179 PyObject * obj1 = 0 ;
4180 PyObject * obj2 = 0 ;
4181 PyObject * obj3 = 0 ;
4182 PyObject * obj4 = 0 ;
4183 PyObject * obj5 = 0 ;
4184 PyObject * obj6 = 0 ;
4185 char * kwnames[] = {
4186 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4187 };
4188
4189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4191 if (!SWIG_IsOK(res1)) {
4192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4193 }
4194 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4195 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4196 if (!SWIG_IsOK(res2)) {
4197 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4198 }
4199 arg2 = reinterpret_cast< wxWindow * >(argp2);
4200 if (obj2) {
4201 ecode3 = SWIG_AsVal_int(obj2, &val3);
4202 if (!SWIG_IsOK(ecode3)) {
4203 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4204 }
4205 arg3 = static_cast< int >(val3);
4206 }
4207 if (obj3) {
4208 {
4209 arg4 = &temp4;
4210 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4211 }
4212 }
4213 if (obj4) {
4214 {
4215 arg5 = &temp5;
4216 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4217 }
4218 }
4219 if (obj5) {
4220 ecode6 = SWIG_AsVal_long(obj5, &val6);
4221 if (!SWIG_IsOK(ecode6)) {
4222 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4223 }
4224 arg6 = static_cast< long >(val6);
4225 }
4226 if (obj6) {
4227 {
4228 arg7 = wxString_in_helper(obj6);
4229 if (arg7 == NULL) SWIG_fail;
4230 temp7 = true;
4231 }
4232 }
4233 {
4234 PyThreadState* __tstate = wxPyBeginAllowThreads();
4235 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4236 wxPyEndAllowThreads(__tstate);
4237 if (PyErr_Occurred()) SWIG_fail;
4238 }
4239 {
4240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4241 }
4242 {
4243 if (temp7)
4244 delete arg7;
4245 }
4246 return resultobj;
4247 fail:
4248 {
4249 if (temp7)
4250 delete arg7;
4251 }
4252 return NULL;
4253 }
4254
4255
4256 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4257 PyObject *resultobj = 0;
4258 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4259 int arg2 ;
4260 int arg3 ;
4261 int arg4 ;
4262 int arg5 ;
4263 int arg6 = (int) 0 ;
4264 int arg7 = (int) 0 ;
4265 bool arg8 = (bool) false ;
4266 void *argp1 = 0 ;
4267 int res1 = 0 ;
4268 int val2 ;
4269 int ecode2 = 0 ;
4270 int val3 ;
4271 int ecode3 = 0 ;
4272 int val4 ;
4273 int ecode4 = 0 ;
4274 int val5 ;
4275 int ecode5 = 0 ;
4276 int val6 ;
4277 int ecode6 = 0 ;
4278 int val7 ;
4279 int ecode7 = 0 ;
4280 bool val8 ;
4281 int ecode8 = 0 ;
4282 PyObject * obj0 = 0 ;
4283 PyObject * obj1 = 0 ;
4284 PyObject * obj2 = 0 ;
4285 PyObject * obj3 = 0 ;
4286 PyObject * obj4 = 0 ;
4287 PyObject * obj5 = 0 ;
4288 PyObject * obj6 = 0 ;
4289 PyObject * obj7 = 0 ;
4290 char * kwnames[] = {
4291 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4292 };
4293
4294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4296 if (!SWIG_IsOK(res1)) {
4297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4298 }
4299 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4300 ecode2 = SWIG_AsVal_int(obj1, &val2);
4301 if (!SWIG_IsOK(ecode2)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4303 }
4304 arg2 = static_cast< int >(val2);
4305 ecode3 = SWIG_AsVal_int(obj2, &val3);
4306 if (!SWIG_IsOK(ecode3)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4308 }
4309 arg3 = static_cast< int >(val3);
4310 ecode4 = SWIG_AsVal_int(obj3, &val4);
4311 if (!SWIG_IsOK(ecode4)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4313 }
4314 arg4 = static_cast< int >(val4);
4315 ecode5 = SWIG_AsVal_int(obj4, &val5);
4316 if (!SWIG_IsOK(ecode5)) {
4317 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4318 }
4319 arg5 = static_cast< int >(val5);
4320 if (obj5) {
4321 ecode6 = SWIG_AsVal_int(obj5, &val6);
4322 if (!SWIG_IsOK(ecode6)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4324 }
4325 arg6 = static_cast< int >(val6);
4326 }
4327 if (obj6) {
4328 ecode7 = SWIG_AsVal_int(obj6, &val7);
4329 if (!SWIG_IsOK(ecode7)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4331 }
4332 arg7 = static_cast< int >(val7);
4333 }
4334 if (obj7) {
4335 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4336 if (!SWIG_IsOK(ecode8)) {
4337 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4338 }
4339 arg8 = static_cast< bool >(val8);
4340 }
4341 {
4342 PyThreadState* __tstate = wxPyBeginAllowThreads();
4343 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4344 wxPyEndAllowThreads(__tstate);
4345 if (PyErr_Occurred()) SWIG_fail;
4346 }
4347 resultobj = SWIG_Py_Void();
4348 return resultobj;
4349 fail:
4350 return NULL;
4351 }
4352
4353
4354 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4355 PyObject *resultobj = 0;
4356 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4357 int arg2 ;
4358 int arg3 ;
4359 void *argp1 = 0 ;
4360 int res1 = 0 ;
4361 int val2 ;
4362 int ecode2 = 0 ;
4363 int val3 ;
4364 int ecode3 = 0 ;
4365 PyObject * obj0 = 0 ;
4366 PyObject * obj1 = 0 ;
4367 PyObject * obj2 = 0 ;
4368 char * kwnames[] = {
4369 (char *) "self",(char *) "x",(char *) "y", NULL
4370 };
4371
4372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4374 if (!SWIG_IsOK(res1)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4376 }
4377 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4378 ecode2 = SWIG_AsVal_int(obj1, &val2);
4379 if (!SWIG_IsOK(ecode2)) {
4380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4381 }
4382 arg2 = static_cast< int >(val2);
4383 ecode3 = SWIG_AsVal_int(obj2, &val3);
4384 if (!SWIG_IsOK(ecode3)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4386 }
4387 arg3 = static_cast< int >(val3);
4388 {
4389 PyThreadState* __tstate = wxPyBeginAllowThreads();
4390 (arg1)->Scroll(arg2,arg3);
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 resultobj = SWIG_Py_Void();
4395 return resultobj;
4396 fail:
4397 return NULL;
4398 }
4399
4400
4401 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj = 0;
4403 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4404 int arg2 ;
4405 int result;
4406 void *argp1 = 0 ;
4407 int res1 = 0 ;
4408 int val2 ;
4409 int ecode2 = 0 ;
4410 PyObject * obj0 = 0 ;
4411 PyObject * obj1 = 0 ;
4412 char * kwnames[] = {
4413 (char *) "self",(char *) "orient", NULL
4414 };
4415
4416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4418 if (!SWIG_IsOK(res1)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4420 }
4421 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4422 ecode2 = SWIG_AsVal_int(obj1, &val2);
4423 if (!SWIG_IsOK(ecode2)) {
4424 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4425 }
4426 arg2 = static_cast< int >(val2);
4427 {
4428 PyThreadState* __tstate = wxPyBeginAllowThreads();
4429 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4430 wxPyEndAllowThreads(__tstate);
4431 if (PyErr_Occurred()) SWIG_fail;
4432 }
4433 resultobj = SWIG_From_int(static_cast< int >(result));
4434 return resultobj;
4435 fail:
4436 return NULL;
4437 }
4438
4439
4440 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4441 PyObject *resultobj = 0;
4442 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4443 int arg2 ;
4444 int arg3 ;
4445 void *argp1 = 0 ;
4446 int res1 = 0 ;
4447 int val2 ;
4448 int ecode2 = 0 ;
4449 int val3 ;
4450 int ecode3 = 0 ;
4451 PyObject * obj0 = 0 ;
4452 PyObject * obj1 = 0 ;
4453 PyObject * obj2 = 0 ;
4454 char * kwnames[] = {
4455 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4456 };
4457
4458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4460 if (!SWIG_IsOK(res1)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4462 }
4463 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4464 ecode2 = SWIG_AsVal_int(obj1, &val2);
4465 if (!SWIG_IsOK(ecode2)) {
4466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4467 }
4468 arg2 = static_cast< int >(val2);
4469 ecode3 = SWIG_AsVal_int(obj2, &val3);
4470 if (!SWIG_IsOK(ecode3)) {
4471 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4472 }
4473 arg3 = static_cast< int >(val3);
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 (arg1)->SetScrollPageSize(arg2,arg3);
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 resultobj = SWIG_Py_Void();
4481 return resultobj;
4482 fail:
4483 return NULL;
4484 }
4485
4486
4487 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj = 0;
4489 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4490 int arg2 ;
4491 int arg3 ;
4492 void *argp1 = 0 ;
4493 int res1 = 0 ;
4494 int val2 ;
4495 int ecode2 = 0 ;
4496 int val3 ;
4497 int ecode3 = 0 ;
4498 PyObject * obj0 = 0 ;
4499 PyObject * obj1 = 0 ;
4500 PyObject * obj2 = 0 ;
4501 char * kwnames[] = {
4502 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4503 };
4504
4505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4507 if (!SWIG_IsOK(res1)) {
4508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4509 }
4510 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4511 ecode2 = SWIG_AsVal_int(obj1, &val2);
4512 if (!SWIG_IsOK(ecode2)) {
4513 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4514 }
4515 arg2 = static_cast< int >(val2);
4516 ecode3 = SWIG_AsVal_int(obj2, &val3);
4517 if (!SWIG_IsOK(ecode3)) {
4518 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4519 }
4520 arg3 = static_cast< int >(val3);
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 (arg1)->SetScrollRate(arg2,arg3);
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 resultobj = SWIG_Py_Void();
4528 return resultobj;
4529 fail:
4530 return NULL;
4531 }
4532
4533
4534 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4535 PyObject *resultobj = 0;
4536 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4537 int *arg2 = (int *) 0 ;
4538 int *arg3 = (int *) 0 ;
4539 void *argp1 = 0 ;
4540 int res1 = 0 ;
4541 int temp2 ;
4542 int res2 = SWIG_TMPOBJ ;
4543 int temp3 ;
4544 int res3 = SWIG_TMPOBJ ;
4545 PyObject *swig_obj[1] ;
4546
4547 arg2 = &temp2;
4548 arg3 = &temp3;
4549 if (!args) SWIG_fail;
4550 swig_obj[0] = args;
4551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4552 if (!SWIG_IsOK(res1)) {
4553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4554 }
4555 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4556 {
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 resultobj = SWIG_Py_Void();
4563 if (SWIG_IsTmpObj(res2)) {
4564 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4565 } else {
4566 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4567 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4568 }
4569 if (SWIG_IsTmpObj(res3)) {
4570 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4571 } else {
4572 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4574 }
4575 return resultobj;
4576 fail:
4577 return NULL;
4578 }
4579
4580
4581 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4582 PyObject *resultobj = 0;
4583 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4584 bool arg2 ;
4585 bool arg3 ;
4586 void *argp1 = 0 ;
4587 int res1 = 0 ;
4588 bool val2 ;
4589 int ecode2 = 0 ;
4590 bool val3 ;
4591 int ecode3 = 0 ;
4592 PyObject * obj0 = 0 ;
4593 PyObject * obj1 = 0 ;
4594 PyObject * obj2 = 0 ;
4595 char * kwnames[] = {
4596 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4597 };
4598
4599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4601 if (!SWIG_IsOK(res1)) {
4602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4603 }
4604 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4605 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4606 if (!SWIG_IsOK(ecode2)) {
4607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4608 }
4609 arg2 = static_cast< bool >(val2);
4610 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4611 if (!SWIG_IsOK(ecode3)) {
4612 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4613 }
4614 arg3 = static_cast< bool >(val3);
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 (arg1)->EnableScrolling(arg2,arg3);
4618 wxPyEndAllowThreads(__tstate);
4619 if (PyErr_Occurred()) SWIG_fail;
4620 }
4621 resultobj = SWIG_Py_Void();
4622 return resultobj;
4623 fail:
4624 return NULL;
4625 }
4626
4627
4628 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4629 PyObject *resultobj = 0;
4630 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4631 int *arg2 = (int *) 0 ;
4632 int *arg3 = (int *) 0 ;
4633 void *argp1 = 0 ;
4634 int res1 = 0 ;
4635 int temp2 ;
4636 int res2 = SWIG_TMPOBJ ;
4637 int temp3 ;
4638 int res3 = SWIG_TMPOBJ ;
4639 PyObject *swig_obj[1] ;
4640
4641 arg2 = &temp2;
4642 arg3 = &temp3;
4643 if (!args) SWIG_fail;
4644 swig_obj[0] = args;
4645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4646 if (!SWIG_IsOK(res1)) {
4647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4648 }
4649 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4650 {
4651 PyThreadState* __tstate = wxPyBeginAllowThreads();
4652 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 resultobj = SWIG_Py_Void();
4657 if (SWIG_IsTmpObj(res2)) {
4658 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4659 } else {
4660 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4661 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4662 }
4663 if (SWIG_IsTmpObj(res3)) {
4664 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4665 } else {
4666 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4667 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4668 }
4669 return resultobj;
4670 fail:
4671 return NULL;
4672 }
4673
4674
4675 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj = 0;
4677 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4678 double arg2 ;
4679 double arg3 ;
4680 void *argp1 = 0 ;
4681 int res1 = 0 ;
4682 double val2 ;
4683 int ecode2 = 0 ;
4684 double val3 ;
4685 int ecode3 = 0 ;
4686 PyObject * obj0 = 0 ;
4687 PyObject * obj1 = 0 ;
4688 PyObject * obj2 = 0 ;
4689 char * kwnames[] = {
4690 (char *) "self",(char *) "xs",(char *) "ys", NULL
4691 };
4692
4693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4695 if (!SWIG_IsOK(res1)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4697 }
4698 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4699 ecode2 = SWIG_AsVal_double(obj1, &val2);
4700 if (!SWIG_IsOK(ecode2)) {
4701 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4702 }
4703 arg2 = static_cast< double >(val2);
4704 ecode3 = SWIG_AsVal_double(obj2, &val3);
4705 if (!SWIG_IsOK(ecode3)) {
4706 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4707 }
4708 arg3 = static_cast< double >(val3);
4709 {
4710 PyThreadState* __tstate = wxPyBeginAllowThreads();
4711 (arg1)->SetScale(arg2,arg3);
4712 wxPyEndAllowThreads(__tstate);
4713 if (PyErr_Occurred()) SWIG_fail;
4714 }
4715 resultobj = SWIG_Py_Void();
4716 return resultobj;
4717 fail:
4718 return NULL;
4719 }
4720
4721
4722 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4723 PyObject *resultobj = 0;
4724 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4725 double result;
4726 void *argp1 = 0 ;
4727 int res1 = 0 ;
4728 PyObject *swig_obj[1] ;
4729
4730 if (!args) SWIG_fail;
4731 swig_obj[0] = args;
4732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4733 if (!SWIG_IsOK(res1)) {
4734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4735 }
4736 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4737 {
4738 PyThreadState* __tstate = wxPyBeginAllowThreads();
4739 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4740 wxPyEndAllowThreads(__tstate);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 resultobj = SWIG_From_double(static_cast< double >(result));
4744 return resultobj;
4745 fail:
4746 return NULL;
4747 }
4748
4749
4750 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4751 PyObject *resultobj = 0;
4752 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4753 double result;
4754 void *argp1 = 0 ;
4755 int res1 = 0 ;
4756 PyObject *swig_obj[1] ;
4757
4758 if (!args) SWIG_fail;
4759 swig_obj[0] = args;
4760 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4761 if (!SWIG_IsOK(res1)) {
4762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4763 }
4764 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = SWIG_From_double(static_cast< double >(result));
4772 return resultobj;
4773 fail:
4774 return NULL;
4775 }
4776
4777
4778 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4779 PyObject *resultobj = 0;
4780 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4781 wxPoint *arg2 = 0 ;
4782 wxPoint result;
4783 void *argp1 = 0 ;
4784 int res1 = 0 ;
4785 wxPoint temp2 ;
4786
4787 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4789 if (!SWIG_IsOK(res1)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4791 }
4792 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4793 {
4794 arg2 = &temp2;
4795 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4796 }
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4800 wxPyEndAllowThreads(__tstate);
4801 if (PyErr_Occurred()) SWIG_fail;
4802 }
4803 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4804 return resultobj;
4805 fail:
4806 return NULL;
4807 }
4808
4809
4810 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4811 PyObject *resultobj = 0;
4812 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4813 int arg2 ;
4814 int arg3 ;
4815 int *arg4 = (int *) 0 ;
4816 int *arg5 = (int *) 0 ;
4817 void *argp1 = 0 ;
4818 int res1 = 0 ;
4819 int val2 ;
4820 int ecode2 = 0 ;
4821 int val3 ;
4822 int ecode3 = 0 ;
4823 int temp4 ;
4824 int res4 = SWIG_TMPOBJ ;
4825 int temp5 ;
4826 int res5 = SWIG_TMPOBJ ;
4827
4828 arg4 = &temp4;
4829 arg5 = &temp5;
4830 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4832 if (!SWIG_IsOK(res1)) {
4833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4834 }
4835 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4836 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4837 if (!SWIG_IsOK(ecode2)) {
4838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4839 }
4840 arg2 = static_cast< int >(val2);
4841 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4842 if (!SWIG_IsOK(ecode3)) {
4843 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4844 }
4845 arg3 = static_cast< int >(val3);
4846 {
4847 PyThreadState* __tstate = wxPyBeginAllowThreads();
4848 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
4852 resultobj = SWIG_Py_Void();
4853 if (SWIG_IsTmpObj(res4)) {
4854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4855 } else {
4856 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4857 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4858 }
4859 if (SWIG_IsTmpObj(res5)) {
4860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4861 } else {
4862 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4863 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4864 }
4865 return resultobj;
4866 fail:
4867 return NULL;
4868 }
4869
4870
4871 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4872 int argc;
4873 PyObject *argv[4];
4874
4875 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4876 --argc;
4877 if (argc == 2) {
4878 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4879 }
4880 if (argc == 3) {
4881 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4882 }
4883
4884 fail:
4885 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4886 return NULL;
4887 }
4888
4889
4890 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4891 PyObject *resultobj = 0;
4892 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4893 wxPoint *arg2 = 0 ;
4894 wxPoint result;
4895 void *argp1 = 0 ;
4896 int res1 = 0 ;
4897 wxPoint temp2 ;
4898
4899 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4901 if (!SWIG_IsOK(res1)) {
4902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4903 }
4904 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4905 {
4906 arg2 = &temp2;
4907 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4908 }
4909 {
4910 PyThreadState* __tstate = wxPyBeginAllowThreads();
4911 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4912 wxPyEndAllowThreads(__tstate);
4913 if (PyErr_Occurred()) SWIG_fail;
4914 }
4915 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4916 return resultobj;
4917 fail:
4918 return NULL;
4919 }
4920
4921
4922 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4923 PyObject *resultobj = 0;
4924 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4925 int arg2 ;
4926 int arg3 ;
4927 int *arg4 = (int *) 0 ;
4928 int *arg5 = (int *) 0 ;
4929 void *argp1 = 0 ;
4930 int res1 = 0 ;
4931 int val2 ;
4932 int ecode2 = 0 ;
4933 int val3 ;
4934 int ecode3 = 0 ;
4935 int temp4 ;
4936 int res4 = SWIG_TMPOBJ ;
4937 int temp5 ;
4938 int res5 = SWIG_TMPOBJ ;
4939
4940 arg4 = &temp4;
4941 arg5 = &temp5;
4942 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4944 if (!SWIG_IsOK(res1)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4946 }
4947 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4948 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4949 if (!SWIG_IsOK(ecode2)) {
4950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4951 }
4952 arg2 = static_cast< int >(val2);
4953 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4954 if (!SWIG_IsOK(ecode3)) {
4955 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4956 }
4957 arg3 = static_cast< int >(val3);
4958 {
4959 PyThreadState* __tstate = wxPyBeginAllowThreads();
4960 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 resultobj = SWIG_Py_Void();
4965 if (SWIG_IsTmpObj(res4)) {
4966 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4967 } else {
4968 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4969 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4970 }
4971 if (SWIG_IsTmpObj(res5)) {
4972 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4973 } else {
4974 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4975 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4976 }
4977 return resultobj;
4978 fail:
4979 return NULL;
4980 }
4981
4982
4983 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4984 int argc;
4985 PyObject *argv[4];
4986
4987 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4988 --argc;
4989 if (argc == 2) {
4990 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4991 }
4992 if (argc == 3) {
4993 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4994 }
4995
4996 fail:
4997 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4998 return NULL;
4999 }
5000
5001
5002 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5003 PyObject *resultobj = 0;
5004 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5005 void *argp1 = 0 ;
5006 int res1 = 0 ;
5007 PyObject *swig_obj[1] ;
5008
5009 if (!args) SWIG_fail;
5010 swig_obj[0] = args;
5011 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5012 if (!SWIG_IsOK(res1)) {
5013 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5014 }
5015 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5016 {
5017 PyThreadState* __tstate = wxPyBeginAllowThreads();
5018 (arg1)->AdjustScrollbars();
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 resultobj = SWIG_Py_Void();
5023 return resultobj;
5024 fail:
5025 return NULL;
5026 }
5027
5028
5029 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj = 0;
5031 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5032 wxScrollWinEvent *arg2 = 0 ;
5033 int result;
5034 void *argp1 = 0 ;
5035 int res1 = 0 ;
5036 void *argp2 = 0 ;
5037 int res2 = 0 ;
5038 PyObject * obj0 = 0 ;
5039 PyObject * obj1 = 0 ;
5040 char * kwnames[] = {
5041 (char *) "self",(char *) "event", NULL
5042 };
5043
5044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5046 if (!SWIG_IsOK(res1)) {
5047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5048 }
5049 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5050 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5051 if (!SWIG_IsOK(res2)) {
5052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5053 }
5054 if (!argp2) {
5055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5056 }
5057 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5058 {
5059 PyThreadState* __tstate = wxPyBeginAllowThreads();
5060 result = (int)(arg1)->CalcScrollInc(*arg2);
5061 wxPyEndAllowThreads(__tstate);
5062 if (PyErr_Occurred()) SWIG_fail;
5063 }
5064 resultobj = SWIG_From_int(static_cast< int >(result));
5065 return resultobj;
5066 fail:
5067 return NULL;
5068 }
5069
5070
5071 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj = 0;
5073 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5074 wxWindow *arg2 = (wxWindow *) 0 ;
5075 void *argp1 = 0 ;
5076 int res1 = 0 ;
5077 void *argp2 = 0 ;
5078 int res2 = 0 ;
5079 PyObject * obj0 = 0 ;
5080 PyObject * obj1 = 0 ;
5081 char * kwnames[] = {
5082 (char *) "self",(char *) "target", NULL
5083 };
5084
5085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5087 if (!SWIG_IsOK(res1)) {
5088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5089 }
5090 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5091 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5092 if (!SWIG_IsOK(res2)) {
5093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5094 }
5095 arg2 = reinterpret_cast< wxWindow * >(argp2);
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 (arg1)->SetTargetWindow(arg2);
5099 wxPyEndAllowThreads(__tstate);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 resultobj = SWIG_Py_Void();
5103 return resultobj;
5104 fail:
5105 return NULL;
5106 }
5107
5108
5109 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5110 PyObject *resultobj = 0;
5111 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5112 wxWindow *result = 0 ;
5113 void *argp1 = 0 ;
5114 int res1 = 0 ;
5115 PyObject *swig_obj[1] ;
5116
5117 if (!args) SWIG_fail;
5118 swig_obj[0] = args;
5119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5120 if (!SWIG_IsOK(res1)) {
5121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5122 }
5123 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5124 {
5125 PyThreadState* __tstate = wxPyBeginAllowThreads();
5126 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5127 wxPyEndAllowThreads(__tstate);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 }
5130 {
5131 resultobj = wxPyMake_wxObject(result, 0);
5132 }
5133 return resultobj;
5134 fail:
5135 return NULL;
5136 }
5137
5138
5139 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj = 0;
5141 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5142 wxDC *arg2 = 0 ;
5143 void *argp1 = 0 ;
5144 int res1 = 0 ;
5145 void *argp2 = 0 ;
5146 int res2 = 0 ;
5147 PyObject * obj0 = 0 ;
5148 PyObject * obj1 = 0 ;
5149 char * kwnames[] = {
5150 (char *) "self",(char *) "dc", NULL
5151 };
5152
5153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5155 if (!SWIG_IsOK(res1)) {
5156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5157 }
5158 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5159 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5160 if (!SWIG_IsOK(res2)) {
5161 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5162 }
5163 if (!argp2) {
5164 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5165 }
5166 arg2 = reinterpret_cast< wxDC * >(argp2);
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 (arg1)->DoPrepareDC(*arg2);
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 resultobj = SWIG_Py_Void();
5174 return resultobj;
5175 fail:
5176 return NULL;
5177 }
5178
5179
5180 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5181 PyObject *resultobj = 0;
5182 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5183 SwigValueWrapper<wxVisualAttributes > result;
5184 int val1 ;
5185 int ecode1 = 0 ;
5186 PyObject * obj0 = 0 ;
5187 char * kwnames[] = {
5188 (char *) "variant", NULL
5189 };
5190
5191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5192 if (obj0) {
5193 ecode1 = SWIG_AsVal_int(obj0, &val1);
5194 if (!SWIG_IsOK(ecode1)) {
5195 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5196 }
5197 arg1 = static_cast< wxWindowVariant >(val1);
5198 }
5199 {
5200 if (!wxPyCheckForApp()) SWIG_fail;
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5207 return resultobj;
5208 fail:
5209 return NULL;
5210 }
5211
5212
5213 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5214 PyObject *obj;
5215 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5216 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5217 return SWIG_Py_Void();
5218 }
5219
5220 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5221 return SWIG_Python_InitShadowInstance(args);
5222 }
5223
5224 SWIGINTERN int FrameNameStr_set(PyObject *) {
5225 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5226 return 1;
5227 }
5228
5229
5230 SWIGINTERN PyObject *FrameNameStr_get(void) {
5231 PyObject *pyobj = 0;
5232
5233 {
5234 #if wxUSE_UNICODE
5235 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5236 #else
5237 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5238 #endif
5239 }
5240 return pyobj;
5241 }
5242
5243
5244 SWIGINTERN int DialogNameStr_set(PyObject *) {
5245 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5246 return 1;
5247 }
5248
5249
5250 SWIGINTERN PyObject *DialogNameStr_get(void) {
5251 PyObject *pyobj = 0;
5252
5253 {
5254 #if wxUSE_UNICODE
5255 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5256 #else
5257 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5258 #endif
5259 }
5260 return pyobj;
5261 }
5262
5263
5264 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5265 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5266 return 1;
5267 }
5268
5269
5270 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5271 PyObject *pyobj = 0;
5272
5273 {
5274 #if wxUSE_UNICODE
5275 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5276 #else
5277 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5278 #endif
5279 }
5280 return pyobj;
5281 }
5282
5283
5284 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5285 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5286 return 1;
5287 }
5288
5289
5290 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5291 PyObject *pyobj = 0;
5292
5293 {
5294 #if wxUSE_UNICODE
5295 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5296 #else
5297 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5298 #endif
5299 }
5300 return pyobj;
5301 }
5302
5303
5304 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5305 PyObject *resultobj = 0;
5306 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5307 bool arg2 = (bool) true ;
5308 void *argp1 = 0 ;
5309 int res1 = 0 ;
5310 bool val2 ;
5311 int ecode2 = 0 ;
5312 PyObject * obj0 = 0 ;
5313 PyObject * obj1 = 0 ;
5314 char * kwnames[] = {
5315 (char *) "self",(char *) "maximize", NULL
5316 };
5317
5318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5320 if (!SWIG_IsOK(res1)) {
5321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5322 }
5323 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5324 if (obj1) {
5325 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5326 if (!SWIG_IsOK(ecode2)) {
5327 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5328 }
5329 arg2 = static_cast< bool >(val2);
5330 }
5331 {
5332 PyThreadState* __tstate = wxPyBeginAllowThreads();
5333 (arg1)->Maximize(arg2);
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 resultobj = SWIG_Py_Void();
5338 return resultobj;
5339 fail:
5340 return NULL;
5341 }
5342
5343
5344 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5345 PyObject *resultobj = 0;
5346 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5347 void *argp1 = 0 ;
5348 int res1 = 0 ;
5349 PyObject *swig_obj[1] ;
5350
5351 if (!args) SWIG_fail;
5352 swig_obj[0] = args;
5353 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5354 if (!SWIG_IsOK(res1)) {
5355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5356 }
5357 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5358 {
5359 PyThreadState* __tstate = wxPyBeginAllowThreads();
5360 (arg1)->Restore();
5361 wxPyEndAllowThreads(__tstate);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 resultobj = SWIG_Py_Void();
5365 return resultobj;
5366 fail:
5367 return NULL;
5368 }
5369
5370
5371 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5372 PyObject *resultobj = 0;
5373 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5374 bool arg2 = (bool) true ;
5375 void *argp1 = 0 ;
5376 int res1 = 0 ;
5377 bool val2 ;
5378 int ecode2 = 0 ;
5379 PyObject * obj0 = 0 ;
5380 PyObject * obj1 = 0 ;
5381 char * kwnames[] = {
5382 (char *) "self",(char *) "iconize", NULL
5383 };
5384
5385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5387 if (!SWIG_IsOK(res1)) {
5388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5389 }
5390 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5391 if (obj1) {
5392 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5393 if (!SWIG_IsOK(ecode2)) {
5394 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5395 }
5396 arg2 = static_cast< bool >(val2);
5397 }
5398 {
5399 PyThreadState* __tstate = wxPyBeginAllowThreads();
5400 (arg1)->Iconize(arg2);
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 resultobj = SWIG_Py_Void();
5405 return resultobj;
5406 fail:
5407 return NULL;
5408 }
5409
5410
5411 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5412 PyObject *resultobj = 0;
5413 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5414 bool result;
5415 void *argp1 = 0 ;
5416 int res1 = 0 ;
5417 PyObject *swig_obj[1] ;
5418
5419 if (!args) SWIG_fail;
5420 swig_obj[0] = args;
5421 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5422 if (!SWIG_IsOK(res1)) {
5423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5424 }
5425 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5426 {
5427 PyThreadState* __tstate = wxPyBeginAllowThreads();
5428 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 {
5433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5434 }
5435 return resultobj;
5436 fail:
5437 return NULL;
5438 }
5439
5440
5441 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5442 PyObject *resultobj = 0;
5443 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5444 bool result;
5445 void *argp1 = 0 ;
5446 int res1 = 0 ;
5447 PyObject *swig_obj[1] ;
5448
5449 if (!args) SWIG_fail;
5450 swig_obj[0] = args;
5451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5452 if (!SWIG_IsOK(res1)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5454 }
5455 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
5458 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5459 wxPyEndAllowThreads(__tstate);
5460 if (PyErr_Occurred()) SWIG_fail;
5461 }
5462 {
5463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5464 }
5465 return resultobj;
5466 fail:
5467 return NULL;
5468 }
5469
5470
5471 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5472 PyObject *resultobj = 0;
5473 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5474 bool result;
5475 void *argp1 = 0 ;
5476 int res1 = 0 ;
5477 PyObject *swig_obj[1] ;
5478
5479 if (!args) SWIG_fail;
5480 swig_obj[0] = args;
5481 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5482 if (!SWIG_IsOK(res1)) {
5483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5484 }
5485 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5489 wxPyEndAllowThreads(__tstate);
5490 if (PyErr_Occurred()) SWIG_fail;
5491 }
5492 {
5493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5494 }
5495 return resultobj;
5496 fail:
5497 return NULL;
5498 }
5499
5500
5501 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5502 PyObject *resultobj = 0;
5503 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5504 wxIcon result;
5505 void *argp1 = 0 ;
5506 int res1 = 0 ;
5507 PyObject *swig_obj[1] ;
5508
5509 if (!args) SWIG_fail;
5510 swig_obj[0] = args;
5511 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5512 if (!SWIG_IsOK(res1)) {
5513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5514 }
5515 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5523 return resultobj;
5524 fail:
5525 return NULL;
5526 }
5527
5528
5529 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5530 PyObject *resultobj = 0;
5531 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5532 wxIcon *arg2 = 0 ;
5533 void *argp1 = 0 ;
5534 int res1 = 0 ;
5535 void *argp2 = 0 ;
5536 int res2 = 0 ;
5537 PyObject * obj0 = 0 ;
5538 PyObject * obj1 = 0 ;
5539 char * kwnames[] = {
5540 (char *) "self",(char *) "icon", NULL
5541 };
5542
5543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5545 if (!SWIG_IsOK(res1)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5547 }
5548 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5549 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5550 if (!SWIG_IsOK(res2)) {
5551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5552 }
5553 if (!argp2) {
5554 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5555 }
5556 arg2 = reinterpret_cast< wxIcon * >(argp2);
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 (arg1)->SetIcon((wxIcon const &)*arg2);
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 resultobj = SWIG_Py_Void();
5564 return resultobj;
5565 fail:
5566 return NULL;
5567 }
5568
5569
5570 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5571 PyObject *resultobj = 0;
5572 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5573 wxIconBundle *arg2 = 0 ;
5574 void *argp1 = 0 ;
5575 int res1 = 0 ;
5576 void *argp2 = 0 ;
5577 int res2 = 0 ;
5578 PyObject * obj0 = 0 ;
5579 PyObject * obj1 = 0 ;
5580 char * kwnames[] = {
5581 (char *) "self",(char *) "icons", NULL
5582 };
5583
5584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5586 if (!SWIG_IsOK(res1)) {
5587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5588 }
5589 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5590 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5591 if (!SWIG_IsOK(res2)) {
5592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5593 }
5594 if (!argp2) {
5595 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5596 }
5597 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5601 wxPyEndAllowThreads(__tstate);
5602 if (PyErr_Occurred()) SWIG_fail;
5603 }
5604 resultobj = SWIG_Py_Void();
5605 return resultobj;
5606 fail:
5607 return NULL;
5608 }
5609
5610
5611 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5612 PyObject *resultobj = 0;
5613 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5614 bool arg2 ;
5615 long arg3 = (long) wxFULLSCREEN_ALL ;
5616 bool result;
5617 void *argp1 = 0 ;
5618 int res1 = 0 ;
5619 bool val2 ;
5620 int ecode2 = 0 ;
5621 long val3 ;
5622 int ecode3 = 0 ;
5623 PyObject * obj0 = 0 ;
5624 PyObject * obj1 = 0 ;
5625 PyObject * obj2 = 0 ;
5626 char * kwnames[] = {
5627 (char *) "self",(char *) "show",(char *) "style", NULL
5628 };
5629
5630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5632 if (!SWIG_IsOK(res1)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5634 }
5635 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5636 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5637 if (!SWIG_IsOK(ecode2)) {
5638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5639 }
5640 arg2 = static_cast< bool >(val2);
5641 if (obj2) {
5642 ecode3 = SWIG_AsVal_long(obj2, &val3);
5643 if (!SWIG_IsOK(ecode3)) {
5644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5645 }
5646 arg3 = static_cast< long >(val3);
5647 }
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5651 wxPyEndAllowThreads(__tstate);
5652 if (PyErr_Occurred()) SWIG_fail;
5653 }
5654 {
5655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5656 }
5657 return resultobj;
5658 fail:
5659 return NULL;
5660 }
5661
5662
5663 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5664 PyObject *resultobj = 0;
5665 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5666 bool result;
5667 void *argp1 = 0 ;
5668 int res1 = 0 ;
5669 PyObject *swig_obj[1] ;
5670
5671 if (!args) SWIG_fail;
5672 swig_obj[0] = args;
5673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5674 if (!SWIG_IsOK(res1)) {
5675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5676 }
5677 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 {
5685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5686 }
5687 return resultobj;
5688 fail:
5689 return NULL;
5690 }
5691
5692
5693 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5694 PyObject *resultobj = 0;
5695 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5696 wxString *arg2 = 0 ;
5697 void *argp1 = 0 ;
5698 int res1 = 0 ;
5699 bool temp2 = false ;
5700 PyObject * obj0 = 0 ;
5701 PyObject * obj1 = 0 ;
5702 char * kwnames[] = {
5703 (char *) "self",(char *) "title", NULL
5704 };
5705
5706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5708 if (!SWIG_IsOK(res1)) {
5709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5710 }
5711 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5712 {
5713 arg2 = wxString_in_helper(obj1);
5714 if (arg2 == NULL) SWIG_fail;
5715 temp2 = true;
5716 }
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 (arg1)->SetTitle((wxString const &)*arg2);
5720 wxPyEndAllowThreads(__tstate);
5721 if (PyErr_Occurred()) SWIG_fail;
5722 }
5723 resultobj = SWIG_Py_Void();
5724 {
5725 if (temp2)
5726 delete arg2;
5727 }
5728 return resultobj;
5729 fail:
5730 {
5731 if (temp2)
5732 delete arg2;
5733 }
5734 return NULL;
5735 }
5736
5737
5738 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5739 PyObject *resultobj = 0;
5740 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5741 wxString result;
5742 void *argp1 = 0 ;
5743 int res1 = 0 ;
5744 PyObject *swig_obj[1] ;
5745
5746 if (!args) SWIG_fail;
5747 swig_obj[0] = args;
5748 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5749 if (!SWIG_IsOK(res1)) {
5750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5751 }
5752 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5756 wxPyEndAllowThreads(__tstate);
5757 if (PyErr_Occurred()) SWIG_fail;
5758 }
5759 {
5760 #if wxUSE_UNICODE
5761 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5762 #else
5763 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5764 #endif
5765 }
5766 return resultobj;
5767 fail:
5768 return NULL;
5769 }
5770
5771
5772 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5773 PyObject *resultobj = 0;
5774 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5775 bool arg2 ;
5776 bool result;
5777 void *argp1 = 0 ;
5778 int res1 = 0 ;
5779 bool val2 ;
5780 int ecode2 = 0 ;
5781 PyObject * obj0 = 0 ;
5782 PyObject * obj1 = 0 ;
5783 char * kwnames[] = {
5784 (char *) "self",(char *) "enable", NULL
5785 };
5786
5787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5789 if (!SWIG_IsOK(res1)) {
5790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5791 }
5792 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5793 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5794 if (!SWIG_IsOK(ecode2)) {
5795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5796 }
5797 arg2 = static_cast< bool >(val2);
5798 {
5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
5800 result = (bool)(arg1)->EnableCloseButton(arg2);
5801 wxPyEndAllowThreads(__tstate);
5802 if (PyErr_Occurred()) SWIG_fail;
5803 }
5804 {
5805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5806 }
5807 return resultobj;
5808 fail:
5809 return NULL;
5810 }
5811
5812
5813 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5814 PyObject *resultobj = 0;
5815 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5816 wxRegion *arg2 = 0 ;
5817 bool result;
5818 void *argp1 = 0 ;
5819 int res1 = 0 ;
5820 void *argp2 = 0 ;
5821 int res2 = 0 ;
5822 PyObject * obj0 = 0 ;
5823 PyObject * obj1 = 0 ;
5824 char * kwnames[] = {
5825 (char *) "self",(char *) "region", NULL
5826 };
5827
5828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5830 if (!SWIG_IsOK(res1)) {
5831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5832 }
5833 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5834 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5835 if (!SWIG_IsOK(res2)) {
5836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5837 }
5838 if (!argp2) {
5839 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5840 }
5841 arg2 = reinterpret_cast< wxRegion * >(argp2);
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5845 wxPyEndAllowThreads(__tstate);
5846 if (PyErr_Occurred()) SWIG_fail;
5847 }
5848 {
5849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5850 }
5851 return resultobj;
5852 fail:
5853 return NULL;
5854 }
5855
5856
5857 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5858 PyObject *resultobj = 0;
5859 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5860 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5861 void *argp1 = 0 ;
5862 int res1 = 0 ;
5863 int val2 ;
5864 int ecode2 = 0 ;
5865 PyObject * obj0 = 0 ;
5866 PyObject * obj1 = 0 ;
5867 char * kwnames[] = {
5868 (char *) "self",(char *) "flags", NULL
5869 };
5870
5871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5873 if (!SWIG_IsOK(res1)) {
5874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5875 }
5876 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5877 if (obj1) {
5878 ecode2 = SWIG_AsVal_int(obj1, &val2);
5879 if (!SWIG_IsOK(ecode2)) {
5880 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5881 }
5882 arg2 = static_cast< int >(val2);
5883 }
5884 {
5885 PyThreadState* __tstate = wxPyBeginAllowThreads();
5886 (arg1)->RequestUserAttention(arg2);
5887 wxPyEndAllowThreads(__tstate);
5888 if (PyErr_Occurred()) SWIG_fail;
5889 }
5890 resultobj = SWIG_Py_Void();
5891 return resultobj;
5892 fail:
5893 return NULL;
5894 }
5895
5896
5897 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5898 PyObject *resultobj = 0;
5899 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5900 bool result;
5901 void *argp1 = 0 ;
5902 int res1 = 0 ;
5903 PyObject *swig_obj[1] ;
5904
5905 if (!args) SWIG_fail;
5906 swig_obj[0] = args;
5907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5908 if (!SWIG_IsOK(res1)) {
5909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5910 }
5911 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5912 {
5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
5914 result = (bool)(arg1)->IsActive();
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
5918 {
5919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5920 }
5921 return resultobj;
5922 fail:
5923 return NULL;
5924 }
5925
5926
5927 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5928 PyObject *resultobj = 0;
5929 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5930 bool arg2 ;
5931 void *argp1 = 0 ;
5932 int res1 = 0 ;
5933 bool val2 ;
5934 int ecode2 = 0 ;
5935 PyObject * obj0 = 0 ;
5936 PyObject * obj1 = 0 ;
5937 char * kwnames[] = {
5938 (char *) "self",(char *) "on", NULL
5939 };
5940
5941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5943 if (!SWIG_IsOK(res1)) {
5944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5945 }
5946 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5947 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5948 if (!SWIG_IsOK(ecode2)) {
5949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5950 }
5951 arg2 = static_cast< bool >(val2);
5952 {
5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
5954 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5955 wxPyEndAllowThreads(__tstate);
5956 if (PyErr_Occurred()) SWIG_fail;
5957 }
5958 resultobj = SWIG_Py_Void();
5959 return resultobj;
5960 fail:
5961 return NULL;
5962 }
5963
5964
5965 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5966 PyObject *resultobj = 0;
5967 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5968 bool result;
5969 void *argp1 = 0 ;
5970 int res1 = 0 ;
5971 PyObject *swig_obj[1] ;
5972
5973 if (!args) SWIG_fail;
5974 swig_obj[0] = args;
5975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5976 if (!SWIG_IsOK(res1)) {
5977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5978 }
5979 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5980 {
5981 PyThreadState* __tstate = wxPyBeginAllowThreads();
5982 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 {
5987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5988 }
5989 return resultobj;
5990 fail:
5991 return NULL;
5992 }
5993
5994
5995 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5996 PyObject *resultobj = 0;
5997 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5998 int arg2 = (int) wxBOTH ;
5999 void *argp1 = 0 ;
6000 int res1 = 0 ;
6001 int val2 ;
6002 int ecode2 = 0 ;
6003 PyObject * obj0 = 0 ;
6004 PyObject * obj1 = 0 ;
6005 char * kwnames[] = {
6006 (char *) "self",(char *) "dir", NULL
6007 };
6008
6009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6011 if (!SWIG_IsOK(res1)) {
6012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6013 }
6014 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6015 if (obj1) {
6016 ecode2 = SWIG_AsVal_int(obj1, &val2);
6017 if (!SWIG_IsOK(ecode2)) {
6018 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6019 }
6020 arg2 = static_cast< int >(val2);
6021 }
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 (arg1)->CenterOnScreen(arg2);
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 resultobj = SWIG_Py_Void();
6029 return resultobj;
6030 fail:
6031 return NULL;
6032 }
6033
6034
6035 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6036 PyObject *resultobj = 0;
6037 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6038 wxWindow *result = 0 ;
6039 void *argp1 = 0 ;
6040 int res1 = 0 ;
6041 PyObject *swig_obj[1] ;
6042
6043 if (!args) SWIG_fail;
6044 swig_obj[0] = args;
6045 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6046 if (!SWIG_IsOK(res1)) {
6047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6048 }
6049 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6050 {
6051 PyThreadState* __tstate = wxPyBeginAllowThreads();
6052 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 {
6057 resultobj = wxPyMake_wxObject(result, 0);
6058 }
6059 return resultobj;
6060 fail:
6061 return NULL;
6062 }
6063
6064
6065 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj = 0;
6067 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6068 wxWindow *arg2 = (wxWindow *) 0 ;
6069 wxWindow *result = 0 ;
6070 void *argp1 = 0 ;
6071 int res1 = 0 ;
6072 void *argp2 = 0 ;
6073 int res2 = 0 ;
6074 PyObject * obj0 = 0 ;
6075 PyObject * obj1 = 0 ;
6076 char * kwnames[] = {
6077 (char *) "self",(char *) "child", NULL
6078 };
6079
6080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6082 if (!SWIG_IsOK(res1)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6084 }
6085 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6086 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6087 if (!SWIG_IsOK(res2)) {
6088 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6089 }
6090 arg2 = reinterpret_cast< wxWindow * >(argp2);
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6094 wxPyEndAllowThreads(__tstate);
6095 if (PyErr_Occurred()) SWIG_fail;
6096 }
6097 {
6098 resultobj = wxPyMake_wxObject(result, 0);
6099 }
6100 return resultobj;
6101 fail:
6102 return NULL;
6103 }
6104
6105
6106 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6107 PyObject *resultobj = 0;
6108 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6109 wxWindow *arg2 = (wxWindow *) 0 ;
6110 void *argp1 = 0 ;
6111 int res1 = 0 ;
6112 void *argp2 = 0 ;
6113 int res2 = 0 ;
6114 PyObject * obj0 = 0 ;
6115 PyObject * obj1 = 0 ;
6116 char * kwnames[] = {
6117 (char *) "self",(char *) "win", NULL
6118 };
6119
6120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6122 if (!SWIG_IsOK(res1)) {
6123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6124 }
6125 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6126 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6127 if (!SWIG_IsOK(res2)) {
6128 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6129 }
6130 arg2 = reinterpret_cast< wxWindow * >(argp2);
6131 {
6132 PyThreadState* __tstate = wxPyBeginAllowThreads();
6133 (arg1)->SetTmpDefaultItem(arg2);
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 resultobj = SWIG_Py_Void();
6138 return resultobj;
6139 fail:
6140 return NULL;
6141 }
6142
6143
6144 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6145 PyObject *resultobj = 0;
6146 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6147 wxWindow *result = 0 ;
6148 void *argp1 = 0 ;
6149 int res1 = 0 ;
6150 PyObject *swig_obj[1] ;
6151
6152 if (!args) SWIG_fail;
6153 swig_obj[0] = args;
6154 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6155 if (!SWIG_IsOK(res1)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6157 }
6158 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6159 {
6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
6161 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 {
6166 resultobj = wxPyMake_wxObject(result, 0);
6167 }
6168 return resultobj;
6169 fail:
6170 return NULL;
6171 }
6172
6173
6174 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6175 PyObject *obj;
6176 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6177 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6178 return SWIG_Py_Void();
6179 }
6180
6181 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6182 PyObject *resultobj = 0;
6183 wxWindow *arg1 = (wxWindow *) 0 ;
6184 int arg2 = (int) (int)-1 ;
6185 wxString const &arg3_defvalue = wxPyEmptyString ;
6186 wxString *arg3 = (wxString *) &arg3_defvalue ;
6187 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6188 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6189 wxSize const &arg5_defvalue = wxDefaultSize ;
6190 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6191 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6192 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6193 wxString *arg7 = (wxString *) &arg7_defvalue ;
6194 wxFrame *result = 0 ;
6195 void *argp1 = 0 ;
6196 int res1 = 0 ;
6197 int val2 ;
6198 int ecode2 = 0 ;
6199 bool temp3 = false ;
6200 wxPoint temp4 ;
6201 wxSize temp5 ;
6202 long val6 ;
6203 int ecode6 = 0 ;
6204 bool temp7 = false ;
6205 PyObject * obj0 = 0 ;
6206 PyObject * obj1 = 0 ;
6207 PyObject * obj2 = 0 ;
6208 PyObject * obj3 = 0 ;
6209 PyObject * obj4 = 0 ;
6210 PyObject * obj5 = 0 ;
6211 PyObject * obj6 = 0 ;
6212 char * kwnames[] = {
6213 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6214 };
6215
6216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6218 if (!SWIG_IsOK(res1)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6220 }
6221 arg1 = reinterpret_cast< wxWindow * >(argp1);
6222 if (obj1) {
6223 ecode2 = SWIG_AsVal_int(obj1, &val2);
6224 if (!SWIG_IsOK(ecode2)) {
6225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6226 }
6227 arg2 = static_cast< int >(val2);
6228 }
6229 if (obj2) {
6230 {
6231 arg3 = wxString_in_helper(obj2);
6232 if (arg3 == NULL) SWIG_fail;
6233 temp3 = true;
6234 }
6235 }
6236 if (obj3) {
6237 {
6238 arg4 = &temp4;
6239 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6240 }
6241 }
6242 if (obj4) {
6243 {
6244 arg5 = &temp5;
6245 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6246 }
6247 }
6248 if (obj5) {
6249 ecode6 = SWIG_AsVal_long(obj5, &val6);
6250 if (!SWIG_IsOK(ecode6)) {
6251 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6252 }
6253 arg6 = static_cast< long >(val6);
6254 }
6255 if (obj6) {
6256 {
6257 arg7 = wxString_in_helper(obj6);
6258 if (arg7 == NULL) SWIG_fail;
6259 temp7 = true;
6260 }
6261 }
6262 {
6263 if (!wxPyCheckForApp()) SWIG_fail;
6264 PyThreadState* __tstate = wxPyBeginAllowThreads();
6265 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6266 wxPyEndAllowThreads(__tstate);
6267 if (PyErr_Occurred()) SWIG_fail;
6268 }
6269 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6270 {
6271 if (temp3)
6272 delete arg3;
6273 }
6274 {
6275 if (temp7)
6276 delete arg7;
6277 }
6278 return resultobj;
6279 fail:
6280 {
6281 if (temp3)
6282 delete arg3;
6283 }
6284 {
6285 if (temp7)
6286 delete arg7;
6287 }
6288 return NULL;
6289 }
6290
6291
6292 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6293 PyObject *resultobj = 0;
6294 wxFrame *result = 0 ;
6295
6296 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6297 {
6298 if (!wxPyCheckForApp()) SWIG_fail;
6299 PyThreadState* __tstate = wxPyBeginAllowThreads();
6300 result = (wxFrame *)new wxFrame();
6301 wxPyEndAllowThreads(__tstate);
6302 if (PyErr_Occurred()) SWIG_fail;
6303 }
6304 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6305 return resultobj;
6306 fail:
6307 return NULL;
6308 }
6309
6310
6311 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6312 PyObject *resultobj = 0;
6313 wxFrame *arg1 = (wxFrame *) 0 ;
6314 wxWindow *arg2 = (wxWindow *) 0 ;
6315 int arg3 = (int) (int)-1 ;
6316 wxString const &arg4_defvalue = wxPyEmptyString ;
6317 wxString *arg4 = (wxString *) &arg4_defvalue ;
6318 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6319 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6320 wxSize const &arg6_defvalue = wxDefaultSize ;
6321 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6322 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6323 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6324 wxString *arg8 = (wxString *) &arg8_defvalue ;
6325 bool result;
6326 void *argp1 = 0 ;
6327 int res1 = 0 ;
6328 void *argp2 = 0 ;
6329 int res2 = 0 ;
6330 int val3 ;
6331 int ecode3 = 0 ;
6332 bool temp4 = false ;
6333 wxPoint temp5 ;
6334 wxSize temp6 ;
6335 long val7 ;
6336 int ecode7 = 0 ;
6337 bool temp8 = false ;
6338 PyObject * obj0 = 0 ;
6339 PyObject * obj1 = 0 ;
6340 PyObject * obj2 = 0 ;
6341 PyObject * obj3 = 0 ;
6342 PyObject * obj4 = 0 ;
6343 PyObject * obj5 = 0 ;
6344 PyObject * obj6 = 0 ;
6345 PyObject * obj7 = 0 ;
6346 char * kwnames[] = {
6347 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6348 };
6349
6350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6352 if (!SWIG_IsOK(res1)) {
6353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6354 }
6355 arg1 = reinterpret_cast< wxFrame * >(argp1);
6356 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6357 if (!SWIG_IsOK(res2)) {
6358 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6359 }
6360 arg2 = reinterpret_cast< wxWindow * >(argp2);
6361 if (obj2) {
6362 ecode3 = SWIG_AsVal_int(obj2, &val3);
6363 if (!SWIG_IsOK(ecode3)) {
6364 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6365 }
6366 arg3 = static_cast< int >(val3);
6367 }
6368 if (obj3) {
6369 {
6370 arg4 = wxString_in_helper(obj3);
6371 if (arg4 == NULL) SWIG_fail;
6372 temp4 = true;
6373 }
6374 }
6375 if (obj4) {
6376 {
6377 arg5 = &temp5;
6378 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6379 }
6380 }
6381 if (obj5) {
6382 {
6383 arg6 = &temp6;
6384 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6385 }
6386 }
6387 if (obj6) {
6388 ecode7 = SWIG_AsVal_long(obj6, &val7);
6389 if (!SWIG_IsOK(ecode7)) {
6390 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6391 }
6392 arg7 = static_cast< long >(val7);
6393 }
6394 if (obj7) {
6395 {
6396 arg8 = wxString_in_helper(obj7);
6397 if (arg8 == NULL) SWIG_fail;
6398 temp8 = true;
6399 }
6400 }
6401 {
6402 PyThreadState* __tstate = wxPyBeginAllowThreads();
6403 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 {
6408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6409 }
6410 {
6411 if (temp4)
6412 delete arg4;
6413 }
6414 {
6415 if (temp8)
6416 delete arg8;
6417 }
6418 return resultobj;
6419 fail:
6420 {
6421 if (temp4)
6422 delete arg4;
6423 }
6424 {
6425 if (temp8)
6426 delete arg8;
6427 }
6428 return NULL;
6429 }
6430
6431
6432 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6433 PyObject *resultobj = 0;
6434 wxFrame *arg1 = (wxFrame *) 0 ;
6435 void *argp1 = 0 ;
6436 int res1 = 0 ;
6437 PyObject *swig_obj[1] ;
6438
6439 if (!args) SWIG_fail;
6440 swig_obj[0] = args;
6441 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6442 if (!SWIG_IsOK(res1)) {
6443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6444 }
6445 arg1 = reinterpret_cast< wxFrame * >(argp1);
6446 {
6447 PyThreadState* __tstate = wxPyBeginAllowThreads();
6448 (arg1)->SendSizeEvent();
6449 wxPyEndAllowThreads(__tstate);
6450 if (PyErr_Occurred()) SWIG_fail;
6451 }
6452 resultobj = SWIG_Py_Void();
6453 return resultobj;
6454 fail:
6455 return NULL;
6456 }
6457
6458
6459 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6460 PyObject *resultobj = 0;
6461 wxFrame *arg1 = (wxFrame *) 0 ;
6462 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6463 void *argp1 = 0 ;
6464 int res1 = 0 ;
6465 void *argp2 = 0 ;
6466 int res2 = 0 ;
6467 PyObject * obj0 = 0 ;
6468 PyObject * obj1 = 0 ;
6469 char * kwnames[] = {
6470 (char *) "self",(char *) "menubar", NULL
6471 };
6472
6473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6475 if (!SWIG_IsOK(res1)) {
6476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6477 }
6478 arg1 = reinterpret_cast< wxFrame * >(argp1);
6479 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6480 if (!SWIG_IsOK(res2)) {
6481 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6482 }
6483 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6484 {
6485 PyThreadState* __tstate = wxPyBeginAllowThreads();
6486 (arg1)->SetMenuBar(arg2);
6487 wxPyEndAllowThreads(__tstate);
6488 if (PyErr_Occurred()) SWIG_fail;
6489 }
6490 resultobj = SWIG_Py_Void();
6491 return resultobj;
6492 fail:
6493 return NULL;
6494 }
6495
6496
6497 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6498 PyObject *resultobj = 0;
6499 wxFrame *arg1 = (wxFrame *) 0 ;
6500 wxMenuBar *result = 0 ;
6501 void *argp1 = 0 ;
6502 int res1 = 0 ;
6503 PyObject *swig_obj[1] ;
6504
6505 if (!args) SWIG_fail;
6506 swig_obj[0] = args;
6507 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6508 if (!SWIG_IsOK(res1)) {
6509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6510 }
6511 arg1 = reinterpret_cast< wxFrame * >(argp1);
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 {
6519 resultobj = wxPyMake_wxObject(result, 0);
6520 }
6521 return resultobj;
6522 fail:
6523 return NULL;
6524 }
6525
6526
6527 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6528 PyObject *resultobj = 0;
6529 wxFrame *arg1 = (wxFrame *) 0 ;
6530 int arg2 ;
6531 bool result;
6532 void *argp1 = 0 ;
6533 int res1 = 0 ;
6534 int val2 ;
6535 int ecode2 = 0 ;
6536 PyObject * obj0 = 0 ;
6537 PyObject * obj1 = 0 ;
6538 char * kwnames[] = {
6539 (char *) "self",(char *) "winid", NULL
6540 };
6541
6542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6544 if (!SWIG_IsOK(res1)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6546 }
6547 arg1 = reinterpret_cast< wxFrame * >(argp1);
6548 ecode2 = SWIG_AsVal_int(obj1, &val2);
6549 if (!SWIG_IsOK(ecode2)) {
6550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6551 }
6552 arg2 = static_cast< int >(val2);
6553 {
6554 PyThreadState* __tstate = wxPyBeginAllowThreads();
6555 result = (bool)(arg1)->ProcessCommand(arg2);
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
6559 {
6560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6561 }
6562 return resultobj;
6563 fail:
6564 return NULL;
6565 }
6566
6567
6568 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6569 PyObject *resultobj = 0;
6570 wxFrame *arg1 = (wxFrame *) 0 ;
6571 int arg2 = (int) 1 ;
6572 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6573 int arg4 = (int) 0 ;
6574 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6575 wxString *arg5 = (wxString *) &arg5_defvalue ;
6576 wxStatusBar *result = 0 ;
6577 void *argp1 = 0 ;
6578 int res1 = 0 ;
6579 int val2 ;
6580 int ecode2 = 0 ;
6581 long val3 ;
6582 int ecode3 = 0 ;
6583 int val4 ;
6584 int ecode4 = 0 ;
6585 bool temp5 = false ;
6586 PyObject * obj0 = 0 ;
6587 PyObject * obj1 = 0 ;
6588 PyObject * obj2 = 0 ;
6589 PyObject * obj3 = 0 ;
6590 PyObject * obj4 = 0 ;
6591 char * kwnames[] = {
6592 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6593 };
6594
6595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6597 if (!SWIG_IsOK(res1)) {
6598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6599 }
6600 arg1 = reinterpret_cast< wxFrame * >(argp1);
6601 if (obj1) {
6602 ecode2 = SWIG_AsVal_int(obj1, &val2);
6603 if (!SWIG_IsOK(ecode2)) {
6604 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6605 }
6606 arg2 = static_cast< int >(val2);
6607 }
6608 if (obj2) {
6609 ecode3 = SWIG_AsVal_long(obj2, &val3);
6610 if (!SWIG_IsOK(ecode3)) {
6611 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6612 }
6613 arg3 = static_cast< long >(val3);
6614 }
6615 if (obj3) {
6616 ecode4 = SWIG_AsVal_int(obj3, &val4);
6617 if (!SWIG_IsOK(ecode4)) {
6618 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6619 }
6620 arg4 = static_cast< int >(val4);
6621 }
6622 if (obj4) {
6623 {
6624 arg5 = wxString_in_helper(obj4);
6625 if (arg5 == NULL) SWIG_fail;
6626 temp5 = true;
6627 }
6628 }
6629 {
6630 PyThreadState* __tstate = wxPyBeginAllowThreads();
6631 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 {
6636 resultobj = wxPyMake_wxObject(result, (bool)0);
6637 }
6638 {
6639 if (temp5)
6640 delete arg5;
6641 }
6642 return resultobj;
6643 fail:
6644 {
6645 if (temp5)
6646 delete arg5;
6647 }
6648 return NULL;
6649 }
6650
6651
6652 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6653 PyObject *resultobj = 0;
6654 wxFrame *arg1 = (wxFrame *) 0 ;
6655 wxStatusBar *result = 0 ;
6656 void *argp1 = 0 ;
6657 int res1 = 0 ;
6658 PyObject *swig_obj[1] ;
6659
6660 if (!args) SWIG_fail;
6661 swig_obj[0] = args;
6662 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6663 if (!SWIG_IsOK(res1)) {
6664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6665 }
6666 arg1 = reinterpret_cast< wxFrame * >(argp1);
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6670 wxPyEndAllowThreads(__tstate);
6671 if (PyErr_Occurred()) SWIG_fail;
6672 }
6673 {
6674 resultobj = wxPyMake_wxObject(result, (bool)0);
6675 }
6676 return resultobj;
6677 fail:
6678 return NULL;
6679 }
6680
6681
6682 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6683 PyObject *resultobj = 0;
6684 wxFrame *arg1 = (wxFrame *) 0 ;
6685 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6686 void *argp1 = 0 ;
6687 int res1 = 0 ;
6688 void *argp2 = 0 ;
6689 int res2 = 0 ;
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 char * kwnames[] = {
6693 (char *) "self",(char *) "statBar", NULL
6694 };
6695
6696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6698 if (!SWIG_IsOK(res1)) {
6699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6700 }
6701 arg1 = reinterpret_cast< wxFrame * >(argp1);
6702 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6703 if (!SWIG_IsOK(res2)) {
6704 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6705 }
6706 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 (arg1)->SetStatusBar(arg2);
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 resultobj = SWIG_Py_Void();
6714 return resultobj;
6715 fail:
6716 return NULL;
6717 }
6718
6719
6720 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6721 PyObject *resultobj = 0;
6722 wxFrame *arg1 = (wxFrame *) 0 ;
6723 wxString *arg2 = 0 ;
6724 int arg3 = (int) 0 ;
6725 void *argp1 = 0 ;
6726 int res1 = 0 ;
6727 bool temp2 = false ;
6728 int val3 ;
6729 int ecode3 = 0 ;
6730 PyObject * obj0 = 0 ;
6731 PyObject * obj1 = 0 ;
6732 PyObject * obj2 = 0 ;
6733 char * kwnames[] = {
6734 (char *) "self",(char *) "text",(char *) "number", NULL
6735 };
6736
6737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6739 if (!SWIG_IsOK(res1)) {
6740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6741 }
6742 arg1 = reinterpret_cast< wxFrame * >(argp1);
6743 {
6744 arg2 = wxString_in_helper(obj1);
6745 if (arg2 == NULL) SWIG_fail;
6746 temp2 = true;
6747 }
6748 if (obj2) {
6749 ecode3 = SWIG_AsVal_int(obj2, &val3);
6750 if (!SWIG_IsOK(ecode3)) {
6751 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6752 }
6753 arg3 = static_cast< int >(val3);
6754 }
6755 {
6756 PyThreadState* __tstate = wxPyBeginAllowThreads();
6757 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 resultobj = SWIG_Py_Void();
6762 {
6763 if (temp2)
6764 delete arg2;
6765 }
6766 return resultobj;
6767 fail:
6768 {
6769 if (temp2)
6770 delete arg2;
6771 }
6772 return NULL;
6773 }
6774
6775
6776 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj = 0;
6778 wxFrame *arg1 = (wxFrame *) 0 ;
6779 int arg2 ;
6780 int *arg3 = (int *) 0 ;
6781 void *argp1 = 0 ;
6782 int res1 = 0 ;
6783 PyObject * obj0 = 0 ;
6784 PyObject * obj1 = 0 ;
6785 char * kwnames[] = {
6786 (char *) "self",(char *) "widths", NULL
6787 };
6788
6789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6791 if (!SWIG_IsOK(res1)) {
6792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6793 }
6794 arg1 = reinterpret_cast< wxFrame * >(argp1);
6795 {
6796 arg2 = PyList_Size(obj1);
6797 arg3 = int_LIST_helper(obj1);
6798 if (arg3 == NULL) SWIG_fail;
6799 }
6800 {
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 resultobj = SWIG_Py_Void();
6807 {
6808 if (arg3) delete [] arg3;
6809 }
6810 return resultobj;
6811 fail:
6812 {
6813 if (arg3) delete [] arg3;
6814 }
6815 return NULL;
6816 }
6817
6818
6819 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6820 PyObject *resultobj = 0;
6821 wxFrame *arg1 = (wxFrame *) 0 ;
6822 wxString *arg2 = 0 ;
6823 int arg3 = (int) 0 ;
6824 void *argp1 = 0 ;
6825 int res1 = 0 ;
6826 bool temp2 = false ;
6827 int val3 ;
6828 int ecode3 = 0 ;
6829 PyObject * obj0 = 0 ;
6830 PyObject * obj1 = 0 ;
6831 PyObject * obj2 = 0 ;
6832 char * kwnames[] = {
6833 (char *) "self",(char *) "text",(char *) "number", NULL
6834 };
6835
6836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6838 if (!SWIG_IsOK(res1)) {
6839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6840 }
6841 arg1 = reinterpret_cast< wxFrame * >(argp1);
6842 {
6843 arg2 = wxString_in_helper(obj1);
6844 if (arg2 == NULL) SWIG_fail;
6845 temp2 = true;
6846 }
6847 if (obj2) {
6848 ecode3 = SWIG_AsVal_int(obj2, &val3);
6849 if (!SWIG_IsOK(ecode3)) {
6850 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6851 }
6852 arg3 = static_cast< int >(val3);
6853 }
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6857 wxPyEndAllowThreads(__tstate);
6858 if (PyErr_Occurred()) SWIG_fail;
6859 }
6860 resultobj = SWIG_Py_Void();
6861 {
6862 if (temp2)
6863 delete arg2;
6864 }
6865 return resultobj;
6866 fail:
6867 {
6868 if (temp2)
6869 delete arg2;
6870 }
6871 return NULL;
6872 }
6873
6874
6875 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6876 PyObject *resultobj = 0;
6877 wxFrame *arg1 = (wxFrame *) 0 ;
6878 int arg2 = (int) 0 ;
6879 void *argp1 = 0 ;
6880 int res1 = 0 ;
6881 int val2 ;
6882 int ecode2 = 0 ;
6883 PyObject * obj0 = 0 ;
6884 PyObject * obj1 = 0 ;
6885 char * kwnames[] = {
6886 (char *) "self",(char *) "number", NULL
6887 };
6888
6889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6891 if (!SWIG_IsOK(res1)) {
6892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6893 }
6894 arg1 = reinterpret_cast< wxFrame * >(argp1);
6895 if (obj1) {
6896 ecode2 = SWIG_AsVal_int(obj1, &val2);
6897 if (!SWIG_IsOK(ecode2)) {
6898 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6899 }
6900 arg2 = static_cast< int >(val2);
6901 }
6902 {
6903 PyThreadState* __tstate = wxPyBeginAllowThreads();
6904 (arg1)->PopStatusText(arg2);
6905 wxPyEndAllowThreads(__tstate);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 }
6908 resultobj = SWIG_Py_Void();
6909 return resultobj;
6910 fail:
6911 return NULL;
6912 }
6913
6914
6915 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6916 PyObject *resultobj = 0;
6917 wxFrame *arg1 = (wxFrame *) 0 ;
6918 int arg2 ;
6919 void *argp1 = 0 ;
6920 int res1 = 0 ;
6921 int val2 ;
6922 int ecode2 = 0 ;
6923 PyObject * obj0 = 0 ;
6924 PyObject * obj1 = 0 ;
6925 char * kwnames[] = {
6926 (char *) "self",(char *) "n", NULL
6927 };
6928
6929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6931 if (!SWIG_IsOK(res1)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6933 }
6934 arg1 = reinterpret_cast< wxFrame * >(argp1);
6935 ecode2 = SWIG_AsVal_int(obj1, &val2);
6936 if (!SWIG_IsOK(ecode2)) {
6937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6938 }
6939 arg2 = static_cast< int >(val2);
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 (arg1)->SetStatusBarPane(arg2);
6943 wxPyEndAllowThreads(__tstate);
6944 if (PyErr_Occurred()) SWIG_fail;
6945 }
6946 resultobj = SWIG_Py_Void();
6947 return resultobj;
6948 fail:
6949 return NULL;
6950 }
6951
6952
6953 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6954 PyObject *resultobj = 0;
6955 wxFrame *arg1 = (wxFrame *) 0 ;
6956 int result;
6957 void *argp1 = 0 ;
6958 int res1 = 0 ;
6959 PyObject *swig_obj[1] ;
6960
6961 if (!args) SWIG_fail;
6962 swig_obj[0] = args;
6963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6964 if (!SWIG_IsOK(res1)) {
6965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6966 }
6967 arg1 = reinterpret_cast< wxFrame * >(argp1);
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6971 wxPyEndAllowThreads(__tstate);
6972 if (PyErr_Occurred()) SWIG_fail;
6973 }
6974 resultobj = SWIG_From_int(static_cast< int >(result));
6975 return resultobj;
6976 fail:
6977 return NULL;
6978 }
6979
6980
6981 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6982 PyObject *resultobj = 0;
6983 wxFrame *arg1 = (wxFrame *) 0 ;
6984 long arg2 = (long) -1 ;
6985 int arg3 = (int) -1 ;
6986 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6987 wxString *arg4 = (wxString *) &arg4_defvalue ;
6988 wxToolBar *result = 0 ;
6989 void *argp1 = 0 ;
6990 int res1 = 0 ;
6991 long val2 ;
6992 int ecode2 = 0 ;
6993 int val3 ;
6994 int ecode3 = 0 ;
6995 bool temp4 = false ;
6996 PyObject * obj0 = 0 ;
6997 PyObject * obj1 = 0 ;
6998 PyObject * obj2 = 0 ;
6999 PyObject * obj3 = 0 ;
7000 char * kwnames[] = {
7001 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7002 };
7003
7004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7006 if (!SWIG_IsOK(res1)) {
7007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7008 }
7009 arg1 = reinterpret_cast< wxFrame * >(argp1);
7010 if (obj1) {
7011 ecode2 = SWIG_AsVal_long(obj1, &val2);
7012 if (!SWIG_IsOK(ecode2)) {
7013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7014 }
7015 arg2 = static_cast< long >(val2);
7016 }
7017 if (obj2) {
7018 ecode3 = SWIG_AsVal_int(obj2, &val3);
7019 if (!SWIG_IsOK(ecode3)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7021 }
7022 arg3 = static_cast< int >(val3);
7023 }
7024 if (obj3) {
7025 {
7026 arg4 = wxString_in_helper(obj3);
7027 if (arg4 == NULL) SWIG_fail;
7028 temp4 = true;
7029 }
7030 }
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 {
7038 resultobj = wxPyMake_wxObject(result, (bool)0);
7039 }
7040 {
7041 if (temp4)
7042 delete arg4;
7043 }
7044 return resultobj;
7045 fail:
7046 {
7047 if (temp4)
7048 delete arg4;
7049 }
7050 return NULL;
7051 }
7052
7053
7054 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7055 PyObject *resultobj = 0;
7056 wxFrame *arg1 = (wxFrame *) 0 ;
7057 wxToolBar *result = 0 ;
7058 void *argp1 = 0 ;
7059 int res1 = 0 ;
7060 PyObject *swig_obj[1] ;
7061
7062 if (!args) SWIG_fail;
7063 swig_obj[0] = args;
7064 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7065 if (!SWIG_IsOK(res1)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7067 }
7068 arg1 = reinterpret_cast< wxFrame * >(argp1);
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 {
7076 resultobj = wxPyMake_wxObject(result, (bool)0);
7077 }
7078 return resultobj;
7079 fail:
7080 return NULL;
7081 }
7082
7083
7084 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj = 0;
7086 wxFrame *arg1 = (wxFrame *) 0 ;
7087 wxToolBar *arg2 = (wxToolBar *) 0 ;
7088 void *argp1 = 0 ;
7089 int res1 = 0 ;
7090 void *argp2 = 0 ;
7091 int res2 = 0 ;
7092 PyObject * obj0 = 0 ;
7093 PyObject * obj1 = 0 ;
7094 char * kwnames[] = {
7095 (char *) "self",(char *) "toolbar", NULL
7096 };
7097
7098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7100 if (!SWIG_IsOK(res1)) {
7101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7102 }
7103 arg1 = reinterpret_cast< wxFrame * >(argp1);
7104 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7105 if (!SWIG_IsOK(res2)) {
7106 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7107 }
7108 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 (arg1)->SetToolBar(arg2);
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 resultobj = SWIG_Py_Void();
7116 return resultobj;
7117 fail:
7118 return NULL;
7119 }
7120
7121
7122 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj = 0;
7124 wxFrame *arg1 = (wxFrame *) 0 ;
7125 wxString *arg2 = 0 ;
7126 bool arg3 ;
7127 void *argp1 = 0 ;
7128 int res1 = 0 ;
7129 bool temp2 = false ;
7130 bool val3 ;
7131 int ecode3 = 0 ;
7132 PyObject * obj0 = 0 ;
7133 PyObject * obj1 = 0 ;
7134 PyObject * obj2 = 0 ;
7135 char * kwnames[] = {
7136 (char *) "self",(char *) "text",(char *) "show", NULL
7137 };
7138
7139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7141 if (!SWIG_IsOK(res1)) {
7142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7143 }
7144 arg1 = reinterpret_cast< wxFrame * >(argp1);
7145 {
7146 arg2 = wxString_in_helper(obj1);
7147 if (arg2 == NULL) SWIG_fail;
7148 temp2 = true;
7149 }
7150 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7151 if (!SWIG_IsOK(ecode3)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7153 }
7154 arg3 = static_cast< bool >(val3);
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 resultobj = SWIG_Py_Void();
7162 {
7163 if (temp2)
7164 delete arg2;
7165 }
7166 return resultobj;
7167 fail:
7168 {
7169 if (temp2)
7170 delete arg2;
7171 }
7172 return NULL;
7173 }
7174
7175
7176 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7177 PyObject *resultobj = 0;
7178 wxFrame *arg1 = (wxFrame *) 0 ;
7179 wxMenu *arg2 = (wxMenu *) NULL ;
7180 void *argp1 = 0 ;
7181 int res1 = 0 ;
7182 void *argp2 = 0 ;
7183 int res2 = 0 ;
7184 PyObject * obj0 = 0 ;
7185 PyObject * obj1 = 0 ;
7186 char * kwnames[] = {
7187 (char *) "self",(char *) "menu", NULL
7188 };
7189
7190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7192 if (!SWIG_IsOK(res1)) {
7193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7194 }
7195 arg1 = reinterpret_cast< wxFrame * >(argp1);
7196 if (obj1) {
7197 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7198 if (!SWIG_IsOK(res2)) {
7199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7200 }
7201 arg2 = reinterpret_cast< wxMenu * >(argp2);
7202 }
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 (arg1)->DoMenuUpdates(arg2);
7206 wxPyEndAllowThreads(__tstate);
7207 if (PyErr_Occurred()) SWIG_fail;
7208 }
7209 resultobj = SWIG_Py_Void();
7210 return resultobj;
7211 fail:
7212 return NULL;
7213 }
7214
7215
7216 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7217 PyObject *resultobj = 0;
7218 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7219 SwigValueWrapper<wxVisualAttributes > result;
7220 int val1 ;
7221 int ecode1 = 0 ;
7222 PyObject * obj0 = 0 ;
7223 char * kwnames[] = {
7224 (char *) "variant", NULL
7225 };
7226
7227 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7228 if (obj0) {
7229 ecode1 = SWIG_AsVal_int(obj0, &val1);
7230 if (!SWIG_IsOK(ecode1)) {
7231 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7232 }
7233 arg1 = static_cast< wxWindowVariant >(val1);
7234 }
7235 {
7236 if (!wxPyCheckForApp()) SWIG_fail;
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 result = wxFrame::GetClassDefaultAttributes(arg1);
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7243 return resultobj;
7244 fail:
7245 return NULL;
7246 }
7247
7248
7249 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7250 PyObject *obj;
7251 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7252 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7253 return SWIG_Py_Void();
7254 }
7255
7256 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7257 return SWIG_Python_InitShadowInstance(args);
7258 }
7259
7260 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7261 PyObject *resultobj = 0;
7262 wxWindow *arg1 = (wxWindow *) 0 ;
7263 int arg2 = (int) (int)-1 ;
7264 wxString const &arg3_defvalue = wxPyEmptyString ;
7265 wxString *arg3 = (wxString *) &arg3_defvalue ;
7266 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7267 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7268 wxSize const &arg5_defvalue = wxDefaultSize ;
7269 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7270 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7271 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7272 wxString *arg7 = (wxString *) &arg7_defvalue ;
7273 wxDialog *result = 0 ;
7274 void *argp1 = 0 ;
7275 int res1 = 0 ;
7276 int val2 ;
7277 int ecode2 = 0 ;
7278 bool temp3 = false ;
7279 wxPoint temp4 ;
7280 wxSize temp5 ;
7281 long val6 ;
7282 int ecode6 = 0 ;
7283 bool temp7 = false ;
7284 PyObject * obj0 = 0 ;
7285 PyObject * obj1 = 0 ;
7286 PyObject * obj2 = 0 ;
7287 PyObject * obj3 = 0 ;
7288 PyObject * obj4 = 0 ;
7289 PyObject * obj5 = 0 ;
7290 PyObject * obj6 = 0 ;
7291 char * kwnames[] = {
7292 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7293 };
7294
7295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7297 if (!SWIG_IsOK(res1)) {
7298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7299 }
7300 arg1 = reinterpret_cast< wxWindow * >(argp1);
7301 if (obj1) {
7302 ecode2 = SWIG_AsVal_int(obj1, &val2);
7303 if (!SWIG_IsOK(ecode2)) {
7304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7305 }
7306 arg2 = static_cast< int >(val2);
7307 }
7308 if (obj2) {
7309 {
7310 arg3 = wxString_in_helper(obj2);
7311 if (arg3 == NULL) SWIG_fail;
7312 temp3 = true;
7313 }
7314 }
7315 if (obj3) {
7316 {
7317 arg4 = &temp4;
7318 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7319 }
7320 }
7321 if (obj4) {
7322 {
7323 arg5 = &temp5;
7324 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7325 }
7326 }
7327 if (obj5) {
7328 ecode6 = SWIG_AsVal_long(obj5, &val6);
7329 if (!SWIG_IsOK(ecode6)) {
7330 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7331 }
7332 arg6 = static_cast< long >(val6);
7333 }
7334 if (obj6) {
7335 {
7336 arg7 = wxString_in_helper(obj6);
7337 if (arg7 == NULL) SWIG_fail;
7338 temp7 = true;
7339 }
7340 }
7341 {
7342 if (!wxPyCheckForApp()) SWIG_fail;
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7349 {
7350 if (temp3)
7351 delete arg3;
7352 }
7353 {
7354 if (temp7)
7355 delete arg7;
7356 }
7357 return resultobj;
7358 fail:
7359 {
7360 if (temp3)
7361 delete arg3;
7362 }
7363 {
7364 if (temp7)
7365 delete arg7;
7366 }
7367 return NULL;
7368 }
7369
7370
7371 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7372 PyObject *resultobj = 0;
7373 wxDialog *result = 0 ;
7374
7375 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7376 {
7377 if (!wxPyCheckForApp()) SWIG_fail;
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 result = (wxDialog *)new wxDialog();
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7384 return resultobj;
7385 fail:
7386 return NULL;
7387 }
7388
7389
7390 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj = 0;
7392 wxDialog *arg1 = (wxDialog *) 0 ;
7393 wxWindow *arg2 = (wxWindow *) 0 ;
7394 int arg3 = (int) (int)-1 ;
7395 wxString const &arg4_defvalue = wxPyEmptyString ;
7396 wxString *arg4 = (wxString *) &arg4_defvalue ;
7397 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7398 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7399 wxSize const &arg6_defvalue = wxDefaultSize ;
7400 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7401 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7402 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7403 wxString *arg8 = (wxString *) &arg8_defvalue ;
7404 bool result;
7405 void *argp1 = 0 ;
7406 int res1 = 0 ;
7407 void *argp2 = 0 ;
7408 int res2 = 0 ;
7409 int val3 ;
7410 int ecode3 = 0 ;
7411 bool temp4 = false ;
7412 wxPoint temp5 ;
7413 wxSize temp6 ;
7414 long val7 ;
7415 int ecode7 = 0 ;
7416 bool temp8 = false ;
7417 PyObject * obj0 = 0 ;
7418 PyObject * obj1 = 0 ;
7419 PyObject * obj2 = 0 ;
7420 PyObject * obj3 = 0 ;
7421 PyObject * obj4 = 0 ;
7422 PyObject * obj5 = 0 ;
7423 PyObject * obj6 = 0 ;
7424 PyObject * obj7 = 0 ;
7425 char * kwnames[] = {
7426 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7427 };
7428
7429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7431 if (!SWIG_IsOK(res1)) {
7432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7433 }
7434 arg1 = reinterpret_cast< wxDialog * >(argp1);
7435 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7436 if (!SWIG_IsOK(res2)) {
7437 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7438 }
7439 arg2 = reinterpret_cast< wxWindow * >(argp2);
7440 if (obj2) {
7441 ecode3 = SWIG_AsVal_int(obj2, &val3);
7442 if (!SWIG_IsOK(ecode3)) {
7443 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7444 }
7445 arg3 = static_cast< int >(val3);
7446 }
7447 if (obj3) {
7448 {
7449 arg4 = wxString_in_helper(obj3);
7450 if (arg4 == NULL) SWIG_fail;
7451 temp4 = true;
7452 }
7453 }
7454 if (obj4) {
7455 {
7456 arg5 = &temp5;
7457 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7458 }
7459 }
7460 if (obj5) {
7461 {
7462 arg6 = &temp6;
7463 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7464 }
7465 }
7466 if (obj6) {
7467 ecode7 = SWIG_AsVal_long(obj6, &val7);
7468 if (!SWIG_IsOK(ecode7)) {
7469 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7470 }
7471 arg7 = static_cast< long >(val7);
7472 }
7473 if (obj7) {
7474 {
7475 arg8 = wxString_in_helper(obj7);
7476 if (arg8 == NULL) SWIG_fail;
7477 temp8 = true;
7478 }
7479 }
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7483 wxPyEndAllowThreads(__tstate);
7484 if (PyErr_Occurred()) SWIG_fail;
7485 }
7486 {
7487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7488 }
7489 {
7490 if (temp4)
7491 delete arg4;
7492 }
7493 {
7494 if (temp8)
7495 delete arg8;
7496 }
7497 return resultobj;
7498 fail:
7499 {
7500 if (temp4)
7501 delete arg4;
7502 }
7503 {
7504 if (temp8)
7505 delete arg8;
7506 }
7507 return NULL;
7508 }
7509
7510
7511 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7512 PyObject *resultobj = 0;
7513 wxDialog *arg1 = (wxDialog *) 0 ;
7514 int arg2 ;
7515 void *argp1 = 0 ;
7516 int res1 = 0 ;
7517 int val2 ;
7518 int ecode2 = 0 ;
7519 PyObject * obj0 = 0 ;
7520 PyObject * obj1 = 0 ;
7521 char * kwnames[] = {
7522 (char *) "self",(char *) "returnCode", NULL
7523 };
7524
7525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7527 if (!SWIG_IsOK(res1)) {
7528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7529 }
7530 arg1 = reinterpret_cast< wxDialog * >(argp1);
7531 ecode2 = SWIG_AsVal_int(obj1, &val2);
7532 if (!SWIG_IsOK(ecode2)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7534 }
7535 arg2 = static_cast< int >(val2);
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 (arg1)->SetReturnCode(arg2);
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 resultobj = SWIG_Py_Void();
7543 return resultobj;
7544 fail:
7545 return NULL;
7546 }
7547
7548
7549 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7550 PyObject *resultobj = 0;
7551 wxDialog *arg1 = (wxDialog *) 0 ;
7552 int result;
7553 void *argp1 = 0 ;
7554 int res1 = 0 ;
7555 PyObject *swig_obj[1] ;
7556
7557 if (!args) SWIG_fail;
7558 swig_obj[0] = args;
7559 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7560 if (!SWIG_IsOK(res1)) {
7561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7562 }
7563 arg1 = reinterpret_cast< wxDialog * >(argp1);
7564 {
7565 PyThreadState* __tstate = wxPyBeginAllowThreads();
7566 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7567 wxPyEndAllowThreads(__tstate);
7568 if (PyErr_Occurred()) SWIG_fail;
7569 }
7570 resultobj = SWIG_From_int(static_cast< int >(result));
7571 return resultobj;
7572 fail:
7573 return NULL;
7574 }
7575
7576
7577 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7578 PyObject *resultobj = 0;
7579 wxDialog *arg1 = (wxDialog *) 0 ;
7580 int arg2 ;
7581 void *argp1 = 0 ;
7582 int res1 = 0 ;
7583 int val2 ;
7584 int ecode2 = 0 ;
7585 PyObject * obj0 = 0 ;
7586 PyObject * obj1 = 0 ;
7587 char * kwnames[] = {
7588 (char *) "self",(char *) "affirmativeId", NULL
7589 };
7590
7591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7593 if (!SWIG_IsOK(res1)) {
7594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7595 }
7596 arg1 = reinterpret_cast< wxDialog * >(argp1);
7597 ecode2 = SWIG_AsVal_int(obj1, &val2);
7598 if (!SWIG_IsOK(ecode2)) {
7599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7600 }
7601 arg2 = static_cast< int >(val2);
7602 {
7603 PyThreadState* __tstate = wxPyBeginAllowThreads();
7604 (arg1)->SetAffirmativeId(arg2);
7605 wxPyEndAllowThreads(__tstate);
7606 if (PyErr_Occurred()) SWIG_fail;
7607 }
7608 resultobj = SWIG_Py_Void();
7609 return resultobj;
7610 fail:
7611 return NULL;
7612 }
7613
7614
7615 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7616 PyObject *resultobj = 0;
7617 wxDialog *arg1 = (wxDialog *) 0 ;
7618 int result;
7619 void *argp1 = 0 ;
7620 int res1 = 0 ;
7621 PyObject *swig_obj[1] ;
7622
7623 if (!args) SWIG_fail;
7624 swig_obj[0] = args;
7625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7626 if (!SWIG_IsOK(res1)) {
7627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7628 }
7629 arg1 = reinterpret_cast< wxDialog * >(argp1);
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 resultobj = SWIG_From_int(static_cast< int >(result));
7637 return resultobj;
7638 fail:
7639 return NULL;
7640 }
7641
7642
7643 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj = 0;
7645 wxDialog *arg1 = (wxDialog *) 0 ;
7646 int arg2 ;
7647 void *argp1 = 0 ;
7648 int res1 = 0 ;
7649 int val2 ;
7650 int ecode2 = 0 ;
7651 PyObject * obj0 = 0 ;
7652 PyObject * obj1 = 0 ;
7653 char * kwnames[] = {
7654 (char *) "self",(char *) "escapeId", NULL
7655 };
7656
7657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7659 if (!SWIG_IsOK(res1)) {
7660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7661 }
7662 arg1 = reinterpret_cast< wxDialog * >(argp1);
7663 ecode2 = SWIG_AsVal_int(obj1, &val2);
7664 if (!SWIG_IsOK(ecode2)) {
7665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7666 }
7667 arg2 = static_cast< int >(val2);
7668 {
7669 PyThreadState* __tstate = wxPyBeginAllowThreads();
7670 (arg1)->SetEscapeId(arg2);
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 resultobj = SWIG_Py_Void();
7675 return resultobj;
7676 fail:
7677 return NULL;
7678 }
7679
7680
7681 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7682 PyObject *resultobj = 0;
7683 wxDialog *arg1 = (wxDialog *) 0 ;
7684 int result;
7685 void *argp1 = 0 ;
7686 int res1 = 0 ;
7687 PyObject *swig_obj[1] ;
7688
7689 if (!args) SWIG_fail;
7690 swig_obj[0] = args;
7691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7692 if (!SWIG_IsOK(res1)) {
7693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7694 }
7695 arg1 = reinterpret_cast< wxDialog * >(argp1);
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 resultobj = SWIG_From_int(static_cast< int >(result));
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj = 0;
7711 wxDialog *arg1 = (wxDialog *) 0 ;
7712 wxString *arg2 = 0 ;
7713 wxSizer *result = 0 ;
7714 void *argp1 = 0 ;
7715 int res1 = 0 ;
7716 bool temp2 = false ;
7717 PyObject * obj0 = 0 ;
7718 PyObject * obj1 = 0 ;
7719 char * kwnames[] = {
7720 (char *) "self",(char *) "message", NULL
7721 };
7722
7723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7725 if (!SWIG_IsOK(res1)) {
7726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7727 }
7728 arg1 = reinterpret_cast< wxDialog * >(argp1);
7729 {
7730 arg2 = wxString_in_helper(obj1);
7731 if (arg2 == NULL) SWIG_fail;
7732 temp2 = true;
7733 }
7734 {
7735 PyThreadState* __tstate = wxPyBeginAllowThreads();
7736 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 {
7741 resultobj = wxPyMake_wxObject(result, (bool)0);
7742 }
7743 {
7744 if (temp2)
7745 delete arg2;
7746 }
7747 return resultobj;
7748 fail:
7749 {
7750 if (temp2)
7751 delete arg2;
7752 }
7753 return NULL;
7754 }
7755
7756
7757 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj = 0;
7759 wxDialog *arg1 = (wxDialog *) 0 ;
7760 long arg2 ;
7761 wxSizer *result = 0 ;
7762 void *argp1 = 0 ;
7763 int res1 = 0 ;
7764 long val2 ;
7765 int ecode2 = 0 ;
7766 PyObject * obj0 = 0 ;
7767 PyObject * obj1 = 0 ;
7768 char * kwnames[] = {
7769 (char *) "self",(char *) "flags", NULL
7770 };
7771
7772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7774 if (!SWIG_IsOK(res1)) {
7775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7776 }
7777 arg1 = reinterpret_cast< wxDialog * >(argp1);
7778 ecode2 = SWIG_AsVal_long(obj1, &val2);
7779 if (!SWIG_IsOK(ecode2)) {
7780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7781 }
7782 arg2 = static_cast< long >(val2);
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
7789 {
7790 resultobj = wxPyMake_wxObject(result, (bool)0);
7791 }
7792 return resultobj;
7793 fail:
7794 return NULL;
7795 }
7796
7797
7798 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7799 PyObject *resultobj = 0;
7800 wxDialog *arg1 = (wxDialog *) 0 ;
7801 long arg2 ;
7802 wxSizer *result = 0 ;
7803 void *argp1 = 0 ;
7804 int res1 = 0 ;
7805 long val2 ;
7806 int ecode2 = 0 ;
7807 PyObject * obj0 = 0 ;
7808 PyObject * obj1 = 0 ;
7809 char * kwnames[] = {
7810 (char *) "self",(char *) "flags", NULL
7811 };
7812
7813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7815 if (!SWIG_IsOK(res1)) {
7816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7817 }
7818 arg1 = reinterpret_cast< wxDialog * >(argp1);
7819 ecode2 = SWIG_AsVal_long(obj1, &val2);
7820 if (!SWIG_IsOK(ecode2)) {
7821 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7822 }
7823 arg2 = static_cast< long >(val2);
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7827 wxPyEndAllowThreads(__tstate);
7828 if (PyErr_Occurred()) SWIG_fail;
7829 }
7830 {
7831 resultobj = wxPyMake_wxObject(result, (bool)0);
7832 }
7833 return resultobj;
7834 fail:
7835 return NULL;
7836 }
7837
7838
7839 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj = 0;
7841 wxDialog *arg1 = (wxDialog *) 0 ;
7842 long arg2 ;
7843 wxStdDialogButtonSizer *result = 0 ;
7844 void *argp1 = 0 ;
7845 int res1 = 0 ;
7846 long val2 ;
7847 int ecode2 = 0 ;
7848 PyObject * obj0 = 0 ;
7849 PyObject * obj1 = 0 ;
7850 char * kwnames[] = {
7851 (char *) "self",(char *) "flags", NULL
7852 };
7853
7854 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7855 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7856 if (!SWIG_IsOK(res1)) {
7857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7858 }
7859 arg1 = reinterpret_cast< wxDialog * >(argp1);
7860 ecode2 = SWIG_AsVal_long(obj1, &val2);
7861 if (!SWIG_IsOK(ecode2)) {
7862 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7863 }
7864 arg2 = static_cast< long >(val2);
7865 {
7866 PyThreadState* __tstate = wxPyBeginAllowThreads();
7867 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7868 wxPyEndAllowThreads(__tstate);
7869 if (PyErr_Occurred()) SWIG_fail;
7870 }
7871 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7872 return resultobj;
7873 fail:
7874 return NULL;
7875 }
7876
7877
7878 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7879 PyObject *resultobj = 0;
7880 wxDialog *arg1 = (wxDialog *) 0 ;
7881 bool result;
7882 void *argp1 = 0 ;
7883 int res1 = 0 ;
7884 PyObject *swig_obj[1] ;
7885
7886 if (!args) SWIG_fail;
7887 swig_obj[0] = args;
7888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7889 if (!SWIG_IsOK(res1)) {
7890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7891 }
7892 arg1 = reinterpret_cast< wxDialog * >(argp1);
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 result = (bool)((wxDialog const *)arg1)->IsModal();
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 {
7900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7901 }
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7909 PyObject *resultobj = 0;
7910 wxDialog *arg1 = (wxDialog *) 0 ;
7911 int result;
7912 void *argp1 = 0 ;
7913 int res1 = 0 ;
7914 PyObject *swig_obj[1] ;
7915
7916 if (!args) SWIG_fail;
7917 swig_obj[0] = args;
7918 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7919 if (!SWIG_IsOK(res1)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7921 }
7922 arg1 = reinterpret_cast< wxDialog * >(argp1);
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 result = (int)(arg1)->ShowModal();
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 resultobj = SWIG_From_int(static_cast< int >(result));
7930 return resultobj;
7931 fail:
7932 return NULL;
7933 }
7934
7935
7936 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj = 0;
7938 wxDialog *arg1 = (wxDialog *) 0 ;
7939 int arg2 ;
7940 void *argp1 = 0 ;
7941 int res1 = 0 ;
7942 int val2 ;
7943 int ecode2 = 0 ;
7944 PyObject * obj0 = 0 ;
7945 PyObject * obj1 = 0 ;
7946 char * kwnames[] = {
7947 (char *) "self",(char *) "retCode", NULL
7948 };
7949
7950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7952 if (!SWIG_IsOK(res1)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7954 }
7955 arg1 = reinterpret_cast< wxDialog * >(argp1);
7956 ecode2 = SWIG_AsVal_int(obj1, &val2);
7957 if (!SWIG_IsOK(ecode2)) {
7958 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7959 }
7960 arg2 = static_cast< int >(val2);
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 (arg1)->EndModal(arg2);
7964 wxPyEndAllowThreads(__tstate);
7965 if (PyErr_Occurred()) SWIG_fail;
7966 }
7967 resultobj = SWIG_Py_Void();
7968 return resultobj;
7969 fail:
7970 return NULL;
7971 }
7972
7973
7974 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7975 PyObject *resultobj = 0;
7976 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7977 SwigValueWrapper<wxVisualAttributes > result;
7978 int val1 ;
7979 int ecode1 = 0 ;
7980 PyObject * obj0 = 0 ;
7981 char * kwnames[] = {
7982 (char *) "variant", NULL
7983 };
7984
7985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7986 if (obj0) {
7987 ecode1 = SWIG_AsVal_int(obj0, &val1);
7988 if (!SWIG_IsOK(ecode1)) {
7989 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7990 }
7991 arg1 = static_cast< wxWindowVariant >(val1);
7992 }
7993 {
7994 if (!wxPyCheckForApp()) SWIG_fail;
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = wxDialog::GetClassDefaultAttributes(arg1);
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
8001 return resultobj;
8002 fail:
8003 return NULL;
8004 }
8005
8006
8007 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8008 PyObject *obj;
8009 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8010 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8011 return SWIG_Py_Void();
8012 }
8013
8014 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8015 return SWIG_Python_InitShadowInstance(args);
8016 }
8017
8018 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8019 PyObject *resultobj = 0;
8020 wxWindow *arg1 = (wxWindow *) 0 ;
8021 int arg2 = (int) (int)-1 ;
8022 wxString const &arg3_defvalue = wxPyEmptyString ;
8023 wxString *arg3 = (wxString *) &arg3_defvalue ;
8024 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8025 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8026 wxSize const &arg5_defvalue = wxDefaultSize ;
8027 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8028 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8029 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8030 wxString *arg7 = (wxString *) &arg7_defvalue ;
8031 wxMiniFrame *result = 0 ;
8032 void *argp1 = 0 ;
8033 int res1 = 0 ;
8034 int val2 ;
8035 int ecode2 = 0 ;
8036 bool temp3 = false ;
8037 wxPoint temp4 ;
8038 wxSize temp5 ;
8039 long val6 ;
8040 int ecode6 = 0 ;
8041 bool temp7 = false ;
8042 PyObject * obj0 = 0 ;
8043 PyObject * obj1 = 0 ;
8044 PyObject * obj2 = 0 ;
8045 PyObject * obj3 = 0 ;
8046 PyObject * obj4 = 0 ;
8047 PyObject * obj5 = 0 ;
8048 PyObject * obj6 = 0 ;
8049 char * kwnames[] = {
8050 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8051 };
8052
8053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8055 if (!SWIG_IsOK(res1)) {
8056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8057 }
8058 arg1 = reinterpret_cast< wxWindow * >(argp1);
8059 if (obj1) {
8060 ecode2 = SWIG_AsVal_int(obj1, &val2);
8061 if (!SWIG_IsOK(ecode2)) {
8062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8063 }
8064 arg2 = static_cast< int >(val2);
8065 }
8066 if (obj2) {
8067 {
8068 arg3 = wxString_in_helper(obj2);
8069 if (arg3 == NULL) SWIG_fail;
8070 temp3 = true;
8071 }
8072 }
8073 if (obj3) {
8074 {
8075 arg4 = &temp4;
8076 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8077 }
8078 }
8079 if (obj4) {
8080 {
8081 arg5 = &temp5;
8082 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8083 }
8084 }
8085 if (obj5) {
8086 ecode6 = SWIG_AsVal_long(obj5, &val6);
8087 if (!SWIG_IsOK(ecode6)) {
8088 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8089 }
8090 arg6 = static_cast< long >(val6);
8091 }
8092 if (obj6) {
8093 {
8094 arg7 = wxString_in_helper(obj6);
8095 if (arg7 == NULL) SWIG_fail;
8096 temp7 = true;
8097 }
8098 }
8099 {
8100 if (!wxPyCheckForApp()) SWIG_fail;
8101 PyThreadState* __tstate = wxPyBeginAllowThreads();
8102 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8103 wxPyEndAllowThreads(__tstate);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 }
8106 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8107 {
8108 if (temp3)
8109 delete arg3;
8110 }
8111 {
8112 if (temp7)
8113 delete arg7;
8114 }
8115 return resultobj;
8116 fail:
8117 {
8118 if (temp3)
8119 delete arg3;
8120 }
8121 {
8122 if (temp7)
8123 delete arg7;
8124 }
8125 return NULL;
8126 }
8127
8128
8129 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8130 PyObject *resultobj = 0;
8131 wxMiniFrame *result = 0 ;
8132
8133 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8134 {
8135 if (!wxPyCheckForApp()) SWIG_fail;
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 result = (wxMiniFrame *)new wxMiniFrame();
8138 wxPyEndAllowThreads(__tstate);
8139 if (PyErr_Occurred()) SWIG_fail;
8140 }
8141 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8142 return resultobj;
8143 fail:
8144 return NULL;
8145 }
8146
8147
8148 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8149 PyObject *resultobj = 0;
8150 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8151 wxWindow *arg2 = (wxWindow *) 0 ;
8152 int arg3 = (int) (int)-1 ;
8153 wxString const &arg4_defvalue = wxPyEmptyString ;
8154 wxString *arg4 = (wxString *) &arg4_defvalue ;
8155 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8156 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8157 wxSize const &arg6_defvalue = wxDefaultSize ;
8158 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8159 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8160 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8161 wxString *arg8 = (wxString *) &arg8_defvalue ;
8162 bool result;
8163 void *argp1 = 0 ;
8164 int res1 = 0 ;
8165 void *argp2 = 0 ;
8166 int res2 = 0 ;
8167 int val3 ;
8168 int ecode3 = 0 ;
8169 bool temp4 = false ;
8170 wxPoint temp5 ;
8171 wxSize temp6 ;
8172 long val7 ;
8173 int ecode7 = 0 ;
8174 bool temp8 = false ;
8175 PyObject * obj0 = 0 ;
8176 PyObject * obj1 = 0 ;
8177 PyObject * obj2 = 0 ;
8178 PyObject * obj3 = 0 ;
8179 PyObject * obj4 = 0 ;
8180 PyObject * obj5 = 0 ;
8181 PyObject * obj6 = 0 ;
8182 PyObject * obj7 = 0 ;
8183 char * kwnames[] = {
8184 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8185 };
8186
8187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8189 if (!SWIG_IsOK(res1)) {
8190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8191 }
8192 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8193 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8194 if (!SWIG_IsOK(res2)) {
8195 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8196 }
8197 arg2 = reinterpret_cast< wxWindow * >(argp2);
8198 if (obj2) {
8199 ecode3 = SWIG_AsVal_int(obj2, &val3);
8200 if (!SWIG_IsOK(ecode3)) {
8201 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8202 }
8203 arg3 = static_cast< int >(val3);
8204 }
8205 if (obj3) {
8206 {
8207 arg4 = wxString_in_helper(obj3);
8208 if (arg4 == NULL) SWIG_fail;
8209 temp4 = true;
8210 }
8211 }
8212 if (obj4) {
8213 {
8214 arg5 = &temp5;
8215 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8216 }
8217 }
8218 if (obj5) {
8219 {
8220 arg6 = &temp6;
8221 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8222 }
8223 }
8224 if (obj6) {
8225 ecode7 = SWIG_AsVal_long(obj6, &val7);
8226 if (!SWIG_IsOK(ecode7)) {
8227 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8228 }
8229 arg7 = static_cast< long >(val7);
8230 }
8231 if (obj7) {
8232 {
8233 arg8 = wxString_in_helper(obj7);
8234 if (arg8 == NULL) SWIG_fail;
8235 temp8 = true;
8236 }
8237 }
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 {
8245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8246 }
8247 {
8248 if (temp4)
8249 delete arg4;
8250 }
8251 {
8252 if (temp8)
8253 delete arg8;
8254 }
8255 return resultobj;
8256 fail:
8257 {
8258 if (temp4)
8259 delete arg4;
8260 }
8261 {
8262 if (temp8)
8263 delete arg8;
8264 }
8265 return NULL;
8266 }
8267
8268
8269 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8270 PyObject *obj;
8271 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8272 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8273 return SWIG_Py_Void();
8274 }
8275
8276 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8277 return SWIG_Python_InitShadowInstance(args);
8278 }
8279
8280 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8281 PyObject *resultobj = 0;
8282 wxBitmap *arg1 = 0 ;
8283 wxWindow *arg2 = (wxWindow *) 0 ;
8284 int arg3 ;
8285 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8286 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8287 wxSize const &arg5_defvalue = wxDefaultSize ;
8288 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8289 long arg6 = (long) wxNO_BORDER ;
8290 wxSplashScreenWindow *result = 0 ;
8291 void *argp1 = 0 ;
8292 int res1 = 0 ;
8293 void *argp2 = 0 ;
8294 int res2 = 0 ;
8295 int val3 ;
8296 int ecode3 = 0 ;
8297 wxPoint temp4 ;
8298 wxSize temp5 ;
8299 long val6 ;
8300 int ecode6 = 0 ;
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj1 = 0 ;
8303 PyObject * obj2 = 0 ;
8304 PyObject * obj3 = 0 ;
8305 PyObject * obj4 = 0 ;
8306 PyObject * obj5 = 0 ;
8307 char * kwnames[] = {
8308 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8309 };
8310
8311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8312 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8313 if (!SWIG_IsOK(res1)) {
8314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8315 }
8316 if (!argp1) {
8317 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8318 }
8319 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8320 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8321 if (!SWIG_IsOK(res2)) {
8322 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8323 }
8324 arg2 = reinterpret_cast< wxWindow * >(argp2);
8325 ecode3 = SWIG_AsVal_int(obj2, &val3);
8326 if (!SWIG_IsOK(ecode3)) {
8327 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8328 }
8329 arg3 = static_cast< int >(val3);
8330 if (obj3) {
8331 {
8332 arg4 = &temp4;
8333 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8334 }
8335 }
8336 if (obj4) {
8337 {
8338 arg5 = &temp5;
8339 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8340 }
8341 }
8342 if (obj5) {
8343 ecode6 = SWIG_AsVal_long(obj5, &val6);
8344 if (!SWIG_IsOK(ecode6)) {
8345 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8346 }
8347 arg6 = static_cast< long >(val6);
8348 }
8349 {
8350 if (!wxPyCheckForApp()) SWIG_fail;
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
8356 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8357 return resultobj;
8358 fail:
8359 return NULL;
8360 }
8361
8362
8363 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8364 PyObject *resultobj = 0;
8365 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8366 wxBitmap *arg2 = 0 ;
8367 void *argp1 = 0 ;
8368 int res1 = 0 ;
8369 void *argp2 = 0 ;
8370 int res2 = 0 ;
8371 PyObject * obj0 = 0 ;
8372 PyObject * obj1 = 0 ;
8373 char * kwnames[] = {
8374 (char *) "self",(char *) "bitmap", NULL
8375 };
8376
8377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8379 if (!SWIG_IsOK(res1)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8381 }
8382 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8383 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8384 if (!SWIG_IsOK(res2)) {
8385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8386 }
8387 if (!argp2) {
8388 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8389 }
8390 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 resultobj = SWIG_Py_Void();
8398 return resultobj;
8399 fail:
8400 return NULL;
8401 }
8402
8403
8404 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8405 PyObject *resultobj = 0;
8406 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8407 wxBitmap *result = 0 ;
8408 void *argp1 = 0 ;
8409 int res1 = 0 ;
8410 PyObject *swig_obj[1] ;
8411
8412 if (!args) SWIG_fail;
8413 swig_obj[0] = args;
8414 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8415 if (!SWIG_IsOK(res1)) {
8416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8417 }
8418 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8419 {
8420 PyThreadState* __tstate = wxPyBeginAllowThreads();
8421 {
8422 wxBitmap &_result_ref = (arg1)->GetBitmap();
8423 result = (wxBitmap *) &_result_ref;
8424 }
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 {
8429 wxBitmap* resultptr = new wxBitmap(*result);
8430 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8431 }
8432 return resultobj;
8433 fail:
8434 return NULL;
8435 }
8436
8437
8438 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8439 PyObject *obj;
8440 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8441 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8442 return SWIG_Py_Void();
8443 }
8444
8445 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8446 return SWIG_Python_InitShadowInstance(args);
8447 }
8448
8449 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8450 PyObject *resultobj = 0;
8451 wxBitmap *arg1 = 0 ;
8452 long arg2 ;
8453 int arg3 ;
8454 wxWindow *arg4 = (wxWindow *) 0 ;
8455 int arg5 = (int) -1 ;
8456 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8457 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8458 wxSize const &arg7_defvalue = wxDefaultSize ;
8459 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8460 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8461 wxSplashScreen *result = 0 ;
8462 void *argp1 = 0 ;
8463 int res1 = 0 ;
8464 long val2 ;
8465 int ecode2 = 0 ;
8466 int val3 ;
8467 int ecode3 = 0 ;
8468 void *argp4 = 0 ;
8469 int res4 = 0 ;
8470 int val5 ;
8471 int ecode5 = 0 ;
8472 wxPoint temp6 ;
8473 wxSize temp7 ;
8474 long val8 ;
8475 int ecode8 = 0 ;
8476 PyObject * obj0 = 0 ;
8477 PyObject * obj1 = 0 ;
8478 PyObject * obj2 = 0 ;
8479 PyObject * obj3 = 0 ;
8480 PyObject * obj4 = 0 ;
8481 PyObject * obj5 = 0 ;
8482 PyObject * obj6 = 0 ;
8483 PyObject * obj7 = 0 ;
8484 char * kwnames[] = {
8485 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8486 };
8487
8488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8489 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8490 if (!SWIG_IsOK(res1)) {
8491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8492 }
8493 if (!argp1) {
8494 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8495 }
8496 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8497 ecode2 = SWIG_AsVal_long(obj1, &val2);
8498 if (!SWIG_IsOK(ecode2)) {
8499 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8500 }
8501 arg2 = static_cast< long >(val2);
8502 ecode3 = SWIG_AsVal_int(obj2, &val3);
8503 if (!SWIG_IsOK(ecode3)) {
8504 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8505 }
8506 arg3 = static_cast< int >(val3);
8507 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8508 if (!SWIG_IsOK(res4)) {
8509 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8510 }
8511 arg4 = reinterpret_cast< wxWindow * >(argp4);
8512 if (obj4) {
8513 ecode5 = SWIG_AsVal_int(obj4, &val5);
8514 if (!SWIG_IsOK(ecode5)) {
8515 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8516 }
8517 arg5 = static_cast< int >(val5);
8518 }
8519 if (obj5) {
8520 {
8521 arg6 = &temp6;
8522 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8523 }
8524 }
8525 if (obj6) {
8526 {
8527 arg7 = &temp7;
8528 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8529 }
8530 }
8531 if (obj7) {
8532 ecode8 = SWIG_AsVal_long(obj7, &val8);
8533 if (!SWIG_IsOK(ecode8)) {
8534 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8535 }
8536 arg8 = static_cast< long >(val8);
8537 }
8538 {
8539 if (!wxPyCheckForApp()) SWIG_fail;
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8542 wxPyEndAllowThreads(__tstate);
8543 if (PyErr_Occurred()) SWIG_fail;
8544 }
8545 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8546 return resultobj;
8547 fail:
8548 return NULL;
8549 }
8550
8551
8552 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8553 PyObject *resultobj = 0;
8554 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8555 long result;
8556 void *argp1 = 0 ;
8557 int res1 = 0 ;
8558 PyObject *swig_obj[1] ;
8559
8560 if (!args) SWIG_fail;
8561 swig_obj[0] = args;
8562 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8563 if (!SWIG_IsOK(res1)) {
8564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8565 }
8566 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8567 {
8568 PyThreadState* __tstate = wxPyBeginAllowThreads();
8569 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 resultobj = SWIG_From_long(static_cast< long >(result));
8574 return resultobj;
8575 fail:
8576 return NULL;
8577 }
8578
8579
8580 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8581 PyObject *resultobj = 0;
8582 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8583 wxSplashScreenWindow *result = 0 ;
8584 void *argp1 = 0 ;
8585 int res1 = 0 ;
8586 PyObject *swig_obj[1] ;
8587
8588 if (!args) SWIG_fail;
8589 swig_obj[0] = args;
8590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8591 if (!SWIG_IsOK(res1)) {
8592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8593 }
8594 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8609 PyObject *resultobj = 0;
8610 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8611 int result;
8612 void *argp1 = 0 ;
8613 int res1 = 0 ;
8614 PyObject *swig_obj[1] ;
8615
8616 if (!args) SWIG_fail;
8617 swig_obj[0] = args;
8618 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8619 if (!SWIG_IsOK(res1)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8621 }
8622 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 resultobj = SWIG_From_int(static_cast< int >(result));
8630 return resultobj;
8631 fail:
8632 return NULL;
8633 }
8634
8635
8636 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8637 PyObject *obj;
8638 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8639 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8640 return SWIG_Py_Void();
8641 }
8642
8643 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8644 return SWIG_Python_InitShadowInstance(args);
8645 }
8646
8647 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8648 PyObject *resultobj = 0;
8649 wxWindow *arg1 = (wxWindow *) 0 ;
8650 int arg2 = (int) -1 ;
8651 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8652 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8653 wxString *arg4 = (wxString *) &arg4_defvalue ;
8654 wxStatusBar *result = 0 ;
8655 void *argp1 = 0 ;
8656 int res1 = 0 ;
8657 int val2 ;
8658 int ecode2 = 0 ;
8659 long val3 ;
8660 int ecode3 = 0 ;
8661 bool temp4 = false ;
8662 PyObject * obj0 = 0 ;
8663 PyObject * obj1 = 0 ;
8664 PyObject * obj2 = 0 ;
8665 PyObject * obj3 = 0 ;
8666 char * kwnames[] = {
8667 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8668 };
8669
8670 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8671 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8672 if (!SWIG_IsOK(res1)) {
8673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8674 }
8675 arg1 = reinterpret_cast< wxWindow * >(argp1);
8676 if (obj1) {
8677 ecode2 = SWIG_AsVal_int(obj1, &val2);
8678 if (!SWIG_IsOK(ecode2)) {
8679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8680 }
8681 arg2 = static_cast< int >(val2);
8682 }
8683 if (obj2) {
8684 ecode3 = SWIG_AsVal_long(obj2, &val3);
8685 if (!SWIG_IsOK(ecode3)) {
8686 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8687 }
8688 arg3 = static_cast< long >(val3);
8689 }
8690 if (obj3) {
8691 {
8692 arg4 = wxString_in_helper(obj3);
8693 if (arg4 == NULL) SWIG_fail;
8694 temp4 = true;
8695 }
8696 }
8697 {
8698 if (!wxPyCheckForApp()) SWIG_fail;
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8701 wxPyEndAllowThreads(__tstate);
8702 if (PyErr_Occurred()) SWIG_fail;
8703 }
8704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8705 {
8706 if (temp4)
8707 delete arg4;
8708 }
8709 return resultobj;
8710 fail:
8711 {
8712 if (temp4)
8713 delete arg4;
8714 }
8715 return NULL;
8716 }
8717
8718
8719 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8720 PyObject *resultobj = 0;
8721 wxStatusBar *result = 0 ;
8722
8723 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8724 {
8725 if (!wxPyCheckForApp()) SWIG_fail;
8726 PyThreadState* __tstate = wxPyBeginAllowThreads();
8727 result = (wxStatusBar *)new wxStatusBar();
8728 wxPyEndAllowThreads(__tstate);
8729 if (PyErr_Occurred()) SWIG_fail;
8730 }
8731 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8732 return resultobj;
8733 fail:
8734 return NULL;
8735 }
8736
8737
8738 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8739 PyObject *resultobj = 0;
8740 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8741 wxWindow *arg2 = (wxWindow *) 0 ;
8742 int arg3 = (int) -1 ;
8743 long arg4 = (long) wxST_SIZEGRIP ;
8744 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8745 wxString *arg5 = (wxString *) &arg5_defvalue ;
8746 bool result;
8747 void *argp1 = 0 ;
8748 int res1 = 0 ;
8749 void *argp2 = 0 ;
8750 int res2 = 0 ;
8751 int val3 ;
8752 int ecode3 = 0 ;
8753 long val4 ;
8754 int ecode4 = 0 ;
8755 bool temp5 = false ;
8756 PyObject * obj0 = 0 ;
8757 PyObject * obj1 = 0 ;
8758 PyObject * obj2 = 0 ;
8759 PyObject * obj3 = 0 ;
8760 PyObject * obj4 = 0 ;
8761 char * kwnames[] = {
8762 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8763 };
8764
8765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8767 if (!SWIG_IsOK(res1)) {
8768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8769 }
8770 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8771 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8772 if (!SWIG_IsOK(res2)) {
8773 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8774 }
8775 arg2 = reinterpret_cast< wxWindow * >(argp2);
8776 if (obj2) {
8777 ecode3 = SWIG_AsVal_int(obj2, &val3);
8778 if (!SWIG_IsOK(ecode3)) {
8779 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8780 }
8781 arg3 = static_cast< int >(val3);
8782 }
8783 if (obj3) {
8784 ecode4 = SWIG_AsVal_long(obj3, &val4);
8785 if (!SWIG_IsOK(ecode4)) {
8786 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8787 }
8788 arg4 = static_cast< long >(val4);
8789 }
8790 if (obj4) {
8791 {
8792 arg5 = wxString_in_helper(obj4);
8793 if (arg5 == NULL) SWIG_fail;
8794 temp5 = true;
8795 }
8796 }
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 {
8804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8805 }
8806 {
8807 if (temp5)
8808 delete arg5;
8809 }
8810 return resultobj;
8811 fail:
8812 {
8813 if (temp5)
8814 delete arg5;
8815 }
8816 return NULL;
8817 }
8818
8819
8820 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8821 PyObject *resultobj = 0;
8822 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8823 int arg2 = (int) 1 ;
8824 void *argp1 = 0 ;
8825 int res1 = 0 ;
8826 int val2 ;
8827 int ecode2 = 0 ;
8828 PyObject * obj0 = 0 ;
8829 PyObject * obj1 = 0 ;
8830 char * kwnames[] = {
8831 (char *) "self",(char *) "number", NULL
8832 };
8833
8834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8836 if (!SWIG_IsOK(res1)) {
8837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8838 }
8839 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8840 if (obj1) {
8841 ecode2 = SWIG_AsVal_int(obj1, &val2);
8842 if (!SWIG_IsOK(ecode2)) {
8843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8844 }
8845 arg2 = static_cast< int >(val2);
8846 }
8847 {
8848 PyThreadState* __tstate = wxPyBeginAllowThreads();
8849 (arg1)->SetFieldsCount(arg2);
8850 wxPyEndAllowThreads(__tstate);
8851 if (PyErr_Occurred()) SWIG_fail;
8852 }
8853 resultobj = SWIG_Py_Void();
8854 return resultobj;
8855 fail:
8856 return NULL;
8857 }
8858
8859
8860 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8861 PyObject *resultobj = 0;
8862 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8863 int result;
8864 void *argp1 = 0 ;
8865 int res1 = 0 ;
8866 PyObject *swig_obj[1] ;
8867
8868 if (!args) SWIG_fail;
8869 swig_obj[0] = args;
8870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8871 if (!SWIG_IsOK(res1)) {
8872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8873 }
8874 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8875 {
8876 PyThreadState* __tstate = wxPyBeginAllowThreads();
8877 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8878 wxPyEndAllowThreads(__tstate);
8879 if (PyErr_Occurred()) SWIG_fail;
8880 }
8881 resultobj = SWIG_From_int(static_cast< int >(result));
8882 return resultobj;
8883 fail:
8884 return NULL;
8885 }
8886
8887
8888 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8889 PyObject *resultobj = 0;
8890 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8891 wxString *arg2 = 0 ;
8892 int arg3 = (int) 0 ;
8893 void *argp1 = 0 ;
8894 int res1 = 0 ;
8895 bool temp2 = false ;
8896 int val3 ;
8897 int ecode3 = 0 ;
8898 PyObject * obj0 = 0 ;
8899 PyObject * obj1 = 0 ;
8900 PyObject * obj2 = 0 ;
8901 char * kwnames[] = {
8902 (char *) "self",(char *) "text",(char *) "number", NULL
8903 };
8904
8905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8907 if (!SWIG_IsOK(res1)) {
8908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8909 }
8910 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8911 {
8912 arg2 = wxString_in_helper(obj1);
8913 if (arg2 == NULL) SWIG_fail;
8914 temp2 = true;
8915 }
8916 if (obj2) {
8917 ecode3 = SWIG_AsVal_int(obj2, &val3);
8918 if (!SWIG_IsOK(ecode3)) {
8919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8920 }
8921 arg3 = static_cast< int >(val3);
8922 }
8923 {
8924 PyThreadState* __tstate = wxPyBeginAllowThreads();
8925 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8926 wxPyEndAllowThreads(__tstate);
8927 if (PyErr_Occurred()) SWIG_fail;
8928 }
8929 resultobj = SWIG_Py_Void();
8930 {
8931 if (temp2)
8932 delete arg2;
8933 }
8934 return resultobj;
8935 fail:
8936 {
8937 if (temp2)
8938 delete arg2;
8939 }
8940 return NULL;
8941 }
8942
8943
8944 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj = 0;
8946 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8947 int arg2 = (int) 0 ;
8948 wxString result;
8949 void *argp1 = 0 ;
8950 int res1 = 0 ;
8951 int val2 ;
8952 int ecode2 = 0 ;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 char * kwnames[] = {
8956 (char *) "self",(char *) "number", NULL
8957 };
8958
8959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8961 if (!SWIG_IsOK(res1)) {
8962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8963 }
8964 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8965 if (obj1) {
8966 ecode2 = SWIG_AsVal_int(obj1, &val2);
8967 if (!SWIG_IsOK(ecode2)) {
8968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8969 }
8970 arg2 = static_cast< int >(val2);
8971 }
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8975 wxPyEndAllowThreads(__tstate);
8976 if (PyErr_Occurred()) SWIG_fail;
8977 }
8978 {
8979 #if wxUSE_UNICODE
8980 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8981 #else
8982 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8983 #endif
8984 }
8985 return resultobj;
8986 fail:
8987 return NULL;
8988 }
8989
8990
8991 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8992 PyObject *resultobj = 0;
8993 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8994 wxString *arg2 = 0 ;
8995 int arg3 = (int) 0 ;
8996 void *argp1 = 0 ;
8997 int res1 = 0 ;
8998 bool temp2 = false ;
8999 int val3 ;
9000 int ecode3 = 0 ;
9001 PyObject * obj0 = 0 ;
9002 PyObject * obj1 = 0 ;
9003 PyObject * obj2 = 0 ;
9004 char * kwnames[] = {
9005 (char *) "self",(char *) "text",(char *) "number", NULL
9006 };
9007
9008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9010 if (!SWIG_IsOK(res1)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9012 }
9013 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9014 {
9015 arg2 = wxString_in_helper(obj1);
9016 if (arg2 == NULL) SWIG_fail;
9017 temp2 = true;
9018 }
9019 if (obj2) {
9020 ecode3 = SWIG_AsVal_int(obj2, &val3);
9021 if (!SWIG_IsOK(ecode3)) {
9022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9023 }
9024 arg3 = static_cast< int >(val3);
9025 }
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 resultobj = SWIG_Py_Void();
9033 {
9034 if (temp2)
9035 delete arg2;
9036 }
9037 return resultobj;
9038 fail:
9039 {
9040 if (temp2)
9041 delete arg2;
9042 }
9043 return NULL;
9044 }
9045
9046
9047 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9048 PyObject *resultobj = 0;
9049 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9050 int arg2 = (int) 0 ;
9051 void *argp1 = 0 ;
9052 int res1 = 0 ;
9053 int val2 ;
9054 int ecode2 = 0 ;
9055 PyObject * obj0 = 0 ;
9056 PyObject * obj1 = 0 ;
9057 char * kwnames[] = {
9058 (char *) "self",(char *) "number", NULL
9059 };
9060
9061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9063 if (!SWIG_IsOK(res1)) {
9064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9065 }
9066 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9067 if (obj1) {
9068 ecode2 = SWIG_AsVal_int(obj1, &val2);
9069 if (!SWIG_IsOK(ecode2)) {
9070 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9071 }
9072 arg2 = static_cast< int >(val2);
9073 }
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 (arg1)->PopStatusText(arg2);
9077 wxPyEndAllowThreads(__tstate);
9078 if (PyErr_Occurred()) SWIG_fail;
9079 }
9080 resultobj = SWIG_Py_Void();
9081 return resultobj;
9082 fail:
9083 return NULL;
9084 }
9085
9086
9087 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9088 PyObject *resultobj = 0;
9089 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9090 int arg2 ;
9091 int *arg3 = (int *) 0 ;
9092 void *argp1 = 0 ;
9093 int res1 = 0 ;
9094 PyObject * obj0 = 0 ;
9095 PyObject * obj1 = 0 ;
9096 char * kwnames[] = {
9097 (char *) "self",(char *) "widths", NULL
9098 };
9099
9100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9102 if (!SWIG_IsOK(res1)) {
9103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9104 }
9105 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9106 {
9107 arg2 = PyList_Size(obj1);
9108 arg3 = int_LIST_helper(obj1);
9109 if (arg3 == NULL) SWIG_fail;
9110 }
9111 {
9112 PyThreadState* __tstate = wxPyBeginAllowThreads();
9113 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9114 wxPyEndAllowThreads(__tstate);
9115 if (PyErr_Occurred()) SWIG_fail;
9116 }
9117 resultobj = SWIG_Py_Void();
9118 {
9119 if (arg3) delete [] arg3;
9120 }
9121 return resultobj;
9122 fail:
9123 {
9124 if (arg3) delete [] arg3;
9125 }
9126 return NULL;
9127 }
9128
9129
9130 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9131 PyObject *resultobj = 0;
9132 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9133 int arg2 ;
9134 int *arg3 = (int *) 0 ;
9135 void *argp1 = 0 ;
9136 int res1 = 0 ;
9137 PyObject * obj0 = 0 ;
9138 PyObject * obj1 = 0 ;
9139 char * kwnames[] = {
9140 (char *) "self",(char *) "styles", NULL
9141 };
9142
9143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9145 if (!SWIG_IsOK(res1)) {
9146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9147 }
9148 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9149 {
9150 arg2 = PyList_Size(obj1);
9151 arg3 = int_LIST_helper(obj1);
9152 if (arg3 == NULL) SWIG_fail;
9153 }
9154 {
9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
9156 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9157 wxPyEndAllowThreads(__tstate);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
9160 resultobj = SWIG_Py_Void();
9161 {
9162 if (arg3) delete [] arg3;
9163 }
9164 return resultobj;
9165 fail:
9166 {
9167 if (arg3) delete [] arg3;
9168 }
9169 return NULL;
9170 }
9171
9172
9173 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj = 0;
9175 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9176 int arg2 ;
9177 wxRect result;
9178 void *argp1 = 0 ;
9179 int res1 = 0 ;
9180 int val2 ;
9181 int ecode2 = 0 ;
9182 PyObject * obj0 = 0 ;
9183 PyObject * obj1 = 0 ;
9184 char * kwnames[] = {
9185 (char *) "self",(char *) "i", NULL
9186 };
9187
9188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9190 if (!SWIG_IsOK(res1)) {
9191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9192 }
9193 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9194 ecode2 = SWIG_AsVal_int(obj1, &val2);
9195 if (!SWIG_IsOK(ecode2)) {
9196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9197 }
9198 arg2 = static_cast< int >(val2);
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 result = wxStatusBar_GetFieldRect(arg1,arg2);
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9206 return resultobj;
9207 fail:
9208 return NULL;
9209 }
9210
9211
9212 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj = 0;
9214 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9215 int arg2 ;
9216 void *argp1 = 0 ;
9217 int res1 = 0 ;
9218 int val2 ;
9219 int ecode2 = 0 ;
9220 PyObject * obj0 = 0 ;
9221 PyObject * obj1 = 0 ;
9222 char * kwnames[] = {
9223 (char *) "self",(char *) "height", NULL
9224 };
9225
9226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9228 if (!SWIG_IsOK(res1)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9230 }
9231 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9232 ecode2 = SWIG_AsVal_int(obj1, &val2);
9233 if (!SWIG_IsOK(ecode2)) {
9234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9235 }
9236 arg2 = static_cast< int >(val2);
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 (arg1)->SetMinHeight(arg2);
9240 wxPyEndAllowThreads(__tstate);
9241 if (PyErr_Occurred()) SWIG_fail;
9242 }
9243 resultobj = SWIG_Py_Void();
9244 return resultobj;
9245 fail:
9246 return NULL;
9247 }
9248
9249
9250 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9251 PyObject *resultobj = 0;
9252 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9253 int result;
9254 void *argp1 = 0 ;
9255 int res1 = 0 ;
9256 PyObject *swig_obj[1] ;
9257
9258 if (!args) SWIG_fail;
9259 swig_obj[0] = args;
9260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9261 if (!SWIG_IsOK(res1)) {
9262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9263 }
9264 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 resultobj = SWIG_From_int(static_cast< int >(result));
9272 return resultobj;
9273 fail:
9274 return NULL;
9275 }
9276
9277
9278 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9279 PyObject *resultobj = 0;
9280 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9281 int result;
9282 void *argp1 = 0 ;
9283 int res1 = 0 ;
9284 PyObject *swig_obj[1] ;
9285
9286 if (!args) SWIG_fail;
9287 swig_obj[0] = args;
9288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9289 if (!SWIG_IsOK(res1)) {
9290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9291 }
9292 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9293 {
9294 PyThreadState* __tstate = wxPyBeginAllowThreads();
9295 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 resultobj = SWIG_From_int(static_cast< int >(result));
9300 return resultobj;
9301 fail:
9302 return NULL;
9303 }
9304
9305
9306 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9307 PyObject *resultobj = 0;
9308 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9309 SwigValueWrapper<wxVisualAttributes > result;
9310 int val1 ;
9311 int ecode1 = 0 ;
9312 PyObject * obj0 = 0 ;
9313 char * kwnames[] = {
9314 (char *) "variant", NULL
9315 };
9316
9317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9318 if (obj0) {
9319 ecode1 = SWIG_AsVal_int(obj0, &val1);
9320 if (!SWIG_IsOK(ecode1)) {
9321 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9322 }
9323 arg1 = static_cast< wxWindowVariant >(val1);
9324 }
9325 {
9326 if (!wxPyCheckForApp()) SWIG_fail;
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9333 return resultobj;
9334 fail:
9335 return NULL;
9336 }
9337
9338
9339 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9340 PyObject *obj;
9341 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9342 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9343 return SWIG_Py_Void();
9344 }
9345
9346 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9347 return SWIG_Python_InitShadowInstance(args);
9348 }
9349
9350 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9351 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9352 return 1;
9353 }
9354
9355
9356 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9357 PyObject *pyobj = 0;
9358
9359 {
9360 #if wxUSE_UNICODE
9361 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9362 #else
9363 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9364 #endif
9365 }
9366 return pyobj;
9367 }
9368
9369
9370 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9371 PyObject *resultobj = 0;
9372 wxWindow *arg1 = (wxWindow *) 0 ;
9373 int arg2 = (int) -1 ;
9374 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9375 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9376 wxSize const &arg4_defvalue = wxDefaultSize ;
9377 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9378 long arg5 = (long) wxSP_3D ;
9379 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9380 wxString *arg6 = (wxString *) &arg6_defvalue ;
9381 wxSplitterWindow *result = 0 ;
9382 void *argp1 = 0 ;
9383 int res1 = 0 ;
9384 int val2 ;
9385 int ecode2 = 0 ;
9386 wxPoint temp3 ;
9387 wxSize temp4 ;
9388 long val5 ;
9389 int ecode5 = 0 ;
9390 bool temp6 = false ;
9391 PyObject * obj0 = 0 ;
9392 PyObject * obj1 = 0 ;
9393 PyObject * obj2 = 0 ;
9394 PyObject * obj3 = 0 ;
9395 PyObject * obj4 = 0 ;
9396 PyObject * obj5 = 0 ;
9397 char * kwnames[] = {
9398 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9399 };
9400
9401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9403 if (!SWIG_IsOK(res1)) {
9404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9405 }
9406 arg1 = reinterpret_cast< wxWindow * >(argp1);
9407 if (obj1) {
9408 ecode2 = SWIG_AsVal_int(obj1, &val2);
9409 if (!SWIG_IsOK(ecode2)) {
9410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9411 }
9412 arg2 = static_cast< int >(val2);
9413 }
9414 if (obj2) {
9415 {
9416 arg3 = &temp3;
9417 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9418 }
9419 }
9420 if (obj3) {
9421 {
9422 arg4 = &temp4;
9423 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9424 }
9425 }
9426 if (obj4) {
9427 ecode5 = SWIG_AsVal_long(obj4, &val5);
9428 if (!SWIG_IsOK(ecode5)) {
9429 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9430 }
9431 arg5 = static_cast< long >(val5);
9432 }
9433 if (obj5) {
9434 {
9435 arg6 = wxString_in_helper(obj5);
9436 if (arg6 == NULL) SWIG_fail;
9437 temp6 = true;
9438 }
9439 }
9440 {
9441 if (!wxPyCheckForApp()) SWIG_fail;
9442 PyThreadState* __tstate = wxPyBeginAllowThreads();
9443 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9444 wxPyEndAllowThreads(__tstate);
9445 if (PyErr_Occurred()) SWIG_fail;
9446 }
9447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9448 {
9449 if (temp6)
9450 delete arg6;
9451 }
9452 return resultobj;
9453 fail:
9454 {
9455 if (temp6)
9456 delete arg6;
9457 }
9458 return NULL;
9459 }
9460
9461
9462 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9463 PyObject *resultobj = 0;
9464 wxSplitterWindow *result = 0 ;
9465
9466 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9467 {
9468 if (!wxPyCheckForApp()) SWIG_fail;
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 result = (wxSplitterWindow *)new wxSplitterWindow();
9471 wxPyEndAllowThreads(__tstate);
9472 if (PyErr_Occurred()) SWIG_fail;
9473 }
9474 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9475 return resultobj;
9476 fail:
9477 return NULL;
9478 }
9479
9480
9481 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9482 PyObject *resultobj = 0;
9483 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9484 wxWindow *arg2 = (wxWindow *) 0 ;
9485 int arg3 = (int) -1 ;
9486 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9487 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9488 wxSize const &arg5_defvalue = wxDefaultSize ;
9489 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9490 long arg6 = (long) wxSP_3D ;
9491 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9492 wxString *arg7 = (wxString *) &arg7_defvalue ;
9493 bool result;
9494 void *argp1 = 0 ;
9495 int res1 = 0 ;
9496 void *argp2 = 0 ;
9497 int res2 = 0 ;
9498 int val3 ;
9499 int ecode3 = 0 ;
9500 wxPoint temp4 ;
9501 wxSize temp5 ;
9502 long val6 ;
9503 int ecode6 = 0 ;
9504 bool temp7 = false ;
9505 PyObject * obj0 = 0 ;
9506 PyObject * obj1 = 0 ;
9507 PyObject * obj2 = 0 ;
9508 PyObject * obj3 = 0 ;
9509 PyObject * obj4 = 0 ;
9510 PyObject * obj5 = 0 ;
9511 PyObject * obj6 = 0 ;
9512 char * kwnames[] = {
9513 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9514 };
9515
9516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9518 if (!SWIG_IsOK(res1)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9520 }
9521 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9522 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9523 if (!SWIG_IsOK(res2)) {
9524 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9525 }
9526 arg2 = reinterpret_cast< wxWindow * >(argp2);
9527 if (obj2) {
9528 ecode3 = SWIG_AsVal_int(obj2, &val3);
9529 if (!SWIG_IsOK(ecode3)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9531 }
9532 arg3 = static_cast< int >(val3);
9533 }
9534 if (obj3) {
9535 {
9536 arg4 = &temp4;
9537 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9538 }
9539 }
9540 if (obj4) {
9541 {
9542 arg5 = &temp5;
9543 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9544 }
9545 }
9546 if (obj5) {
9547 ecode6 = SWIG_AsVal_long(obj5, &val6);
9548 if (!SWIG_IsOK(ecode6)) {
9549 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9550 }
9551 arg6 = static_cast< long >(val6);
9552 }
9553 if (obj6) {
9554 {
9555 arg7 = wxString_in_helper(obj6);
9556 if (arg7 == NULL) SWIG_fail;
9557 temp7 = true;
9558 }
9559 }
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 {
9567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9568 }
9569 {
9570 if (temp7)
9571 delete arg7;
9572 }
9573 return resultobj;
9574 fail:
9575 {
9576 if (temp7)
9577 delete arg7;
9578 }
9579 return NULL;
9580 }
9581
9582
9583 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9584 PyObject *resultobj = 0;
9585 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9586 wxWindow *result = 0 ;
9587 void *argp1 = 0 ;
9588 int res1 = 0 ;
9589 PyObject *swig_obj[1] ;
9590
9591 if (!args) SWIG_fail;
9592 swig_obj[0] = args;
9593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9594 if (!SWIG_IsOK(res1)) {
9595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9596 }
9597 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9598 {
9599 PyThreadState* __tstate = wxPyBeginAllowThreads();
9600 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 {
9605 resultobj = wxPyMake_wxObject(result, 0);
9606 }
9607 return resultobj;
9608 fail:
9609 return NULL;
9610 }
9611
9612
9613 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9614 PyObject *resultobj = 0;
9615 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9616 wxWindow *result = 0 ;
9617 void *argp1 = 0 ;
9618 int res1 = 0 ;
9619 PyObject *swig_obj[1] ;
9620
9621 if (!args) SWIG_fail;
9622 swig_obj[0] = args;
9623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9624 if (!SWIG_IsOK(res1)) {
9625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9626 }
9627 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
9634 {
9635 resultobj = wxPyMake_wxObject(result, 0);
9636 }
9637 return resultobj;
9638 fail:
9639 return NULL;
9640 }
9641
9642
9643 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9644 PyObject *resultobj = 0;
9645 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9646 int arg2 ;
9647 void *argp1 = 0 ;
9648 int res1 = 0 ;
9649 int val2 ;
9650 int ecode2 = 0 ;
9651 PyObject * obj0 = 0 ;
9652 PyObject * obj1 = 0 ;
9653 char * kwnames[] = {
9654 (char *) "self",(char *) "mode", NULL
9655 };
9656
9657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9659 if (!SWIG_IsOK(res1)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9661 }
9662 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9663 ecode2 = SWIG_AsVal_int(obj1, &val2);
9664 if (!SWIG_IsOK(ecode2)) {
9665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9666 }
9667 arg2 = static_cast< int >(val2);
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 (arg1)->SetSplitMode(arg2);
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 resultobj = SWIG_Py_Void();
9675 return resultobj;
9676 fail:
9677 return NULL;
9678 }
9679
9680
9681 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9682 PyObject *resultobj = 0;
9683 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9684 wxSplitMode result;
9685 void *argp1 = 0 ;
9686 int res1 = 0 ;
9687 PyObject *swig_obj[1] ;
9688
9689 if (!args) SWIG_fail;
9690 swig_obj[0] = args;
9691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9692 if (!SWIG_IsOK(res1)) {
9693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9694 }
9695 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9696 {
9697 PyThreadState* __tstate = wxPyBeginAllowThreads();
9698 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9699 wxPyEndAllowThreads(__tstate);
9700 if (PyErr_Occurred()) SWIG_fail;
9701 }
9702 resultobj = SWIG_From_int(static_cast< int >(result));
9703 return resultobj;
9704 fail:
9705 return NULL;
9706 }
9707
9708
9709 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9710 PyObject *resultobj = 0;
9711 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9712 wxWindow *arg2 = (wxWindow *) 0 ;
9713 void *argp1 = 0 ;
9714 int res1 = 0 ;
9715 void *argp2 = 0 ;
9716 int res2 = 0 ;
9717 PyObject * obj0 = 0 ;
9718 PyObject * obj1 = 0 ;
9719 char * kwnames[] = {
9720 (char *) "self",(char *) "window", NULL
9721 };
9722
9723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9725 if (!SWIG_IsOK(res1)) {
9726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9727 }
9728 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9729 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9730 if (!SWIG_IsOK(res2)) {
9731 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9732 }
9733 arg2 = reinterpret_cast< wxWindow * >(argp2);
9734 {
9735 PyThreadState* __tstate = wxPyBeginAllowThreads();
9736 (arg1)->Initialize(arg2);
9737 wxPyEndAllowThreads(__tstate);
9738 if (PyErr_Occurred()) SWIG_fail;
9739 }
9740 resultobj = SWIG_Py_Void();
9741 return resultobj;
9742 fail:
9743 return NULL;
9744 }
9745
9746
9747 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9748 PyObject *resultobj = 0;
9749 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9750 wxWindow *arg2 = (wxWindow *) 0 ;
9751 wxWindow *arg3 = (wxWindow *) 0 ;
9752 int arg4 = (int) 0 ;
9753 bool result;
9754 void *argp1 = 0 ;
9755 int res1 = 0 ;
9756 void *argp2 = 0 ;
9757 int res2 = 0 ;
9758 void *argp3 = 0 ;
9759 int res3 = 0 ;
9760 int val4 ;
9761 int ecode4 = 0 ;
9762 PyObject * obj0 = 0 ;
9763 PyObject * obj1 = 0 ;
9764 PyObject * obj2 = 0 ;
9765 PyObject * obj3 = 0 ;
9766 char * kwnames[] = {
9767 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9768 };
9769
9770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9772 if (!SWIG_IsOK(res1)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9774 }
9775 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9776 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9777 if (!SWIG_IsOK(res2)) {
9778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9779 }
9780 arg2 = reinterpret_cast< wxWindow * >(argp2);
9781 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9782 if (!SWIG_IsOK(res3)) {
9783 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9784 }
9785 arg3 = reinterpret_cast< wxWindow * >(argp3);
9786 if (obj3) {
9787 ecode4 = SWIG_AsVal_int(obj3, &val4);
9788 if (!SWIG_IsOK(ecode4)) {
9789 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9790 }
9791 arg4 = static_cast< int >(val4);
9792 }
9793 {
9794 PyThreadState* __tstate = wxPyBeginAllowThreads();
9795 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9796 wxPyEndAllowThreads(__tstate);
9797 if (PyErr_Occurred()) SWIG_fail;
9798 }
9799 {
9800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9801 }
9802 return resultobj;
9803 fail:
9804 return NULL;
9805 }
9806
9807
9808 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9809 PyObject *resultobj = 0;
9810 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9811 wxWindow *arg2 = (wxWindow *) 0 ;
9812 wxWindow *arg3 = (wxWindow *) 0 ;
9813 int arg4 = (int) 0 ;
9814 bool result;
9815 void *argp1 = 0 ;
9816 int res1 = 0 ;
9817 void *argp2 = 0 ;
9818 int res2 = 0 ;
9819 void *argp3 = 0 ;
9820 int res3 = 0 ;
9821 int val4 ;
9822 int ecode4 = 0 ;
9823 PyObject * obj0 = 0 ;
9824 PyObject * obj1 = 0 ;
9825 PyObject * obj2 = 0 ;
9826 PyObject * obj3 = 0 ;
9827 char * kwnames[] = {
9828 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9829 };
9830
9831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9833 if (!SWIG_IsOK(res1)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9835 }
9836 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9837 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9838 if (!SWIG_IsOK(res2)) {
9839 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9840 }
9841 arg2 = reinterpret_cast< wxWindow * >(argp2);
9842 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9843 if (!SWIG_IsOK(res3)) {
9844 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9845 }
9846 arg3 = reinterpret_cast< wxWindow * >(argp3);
9847 if (obj3) {
9848 ecode4 = SWIG_AsVal_int(obj3, &val4);
9849 if (!SWIG_IsOK(ecode4)) {
9850 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9851 }
9852 arg4 = static_cast< int >(val4);
9853 }
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 {
9861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9862 }
9863 return resultobj;
9864 fail:
9865 return NULL;
9866 }
9867
9868
9869 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj = 0;
9871 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9872 wxWindow *arg2 = (wxWindow *) NULL ;
9873 bool result;
9874 void *argp1 = 0 ;
9875 int res1 = 0 ;
9876 void *argp2 = 0 ;
9877 int res2 = 0 ;
9878 PyObject * obj0 = 0 ;
9879 PyObject * obj1 = 0 ;
9880 char * kwnames[] = {
9881 (char *) "self",(char *) "toRemove", NULL
9882 };
9883
9884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9886 if (!SWIG_IsOK(res1)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9888 }
9889 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9890 if (obj1) {
9891 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9892 if (!SWIG_IsOK(res2)) {
9893 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9894 }
9895 arg2 = reinterpret_cast< wxWindow * >(argp2);
9896 }
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 result = (bool)(arg1)->Unsplit(arg2);
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
9903 {
9904 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9905 }
9906 return resultobj;
9907 fail:
9908 return NULL;
9909 }
9910
9911
9912 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9913 PyObject *resultobj = 0;
9914 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9915 wxWindow *arg2 = (wxWindow *) 0 ;
9916 wxWindow *arg3 = (wxWindow *) 0 ;
9917 bool result;
9918 void *argp1 = 0 ;
9919 int res1 = 0 ;
9920 void *argp2 = 0 ;
9921 int res2 = 0 ;
9922 void *argp3 = 0 ;
9923 int res3 = 0 ;
9924 PyObject * obj0 = 0 ;
9925 PyObject * obj1 = 0 ;
9926 PyObject * obj2 = 0 ;
9927 char * kwnames[] = {
9928 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9929 };
9930
9931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9933 if (!SWIG_IsOK(res1)) {
9934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9935 }
9936 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9937 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9938 if (!SWIG_IsOK(res2)) {
9939 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9940 }
9941 arg2 = reinterpret_cast< wxWindow * >(argp2);
9942 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9943 if (!SWIG_IsOK(res3)) {
9944 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9945 }
9946 arg3 = reinterpret_cast< wxWindow * >(argp3);
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
9953 {
9954 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9955 }
9956 return resultobj;
9957 fail:
9958 return NULL;
9959 }
9960
9961
9962 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9963 PyObject *resultobj = 0;
9964 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9965 void *argp1 = 0 ;
9966 int res1 = 0 ;
9967 PyObject *swig_obj[1] ;
9968
9969 if (!args) SWIG_fail;
9970 swig_obj[0] = args;
9971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9972 if (!SWIG_IsOK(res1)) {
9973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9974 }
9975 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 (arg1)->UpdateSize();
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 resultobj = SWIG_Py_Void();
9983 return resultobj;
9984 fail:
9985 return NULL;
9986 }
9987
9988
9989 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9990 PyObject *resultobj = 0;
9991 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9992 bool result;
9993 void *argp1 = 0 ;
9994 int res1 = 0 ;
9995 PyObject *swig_obj[1] ;
9996
9997 if (!args) SWIG_fail;
9998 swig_obj[0] = args;
9999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10000 if (!SWIG_IsOK(res1)) {
10001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10002 }
10003 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 {
10011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10012 }
10013 return resultobj;
10014 fail:
10015 return NULL;
10016 }
10017
10018
10019 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj = 0;
10021 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10022 int arg2 ;
10023 void *argp1 = 0 ;
10024 int res1 = 0 ;
10025 int val2 ;
10026 int ecode2 = 0 ;
10027 PyObject * obj0 = 0 ;
10028 PyObject * obj1 = 0 ;
10029 char * kwnames[] = {
10030 (char *) "self",(char *) "width", NULL
10031 };
10032
10033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10035 if (!SWIG_IsOK(res1)) {
10036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10037 }
10038 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10039 ecode2 = SWIG_AsVal_int(obj1, &val2);
10040 if (!SWIG_IsOK(ecode2)) {
10041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10042 }
10043 arg2 = static_cast< int >(val2);
10044 {
10045 PyThreadState* __tstate = wxPyBeginAllowThreads();
10046 (arg1)->SetSashSize(arg2);
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 resultobj = SWIG_Py_Void();
10051 return resultobj;
10052 fail:
10053 return NULL;
10054 }
10055
10056
10057 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10058 PyObject *resultobj = 0;
10059 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10060 int arg2 ;
10061 void *argp1 = 0 ;
10062 int res1 = 0 ;
10063 int val2 ;
10064 int ecode2 = 0 ;
10065 PyObject * obj0 = 0 ;
10066 PyObject * obj1 = 0 ;
10067 char * kwnames[] = {
10068 (char *) "self",(char *) "width", NULL
10069 };
10070
10071 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10072 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10073 if (!SWIG_IsOK(res1)) {
10074 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10075 }
10076 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10077 ecode2 = SWIG_AsVal_int(obj1, &val2);
10078 if (!SWIG_IsOK(ecode2)) {
10079 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10080 }
10081 arg2 = static_cast< int >(val2);
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 (arg1)->SetBorderSize(arg2);
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 resultobj = SWIG_Py_Void();
10089 return resultobj;
10090 fail:
10091 return NULL;
10092 }
10093
10094
10095 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10096 PyObject *resultobj = 0;
10097 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10098 int result;
10099 void *argp1 = 0 ;
10100 int res1 = 0 ;
10101 PyObject *swig_obj[1] ;
10102
10103 if (!args) SWIG_fail;
10104 swig_obj[0] = args;
10105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10106 if (!SWIG_IsOK(res1)) {
10107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10108 }
10109 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10110 {
10111 PyThreadState* __tstate = wxPyBeginAllowThreads();
10112 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 resultobj = SWIG_From_int(static_cast< int >(result));
10117 return resultobj;
10118 fail:
10119 return NULL;
10120 }
10121
10122
10123 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10124 PyObject *resultobj = 0;
10125 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10126 int result;
10127 void *argp1 = 0 ;
10128 int res1 = 0 ;
10129 PyObject *swig_obj[1] ;
10130
10131 if (!args) SWIG_fail;
10132 swig_obj[0] = args;
10133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10134 if (!SWIG_IsOK(res1)) {
10135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10136 }
10137 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10138 {
10139 PyThreadState* __tstate = wxPyBeginAllowThreads();
10140 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10141 wxPyEndAllowThreads(__tstate);
10142 if (PyErr_Occurred()) SWIG_fail;
10143 }
10144 resultobj = SWIG_From_int(static_cast< int >(result));
10145 return resultobj;
10146 fail:
10147 return NULL;
10148 }
10149
10150
10151 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj = 0;
10153 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10154 int arg2 ;
10155 bool arg3 = (bool) true ;
10156 void *argp1 = 0 ;
10157 int res1 = 0 ;
10158 int val2 ;
10159 int ecode2 = 0 ;
10160 bool val3 ;
10161 int ecode3 = 0 ;
10162 PyObject * obj0 = 0 ;
10163 PyObject * obj1 = 0 ;
10164 PyObject * obj2 = 0 ;
10165 char * kwnames[] = {
10166 (char *) "self",(char *) "position",(char *) "redraw", NULL
10167 };
10168
10169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10171 if (!SWIG_IsOK(res1)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10173 }
10174 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10175 ecode2 = SWIG_AsVal_int(obj1, &val2);
10176 if (!SWIG_IsOK(ecode2)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10178 }
10179 arg2 = static_cast< int >(val2);
10180 if (obj2) {
10181 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10182 if (!SWIG_IsOK(ecode3)) {
10183 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10184 }
10185 arg3 = static_cast< bool >(val3);
10186 }
10187 {
10188 PyThreadState* __tstate = wxPyBeginAllowThreads();
10189 (arg1)->SetSashPosition(arg2,arg3);
10190 wxPyEndAllowThreads(__tstate);
10191 if (PyErr_Occurred()) SWIG_fail;
10192 }
10193 resultobj = SWIG_Py_Void();
10194 return resultobj;
10195 fail:
10196 return NULL;
10197 }
10198
10199
10200 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10201 PyObject *resultobj = 0;
10202 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10203 int result;
10204 void *argp1 = 0 ;
10205 int res1 = 0 ;
10206 PyObject *swig_obj[1] ;
10207
10208 if (!args) SWIG_fail;
10209 swig_obj[0] = args;
10210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10211 if (!SWIG_IsOK(res1)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10213 }
10214 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10215 {
10216 PyThreadState* __tstate = wxPyBeginAllowThreads();
10217 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 resultobj = SWIG_From_int(static_cast< int >(result));
10222 return resultobj;
10223 fail:
10224 return NULL;
10225 }
10226
10227
10228 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10229 PyObject *resultobj = 0;
10230 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10231 double arg2 ;
10232 void *argp1 = 0 ;
10233 int res1 = 0 ;
10234 double val2 ;
10235 int ecode2 = 0 ;
10236 PyObject * obj0 = 0 ;
10237 PyObject * obj1 = 0 ;
10238 char * kwnames[] = {
10239 (char *) "self",(char *) "gravity", NULL
10240 };
10241
10242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10244 if (!SWIG_IsOK(res1)) {
10245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10246 }
10247 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10248 ecode2 = SWIG_AsVal_double(obj1, &val2);
10249 if (!SWIG_IsOK(ecode2)) {
10250 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10251 }
10252 arg2 = static_cast< double >(val2);
10253 {
10254 PyThreadState* __tstate = wxPyBeginAllowThreads();
10255 (arg1)->SetSashGravity(arg2);
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 resultobj = SWIG_Py_Void();
10260 return resultobj;
10261 fail:
10262 return NULL;
10263 }
10264
10265
10266 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10267 PyObject *resultobj = 0;
10268 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10269 double result;
10270 void *argp1 = 0 ;
10271 int res1 = 0 ;
10272 PyObject *swig_obj[1] ;
10273
10274 if (!args) SWIG_fail;
10275 swig_obj[0] = args;
10276 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10277 if (!SWIG_IsOK(res1)) {
10278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10279 }
10280 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
10283 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 resultobj = SWIG_From_double(static_cast< double >(result));
10288 return resultobj;
10289 fail:
10290 return NULL;
10291 }
10292
10293
10294 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj = 0;
10296 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10297 int arg2 ;
10298 void *argp1 = 0 ;
10299 int res1 = 0 ;
10300 int val2 ;
10301 int ecode2 = 0 ;
10302 PyObject * obj0 = 0 ;
10303 PyObject * obj1 = 0 ;
10304 char * kwnames[] = {
10305 (char *) "self",(char *) "min", NULL
10306 };
10307
10308 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10309 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10310 if (!SWIG_IsOK(res1)) {
10311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10312 }
10313 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10314 ecode2 = SWIG_AsVal_int(obj1, &val2);
10315 if (!SWIG_IsOK(ecode2)) {
10316 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10317 }
10318 arg2 = static_cast< int >(val2);
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
10321 (arg1)->SetMinimumPaneSize(arg2);
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 resultobj = SWIG_Py_Void();
10326 return resultobj;
10327 fail:
10328 return NULL;
10329 }
10330
10331
10332 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10333 PyObject *resultobj = 0;
10334 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10335 int result;
10336 void *argp1 = 0 ;
10337 int res1 = 0 ;
10338 PyObject *swig_obj[1] ;
10339
10340 if (!args) SWIG_fail;
10341 swig_obj[0] = args;
10342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10343 if (!SWIG_IsOK(res1)) {
10344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10345 }
10346 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10347 {
10348 PyThreadState* __tstate = wxPyBeginAllowThreads();
10349 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10350 wxPyEndAllowThreads(__tstate);
10351 if (PyErr_Occurred()) SWIG_fail;
10352 }
10353 resultobj = SWIG_From_int(static_cast< int >(result));
10354 return resultobj;
10355 fail:
10356 return NULL;
10357 }
10358
10359
10360 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10361 PyObject *resultobj = 0;
10362 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10363 int arg2 ;
10364 int arg3 ;
10365 int arg4 = (int) 5 ;
10366 bool result;
10367 void *argp1 = 0 ;
10368 int res1 = 0 ;
10369 int val2 ;
10370 int ecode2 = 0 ;
10371 int val3 ;
10372 int ecode3 = 0 ;
10373 int val4 ;
10374 int ecode4 = 0 ;
10375 PyObject * obj0 = 0 ;
10376 PyObject * obj1 = 0 ;
10377 PyObject * obj2 = 0 ;
10378 PyObject * obj3 = 0 ;
10379 char * kwnames[] = {
10380 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10381 };
10382
10383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10385 if (!SWIG_IsOK(res1)) {
10386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10387 }
10388 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10389 ecode2 = SWIG_AsVal_int(obj1, &val2);
10390 if (!SWIG_IsOK(ecode2)) {
10391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10392 }
10393 arg2 = static_cast< int >(val2);
10394 ecode3 = SWIG_AsVal_int(obj2, &val3);
10395 if (!SWIG_IsOK(ecode3)) {
10396 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10397 }
10398 arg3 = static_cast< int >(val3);
10399 if (obj3) {
10400 ecode4 = SWIG_AsVal_int(obj3, &val4);
10401 if (!SWIG_IsOK(ecode4)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10403 }
10404 arg4 = static_cast< int >(val4);
10405 }
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 {
10413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10414 }
10415 return resultobj;
10416 fail:
10417 return NULL;
10418 }
10419
10420
10421 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10422 PyObject *resultobj = 0;
10423 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10424 void *argp1 = 0 ;
10425 int res1 = 0 ;
10426 PyObject *swig_obj[1] ;
10427
10428 if (!args) SWIG_fail;
10429 swig_obj[0] = args;
10430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10431 if (!SWIG_IsOK(res1)) {
10432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10433 }
10434 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
10437 (arg1)->SizeWindows();
10438 wxPyEndAllowThreads(__tstate);
10439 if (PyErr_Occurred()) SWIG_fail;
10440 }
10441 resultobj = SWIG_Py_Void();
10442 return resultobj;
10443 fail:
10444 return NULL;
10445 }
10446
10447
10448 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10449 PyObject *resultobj = 0;
10450 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10451 bool arg2 ;
10452 void *argp1 = 0 ;
10453 int res1 = 0 ;
10454 bool val2 ;
10455 int ecode2 = 0 ;
10456 PyObject * obj0 = 0 ;
10457 PyObject * obj1 = 0 ;
10458 char * kwnames[] = {
10459 (char *) "self",(char *) "needUpdating", NULL
10460 };
10461
10462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10464 if (!SWIG_IsOK(res1)) {
10465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10466 }
10467 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10468 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10469 if (!SWIG_IsOK(ecode2)) {
10470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10471 }
10472 arg2 = static_cast< bool >(val2);
10473 {
10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
10475 (arg1)->SetNeedUpdating(arg2);
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 resultobj = SWIG_Py_Void();
10480 return resultobj;
10481 fail:
10482 return NULL;
10483 }
10484
10485
10486 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10487 PyObject *resultobj = 0;
10488 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10489 bool result;
10490 void *argp1 = 0 ;
10491 int res1 = 0 ;
10492 PyObject *swig_obj[1] ;
10493
10494 if (!args) SWIG_fail;
10495 swig_obj[0] = args;
10496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10497 if (!SWIG_IsOK(res1)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10499 }
10500 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10504 wxPyEndAllowThreads(__tstate);
10505 if (PyErr_Occurred()) SWIG_fail;
10506 }
10507 {
10508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10509 }
10510 return resultobj;
10511 fail:
10512 return NULL;
10513 }
10514
10515
10516 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10517 PyObject *resultobj = 0;
10518 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10519 SwigValueWrapper<wxVisualAttributes > result;
10520 int val1 ;
10521 int ecode1 = 0 ;
10522 PyObject * obj0 = 0 ;
10523 char * kwnames[] = {
10524 (char *) "variant", NULL
10525 };
10526
10527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10528 if (obj0) {
10529 ecode1 = SWIG_AsVal_int(obj0, &val1);
10530 if (!SWIG_IsOK(ecode1)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10532 }
10533 arg1 = static_cast< wxWindowVariant >(val1);
10534 }
10535 {
10536 if (!wxPyCheckForApp()) SWIG_fail;
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10543 return resultobj;
10544 fail:
10545 return NULL;
10546 }
10547
10548
10549 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10550 PyObject *obj;
10551 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10552 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10553 return SWIG_Py_Void();
10554 }
10555
10556 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10557 return SWIG_Python_InitShadowInstance(args);
10558 }
10559
10560 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10561 PyObject *resultobj = 0;
10562 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10563 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10564 wxSplitterEvent *result = 0 ;
10565 int val1 ;
10566 int ecode1 = 0 ;
10567 void *argp2 = 0 ;
10568 int res2 = 0 ;
10569 PyObject * obj0 = 0 ;
10570 PyObject * obj1 = 0 ;
10571 char * kwnames[] = {
10572 (char *) "type",(char *) "splitter", NULL
10573 };
10574
10575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10576 if (obj0) {
10577 ecode1 = SWIG_AsVal_int(obj0, &val1);
10578 if (!SWIG_IsOK(ecode1)) {
10579 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10580 }
10581 arg1 = static_cast< wxEventType >(val1);
10582 }
10583 if (obj1) {
10584 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10585 if (!SWIG_IsOK(res2)) {
10586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10587 }
10588 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10589 }
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10597 return resultobj;
10598 fail:
10599 return NULL;
10600 }
10601
10602
10603 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10604 PyObject *resultobj = 0;
10605 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10606 int arg2 ;
10607 void *argp1 = 0 ;
10608 int res1 = 0 ;
10609 int val2 ;
10610 int ecode2 = 0 ;
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char * kwnames[] = {
10614 (char *) "self",(char *) "pos", NULL
10615 };
10616
10617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10619 if (!SWIG_IsOK(res1)) {
10620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10621 }
10622 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10623 ecode2 = SWIG_AsVal_int(obj1, &val2);
10624 if (!SWIG_IsOK(ecode2)) {
10625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10626 }
10627 arg2 = static_cast< int >(val2);
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 (arg1)->SetSashPosition(arg2);
10631 wxPyEndAllowThreads(__tstate);
10632 if (PyErr_Occurred()) SWIG_fail;
10633 }
10634 resultobj = SWIG_Py_Void();
10635 return resultobj;
10636 fail:
10637 return NULL;
10638 }
10639
10640
10641 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10642 PyObject *resultobj = 0;
10643 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10644 int result;
10645 void *argp1 = 0 ;
10646 int res1 = 0 ;
10647 PyObject *swig_obj[1] ;
10648
10649 if (!args) SWIG_fail;
10650 swig_obj[0] = args;
10651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10652 if (!SWIG_IsOK(res1)) {
10653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10654 }
10655 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 resultobj = SWIG_From_int(static_cast< int >(result));
10663 return resultobj;
10664 fail:
10665 return NULL;
10666 }
10667
10668
10669 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10670 PyObject *resultobj = 0;
10671 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10672 wxWindow *result = 0 ;
10673 void *argp1 = 0 ;
10674 int res1 = 0 ;
10675 PyObject *swig_obj[1] ;
10676
10677 if (!args) SWIG_fail;
10678 swig_obj[0] = args;
10679 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10680 if (!SWIG_IsOK(res1)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10682 }
10683 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10687 wxPyEndAllowThreads(__tstate);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 }
10690 {
10691 resultobj = wxPyMake_wxObject(result, 0);
10692 }
10693 return resultobj;
10694 fail:
10695 return NULL;
10696 }
10697
10698
10699 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10700 PyObject *resultobj = 0;
10701 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10702 int result;
10703 void *argp1 = 0 ;
10704 int res1 = 0 ;
10705 PyObject *swig_obj[1] ;
10706
10707 if (!args) SWIG_fail;
10708 swig_obj[0] = args;
10709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10710 if (!SWIG_IsOK(res1)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10712 }
10713 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
10720 resultobj = SWIG_From_int(static_cast< int >(result));
10721 return resultobj;
10722 fail:
10723 return NULL;
10724 }
10725
10726
10727 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10728 PyObject *resultobj = 0;
10729 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10730 int result;
10731 void *argp1 = 0 ;
10732 int res1 = 0 ;
10733 PyObject *swig_obj[1] ;
10734
10735 if (!args) SWIG_fail;
10736 swig_obj[0] = args;
10737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10738 if (!SWIG_IsOK(res1)) {
10739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10740 }
10741 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 resultobj = SWIG_From_int(static_cast< int >(result));
10749 return resultobj;
10750 fail:
10751 return NULL;
10752 }
10753
10754
10755 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10756 PyObject *obj;
10757 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10758 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10759 return SWIG_Py_Void();
10760 }
10761
10762 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10763 return SWIG_Python_InitShadowInstance(args);
10764 }
10765
10766 SWIGINTERN int SashNameStr_set(PyObject *) {
10767 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10768 return 1;
10769 }
10770
10771
10772 SWIGINTERN PyObject *SashNameStr_get(void) {
10773 PyObject *pyobj = 0;
10774
10775 {
10776 #if wxUSE_UNICODE
10777 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10778 #else
10779 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10780 #endif
10781 }
10782 return pyobj;
10783 }
10784
10785
10786 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10787 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10788 return 1;
10789 }
10790
10791
10792 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10793 PyObject *pyobj = 0;
10794
10795 {
10796 #if wxUSE_UNICODE
10797 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10798 #else
10799 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10800 #endif
10801 }
10802 return pyobj;
10803 }
10804
10805
10806 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10807 PyObject *resultobj = 0;
10808 wxWindow *arg1 = (wxWindow *) 0 ;
10809 int arg2 = (int) -1 ;
10810 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10811 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10812 wxSize const &arg4_defvalue = wxDefaultSize ;
10813 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10814 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10815 wxString const &arg6_defvalue = wxPySashNameStr ;
10816 wxString *arg6 = (wxString *) &arg6_defvalue ;
10817 wxSashWindow *result = 0 ;
10818 void *argp1 = 0 ;
10819 int res1 = 0 ;
10820 int val2 ;
10821 int ecode2 = 0 ;
10822 wxPoint temp3 ;
10823 wxSize temp4 ;
10824 long val5 ;
10825 int ecode5 = 0 ;
10826 bool temp6 = false ;
10827 PyObject * obj0 = 0 ;
10828 PyObject * obj1 = 0 ;
10829 PyObject * obj2 = 0 ;
10830 PyObject * obj3 = 0 ;
10831 PyObject * obj4 = 0 ;
10832 PyObject * obj5 = 0 ;
10833 char * kwnames[] = {
10834 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10835 };
10836
10837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10839 if (!SWIG_IsOK(res1)) {
10840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10841 }
10842 arg1 = reinterpret_cast< wxWindow * >(argp1);
10843 if (obj1) {
10844 ecode2 = SWIG_AsVal_int(obj1, &val2);
10845 if (!SWIG_IsOK(ecode2)) {
10846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10847 }
10848 arg2 = static_cast< int >(val2);
10849 }
10850 if (obj2) {
10851 {
10852 arg3 = &temp3;
10853 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10854 }
10855 }
10856 if (obj3) {
10857 {
10858 arg4 = &temp4;
10859 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10860 }
10861 }
10862 if (obj4) {
10863 ecode5 = SWIG_AsVal_long(obj4, &val5);
10864 if (!SWIG_IsOK(ecode5)) {
10865 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10866 }
10867 arg5 = static_cast< long >(val5);
10868 }
10869 if (obj5) {
10870 {
10871 arg6 = wxString_in_helper(obj5);
10872 if (arg6 == NULL) SWIG_fail;
10873 temp6 = true;
10874 }
10875 }
10876 {
10877 if (!wxPyCheckForApp()) SWIG_fail;
10878 PyThreadState* __tstate = wxPyBeginAllowThreads();
10879 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10880 wxPyEndAllowThreads(__tstate);
10881 if (PyErr_Occurred()) SWIG_fail;
10882 }
10883 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10884 {
10885 if (temp6)
10886 delete arg6;
10887 }
10888 return resultobj;
10889 fail:
10890 {
10891 if (temp6)
10892 delete arg6;
10893 }
10894 return NULL;
10895 }
10896
10897
10898 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10899 PyObject *resultobj = 0;
10900 wxSashWindow *result = 0 ;
10901
10902 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10903 {
10904 if (!wxPyCheckForApp()) SWIG_fail;
10905 PyThreadState* __tstate = wxPyBeginAllowThreads();
10906 result = (wxSashWindow *)new wxSashWindow();
10907 wxPyEndAllowThreads(__tstate);
10908 if (PyErr_Occurred()) SWIG_fail;
10909 }
10910 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10911 return resultobj;
10912 fail:
10913 return NULL;
10914 }
10915
10916
10917 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10918 PyObject *resultobj = 0;
10919 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10920 wxWindow *arg2 = (wxWindow *) 0 ;
10921 int arg3 = (int) -1 ;
10922 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10923 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10924 wxSize const &arg5_defvalue = wxDefaultSize ;
10925 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10926 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10927 wxString const &arg7_defvalue = wxPySashNameStr ;
10928 wxString *arg7 = (wxString *) &arg7_defvalue ;
10929 bool result;
10930 void *argp1 = 0 ;
10931 int res1 = 0 ;
10932 void *argp2 = 0 ;
10933 int res2 = 0 ;
10934 int val3 ;
10935 int ecode3 = 0 ;
10936 wxPoint temp4 ;
10937 wxSize temp5 ;
10938 long val6 ;
10939 int ecode6 = 0 ;
10940 bool temp7 = false ;
10941 PyObject * obj0 = 0 ;
10942 PyObject * obj1 = 0 ;
10943 PyObject * obj2 = 0 ;
10944 PyObject * obj3 = 0 ;
10945 PyObject * obj4 = 0 ;
10946 PyObject * obj5 = 0 ;
10947 PyObject * obj6 = 0 ;
10948 char * kwnames[] = {
10949 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10950 };
10951
10952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10954 if (!SWIG_IsOK(res1)) {
10955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10956 }
10957 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10958 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10959 if (!SWIG_IsOK(res2)) {
10960 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10961 }
10962 arg2 = reinterpret_cast< wxWindow * >(argp2);
10963 if (obj2) {
10964 ecode3 = SWIG_AsVal_int(obj2, &val3);
10965 if (!SWIG_IsOK(ecode3)) {
10966 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10967 }
10968 arg3 = static_cast< int >(val3);
10969 }
10970 if (obj3) {
10971 {
10972 arg4 = &temp4;
10973 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10974 }
10975 }
10976 if (obj4) {
10977 {
10978 arg5 = &temp5;
10979 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10980 }
10981 }
10982 if (obj5) {
10983 ecode6 = SWIG_AsVal_long(obj5, &val6);
10984 if (!SWIG_IsOK(ecode6)) {
10985 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10986 }
10987 arg6 = static_cast< long >(val6);
10988 }
10989 if (obj6) {
10990 {
10991 arg7 = wxString_in_helper(obj6);
10992 if (arg7 == NULL) SWIG_fail;
10993 temp7 = true;
10994 }
10995 }
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10999 wxPyEndAllowThreads(__tstate);
11000 if (PyErr_Occurred()) SWIG_fail;
11001 }
11002 {
11003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11004 }
11005 {
11006 if (temp7)
11007 delete arg7;
11008 }
11009 return resultobj;
11010 fail:
11011 {
11012 if (temp7)
11013 delete arg7;
11014 }
11015 return NULL;
11016 }
11017
11018
11019 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11020 PyObject *resultobj = 0;
11021 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11022 wxSashEdgePosition arg2 ;
11023 bool arg3 ;
11024 void *argp1 = 0 ;
11025 int res1 = 0 ;
11026 int val2 ;
11027 int ecode2 = 0 ;
11028 bool val3 ;
11029 int ecode3 = 0 ;
11030 PyObject * obj0 = 0 ;
11031 PyObject * obj1 = 0 ;
11032 PyObject * obj2 = 0 ;
11033 char * kwnames[] = {
11034 (char *) "self",(char *) "edge",(char *) "sash", NULL
11035 };
11036
11037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11039 if (!SWIG_IsOK(res1)) {
11040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11041 }
11042 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11043 ecode2 = SWIG_AsVal_int(obj1, &val2);
11044 if (!SWIG_IsOK(ecode2)) {
11045 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11046 }
11047 arg2 = static_cast< wxSashEdgePosition >(val2);
11048 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11049 if (!SWIG_IsOK(ecode3)) {
11050 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11051 }
11052 arg3 = static_cast< bool >(val3);
11053 {
11054 PyThreadState* __tstate = wxPyBeginAllowThreads();
11055 (arg1)->SetSashVisible(arg2,arg3);
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
11059 resultobj = SWIG_Py_Void();
11060 return resultobj;
11061 fail:
11062 return NULL;
11063 }
11064
11065
11066 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj = 0;
11068 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11069 wxSashEdgePosition arg2 ;
11070 bool result;
11071 void *argp1 = 0 ;
11072 int res1 = 0 ;
11073 int val2 ;
11074 int ecode2 = 0 ;
11075 PyObject * obj0 = 0 ;
11076 PyObject * obj1 = 0 ;
11077 char * kwnames[] = {
11078 (char *) "self",(char *) "edge", NULL
11079 };
11080
11081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11083 if (!SWIG_IsOK(res1)) {
11084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11085 }
11086 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11087 ecode2 = SWIG_AsVal_int(obj1, &val2);
11088 if (!SWIG_IsOK(ecode2)) {
11089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11090 }
11091 arg2 = static_cast< wxSashEdgePosition >(val2);
11092 {
11093 PyThreadState* __tstate = wxPyBeginAllowThreads();
11094 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11095 wxPyEndAllowThreads(__tstate);
11096 if (PyErr_Occurred()) SWIG_fail;
11097 }
11098 {
11099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11100 }
11101 return resultobj;
11102 fail:
11103 return NULL;
11104 }
11105
11106
11107 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11108 PyObject *resultobj = 0;
11109 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11110 wxSashEdgePosition arg2 ;
11111 int result;
11112 void *argp1 = 0 ;
11113 int res1 = 0 ;
11114 int val2 ;
11115 int ecode2 = 0 ;
11116 PyObject * obj0 = 0 ;
11117 PyObject * obj1 = 0 ;
11118 char * kwnames[] = {
11119 (char *) "self",(char *) "edge", NULL
11120 };
11121
11122 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11123 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11124 if (!SWIG_IsOK(res1)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11126 }
11127 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11128 ecode2 = SWIG_AsVal_int(obj1, &val2);
11129 if (!SWIG_IsOK(ecode2)) {
11130 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11131 }
11132 arg2 = static_cast< wxSashEdgePosition >(val2);
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11136 wxPyEndAllowThreads(__tstate);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 resultobj = SWIG_From_int(static_cast< int >(result));
11140 return resultobj;
11141 fail:
11142 return NULL;
11143 }
11144
11145
11146 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11147 PyObject *resultobj = 0;
11148 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11149 int arg2 ;
11150 void *argp1 = 0 ;
11151 int res1 = 0 ;
11152 int val2 ;
11153 int ecode2 = 0 ;
11154 PyObject * obj0 = 0 ;
11155 PyObject * obj1 = 0 ;
11156 char * kwnames[] = {
11157 (char *) "self",(char *) "width", NULL
11158 };
11159
11160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11162 if (!SWIG_IsOK(res1)) {
11163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11164 }
11165 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11166 ecode2 = SWIG_AsVal_int(obj1, &val2);
11167 if (!SWIG_IsOK(ecode2)) {
11168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11169 }
11170 arg2 = static_cast< int >(val2);
11171 {
11172 PyThreadState* __tstate = wxPyBeginAllowThreads();
11173 (arg1)->SetDefaultBorderSize(arg2);
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 resultobj = SWIG_Py_Void();
11178 return resultobj;
11179 fail:
11180 return NULL;
11181 }
11182
11183
11184 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11185 PyObject *resultobj = 0;
11186 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11187 int result;
11188 void *argp1 = 0 ;
11189 int res1 = 0 ;
11190 PyObject *swig_obj[1] ;
11191
11192 if (!args) SWIG_fail;
11193 swig_obj[0] = args;
11194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11195 if (!SWIG_IsOK(res1)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11197 }
11198 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 resultobj = SWIG_From_int(static_cast< int >(result));
11206 return resultobj;
11207 fail:
11208 return NULL;
11209 }
11210
11211
11212 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11213 PyObject *resultobj = 0;
11214 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11215 int arg2 ;
11216 void *argp1 = 0 ;
11217 int res1 = 0 ;
11218 int val2 ;
11219 int ecode2 = 0 ;
11220 PyObject * obj0 = 0 ;
11221 PyObject * obj1 = 0 ;
11222 char * kwnames[] = {
11223 (char *) "self",(char *) "width", NULL
11224 };
11225
11226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11228 if (!SWIG_IsOK(res1)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11230 }
11231 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11232 ecode2 = SWIG_AsVal_int(obj1, &val2);
11233 if (!SWIG_IsOK(ecode2)) {
11234 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11235 }
11236 arg2 = static_cast< int >(val2);
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 (arg1)->SetExtraBorderSize(arg2);
11240 wxPyEndAllowThreads(__tstate);
11241 if (PyErr_Occurred()) SWIG_fail;
11242 }
11243 resultobj = SWIG_Py_Void();
11244 return resultobj;
11245 fail:
11246 return NULL;
11247 }
11248
11249
11250 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11251 PyObject *resultobj = 0;
11252 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11253 int result;
11254 void *argp1 = 0 ;
11255 int res1 = 0 ;
11256 PyObject *swig_obj[1] ;
11257
11258 if (!args) SWIG_fail;
11259 swig_obj[0] = args;
11260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11261 if (!SWIG_IsOK(res1)) {
11262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11263 }
11264 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11265 {
11266 PyThreadState* __tstate = wxPyBeginAllowThreads();
11267 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 resultobj = SWIG_From_int(static_cast< int >(result));
11272 return resultobj;
11273 fail:
11274 return NULL;
11275 }
11276
11277
11278 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11279 PyObject *resultobj = 0;
11280 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11281 int arg2 ;
11282 void *argp1 = 0 ;
11283 int res1 = 0 ;
11284 int val2 ;
11285 int ecode2 = 0 ;
11286 PyObject * obj0 = 0 ;
11287 PyObject * obj1 = 0 ;
11288 char * kwnames[] = {
11289 (char *) "self",(char *) "min", NULL
11290 };
11291
11292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11294 if (!SWIG_IsOK(res1)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11296 }
11297 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11298 ecode2 = SWIG_AsVal_int(obj1, &val2);
11299 if (!SWIG_IsOK(ecode2)) {
11300 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11301 }
11302 arg2 = static_cast< int >(val2);
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 (arg1)->SetMinimumSizeX(arg2);
11306 wxPyEndAllowThreads(__tstate);
11307 if (PyErr_Occurred()) SWIG_fail;
11308 }
11309 resultobj = SWIG_Py_Void();
11310 return resultobj;
11311 fail:
11312 return NULL;
11313 }
11314
11315
11316 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11317 PyObject *resultobj = 0;
11318 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11319 int arg2 ;
11320 void *argp1 = 0 ;
11321 int res1 = 0 ;
11322 int val2 ;
11323 int ecode2 = 0 ;
11324 PyObject * obj0 = 0 ;
11325 PyObject * obj1 = 0 ;
11326 char * kwnames[] = {
11327 (char *) "self",(char *) "min", NULL
11328 };
11329
11330 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11331 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11332 if (!SWIG_IsOK(res1)) {
11333 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11334 }
11335 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11336 ecode2 = SWIG_AsVal_int(obj1, &val2);
11337 if (!SWIG_IsOK(ecode2)) {
11338 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11339 }
11340 arg2 = static_cast< int >(val2);
11341 {
11342 PyThreadState* __tstate = wxPyBeginAllowThreads();
11343 (arg1)->SetMinimumSizeY(arg2);
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 }
11347 resultobj = SWIG_Py_Void();
11348 return resultobj;
11349 fail:
11350 return NULL;
11351 }
11352
11353
11354 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11355 PyObject *resultobj = 0;
11356 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11357 int result;
11358 void *argp1 = 0 ;
11359 int res1 = 0 ;
11360 PyObject *swig_obj[1] ;
11361
11362 if (!args) SWIG_fail;
11363 swig_obj[0] = args;
11364 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11365 if (!SWIG_IsOK(res1)) {
11366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11367 }
11368 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11369 {
11370 PyThreadState* __tstate = wxPyBeginAllowThreads();
11371 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11372 wxPyEndAllowThreads(__tstate);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 }
11375 resultobj = SWIG_From_int(static_cast< int >(result));
11376 return resultobj;
11377 fail:
11378 return NULL;
11379 }
11380
11381
11382 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11383 PyObject *resultobj = 0;
11384 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11385 int result;
11386 void *argp1 = 0 ;
11387 int res1 = 0 ;
11388 PyObject *swig_obj[1] ;
11389
11390 if (!args) SWIG_fail;
11391 swig_obj[0] = args;
11392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11393 if (!SWIG_IsOK(res1)) {
11394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11395 }
11396 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11397 {
11398 PyThreadState* __tstate = wxPyBeginAllowThreads();
11399 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 resultobj = SWIG_From_int(static_cast< int >(result));
11404 return resultobj;
11405 fail:
11406 return NULL;
11407 }
11408
11409
11410 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11411 PyObject *resultobj = 0;
11412 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11413 int arg2 ;
11414 void *argp1 = 0 ;
11415 int res1 = 0 ;
11416 int val2 ;
11417 int ecode2 = 0 ;
11418 PyObject * obj0 = 0 ;
11419 PyObject * obj1 = 0 ;
11420 char * kwnames[] = {
11421 (char *) "self",(char *) "max", NULL
11422 };
11423
11424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11426 if (!SWIG_IsOK(res1)) {
11427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11428 }
11429 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11430 ecode2 = SWIG_AsVal_int(obj1, &val2);
11431 if (!SWIG_IsOK(ecode2)) {
11432 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11433 }
11434 arg2 = static_cast< int >(val2);
11435 {
11436 PyThreadState* __tstate = wxPyBeginAllowThreads();
11437 (arg1)->SetMaximumSizeX(arg2);
11438 wxPyEndAllowThreads(__tstate);
11439 if (PyErr_Occurred()) SWIG_fail;
11440 }
11441 resultobj = SWIG_Py_Void();
11442 return resultobj;
11443 fail:
11444 return NULL;
11445 }
11446
11447
11448 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11449 PyObject *resultobj = 0;
11450 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11451 int arg2 ;
11452 void *argp1 = 0 ;
11453 int res1 = 0 ;
11454 int val2 ;
11455 int ecode2 = 0 ;
11456 PyObject * obj0 = 0 ;
11457 PyObject * obj1 = 0 ;
11458 char * kwnames[] = {
11459 (char *) "self",(char *) "max", NULL
11460 };
11461
11462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11464 if (!SWIG_IsOK(res1)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11466 }
11467 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11468 ecode2 = SWIG_AsVal_int(obj1, &val2);
11469 if (!SWIG_IsOK(ecode2)) {
11470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11471 }
11472 arg2 = static_cast< int >(val2);
11473 {
11474 PyThreadState* __tstate = wxPyBeginAllowThreads();
11475 (arg1)->SetMaximumSizeY(arg2);
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 resultobj = SWIG_Py_Void();
11480 return resultobj;
11481 fail:
11482 return NULL;
11483 }
11484
11485
11486 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11487 PyObject *resultobj = 0;
11488 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11489 int result;
11490 void *argp1 = 0 ;
11491 int res1 = 0 ;
11492 PyObject *swig_obj[1] ;
11493
11494 if (!args) SWIG_fail;
11495 swig_obj[0] = args;
11496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11497 if (!SWIG_IsOK(res1)) {
11498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11499 }
11500 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 resultobj = SWIG_From_int(static_cast< int >(result));
11508 return resultobj;
11509 fail:
11510 return NULL;
11511 }
11512
11513
11514 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11515 PyObject *resultobj = 0;
11516 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11517 int result;
11518 void *argp1 = 0 ;
11519 int res1 = 0 ;
11520 PyObject *swig_obj[1] ;
11521
11522 if (!args) SWIG_fail;
11523 swig_obj[0] = args;
11524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11525 if (!SWIG_IsOK(res1)) {
11526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11527 }
11528 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11529 {
11530 PyThreadState* __tstate = wxPyBeginAllowThreads();
11531 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11532 wxPyEndAllowThreads(__tstate);
11533 if (PyErr_Occurred()) SWIG_fail;
11534 }
11535 resultobj = SWIG_From_int(static_cast< int >(result));
11536 return resultobj;
11537 fail:
11538 return NULL;
11539 }
11540
11541
11542 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11543 PyObject *resultobj = 0;
11544 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11545 int arg2 ;
11546 int arg3 ;
11547 int arg4 = (int) 2 ;
11548 wxSashEdgePosition result;
11549 void *argp1 = 0 ;
11550 int res1 = 0 ;
11551 int val2 ;
11552 int ecode2 = 0 ;
11553 int val3 ;
11554 int ecode3 = 0 ;
11555 int val4 ;
11556 int ecode4 = 0 ;
11557 PyObject * obj0 = 0 ;
11558 PyObject * obj1 = 0 ;
11559 PyObject * obj2 = 0 ;
11560 PyObject * obj3 = 0 ;
11561 char * kwnames[] = {
11562 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11563 };
11564
11565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11567 if (!SWIG_IsOK(res1)) {
11568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11569 }
11570 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11571 ecode2 = SWIG_AsVal_int(obj1, &val2);
11572 if (!SWIG_IsOK(ecode2)) {
11573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11574 }
11575 arg2 = static_cast< int >(val2);
11576 ecode3 = SWIG_AsVal_int(obj2, &val3);
11577 if (!SWIG_IsOK(ecode3)) {
11578 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11579 }
11580 arg3 = static_cast< int >(val3);
11581 if (obj3) {
11582 ecode4 = SWIG_AsVal_int(obj3, &val4);
11583 if (!SWIG_IsOK(ecode4)) {
11584 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11585 }
11586 arg4 = static_cast< int >(val4);
11587 }
11588 {
11589 PyThreadState* __tstate = wxPyBeginAllowThreads();
11590 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11591 wxPyEndAllowThreads(__tstate);
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 resultobj = SWIG_From_int(static_cast< int >(result));
11595 return resultobj;
11596 fail:
11597 return NULL;
11598 }
11599
11600
11601 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11602 PyObject *resultobj = 0;
11603 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11604 void *argp1 = 0 ;
11605 int res1 = 0 ;
11606 PyObject *swig_obj[1] ;
11607
11608 if (!args) SWIG_fail;
11609 swig_obj[0] = args;
11610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11611 if (!SWIG_IsOK(res1)) {
11612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11613 }
11614 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 (arg1)->SizeWindows();
11618 wxPyEndAllowThreads(__tstate);
11619 if (PyErr_Occurred()) SWIG_fail;
11620 }
11621 resultobj = SWIG_Py_Void();
11622 return resultobj;
11623 fail:
11624 return NULL;
11625 }
11626
11627
11628 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11629 PyObject *obj;
11630 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11631 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11632 return SWIG_Py_Void();
11633 }
11634
11635 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11636 return SWIG_Python_InitShadowInstance(args);
11637 }
11638
11639 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11640 PyObject *resultobj = 0;
11641 int arg1 = (int) 0 ;
11642 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11643 wxSashEvent *result = 0 ;
11644 int val1 ;
11645 int ecode1 = 0 ;
11646 int val2 ;
11647 int ecode2 = 0 ;
11648 PyObject * obj0 = 0 ;
11649 PyObject * obj1 = 0 ;
11650 char * kwnames[] = {
11651 (char *) "id",(char *) "edge", NULL
11652 };
11653
11654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11655 if (obj0) {
11656 ecode1 = SWIG_AsVal_int(obj0, &val1);
11657 if (!SWIG_IsOK(ecode1)) {
11658 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11659 }
11660 arg1 = static_cast< int >(val1);
11661 }
11662 if (obj1) {
11663 ecode2 = SWIG_AsVal_int(obj1, &val2);
11664 if (!SWIG_IsOK(ecode2)) {
11665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11666 }
11667 arg2 = static_cast< wxSashEdgePosition >(val2);
11668 }
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11672 wxPyEndAllowThreads(__tstate);
11673 if (PyErr_Occurred()) SWIG_fail;
11674 }
11675 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11676 return resultobj;
11677 fail:
11678 return NULL;
11679 }
11680
11681
11682 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj = 0;
11684 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11685 wxSashEdgePosition arg2 ;
11686 void *argp1 = 0 ;
11687 int res1 = 0 ;
11688 int val2 ;
11689 int ecode2 = 0 ;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 char * kwnames[] = {
11693 (char *) "self",(char *) "edge", NULL
11694 };
11695
11696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11698 if (!SWIG_IsOK(res1)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11700 }
11701 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11702 ecode2 = SWIG_AsVal_int(obj1, &val2);
11703 if (!SWIG_IsOK(ecode2)) {
11704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11705 }
11706 arg2 = static_cast< wxSashEdgePosition >(val2);
11707 {
11708 PyThreadState* __tstate = wxPyBeginAllowThreads();
11709 (arg1)->SetEdge(arg2);
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
11713 resultobj = SWIG_Py_Void();
11714 return resultobj;
11715 fail:
11716 return NULL;
11717 }
11718
11719
11720 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11721 PyObject *resultobj = 0;
11722 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11723 wxSashEdgePosition result;
11724 void *argp1 = 0 ;
11725 int res1 = 0 ;
11726 PyObject *swig_obj[1] ;
11727
11728 if (!args) SWIG_fail;
11729 swig_obj[0] = args;
11730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11731 if (!SWIG_IsOK(res1)) {
11732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11733 }
11734 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11735 {
11736 PyThreadState* __tstate = wxPyBeginAllowThreads();
11737 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11738 wxPyEndAllowThreads(__tstate);
11739 if (PyErr_Occurred()) SWIG_fail;
11740 }
11741 resultobj = SWIG_From_int(static_cast< int >(result));
11742 return resultobj;
11743 fail:
11744 return NULL;
11745 }
11746
11747
11748 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11749 PyObject *resultobj = 0;
11750 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11751 wxRect *arg2 = 0 ;
11752 void *argp1 = 0 ;
11753 int res1 = 0 ;
11754 wxRect temp2 ;
11755 PyObject * obj0 = 0 ;
11756 PyObject * obj1 = 0 ;
11757 char * kwnames[] = {
11758 (char *) "self",(char *) "rect", NULL
11759 };
11760
11761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11763 if (!SWIG_IsOK(res1)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11765 }
11766 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11767 {
11768 arg2 = &temp2;
11769 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11770 }
11771 {
11772 PyThreadState* __tstate = wxPyBeginAllowThreads();
11773 (arg1)->SetDragRect((wxRect const &)*arg2);
11774 wxPyEndAllowThreads(__tstate);
11775 if (PyErr_Occurred()) SWIG_fail;
11776 }
11777 resultobj = SWIG_Py_Void();
11778 return resultobj;
11779 fail:
11780 return NULL;
11781 }
11782
11783
11784 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11785 PyObject *resultobj = 0;
11786 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11787 wxRect result;
11788 void *argp1 = 0 ;
11789 int res1 = 0 ;
11790 PyObject *swig_obj[1] ;
11791
11792 if (!args) SWIG_fail;
11793 swig_obj[0] = args;
11794 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11795 if (!SWIG_IsOK(res1)) {
11796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11797 }
11798 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11799 {
11800 PyThreadState* __tstate = wxPyBeginAllowThreads();
11801 result = ((wxSashEvent const *)arg1)->GetDragRect();
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11806 return resultobj;
11807 fail:
11808 return NULL;
11809 }
11810
11811
11812 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11813 PyObject *resultobj = 0;
11814 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11815 wxSashDragStatus arg2 ;
11816 void *argp1 = 0 ;
11817 int res1 = 0 ;
11818 int val2 ;
11819 int ecode2 = 0 ;
11820 PyObject * obj0 = 0 ;
11821 PyObject * obj1 = 0 ;
11822 char * kwnames[] = {
11823 (char *) "self",(char *) "status", NULL
11824 };
11825
11826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11828 if (!SWIG_IsOK(res1)) {
11829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11830 }
11831 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11832 ecode2 = SWIG_AsVal_int(obj1, &val2);
11833 if (!SWIG_IsOK(ecode2)) {
11834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11835 }
11836 arg2 = static_cast< wxSashDragStatus >(val2);
11837 {
11838 PyThreadState* __tstate = wxPyBeginAllowThreads();
11839 (arg1)->SetDragStatus(arg2);
11840 wxPyEndAllowThreads(__tstate);
11841 if (PyErr_Occurred()) SWIG_fail;
11842 }
11843 resultobj = SWIG_Py_Void();
11844 return resultobj;
11845 fail:
11846 return NULL;
11847 }
11848
11849
11850 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11851 PyObject *resultobj = 0;
11852 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11853 wxSashDragStatus result;
11854 void *argp1 = 0 ;
11855 int res1 = 0 ;
11856 PyObject *swig_obj[1] ;
11857
11858 if (!args) SWIG_fail;
11859 swig_obj[0] = args;
11860 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11861 if (!SWIG_IsOK(res1)) {
11862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11863 }
11864 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11868 wxPyEndAllowThreads(__tstate);
11869 if (PyErr_Occurred()) SWIG_fail;
11870 }
11871 resultobj = SWIG_From_int(static_cast< int >(result));
11872 return resultobj;
11873 fail:
11874 return NULL;
11875 }
11876
11877
11878 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11879 PyObject *obj;
11880 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11881 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11882 return SWIG_Py_Void();
11883 }
11884
11885 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11886 return SWIG_Python_InitShadowInstance(args);
11887 }
11888
11889 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj = 0;
11891 int arg1 = (int) 0 ;
11892 wxQueryLayoutInfoEvent *result = 0 ;
11893 int val1 ;
11894 int ecode1 = 0 ;
11895 PyObject * obj0 = 0 ;
11896 char * kwnames[] = {
11897 (char *) "id", NULL
11898 };
11899
11900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11901 if (obj0) {
11902 ecode1 = SWIG_AsVal_int(obj0, &val1);
11903 if (!SWIG_IsOK(ecode1)) {
11904 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11905 }
11906 arg1 = static_cast< int >(val1);
11907 }
11908 {
11909 PyThreadState* __tstate = wxPyBeginAllowThreads();
11910 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11911 wxPyEndAllowThreads(__tstate);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 }
11914 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11915 return resultobj;
11916 fail:
11917 return NULL;
11918 }
11919
11920
11921 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11922 PyObject *resultobj = 0;
11923 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11924 int arg2 ;
11925 void *argp1 = 0 ;
11926 int res1 = 0 ;
11927 int val2 ;
11928 int ecode2 = 0 ;
11929 PyObject * obj0 = 0 ;
11930 PyObject * obj1 = 0 ;
11931 char * kwnames[] = {
11932 (char *) "self",(char *) "length", NULL
11933 };
11934
11935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
11936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11937 if (!SWIG_IsOK(res1)) {
11938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11939 }
11940 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11941 ecode2 = SWIG_AsVal_int(obj1, &val2);
11942 if (!SWIG_IsOK(ecode2)) {
11943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11944 }
11945 arg2 = static_cast< int >(val2);
11946 {
11947 PyThreadState* __tstate = wxPyBeginAllowThreads();
11948 (arg1)->SetRequestedLength(arg2);
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 resultobj = SWIG_Py_Void();
11953 return resultobj;
11954 fail:
11955 return NULL;
11956 }
11957
11958
11959 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11960 PyObject *resultobj = 0;
11961 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11962 int result;
11963 void *argp1 = 0 ;
11964 int res1 = 0 ;
11965 PyObject *swig_obj[1] ;
11966
11967 if (!args) SWIG_fail;
11968 swig_obj[0] = args;
11969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
11970 if (!SWIG_IsOK(res1)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11972 }
11973 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
11977 wxPyEndAllowThreads(__tstate);
11978 if (PyErr_Occurred()) SWIG_fail;
11979 }
11980 resultobj = SWIG_From_int(static_cast< int >(result));
11981 return resultobj;
11982 fail:
11983 return NULL;
11984 }
11985
11986
11987 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11988 PyObject *resultobj = 0;
11989 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
11990 int arg2 ;
11991 void *argp1 = 0 ;
11992 int res1 = 0 ;
11993 int val2 ;
11994 int ecode2 = 0 ;
11995 PyObject * obj0 = 0 ;
11996 PyObject * obj1 = 0 ;
11997 char * kwnames[] = {
11998 (char *) "self",(char *) "flags", NULL
11999 };
12000
12001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12003 if (!SWIG_IsOK(res1)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12005 }
12006 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12007 ecode2 = SWIG_AsVal_int(obj1, &val2);
12008 if (!SWIG_IsOK(ecode2)) {
12009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12010 }
12011 arg2 = static_cast< int >(val2);
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 (arg1)->SetFlags(arg2);
12015 wxPyEndAllowThreads(__tstate);
12016 if (PyErr_Occurred()) SWIG_fail;
12017 }
12018 resultobj = SWIG_Py_Void();
12019 return resultobj;
12020 fail:
12021 return NULL;
12022 }
12023
12024
12025 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12026 PyObject *resultobj = 0;
12027 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12028 int result;
12029 void *argp1 = 0 ;
12030 int res1 = 0 ;
12031 PyObject *swig_obj[1] ;
12032
12033 if (!args) SWIG_fail;
12034 swig_obj[0] = args;
12035 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12036 if (!SWIG_IsOK(res1)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12038 }
12039 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12040 {
12041 PyThreadState* __tstate = wxPyBeginAllowThreads();
12042 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12043 wxPyEndAllowThreads(__tstate);
12044 if (PyErr_Occurred()) SWIG_fail;
12045 }
12046 resultobj = SWIG_From_int(static_cast< int >(result));
12047 return resultobj;
12048 fail:
12049 return NULL;
12050 }
12051
12052
12053 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12054 PyObject *resultobj = 0;
12055 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12056 wxSize *arg2 = 0 ;
12057 void *argp1 = 0 ;
12058 int res1 = 0 ;
12059 wxSize temp2 ;
12060 PyObject * obj0 = 0 ;
12061 PyObject * obj1 = 0 ;
12062 char * kwnames[] = {
12063 (char *) "self",(char *) "size", NULL
12064 };
12065
12066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12068 if (!SWIG_IsOK(res1)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12070 }
12071 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12072 {
12073 arg2 = &temp2;
12074 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12075 }
12076 {
12077 PyThreadState* __tstate = wxPyBeginAllowThreads();
12078 (arg1)->SetSize((wxSize const &)*arg2);
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 resultobj = SWIG_Py_Void();
12083 return resultobj;
12084 fail:
12085 return NULL;
12086 }
12087
12088
12089 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12090 PyObject *resultobj = 0;
12091 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12092 wxSize result;
12093 void *argp1 = 0 ;
12094 int res1 = 0 ;
12095 PyObject *swig_obj[1] ;
12096
12097 if (!args) SWIG_fail;
12098 swig_obj[0] = args;
12099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12100 if (!SWIG_IsOK(res1)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12102 }
12103 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12104 {
12105 PyThreadState* __tstate = wxPyBeginAllowThreads();
12106 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
12110 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12111 return resultobj;
12112 fail:
12113 return NULL;
12114 }
12115
12116
12117 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12118 PyObject *resultobj = 0;
12119 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12120 wxLayoutOrientation arg2 ;
12121 void *argp1 = 0 ;
12122 int res1 = 0 ;
12123 int val2 ;
12124 int ecode2 = 0 ;
12125 PyObject * obj0 = 0 ;
12126 PyObject * obj1 = 0 ;
12127 char * kwnames[] = {
12128 (char *) "self",(char *) "orient", NULL
12129 };
12130
12131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12133 if (!SWIG_IsOK(res1)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12135 }
12136 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12137 ecode2 = SWIG_AsVal_int(obj1, &val2);
12138 if (!SWIG_IsOK(ecode2)) {
12139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12140 }
12141 arg2 = static_cast< wxLayoutOrientation >(val2);
12142 {
12143 PyThreadState* __tstate = wxPyBeginAllowThreads();
12144 (arg1)->SetOrientation(arg2);
12145 wxPyEndAllowThreads(__tstate);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 }
12148 resultobj = SWIG_Py_Void();
12149 return resultobj;
12150 fail:
12151 return NULL;
12152 }
12153
12154
12155 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12156 PyObject *resultobj = 0;
12157 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12158 wxLayoutOrientation result;
12159 void *argp1 = 0 ;
12160 int res1 = 0 ;
12161 PyObject *swig_obj[1] ;
12162
12163 if (!args) SWIG_fail;
12164 swig_obj[0] = args;
12165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12166 if (!SWIG_IsOK(res1)) {
12167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12168 }
12169 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12170 {
12171 PyThreadState* __tstate = wxPyBeginAllowThreads();
12172 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12173 wxPyEndAllowThreads(__tstate);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 }
12176 resultobj = SWIG_From_int(static_cast< int >(result));
12177 return resultobj;
12178 fail:
12179 return NULL;
12180 }
12181
12182
12183 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12184 PyObject *resultobj = 0;
12185 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12186 wxLayoutAlignment arg2 ;
12187 void *argp1 = 0 ;
12188 int res1 = 0 ;
12189 int val2 ;
12190 int ecode2 = 0 ;
12191 PyObject * obj0 = 0 ;
12192 PyObject * obj1 = 0 ;
12193 char * kwnames[] = {
12194 (char *) "self",(char *) "align", NULL
12195 };
12196
12197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12199 if (!SWIG_IsOK(res1)) {
12200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12201 }
12202 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12203 ecode2 = SWIG_AsVal_int(obj1, &val2);
12204 if (!SWIG_IsOK(ecode2)) {
12205 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12206 }
12207 arg2 = static_cast< wxLayoutAlignment >(val2);
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 (arg1)->SetAlignment(arg2);
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 resultobj = SWIG_Py_Void();
12215 return resultobj;
12216 fail:
12217 return NULL;
12218 }
12219
12220
12221 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12222 PyObject *resultobj = 0;
12223 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12224 wxLayoutAlignment result;
12225 void *argp1 = 0 ;
12226 int res1 = 0 ;
12227 PyObject *swig_obj[1] ;
12228
12229 if (!args) SWIG_fail;
12230 swig_obj[0] = args;
12231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12232 if (!SWIG_IsOK(res1)) {
12233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12234 }
12235 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12236 {
12237 PyThreadState* __tstate = wxPyBeginAllowThreads();
12238 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12239 wxPyEndAllowThreads(__tstate);
12240 if (PyErr_Occurred()) SWIG_fail;
12241 }
12242 resultobj = SWIG_From_int(static_cast< int >(result));
12243 return resultobj;
12244 fail:
12245 return NULL;
12246 }
12247
12248
12249 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12250 PyObject *obj;
12251 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12252 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12253 return SWIG_Py_Void();
12254 }
12255
12256 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12257 return SWIG_Python_InitShadowInstance(args);
12258 }
12259
12260 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj = 0;
12262 int arg1 = (int) 0 ;
12263 wxCalculateLayoutEvent *result = 0 ;
12264 int val1 ;
12265 int ecode1 = 0 ;
12266 PyObject * obj0 = 0 ;
12267 char * kwnames[] = {
12268 (char *) "id", NULL
12269 };
12270
12271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12272 if (obj0) {
12273 ecode1 = SWIG_AsVal_int(obj0, &val1);
12274 if (!SWIG_IsOK(ecode1)) {
12275 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12276 }
12277 arg1 = static_cast< int >(val1);
12278 }
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12293 PyObject *resultobj = 0;
12294 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12295 int arg2 ;
12296 void *argp1 = 0 ;
12297 int res1 = 0 ;
12298 int val2 ;
12299 int ecode2 = 0 ;
12300 PyObject * obj0 = 0 ;
12301 PyObject * obj1 = 0 ;
12302 char * kwnames[] = {
12303 (char *) "self",(char *) "flags", NULL
12304 };
12305
12306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12308 if (!SWIG_IsOK(res1)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12310 }
12311 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12312 ecode2 = SWIG_AsVal_int(obj1, &val2);
12313 if (!SWIG_IsOK(ecode2)) {
12314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12315 }
12316 arg2 = static_cast< int >(val2);
12317 {
12318 PyThreadState* __tstate = wxPyBeginAllowThreads();
12319 (arg1)->SetFlags(arg2);
12320 wxPyEndAllowThreads(__tstate);
12321 if (PyErr_Occurred()) SWIG_fail;
12322 }
12323 resultobj = SWIG_Py_Void();
12324 return resultobj;
12325 fail:
12326 return NULL;
12327 }
12328
12329
12330 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12331 PyObject *resultobj = 0;
12332 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12333 int result;
12334 void *argp1 = 0 ;
12335 int res1 = 0 ;
12336 PyObject *swig_obj[1] ;
12337
12338 if (!args) SWIG_fail;
12339 swig_obj[0] = args;
12340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12341 if (!SWIG_IsOK(res1)) {
12342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12343 }
12344 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12345 {
12346 PyThreadState* __tstate = wxPyBeginAllowThreads();
12347 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12348 wxPyEndAllowThreads(__tstate);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 resultobj = SWIG_From_int(static_cast< int >(result));
12352 return resultobj;
12353 fail:
12354 return NULL;
12355 }
12356
12357
12358 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12359 PyObject *resultobj = 0;
12360 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12361 wxRect *arg2 = 0 ;
12362 void *argp1 = 0 ;
12363 int res1 = 0 ;
12364 wxRect temp2 ;
12365 PyObject * obj0 = 0 ;
12366 PyObject * obj1 = 0 ;
12367 char * kwnames[] = {
12368 (char *) "self",(char *) "rect", NULL
12369 };
12370
12371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12373 if (!SWIG_IsOK(res1)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12375 }
12376 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12377 {
12378 arg2 = &temp2;
12379 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12380 }
12381 {
12382 PyThreadState* __tstate = wxPyBeginAllowThreads();
12383 (arg1)->SetRect((wxRect const &)*arg2);
12384 wxPyEndAllowThreads(__tstate);
12385 if (PyErr_Occurred()) SWIG_fail;
12386 }
12387 resultobj = SWIG_Py_Void();
12388 return resultobj;
12389 fail:
12390 return NULL;
12391 }
12392
12393
12394 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12395 PyObject *resultobj = 0;
12396 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12397 wxRect result;
12398 void *argp1 = 0 ;
12399 int res1 = 0 ;
12400 PyObject *swig_obj[1] ;
12401
12402 if (!args) SWIG_fail;
12403 swig_obj[0] = args;
12404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12405 if (!SWIG_IsOK(res1)) {
12406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12407 }
12408 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12409 {
12410 PyThreadState* __tstate = wxPyBeginAllowThreads();
12411 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12412 wxPyEndAllowThreads(__tstate);
12413 if (PyErr_Occurred()) SWIG_fail;
12414 }
12415 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12416 return resultobj;
12417 fail:
12418 return NULL;
12419 }
12420
12421
12422 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12423 PyObject *obj;
12424 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12425 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12426 return SWIG_Py_Void();
12427 }
12428
12429 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12430 return SWIG_Python_InitShadowInstance(args);
12431 }
12432
12433 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj = 0;
12435 wxWindow *arg1 = (wxWindow *) 0 ;
12436 int arg2 = (int) -1 ;
12437 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12438 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12439 wxSize const &arg4_defvalue = wxDefaultSize ;
12440 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12441 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12442 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12443 wxString *arg6 = (wxString *) &arg6_defvalue ;
12444 wxSashLayoutWindow *result = 0 ;
12445 void *argp1 = 0 ;
12446 int res1 = 0 ;
12447 int val2 ;
12448 int ecode2 = 0 ;
12449 wxPoint temp3 ;
12450 wxSize temp4 ;
12451 long val5 ;
12452 int ecode5 = 0 ;
12453 bool temp6 = false ;
12454 PyObject * obj0 = 0 ;
12455 PyObject * obj1 = 0 ;
12456 PyObject * obj2 = 0 ;
12457 PyObject * obj3 = 0 ;
12458 PyObject * obj4 = 0 ;
12459 PyObject * obj5 = 0 ;
12460 char * kwnames[] = {
12461 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12462 };
12463
12464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12466 if (!SWIG_IsOK(res1)) {
12467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12468 }
12469 arg1 = reinterpret_cast< wxWindow * >(argp1);
12470 if (obj1) {
12471 ecode2 = SWIG_AsVal_int(obj1, &val2);
12472 if (!SWIG_IsOK(ecode2)) {
12473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12474 }
12475 arg2 = static_cast< int >(val2);
12476 }
12477 if (obj2) {
12478 {
12479 arg3 = &temp3;
12480 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12481 }
12482 }
12483 if (obj3) {
12484 {
12485 arg4 = &temp4;
12486 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12487 }
12488 }
12489 if (obj4) {
12490 ecode5 = SWIG_AsVal_long(obj4, &val5);
12491 if (!SWIG_IsOK(ecode5)) {
12492 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12493 }
12494 arg5 = static_cast< long >(val5);
12495 }
12496 if (obj5) {
12497 {
12498 arg6 = wxString_in_helper(obj5);
12499 if (arg6 == NULL) SWIG_fail;
12500 temp6 = true;
12501 }
12502 }
12503 {
12504 if (!wxPyCheckForApp()) SWIG_fail;
12505 PyThreadState* __tstate = wxPyBeginAllowThreads();
12506 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12507 wxPyEndAllowThreads(__tstate);
12508 if (PyErr_Occurred()) SWIG_fail;
12509 }
12510 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12511 {
12512 if (temp6)
12513 delete arg6;
12514 }
12515 return resultobj;
12516 fail:
12517 {
12518 if (temp6)
12519 delete arg6;
12520 }
12521 return NULL;
12522 }
12523
12524
12525 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12526 PyObject *resultobj = 0;
12527 wxSashLayoutWindow *result = 0 ;
12528
12529 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12530 {
12531 if (!wxPyCheckForApp()) SWIG_fail;
12532 PyThreadState* __tstate = wxPyBeginAllowThreads();
12533 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12534 wxPyEndAllowThreads(__tstate);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12538 return resultobj;
12539 fail:
12540 return NULL;
12541 }
12542
12543
12544 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12545 PyObject *resultobj = 0;
12546 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12547 wxWindow *arg2 = (wxWindow *) 0 ;
12548 int arg3 = (int) -1 ;
12549 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12550 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12551 wxSize const &arg5_defvalue = wxDefaultSize ;
12552 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12553 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12554 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12555 wxString *arg7 = (wxString *) &arg7_defvalue ;
12556 bool result;
12557 void *argp1 = 0 ;
12558 int res1 = 0 ;
12559 void *argp2 = 0 ;
12560 int res2 = 0 ;
12561 int val3 ;
12562 int ecode3 = 0 ;
12563 wxPoint temp4 ;
12564 wxSize temp5 ;
12565 long val6 ;
12566 int ecode6 = 0 ;
12567 bool temp7 = false ;
12568 PyObject * obj0 = 0 ;
12569 PyObject * obj1 = 0 ;
12570 PyObject * obj2 = 0 ;
12571 PyObject * obj3 = 0 ;
12572 PyObject * obj4 = 0 ;
12573 PyObject * obj5 = 0 ;
12574 PyObject * obj6 = 0 ;
12575 char * kwnames[] = {
12576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12577 };
12578
12579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12581 if (!SWIG_IsOK(res1)) {
12582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12583 }
12584 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12585 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12586 if (!SWIG_IsOK(res2)) {
12587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12588 }
12589 arg2 = reinterpret_cast< wxWindow * >(argp2);
12590 if (obj2) {
12591 ecode3 = SWIG_AsVal_int(obj2, &val3);
12592 if (!SWIG_IsOK(ecode3)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12594 }
12595 arg3 = static_cast< int >(val3);
12596 }
12597 if (obj3) {
12598 {
12599 arg4 = &temp4;
12600 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12601 }
12602 }
12603 if (obj4) {
12604 {
12605 arg5 = &temp5;
12606 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12607 }
12608 }
12609 if (obj5) {
12610 ecode6 = SWIG_AsVal_long(obj5, &val6);
12611 if (!SWIG_IsOK(ecode6)) {
12612 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12613 }
12614 arg6 = static_cast< long >(val6);
12615 }
12616 if (obj6) {
12617 {
12618 arg7 = wxString_in_helper(obj6);
12619 if (arg7 == NULL) SWIG_fail;
12620 temp7 = true;
12621 }
12622 }
12623 {
12624 PyThreadState* __tstate = wxPyBeginAllowThreads();
12625 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 {
12630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12631 }
12632 {
12633 if (temp7)
12634 delete arg7;
12635 }
12636 return resultobj;
12637 fail:
12638 {
12639 if (temp7)
12640 delete arg7;
12641 }
12642 return NULL;
12643 }
12644
12645
12646 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12647 PyObject *resultobj = 0;
12648 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12649 wxLayoutAlignment result;
12650 void *argp1 = 0 ;
12651 int res1 = 0 ;
12652 PyObject *swig_obj[1] ;
12653
12654 if (!args) SWIG_fail;
12655 swig_obj[0] = args;
12656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12657 if (!SWIG_IsOK(res1)) {
12658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12659 }
12660 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12661 {
12662 PyThreadState* __tstate = wxPyBeginAllowThreads();
12663 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12664 wxPyEndAllowThreads(__tstate);
12665 if (PyErr_Occurred()) SWIG_fail;
12666 }
12667 resultobj = SWIG_From_int(static_cast< int >(result));
12668 return resultobj;
12669 fail:
12670 return NULL;
12671 }
12672
12673
12674 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12675 PyObject *resultobj = 0;
12676 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12677 wxLayoutOrientation result;
12678 void *argp1 = 0 ;
12679 int res1 = 0 ;
12680 PyObject *swig_obj[1] ;
12681
12682 if (!args) SWIG_fail;
12683 swig_obj[0] = args;
12684 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12685 if (!SWIG_IsOK(res1)) {
12686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12687 }
12688 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12689 {
12690 PyThreadState* __tstate = wxPyBeginAllowThreads();
12691 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12692 wxPyEndAllowThreads(__tstate);
12693 if (PyErr_Occurred()) SWIG_fail;
12694 }
12695 resultobj = SWIG_From_int(static_cast< int >(result));
12696 return resultobj;
12697 fail:
12698 return NULL;
12699 }
12700
12701
12702 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12703 PyObject *resultobj = 0;
12704 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12705 wxLayoutAlignment arg2 ;
12706 void *argp1 = 0 ;
12707 int res1 = 0 ;
12708 int val2 ;
12709 int ecode2 = 0 ;
12710 PyObject * obj0 = 0 ;
12711 PyObject * obj1 = 0 ;
12712 char * kwnames[] = {
12713 (char *) "self",(char *) "alignment", NULL
12714 };
12715
12716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12718 if (!SWIG_IsOK(res1)) {
12719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12720 }
12721 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12722 ecode2 = SWIG_AsVal_int(obj1, &val2);
12723 if (!SWIG_IsOK(ecode2)) {
12724 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12725 }
12726 arg2 = static_cast< wxLayoutAlignment >(val2);
12727 {
12728 PyThreadState* __tstate = wxPyBeginAllowThreads();
12729 (arg1)->SetAlignment(arg2);
12730 wxPyEndAllowThreads(__tstate);
12731 if (PyErr_Occurred()) SWIG_fail;
12732 }
12733 resultobj = SWIG_Py_Void();
12734 return resultobj;
12735 fail:
12736 return NULL;
12737 }
12738
12739
12740 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12741 PyObject *resultobj = 0;
12742 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12743 wxSize *arg2 = 0 ;
12744 void *argp1 = 0 ;
12745 int res1 = 0 ;
12746 wxSize temp2 ;
12747 PyObject * obj0 = 0 ;
12748 PyObject * obj1 = 0 ;
12749 char * kwnames[] = {
12750 (char *) "self",(char *) "size", NULL
12751 };
12752
12753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12755 if (!SWIG_IsOK(res1)) {
12756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12757 }
12758 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12759 {
12760 arg2 = &temp2;
12761 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12762 }
12763 {
12764 PyThreadState* __tstate = wxPyBeginAllowThreads();
12765 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12766 wxPyEndAllowThreads(__tstate);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 resultobj = SWIG_Py_Void();
12770 return resultobj;
12771 fail:
12772 return NULL;
12773 }
12774
12775
12776 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12777 PyObject *resultobj = 0;
12778 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12779 wxLayoutOrientation arg2 ;
12780 void *argp1 = 0 ;
12781 int res1 = 0 ;
12782 int val2 ;
12783 int ecode2 = 0 ;
12784 PyObject * obj0 = 0 ;
12785 PyObject * obj1 = 0 ;
12786 char * kwnames[] = {
12787 (char *) "self",(char *) "orientation", NULL
12788 };
12789
12790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12792 if (!SWIG_IsOK(res1)) {
12793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12794 }
12795 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12796 ecode2 = SWIG_AsVal_int(obj1, &val2);
12797 if (!SWIG_IsOK(ecode2)) {
12798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12799 }
12800 arg2 = static_cast< wxLayoutOrientation >(val2);
12801 {
12802 PyThreadState* __tstate = wxPyBeginAllowThreads();
12803 (arg1)->SetOrientation(arg2);
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 *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12815 PyObject *obj;
12816 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12817 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12818 return SWIG_Py_Void();
12819 }
12820
12821 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12822 return SWIG_Python_InitShadowInstance(args);
12823 }
12824
12825 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12826 PyObject *resultobj = 0;
12827 wxLayoutAlgorithm *result = 0 ;
12828
12829 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12830 {
12831 PyThreadState* __tstate = wxPyBeginAllowThreads();
12832 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12833 wxPyEndAllowThreads(__tstate);
12834 if (PyErr_Occurred()) SWIG_fail;
12835 }
12836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12837 return resultobj;
12838 fail:
12839 return NULL;
12840 }
12841
12842
12843 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12844 PyObject *resultobj = 0;
12845 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12846 void *argp1 = 0 ;
12847 int res1 = 0 ;
12848 PyObject *swig_obj[1] ;
12849
12850 if (!args) SWIG_fail;
12851 swig_obj[0] = args;
12852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12853 if (!SWIG_IsOK(res1)) {
12854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12855 }
12856 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12857 {
12858 PyThreadState* __tstate = wxPyBeginAllowThreads();
12859 delete arg1;
12860
12861 wxPyEndAllowThreads(__tstate);
12862 if (PyErr_Occurred()) SWIG_fail;
12863 }
12864 resultobj = SWIG_Py_Void();
12865 return resultobj;
12866 fail:
12867 return NULL;
12868 }
12869
12870
12871 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12872 PyObject *resultobj = 0;
12873 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12874 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12875 wxRect *arg3 = (wxRect *) NULL ;
12876 bool result;
12877 void *argp1 = 0 ;
12878 int res1 = 0 ;
12879 void *argp2 = 0 ;
12880 int res2 = 0 ;
12881 void *argp3 = 0 ;
12882 int res3 = 0 ;
12883 PyObject * obj0 = 0 ;
12884 PyObject * obj1 = 0 ;
12885 PyObject * obj2 = 0 ;
12886 char * kwnames[] = {
12887 (char *) "self",(char *) "frame",(char *) "rect", NULL
12888 };
12889
12890 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12891 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12892 if (!SWIG_IsOK(res1)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12894 }
12895 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12896 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12897 if (!SWIG_IsOK(res2)) {
12898 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12899 }
12900 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12901 if (obj2) {
12902 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12903 if (!SWIG_IsOK(res3)) {
12904 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12905 }
12906 arg3 = reinterpret_cast< wxRect * >(argp3);
12907 }
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12911 wxPyEndAllowThreads(__tstate);
12912 if (PyErr_Occurred()) SWIG_fail;
12913 }
12914 {
12915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12916 }
12917 return resultobj;
12918 fail:
12919 return NULL;
12920 }
12921
12922
12923 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12924 PyObject *resultobj = 0;
12925 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12926 wxFrame *arg2 = (wxFrame *) 0 ;
12927 wxWindow *arg3 = (wxWindow *) NULL ;
12928 bool result;
12929 void *argp1 = 0 ;
12930 int res1 = 0 ;
12931 void *argp2 = 0 ;
12932 int res2 = 0 ;
12933 void *argp3 = 0 ;
12934 int res3 = 0 ;
12935 PyObject * obj0 = 0 ;
12936 PyObject * obj1 = 0 ;
12937 PyObject * obj2 = 0 ;
12938 char * kwnames[] = {
12939 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12940 };
12941
12942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12944 if (!SWIG_IsOK(res1)) {
12945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12946 }
12947 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12948 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
12949 if (!SWIG_IsOK(res2)) {
12950 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12951 }
12952 arg2 = reinterpret_cast< wxFrame * >(argp2);
12953 if (obj2) {
12954 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
12955 if (!SWIG_IsOK(res3)) {
12956 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12957 }
12958 arg3 = reinterpret_cast< wxWindow * >(argp3);
12959 }
12960 {
12961 PyThreadState* __tstate = wxPyBeginAllowThreads();
12962 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
12963 wxPyEndAllowThreads(__tstate);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 }
12966 {
12967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12968 }
12969 return resultobj;
12970 fail:
12971 return NULL;
12972 }
12973
12974
12975 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12976 PyObject *resultobj = 0;
12977 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12978 wxWindow *arg2 = (wxWindow *) 0 ;
12979 wxWindow *arg3 = (wxWindow *) NULL ;
12980 bool result;
12981 void *argp1 = 0 ;
12982 int res1 = 0 ;
12983 void *argp2 = 0 ;
12984 int res2 = 0 ;
12985 void *argp3 = 0 ;
12986 int res3 = 0 ;
12987 PyObject * obj0 = 0 ;
12988 PyObject * obj1 = 0 ;
12989 PyObject * obj2 = 0 ;
12990 char * kwnames[] = {
12991 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12992 };
12993
12994 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12995 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12996 if (!SWIG_IsOK(res1)) {
12997 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12998 }
12999 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13000 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13001 if (!SWIG_IsOK(res2)) {
13002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13003 }
13004 arg2 = reinterpret_cast< wxWindow * >(argp2);
13005 if (obj2) {
13006 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13007 if (!SWIG_IsOK(res3)) {
13008 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13009 }
13010 arg3 = reinterpret_cast< wxWindow * >(argp3);
13011 }
13012 {
13013 PyThreadState* __tstate = wxPyBeginAllowThreads();
13014 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13015 wxPyEndAllowThreads(__tstate);
13016 if (PyErr_Occurred()) SWIG_fail;
13017 }
13018 {
13019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13020 }
13021 return resultobj;
13022 fail:
13023 return NULL;
13024 }
13025
13026
13027 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13028 PyObject *obj;
13029 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13030 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13031 return SWIG_Py_Void();
13032 }
13033
13034 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13035 return SWIG_Python_InitShadowInstance(args);
13036 }
13037
13038 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13039 PyObject *resultobj = 0;
13040 wxWindow *arg1 = (wxWindow *) 0 ;
13041 int arg2 = (int) wxBORDER_NONE ;
13042 wxPopupWindow *result = 0 ;
13043 void *argp1 = 0 ;
13044 int res1 = 0 ;
13045 int val2 ;
13046 int ecode2 = 0 ;
13047 PyObject * obj0 = 0 ;
13048 PyObject * obj1 = 0 ;
13049 char * kwnames[] = {
13050 (char *) "parent",(char *) "flags", NULL
13051 };
13052
13053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13055 if (!SWIG_IsOK(res1)) {
13056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13057 }
13058 arg1 = reinterpret_cast< wxWindow * >(argp1);
13059 if (obj1) {
13060 ecode2 = SWIG_AsVal_int(obj1, &val2);
13061 if (!SWIG_IsOK(ecode2)) {
13062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13063 }
13064 arg2 = static_cast< int >(val2);
13065 }
13066 {
13067 if (!wxPyCheckForApp()) SWIG_fail;
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13070 wxPyEndAllowThreads(__tstate);
13071 if (PyErr_Occurred()) SWIG_fail;
13072 }
13073 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13074 return resultobj;
13075 fail:
13076 return NULL;
13077 }
13078
13079
13080 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13081 PyObject *resultobj = 0;
13082 wxPopupWindow *result = 0 ;
13083
13084 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13085 {
13086 if (!wxPyCheckForApp()) SWIG_fail;
13087 PyThreadState* __tstate = wxPyBeginAllowThreads();
13088 result = (wxPopupWindow *)new wxPopupWindow();
13089 wxPyEndAllowThreads(__tstate);
13090 if (PyErr_Occurred()) SWIG_fail;
13091 }
13092 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13093 return resultobj;
13094 fail:
13095 return NULL;
13096 }
13097
13098
13099 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13100 PyObject *resultobj = 0;
13101 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13102 wxWindow *arg2 = (wxWindow *) 0 ;
13103 int arg3 = (int) wxBORDER_NONE ;
13104 bool result;
13105 void *argp1 = 0 ;
13106 int res1 = 0 ;
13107 void *argp2 = 0 ;
13108 int res2 = 0 ;
13109 int val3 ;
13110 int ecode3 = 0 ;
13111 PyObject * obj0 = 0 ;
13112 PyObject * obj1 = 0 ;
13113 PyObject * obj2 = 0 ;
13114 char * kwnames[] = {
13115 (char *) "self",(char *) "parent",(char *) "flags", NULL
13116 };
13117
13118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13120 if (!SWIG_IsOK(res1)) {
13121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13122 }
13123 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13124 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13125 if (!SWIG_IsOK(res2)) {
13126 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13127 }
13128 arg2 = reinterpret_cast< wxWindow * >(argp2);
13129 if (obj2) {
13130 ecode3 = SWIG_AsVal_int(obj2, &val3);
13131 if (!SWIG_IsOK(ecode3)) {
13132 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13133 }
13134 arg3 = static_cast< int >(val3);
13135 }
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 result = (bool)(arg1)->Create(arg2,arg3);
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
13142 {
13143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13144 }
13145 return resultobj;
13146 fail:
13147 return NULL;
13148 }
13149
13150
13151 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13152 PyObject *resultobj = 0;
13153 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13154 wxPoint *arg2 = 0 ;
13155 wxSize *arg3 = 0 ;
13156 void *argp1 = 0 ;
13157 int res1 = 0 ;
13158 wxPoint temp2 ;
13159 wxSize temp3 ;
13160 PyObject * obj0 = 0 ;
13161 PyObject * obj1 = 0 ;
13162 PyObject * obj2 = 0 ;
13163 char * kwnames[] = {
13164 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13165 };
13166
13167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13169 if (!SWIG_IsOK(res1)) {
13170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13171 }
13172 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13173 {
13174 arg2 = &temp2;
13175 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13176 }
13177 {
13178 arg3 = &temp3;
13179 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13180 }
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13184 wxPyEndAllowThreads(__tstate);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 }
13187 resultobj = SWIG_Py_Void();
13188 return resultobj;
13189 fail:
13190 return NULL;
13191 }
13192
13193
13194 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13195 PyObject *obj;
13196 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13197 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13198 return SWIG_Py_Void();
13199 }
13200
13201 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13202 return SWIG_Python_InitShadowInstance(args);
13203 }
13204
13205 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13206 PyObject *resultobj = 0;
13207 wxWindow *arg1 = (wxWindow *) 0 ;
13208 int arg2 = (int) wxBORDER_NONE ;
13209 wxPyPopupTransientWindow *result = 0 ;
13210 void *argp1 = 0 ;
13211 int res1 = 0 ;
13212 int val2 ;
13213 int ecode2 = 0 ;
13214 PyObject * obj0 = 0 ;
13215 PyObject * obj1 = 0 ;
13216 char * kwnames[] = {
13217 (char *) "parent",(char *) "style", NULL
13218 };
13219
13220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13222 if (!SWIG_IsOK(res1)) {
13223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13224 }
13225 arg1 = reinterpret_cast< wxWindow * >(argp1);
13226 if (obj1) {
13227 ecode2 = SWIG_AsVal_int(obj1, &val2);
13228 if (!SWIG_IsOK(ecode2)) {
13229 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13230 }
13231 arg2 = static_cast< int >(val2);
13232 }
13233 {
13234 if (!wxPyCheckForApp()) SWIG_fail;
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13237 wxPyEndAllowThreads(__tstate);
13238 if (PyErr_Occurred()) SWIG_fail;
13239 }
13240 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13241 return resultobj;
13242 fail:
13243 return NULL;
13244 }
13245
13246
13247 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13248 PyObject *resultobj = 0;
13249 wxPyPopupTransientWindow *result = 0 ;
13250
13251 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13252 {
13253 if (!wxPyCheckForApp()) SWIG_fail;
13254 PyThreadState* __tstate = wxPyBeginAllowThreads();
13255 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13256 wxPyEndAllowThreads(__tstate);
13257 if (PyErr_Occurred()) SWIG_fail;
13258 }
13259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13260 return resultobj;
13261 fail:
13262 return NULL;
13263 }
13264
13265
13266 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13267 PyObject *resultobj = 0;
13268 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13269 PyObject *arg2 = (PyObject *) 0 ;
13270 PyObject *arg3 = (PyObject *) 0 ;
13271 void *argp1 = 0 ;
13272 int res1 = 0 ;
13273 PyObject * obj0 = 0 ;
13274 PyObject * obj1 = 0 ;
13275 PyObject * obj2 = 0 ;
13276 char * kwnames[] = {
13277 (char *) "self",(char *) "self",(char *) "_class", NULL
13278 };
13279
13280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13282 if (!SWIG_IsOK(res1)) {
13283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13284 }
13285 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13286 arg2 = obj1;
13287 arg3 = obj2;
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 (arg1)->_setCallbackInfo(arg2,arg3);
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 resultobj = SWIG_Py_Void();
13295 return resultobj;
13296 fail:
13297 return NULL;
13298 }
13299
13300
13301 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13302 PyObject *resultobj = 0;
13303 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13304 wxWindow *arg2 = (wxWindow *) NULL ;
13305 void *argp1 = 0 ;
13306 int res1 = 0 ;
13307 void *argp2 = 0 ;
13308 int res2 = 0 ;
13309 PyObject * obj0 = 0 ;
13310 PyObject * obj1 = 0 ;
13311 char * kwnames[] = {
13312 (char *) "self",(char *) "focus", NULL
13313 };
13314
13315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13317 if (!SWIG_IsOK(res1)) {
13318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13319 }
13320 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13321 if (obj1) {
13322 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13323 if (!SWIG_IsOK(res2)) {
13324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13325 }
13326 arg2 = reinterpret_cast< wxWindow * >(argp2);
13327 }
13328 {
13329 PyThreadState* __tstate = wxPyBeginAllowThreads();
13330 (arg1)->Popup(arg2);
13331 wxPyEndAllowThreads(__tstate);
13332 if (PyErr_Occurred()) SWIG_fail;
13333 }
13334 resultobj = SWIG_Py_Void();
13335 return resultobj;
13336 fail:
13337 return NULL;
13338 }
13339
13340
13341 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13342 PyObject *resultobj = 0;
13343 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13344 void *argp1 = 0 ;
13345 int res1 = 0 ;
13346 PyObject *swig_obj[1] ;
13347
13348 if (!args) SWIG_fail;
13349 swig_obj[0] = args;
13350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13351 if (!SWIG_IsOK(res1)) {
13352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13353 }
13354 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13355 {
13356 PyThreadState* __tstate = wxPyBeginAllowThreads();
13357 (arg1)->Dismiss();
13358 wxPyEndAllowThreads(__tstate);
13359 if (PyErr_Occurred()) SWIG_fail;
13360 }
13361 resultobj = SWIG_Py_Void();
13362 return resultobj;
13363 fail:
13364 return NULL;
13365 }
13366
13367
13368 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13369 PyObject *obj;
13370 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13371 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13372 return SWIG_Py_Void();
13373 }
13374
13375 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13376 return SWIG_Python_InitShadowInstance(args);
13377 }
13378
13379 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13380 PyObject *resultobj = 0;
13381 wxWindow *arg1 = (wxWindow *) 0 ;
13382 wxString *arg2 = 0 ;
13383 int arg3 = (int) 100 ;
13384 wxRect *arg4 = (wxRect *) NULL ;
13385 wxTipWindow *result = 0 ;
13386 void *argp1 = 0 ;
13387 int res1 = 0 ;
13388 bool temp2 = false ;
13389 int val3 ;
13390 int ecode3 = 0 ;
13391 void *argp4 = 0 ;
13392 int res4 = 0 ;
13393 PyObject * obj0 = 0 ;
13394 PyObject * obj1 = 0 ;
13395 PyObject * obj2 = 0 ;
13396 PyObject * obj3 = 0 ;
13397 char * kwnames[] = {
13398 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13399 };
13400
13401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13403 if (!SWIG_IsOK(res1)) {
13404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13405 }
13406 arg1 = reinterpret_cast< wxWindow * >(argp1);
13407 {
13408 arg2 = wxString_in_helper(obj1);
13409 if (arg2 == NULL) SWIG_fail;
13410 temp2 = true;
13411 }
13412 if (obj2) {
13413 ecode3 = SWIG_AsVal_int(obj2, &val3);
13414 if (!SWIG_IsOK(ecode3)) {
13415 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13416 }
13417 arg3 = static_cast< int >(val3);
13418 }
13419 if (obj3) {
13420 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13421 if (!SWIG_IsOK(res4)) {
13422 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13423 }
13424 arg4 = reinterpret_cast< wxRect * >(argp4);
13425 }
13426 {
13427 if (!wxPyCheckForApp()) SWIG_fail;
13428 PyThreadState* __tstate = wxPyBeginAllowThreads();
13429 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13434 {
13435 if (temp2)
13436 delete arg2;
13437 }
13438 return resultobj;
13439 fail:
13440 {
13441 if (temp2)
13442 delete arg2;
13443 }
13444 return NULL;
13445 }
13446
13447
13448 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13449 PyObject *resultobj = 0;
13450 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13451 wxRect *arg2 = 0 ;
13452 void *argp1 = 0 ;
13453 int res1 = 0 ;
13454 wxRect temp2 ;
13455 PyObject * obj0 = 0 ;
13456 PyObject * obj1 = 0 ;
13457 char * kwnames[] = {
13458 (char *) "self",(char *) "rectBound", NULL
13459 };
13460
13461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13463 if (!SWIG_IsOK(res1)) {
13464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13465 }
13466 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13467 {
13468 arg2 = &temp2;
13469 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13470 }
13471 {
13472 PyThreadState* __tstate = wxPyBeginAllowThreads();
13473 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13474 wxPyEndAllowThreads(__tstate);
13475 if (PyErr_Occurred()) SWIG_fail;
13476 }
13477 resultobj = SWIG_Py_Void();
13478 return resultobj;
13479 fail:
13480 return NULL;
13481 }
13482
13483
13484 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13485 PyObject *resultobj = 0;
13486 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13487 void *argp1 = 0 ;
13488 int res1 = 0 ;
13489 PyObject *swig_obj[1] ;
13490
13491 if (!args) SWIG_fail;
13492 swig_obj[0] = args;
13493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13494 if (!SWIG_IsOK(res1)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13496 }
13497 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13498 {
13499 PyThreadState* __tstate = wxPyBeginAllowThreads();
13500 (arg1)->Close();
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 resultobj = SWIG_Py_Void();
13505 return resultobj;
13506 fail:
13507 return NULL;
13508 }
13509
13510
13511 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13512 PyObject *obj;
13513 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13514 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13515 return SWIG_Py_Void();
13516 }
13517
13518 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13519 return SWIG_Python_InitShadowInstance(args);
13520 }
13521
13522 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13523 PyObject *resultobj = 0;
13524 wxWindow *arg1 = (wxWindow *) 0 ;
13525 int arg2 = (int) wxID_ANY ;
13526 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13527 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13528 wxSize const &arg4_defvalue = wxDefaultSize ;
13529 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13530 long arg5 = (long) 0 ;
13531 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13532 wxString *arg6 = (wxString *) &arg6_defvalue ;
13533 wxPyVScrolledWindow *result = 0 ;
13534 void *argp1 = 0 ;
13535 int res1 = 0 ;
13536 int val2 ;
13537 int ecode2 = 0 ;
13538 wxPoint temp3 ;
13539 wxSize temp4 ;
13540 long val5 ;
13541 int ecode5 = 0 ;
13542 bool temp6 = false ;
13543 PyObject * obj0 = 0 ;
13544 PyObject * obj1 = 0 ;
13545 PyObject * obj2 = 0 ;
13546 PyObject * obj3 = 0 ;
13547 PyObject * obj4 = 0 ;
13548 PyObject * obj5 = 0 ;
13549 char * kwnames[] = {
13550 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13551 };
13552
13553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13555 if (!SWIG_IsOK(res1)) {
13556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13557 }
13558 arg1 = reinterpret_cast< wxWindow * >(argp1);
13559 if (obj1) {
13560 ecode2 = SWIG_AsVal_int(obj1, &val2);
13561 if (!SWIG_IsOK(ecode2)) {
13562 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13563 }
13564 arg2 = static_cast< int >(val2);
13565 }
13566 if (obj2) {
13567 {
13568 arg3 = &temp3;
13569 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13570 }
13571 }
13572 if (obj3) {
13573 {
13574 arg4 = &temp4;
13575 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13576 }
13577 }
13578 if (obj4) {
13579 ecode5 = SWIG_AsVal_long(obj4, &val5);
13580 if (!SWIG_IsOK(ecode5)) {
13581 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13582 }
13583 arg5 = static_cast< long >(val5);
13584 }
13585 if (obj5) {
13586 {
13587 arg6 = wxString_in_helper(obj5);
13588 if (arg6 == NULL) SWIG_fail;
13589 temp6 = true;
13590 }
13591 }
13592 {
13593 if (!wxPyCheckForApp()) SWIG_fail;
13594 PyThreadState* __tstate = wxPyBeginAllowThreads();
13595 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13596 wxPyEndAllowThreads(__tstate);
13597 if (PyErr_Occurred()) SWIG_fail;
13598 }
13599 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13600 {
13601 if (temp6)
13602 delete arg6;
13603 }
13604 return resultobj;
13605 fail:
13606 {
13607 if (temp6)
13608 delete arg6;
13609 }
13610 return NULL;
13611 }
13612
13613
13614 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13615 PyObject *resultobj = 0;
13616 wxPyVScrolledWindow *result = 0 ;
13617
13618 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13619 {
13620 if (!wxPyCheckForApp()) SWIG_fail;
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13623 wxPyEndAllowThreads(__tstate);
13624 if (PyErr_Occurred()) SWIG_fail;
13625 }
13626 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13627 return resultobj;
13628 fail:
13629 return NULL;
13630 }
13631
13632
13633 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13634 PyObject *resultobj = 0;
13635 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13636 PyObject *arg2 = (PyObject *) 0 ;
13637 PyObject *arg3 = (PyObject *) 0 ;
13638 void *argp1 = 0 ;
13639 int res1 = 0 ;
13640 PyObject * obj0 = 0 ;
13641 PyObject * obj1 = 0 ;
13642 PyObject * obj2 = 0 ;
13643 char * kwnames[] = {
13644 (char *) "self",(char *) "self",(char *) "_class", NULL
13645 };
13646
13647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13649 if (!SWIG_IsOK(res1)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13651 }
13652 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13653 arg2 = obj1;
13654 arg3 = obj2;
13655 {
13656 PyThreadState* __tstate = wxPyBeginAllowThreads();
13657 (arg1)->_setCallbackInfo(arg2,arg3);
13658 wxPyEndAllowThreads(__tstate);
13659 if (PyErr_Occurred()) SWIG_fail;
13660 }
13661 resultobj = SWIG_Py_Void();
13662 return resultobj;
13663 fail:
13664 return NULL;
13665 }
13666
13667
13668 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13669 PyObject *resultobj = 0;
13670 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13671 wxWindow *arg2 = (wxWindow *) 0 ;
13672 int arg3 = (int) wxID_ANY ;
13673 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13674 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13675 wxSize const &arg5_defvalue = wxDefaultSize ;
13676 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13677 long arg6 = (long) 0 ;
13678 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13679 wxString *arg7 = (wxString *) &arg7_defvalue ;
13680 bool result;
13681 void *argp1 = 0 ;
13682 int res1 = 0 ;
13683 void *argp2 = 0 ;
13684 int res2 = 0 ;
13685 int val3 ;
13686 int ecode3 = 0 ;
13687 wxPoint temp4 ;
13688 wxSize temp5 ;
13689 long val6 ;
13690 int ecode6 = 0 ;
13691 bool temp7 = false ;
13692 PyObject * obj0 = 0 ;
13693 PyObject * obj1 = 0 ;
13694 PyObject * obj2 = 0 ;
13695 PyObject * obj3 = 0 ;
13696 PyObject * obj4 = 0 ;
13697 PyObject * obj5 = 0 ;
13698 PyObject * obj6 = 0 ;
13699 char * kwnames[] = {
13700 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13701 };
13702
13703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13705 if (!SWIG_IsOK(res1)) {
13706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13707 }
13708 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13709 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13710 if (!SWIG_IsOK(res2)) {
13711 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13712 }
13713 arg2 = reinterpret_cast< wxWindow * >(argp2);
13714 if (obj2) {
13715 ecode3 = SWIG_AsVal_int(obj2, &val3);
13716 if (!SWIG_IsOK(ecode3)) {
13717 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13718 }
13719 arg3 = static_cast< int >(val3);
13720 }
13721 if (obj3) {
13722 {
13723 arg4 = &temp4;
13724 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13725 }
13726 }
13727 if (obj4) {
13728 {
13729 arg5 = &temp5;
13730 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13731 }
13732 }
13733 if (obj5) {
13734 ecode6 = SWIG_AsVal_long(obj5, &val6);
13735 if (!SWIG_IsOK(ecode6)) {
13736 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13737 }
13738 arg6 = static_cast< long >(val6);
13739 }
13740 if (obj6) {
13741 {
13742 arg7 = wxString_in_helper(obj6);
13743 if (arg7 == NULL) SWIG_fail;
13744 temp7 = true;
13745 }
13746 }
13747 {
13748 PyThreadState* __tstate = wxPyBeginAllowThreads();
13749 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13750 wxPyEndAllowThreads(__tstate);
13751 if (PyErr_Occurred()) SWIG_fail;
13752 }
13753 {
13754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13755 }
13756 {
13757 if (temp7)
13758 delete arg7;
13759 }
13760 return resultobj;
13761 fail:
13762 {
13763 if (temp7)
13764 delete arg7;
13765 }
13766 return NULL;
13767 }
13768
13769
13770 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13771 PyObject *resultobj = 0;
13772 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13773 size_t arg2 ;
13774 void *argp1 = 0 ;
13775 int res1 = 0 ;
13776 size_t val2 ;
13777 int ecode2 = 0 ;
13778 PyObject * obj0 = 0 ;
13779 PyObject * obj1 = 0 ;
13780 char * kwnames[] = {
13781 (char *) "self",(char *) "count", NULL
13782 };
13783
13784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13786 if (!SWIG_IsOK(res1)) {
13787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13788 }
13789 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13790 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13791 if (!SWIG_IsOK(ecode2)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13793 }
13794 arg2 = static_cast< size_t >(val2);
13795 {
13796 PyThreadState* __tstate = wxPyBeginAllowThreads();
13797 (arg1)->SetLineCount(arg2);
13798 wxPyEndAllowThreads(__tstate);
13799 if (PyErr_Occurred()) SWIG_fail;
13800 }
13801 resultobj = SWIG_Py_Void();
13802 return resultobj;
13803 fail:
13804 return NULL;
13805 }
13806
13807
13808 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13809 PyObject *resultobj = 0;
13810 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13811 size_t arg2 ;
13812 bool result;
13813 void *argp1 = 0 ;
13814 int res1 = 0 ;
13815 size_t val2 ;
13816 int ecode2 = 0 ;
13817 PyObject * obj0 = 0 ;
13818 PyObject * obj1 = 0 ;
13819 char * kwnames[] = {
13820 (char *) "self",(char *) "line", NULL
13821 };
13822
13823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13825 if (!SWIG_IsOK(res1)) {
13826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13827 }
13828 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13829 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13830 if (!SWIG_IsOK(ecode2)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13832 }
13833 arg2 = static_cast< size_t >(val2);
13834 {
13835 PyThreadState* __tstate = wxPyBeginAllowThreads();
13836 result = (bool)(arg1)->ScrollToLine(arg2);
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 {
13841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13842 }
13843 return resultobj;
13844 fail:
13845 return NULL;
13846 }
13847
13848
13849 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13850 PyObject *resultobj = 0;
13851 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13852 size_t arg2 ;
13853 void *argp1 = 0 ;
13854 int res1 = 0 ;
13855 size_t val2 ;
13856 int ecode2 = 0 ;
13857 PyObject * obj0 = 0 ;
13858 PyObject * obj1 = 0 ;
13859 char * kwnames[] = {
13860 (char *) "self",(char *) "line", NULL
13861 };
13862
13863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13865 if (!SWIG_IsOK(res1)) {
13866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13867 }
13868 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13869 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13870 if (!SWIG_IsOK(ecode2)) {
13871 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13872 }
13873 arg2 = static_cast< size_t >(val2);
13874 {
13875 PyThreadState* __tstate = wxPyBeginAllowThreads();
13876 (arg1)->RefreshLine(arg2);
13877 wxPyEndAllowThreads(__tstate);
13878 if (PyErr_Occurred()) SWIG_fail;
13879 }
13880 resultobj = SWIG_Py_Void();
13881 return resultobj;
13882 fail:
13883 return NULL;
13884 }
13885
13886
13887 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13888 PyObject *resultobj = 0;
13889 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13890 size_t arg2 ;
13891 size_t arg3 ;
13892 void *argp1 = 0 ;
13893 int res1 = 0 ;
13894 size_t val2 ;
13895 int ecode2 = 0 ;
13896 size_t val3 ;
13897 int ecode3 = 0 ;
13898 PyObject * obj0 = 0 ;
13899 PyObject * obj1 = 0 ;
13900 PyObject * obj2 = 0 ;
13901 char * kwnames[] = {
13902 (char *) "self",(char *) "from",(char *) "to", NULL
13903 };
13904
13905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13907 if (!SWIG_IsOK(res1)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13909 }
13910 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13911 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13912 if (!SWIG_IsOK(ecode2)) {
13913 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13914 }
13915 arg2 = static_cast< size_t >(val2);
13916 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13917 if (!SWIG_IsOK(ecode3)) {
13918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13919 }
13920 arg3 = static_cast< size_t >(val3);
13921 {
13922 PyThreadState* __tstate = wxPyBeginAllowThreads();
13923 (arg1)->RefreshLines(arg2,arg3);
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 resultobj = SWIG_Py_Void();
13928 return resultobj;
13929 fail:
13930 return NULL;
13931 }
13932
13933
13934 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj = 0;
13936 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13937 int arg2 ;
13938 int arg3 ;
13939 int result;
13940 void *argp1 = 0 ;
13941 int res1 = 0 ;
13942 int val2 ;
13943 int ecode2 = 0 ;
13944 int val3 ;
13945 int ecode3 = 0 ;
13946 PyObject * obj0 = 0 ;
13947 PyObject * obj1 = 0 ;
13948 PyObject * obj2 = 0 ;
13949 char * kwnames[] = {
13950 (char *) "self",(char *) "x",(char *) "y", NULL
13951 };
13952
13953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13955 if (!SWIG_IsOK(res1)) {
13956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13957 }
13958 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13959 ecode2 = SWIG_AsVal_int(obj1, &val2);
13960 if (!SWIG_IsOK(ecode2)) {
13961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13962 }
13963 arg2 = static_cast< int >(val2);
13964 ecode3 = SWIG_AsVal_int(obj2, &val3);
13965 if (!SWIG_IsOK(ecode3)) {
13966 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13967 }
13968 arg3 = static_cast< int >(val3);
13969 {
13970 PyThreadState* __tstate = wxPyBeginAllowThreads();
13971 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 resultobj = SWIG_From_int(static_cast< int >(result));
13976 return resultobj;
13977 fail:
13978 return NULL;
13979 }
13980
13981
13982 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13983 PyObject *resultobj = 0;
13984 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13985 wxPoint *arg2 = 0 ;
13986 int result;
13987 void *argp1 = 0 ;
13988 int res1 = 0 ;
13989 wxPoint temp2 ;
13990 PyObject * obj0 = 0 ;
13991 PyObject * obj1 = 0 ;
13992 char * kwnames[] = {
13993 (char *) "self",(char *) "pt", NULL
13994 };
13995
13996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
13997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13998 if (!SWIG_IsOK(res1)) {
13999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14000 }
14001 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14002 {
14003 arg2 = &temp2;
14004 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14005 }
14006 {
14007 PyThreadState* __tstate = wxPyBeginAllowThreads();
14008 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 resultobj = SWIG_From_int(static_cast< int >(result));
14013 return resultobj;
14014 fail:
14015 return NULL;
14016 }
14017
14018
14019 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14020 PyObject *resultobj = 0;
14021 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14022 void *argp1 = 0 ;
14023 int res1 = 0 ;
14024 PyObject *swig_obj[1] ;
14025
14026 if (!args) SWIG_fail;
14027 swig_obj[0] = args;
14028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14029 if (!SWIG_IsOK(res1)) {
14030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14031 }
14032 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14033 {
14034 PyThreadState* __tstate = wxPyBeginAllowThreads();
14035 (arg1)->RefreshAll();
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 resultobj = SWIG_Py_Void();
14040 return resultobj;
14041 fail:
14042 return NULL;
14043 }
14044
14045
14046 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14047 PyObject *resultobj = 0;
14048 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14049 size_t result;
14050 void *argp1 = 0 ;
14051 int res1 = 0 ;
14052 PyObject *swig_obj[1] ;
14053
14054 if (!args) SWIG_fail;
14055 swig_obj[0] = args;
14056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14057 if (!SWIG_IsOK(res1)) {
14058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14059 }
14060 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14061 {
14062 PyThreadState* __tstate = wxPyBeginAllowThreads();
14063 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14064 wxPyEndAllowThreads(__tstate);
14065 if (PyErr_Occurred()) SWIG_fail;
14066 }
14067 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14068 return resultobj;
14069 fail:
14070 return NULL;
14071 }
14072
14073
14074 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14075 PyObject *resultobj = 0;
14076 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14077 size_t result;
14078 void *argp1 = 0 ;
14079 int res1 = 0 ;
14080 PyObject *swig_obj[1] ;
14081
14082 if (!args) SWIG_fail;
14083 swig_obj[0] = args;
14084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14085 if (!SWIG_IsOK(res1)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14087 }
14088 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14089 {
14090 PyThreadState* __tstate = wxPyBeginAllowThreads();
14091 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14096 return resultobj;
14097 fail:
14098 return NULL;
14099 }
14100
14101
14102 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14103 PyObject *resultobj = 0;
14104 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14105 size_t result;
14106 void *argp1 = 0 ;
14107 int res1 = 0 ;
14108 PyObject *swig_obj[1] ;
14109
14110 if (!args) SWIG_fail;
14111 swig_obj[0] = args;
14112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14113 if (!SWIG_IsOK(res1)) {
14114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14115 }
14116 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14117 {
14118 PyThreadState* __tstate = wxPyBeginAllowThreads();
14119 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14120 wxPyEndAllowThreads(__tstate);
14121 if (PyErr_Occurred()) SWIG_fail;
14122 }
14123 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14124 return resultobj;
14125 fail:
14126 return NULL;
14127 }
14128
14129
14130 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14131 PyObject *resultobj = 0;
14132 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14133 size_t arg2 ;
14134 bool result;
14135 void *argp1 = 0 ;
14136 int res1 = 0 ;
14137 size_t val2 ;
14138 int ecode2 = 0 ;
14139 PyObject * obj0 = 0 ;
14140 PyObject * obj1 = 0 ;
14141 char * kwnames[] = {
14142 (char *) "self",(char *) "line", NULL
14143 };
14144
14145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14147 if (!SWIG_IsOK(res1)) {
14148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14149 }
14150 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14151 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14152 if (!SWIG_IsOK(ecode2)) {
14153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14154 }
14155 arg2 = static_cast< size_t >(val2);
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14159 wxPyEndAllowThreads(__tstate);
14160 if (PyErr_Occurred()) SWIG_fail;
14161 }
14162 {
14163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14164 }
14165 return resultobj;
14166 fail:
14167 return NULL;
14168 }
14169
14170
14171 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14172 PyObject *resultobj = 0;
14173 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14174 size_t result;
14175 void *argp1 = 0 ;
14176 int res1 = 0 ;
14177 PyObject *swig_obj[1] ;
14178
14179 if (!args) SWIG_fail;
14180 swig_obj[0] = args;
14181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14182 if (!SWIG_IsOK(res1)) {
14183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14184 }
14185 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14193 return resultobj;
14194 fail:
14195 return NULL;
14196 }
14197
14198
14199 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14200 PyObject *resultobj = 0;
14201 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14202 size_t result;
14203 void *argp1 = 0 ;
14204 int res1 = 0 ;
14205 PyObject *swig_obj[1] ;
14206
14207 if (!args) SWIG_fail;
14208 swig_obj[0] = args;
14209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14210 if (!SWIG_IsOK(res1)) {
14211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14212 }
14213 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14217 wxPyEndAllowThreads(__tstate);
14218 if (PyErr_Occurred()) SWIG_fail;
14219 }
14220 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14221 return resultobj;
14222 fail:
14223 return NULL;
14224 }
14225
14226
14227 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14228 PyObject *resultobj = 0;
14229 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14230 size_t arg2 ;
14231 bool arg3 = (bool) false ;
14232 size_t result;
14233 void *argp1 = 0 ;
14234 int res1 = 0 ;
14235 size_t val2 ;
14236 int ecode2 = 0 ;
14237 bool val3 ;
14238 int ecode3 = 0 ;
14239 PyObject * obj0 = 0 ;
14240 PyObject * obj1 = 0 ;
14241 PyObject * obj2 = 0 ;
14242 char * kwnames[] = {
14243 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14244 };
14245
14246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14248 if (!SWIG_IsOK(res1)) {
14249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14250 }
14251 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14252 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14253 if (!SWIG_IsOK(ecode2)) {
14254 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14255 }
14256 arg2 = static_cast< size_t >(val2);
14257 if (obj2) {
14258 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14259 if (!SWIG_IsOK(ecode3)) {
14260 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14261 }
14262 arg3 = static_cast< bool >(val3);
14263 }
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14267 wxPyEndAllowThreads(__tstate);
14268 if (PyErr_Occurred()) SWIG_fail;
14269 }
14270 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14271 return resultobj;
14272 fail:
14273 return NULL;
14274 }
14275
14276
14277 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14278 PyObject *resultobj = 0;
14279 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14280 size_t arg2 ;
14281 size_t arg3 ;
14282 int result;
14283 void *argp1 = 0 ;
14284 int res1 = 0 ;
14285 size_t val2 ;
14286 int ecode2 = 0 ;
14287 size_t val3 ;
14288 int ecode3 = 0 ;
14289 PyObject * obj0 = 0 ;
14290 PyObject * obj1 = 0 ;
14291 PyObject * obj2 = 0 ;
14292 char * kwnames[] = {
14293 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14294 };
14295
14296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14298 if (!SWIG_IsOK(res1)) {
14299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14300 }
14301 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14302 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14303 if (!SWIG_IsOK(ecode2)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14305 }
14306 arg2 = static_cast< size_t >(val2);
14307 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14308 if (!SWIG_IsOK(ecode3)) {
14309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14310 }
14311 arg3 = static_cast< size_t >(val3);
14312 {
14313 PyThreadState* __tstate = wxPyBeginAllowThreads();
14314 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14315 wxPyEndAllowThreads(__tstate);
14316 if (PyErr_Occurred()) SWIG_fail;
14317 }
14318 resultobj = SWIG_From_int(static_cast< int >(result));
14319 return resultobj;
14320 fail:
14321 return NULL;
14322 }
14323
14324
14325 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14326 PyObject *obj;
14327 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14328 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14329 return SWIG_Py_Void();
14330 }
14331
14332 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14333 return SWIG_Python_InitShadowInstance(args);
14334 }
14335
14336 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14337 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14338 return 1;
14339 }
14340
14341
14342 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14343 PyObject *pyobj = 0;
14344
14345 {
14346 #if wxUSE_UNICODE
14347 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14348 #else
14349 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14350 #endif
14351 }
14352 return pyobj;
14353 }
14354
14355
14356 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14357 PyObject *resultobj = 0;
14358 wxWindow *arg1 = (wxWindow *) 0 ;
14359 int arg2 = (int) wxID_ANY ;
14360 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14361 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14362 wxSize const &arg4_defvalue = wxDefaultSize ;
14363 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14364 long arg5 = (long) 0 ;
14365 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14366 wxString *arg6 = (wxString *) &arg6_defvalue ;
14367 wxPyVListBox *result = 0 ;
14368 void *argp1 = 0 ;
14369 int res1 = 0 ;
14370 int val2 ;
14371 int ecode2 = 0 ;
14372 wxPoint temp3 ;
14373 wxSize temp4 ;
14374 long val5 ;
14375 int ecode5 = 0 ;
14376 bool temp6 = false ;
14377 PyObject * obj0 = 0 ;
14378 PyObject * obj1 = 0 ;
14379 PyObject * obj2 = 0 ;
14380 PyObject * obj3 = 0 ;
14381 PyObject * obj4 = 0 ;
14382 PyObject * obj5 = 0 ;
14383 char * kwnames[] = {
14384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14385 };
14386
14387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14389 if (!SWIG_IsOK(res1)) {
14390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14391 }
14392 arg1 = reinterpret_cast< wxWindow * >(argp1);
14393 if (obj1) {
14394 ecode2 = SWIG_AsVal_int(obj1, &val2);
14395 if (!SWIG_IsOK(ecode2)) {
14396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14397 }
14398 arg2 = static_cast< int >(val2);
14399 }
14400 if (obj2) {
14401 {
14402 arg3 = &temp3;
14403 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14404 }
14405 }
14406 if (obj3) {
14407 {
14408 arg4 = &temp4;
14409 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14410 }
14411 }
14412 if (obj4) {
14413 ecode5 = SWIG_AsVal_long(obj4, &val5);
14414 if (!SWIG_IsOK(ecode5)) {
14415 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14416 }
14417 arg5 = static_cast< long >(val5);
14418 }
14419 if (obj5) {
14420 {
14421 arg6 = wxString_in_helper(obj5);
14422 if (arg6 == NULL) SWIG_fail;
14423 temp6 = true;
14424 }
14425 }
14426 {
14427 if (!wxPyCheckForApp()) SWIG_fail;
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14434 {
14435 if (temp6)
14436 delete arg6;
14437 }
14438 return resultobj;
14439 fail:
14440 {
14441 if (temp6)
14442 delete arg6;
14443 }
14444 return NULL;
14445 }
14446
14447
14448 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14449 PyObject *resultobj = 0;
14450 wxPyVListBox *result = 0 ;
14451
14452 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14453 {
14454 if (!wxPyCheckForApp()) SWIG_fail;
14455 PyThreadState* __tstate = wxPyBeginAllowThreads();
14456 result = (wxPyVListBox *)new wxPyVListBox();
14457 wxPyEndAllowThreads(__tstate);
14458 if (PyErr_Occurred()) SWIG_fail;
14459 }
14460 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14461 return resultobj;
14462 fail:
14463 return NULL;
14464 }
14465
14466
14467 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14468 PyObject *resultobj = 0;
14469 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14470 PyObject *arg2 = (PyObject *) 0 ;
14471 PyObject *arg3 = (PyObject *) 0 ;
14472 void *argp1 = 0 ;
14473 int res1 = 0 ;
14474 PyObject * obj0 = 0 ;
14475 PyObject * obj1 = 0 ;
14476 PyObject * obj2 = 0 ;
14477 char * kwnames[] = {
14478 (char *) "self",(char *) "self",(char *) "_class", NULL
14479 };
14480
14481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14483 if (!SWIG_IsOK(res1)) {
14484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14485 }
14486 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14487 arg2 = obj1;
14488 arg3 = obj2;
14489 {
14490 PyThreadState* __tstate = wxPyBeginAllowThreads();
14491 (arg1)->_setCallbackInfo(arg2,arg3);
14492 wxPyEndAllowThreads(__tstate);
14493 if (PyErr_Occurred()) SWIG_fail;
14494 }
14495 resultobj = SWIG_Py_Void();
14496 return resultobj;
14497 fail:
14498 return NULL;
14499 }
14500
14501
14502 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14503 PyObject *resultobj = 0;
14504 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14505 wxWindow *arg2 = (wxWindow *) 0 ;
14506 int arg3 = (int) wxID_ANY ;
14507 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14508 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14509 wxSize const &arg5_defvalue = wxDefaultSize ;
14510 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14511 long arg6 = (long) 0 ;
14512 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14513 wxString *arg7 = (wxString *) &arg7_defvalue ;
14514 bool result;
14515 void *argp1 = 0 ;
14516 int res1 = 0 ;
14517 void *argp2 = 0 ;
14518 int res2 = 0 ;
14519 int val3 ;
14520 int ecode3 = 0 ;
14521 wxPoint temp4 ;
14522 wxSize temp5 ;
14523 long val6 ;
14524 int ecode6 = 0 ;
14525 bool temp7 = false ;
14526 PyObject * obj0 = 0 ;
14527 PyObject * obj1 = 0 ;
14528 PyObject * obj2 = 0 ;
14529 PyObject * obj3 = 0 ;
14530 PyObject * obj4 = 0 ;
14531 PyObject * obj5 = 0 ;
14532 PyObject * obj6 = 0 ;
14533 char * kwnames[] = {
14534 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14535 };
14536
14537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14539 if (!SWIG_IsOK(res1)) {
14540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14541 }
14542 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14543 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14544 if (!SWIG_IsOK(res2)) {
14545 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14546 }
14547 arg2 = reinterpret_cast< wxWindow * >(argp2);
14548 if (obj2) {
14549 ecode3 = SWIG_AsVal_int(obj2, &val3);
14550 if (!SWIG_IsOK(ecode3)) {
14551 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14552 }
14553 arg3 = static_cast< int >(val3);
14554 }
14555 if (obj3) {
14556 {
14557 arg4 = &temp4;
14558 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14559 }
14560 }
14561 if (obj4) {
14562 {
14563 arg5 = &temp5;
14564 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14565 }
14566 }
14567 if (obj5) {
14568 ecode6 = SWIG_AsVal_long(obj5, &val6);
14569 if (!SWIG_IsOK(ecode6)) {
14570 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14571 }
14572 arg6 = static_cast< long >(val6);
14573 }
14574 if (obj6) {
14575 {
14576 arg7 = wxString_in_helper(obj6);
14577 if (arg7 == NULL) SWIG_fail;
14578 temp7 = true;
14579 }
14580 }
14581 {
14582 PyThreadState* __tstate = wxPyBeginAllowThreads();
14583 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14584 wxPyEndAllowThreads(__tstate);
14585 if (PyErr_Occurred()) SWIG_fail;
14586 }
14587 {
14588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14589 }
14590 {
14591 if (temp7)
14592 delete arg7;
14593 }
14594 return resultobj;
14595 fail:
14596 {
14597 if (temp7)
14598 delete arg7;
14599 }
14600 return NULL;
14601 }
14602
14603
14604 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14605 PyObject *resultobj = 0;
14606 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14607 size_t result;
14608 void *argp1 = 0 ;
14609 int res1 = 0 ;
14610 PyObject *swig_obj[1] ;
14611
14612 if (!args) SWIG_fail;
14613 swig_obj[0] = args;
14614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14615 if (!SWIG_IsOK(res1)) {
14616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14617 }
14618 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14619 {
14620 PyThreadState* __tstate = wxPyBeginAllowThreads();
14621 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14622 wxPyEndAllowThreads(__tstate);
14623 if (PyErr_Occurred()) SWIG_fail;
14624 }
14625 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14626 return resultobj;
14627 fail:
14628 return NULL;
14629 }
14630
14631
14632 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14633 PyObject *resultobj = 0;
14634 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14635 bool result;
14636 void *argp1 = 0 ;
14637 int res1 = 0 ;
14638 PyObject *swig_obj[1] ;
14639
14640 if (!args) SWIG_fail;
14641 swig_obj[0] = args;
14642 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14643 if (!SWIG_IsOK(res1)) {
14644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14645 }
14646 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14647 {
14648 PyThreadState* __tstate = wxPyBeginAllowThreads();
14649 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14650 wxPyEndAllowThreads(__tstate);
14651 if (PyErr_Occurred()) SWIG_fail;
14652 }
14653 {
14654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14655 }
14656 return resultobj;
14657 fail:
14658 return NULL;
14659 }
14660
14661
14662 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14663 PyObject *resultobj = 0;
14664 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14665 int result;
14666 void *argp1 = 0 ;
14667 int res1 = 0 ;
14668 PyObject *swig_obj[1] ;
14669
14670 if (!args) SWIG_fail;
14671 swig_obj[0] = args;
14672 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14673 if (!SWIG_IsOK(res1)) {
14674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14675 }
14676 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14677 {
14678 PyThreadState* __tstate = wxPyBeginAllowThreads();
14679 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 resultobj = SWIG_From_int(static_cast< int >(result));
14684 return resultobj;
14685 fail:
14686 return NULL;
14687 }
14688
14689
14690 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14691 PyObject *resultobj = 0;
14692 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14693 size_t arg2 ;
14694 bool result;
14695 void *argp1 = 0 ;
14696 int res1 = 0 ;
14697 size_t val2 ;
14698 int ecode2 = 0 ;
14699 PyObject * obj0 = 0 ;
14700 PyObject * obj1 = 0 ;
14701 char * kwnames[] = {
14702 (char *) "self",(char *) "item", NULL
14703 };
14704
14705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14707 if (!SWIG_IsOK(res1)) {
14708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14709 }
14710 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14711 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14712 if (!SWIG_IsOK(ecode2)) {
14713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14714 }
14715 arg2 = static_cast< size_t >(val2);
14716 {
14717 PyThreadState* __tstate = wxPyBeginAllowThreads();
14718 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 {
14723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14724 }
14725 return resultobj;
14726 fail:
14727 return NULL;
14728 }
14729
14730
14731 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14732 PyObject *resultobj = 0;
14733 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14734 size_t arg2 ;
14735 bool result;
14736 void *argp1 = 0 ;
14737 int res1 = 0 ;
14738 size_t val2 ;
14739 int ecode2 = 0 ;
14740 PyObject * obj0 = 0 ;
14741 PyObject * obj1 = 0 ;
14742 char * kwnames[] = {
14743 (char *) "self",(char *) "item", NULL
14744 };
14745
14746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14748 if (!SWIG_IsOK(res1)) {
14749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14750 }
14751 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14752 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14753 if (!SWIG_IsOK(ecode2)) {
14754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14755 }
14756 arg2 = static_cast< size_t >(val2);
14757 {
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14760 wxPyEndAllowThreads(__tstate);
14761 if (PyErr_Occurred()) SWIG_fail;
14762 }
14763 {
14764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14765 }
14766 return resultobj;
14767 fail:
14768 return NULL;
14769 }
14770
14771
14772 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14773 PyObject *resultobj = 0;
14774 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14775 size_t result;
14776 void *argp1 = 0 ;
14777 int res1 = 0 ;
14778 PyObject *swig_obj[1] ;
14779
14780 if (!args) SWIG_fail;
14781 swig_obj[0] = args;
14782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14783 if (!SWIG_IsOK(res1)) {
14784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14785 }
14786 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14787 {
14788 PyThreadState* __tstate = wxPyBeginAllowThreads();
14789 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14790 wxPyEndAllowThreads(__tstate);
14791 if (PyErr_Occurred()) SWIG_fail;
14792 }
14793 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14794 return resultobj;
14795 fail:
14796 return NULL;
14797 }
14798
14799
14800 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14801 PyObject *resultobj = 0;
14802 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14803 PyObject *result = 0 ;
14804 void *argp1 = 0 ;
14805 int res1 = 0 ;
14806 PyObject *swig_obj[1] ;
14807
14808 if (!args) SWIG_fail;
14809 swig_obj[0] = args;
14810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14811 if (!SWIG_IsOK(res1)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14813 }
14814 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14815 {
14816 PyThreadState* __tstate = wxPyBeginAllowThreads();
14817 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14818 wxPyEndAllowThreads(__tstate);
14819 if (PyErr_Occurred()) SWIG_fail;
14820 }
14821 resultobj = result;
14822 return resultobj;
14823 fail:
14824 return NULL;
14825 }
14826
14827
14828 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14829 PyObject *resultobj = 0;
14830 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14831 unsigned long arg2 ;
14832 PyObject *result = 0 ;
14833 void *argp1 = 0 ;
14834 int res1 = 0 ;
14835 unsigned long val2 ;
14836 int ecode2 = 0 ;
14837 PyObject * obj0 = 0 ;
14838 PyObject * obj1 = 0 ;
14839 char * kwnames[] = {
14840 (char *) "self",(char *) "cookie", NULL
14841 };
14842
14843 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14844 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14845 if (!SWIG_IsOK(res1)) {
14846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14847 }
14848 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14849 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14850 if (!SWIG_IsOK(ecode2)) {
14851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14852 }
14853 arg2 = static_cast< unsigned long >(val2);
14854 {
14855 PyThreadState* __tstate = wxPyBeginAllowThreads();
14856 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14857 wxPyEndAllowThreads(__tstate);
14858 if (PyErr_Occurred()) SWIG_fail;
14859 }
14860 resultobj = result;
14861 return resultobj;
14862 fail:
14863 return NULL;
14864 }
14865
14866
14867 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14868 PyObject *resultobj = 0;
14869 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14870 wxPoint result;
14871 void *argp1 = 0 ;
14872 int res1 = 0 ;
14873 PyObject *swig_obj[1] ;
14874
14875 if (!args) SWIG_fail;
14876 swig_obj[0] = args;
14877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14878 if (!SWIG_IsOK(res1)) {
14879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14880 }
14881 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14882 {
14883 PyThreadState* __tstate = wxPyBeginAllowThreads();
14884 result = ((wxPyVListBox const *)arg1)->GetMargins();
14885 wxPyEndAllowThreads(__tstate);
14886 if (PyErr_Occurred()) SWIG_fail;
14887 }
14888 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14889 return resultobj;
14890 fail:
14891 return NULL;
14892 }
14893
14894
14895 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14896 PyObject *resultobj = 0;
14897 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14898 wxColour *result = 0 ;
14899 void *argp1 = 0 ;
14900 int res1 = 0 ;
14901 PyObject *swig_obj[1] ;
14902
14903 if (!args) SWIG_fail;
14904 swig_obj[0] = args;
14905 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14906 if (!SWIG_IsOK(res1)) {
14907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14908 }
14909 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14910 {
14911 PyThreadState* __tstate = wxPyBeginAllowThreads();
14912 {
14913 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14914 result = (wxColour *) &_result_ref;
14915 }
14916 wxPyEndAllowThreads(__tstate);
14917 if (PyErr_Occurred()) SWIG_fail;
14918 }
14919 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
14920 return resultobj;
14921 fail:
14922 return NULL;
14923 }
14924
14925
14926 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14927 PyObject *resultobj = 0;
14928 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14929 size_t arg2 ;
14930 void *argp1 = 0 ;
14931 int res1 = 0 ;
14932 size_t val2 ;
14933 int ecode2 = 0 ;
14934 PyObject * obj0 = 0 ;
14935 PyObject * obj1 = 0 ;
14936 char * kwnames[] = {
14937 (char *) "self",(char *) "count", NULL
14938 };
14939
14940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
14941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14942 if (!SWIG_IsOK(res1)) {
14943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14944 }
14945 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14946 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14947 if (!SWIG_IsOK(ecode2)) {
14948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14949 }
14950 arg2 = static_cast< size_t >(val2);
14951 {
14952 PyThreadState* __tstate = wxPyBeginAllowThreads();
14953 (arg1)->SetItemCount(arg2);
14954 wxPyEndAllowThreads(__tstate);
14955 if (PyErr_Occurred()) SWIG_fail;
14956 }
14957 resultobj = SWIG_Py_Void();
14958 return resultobj;
14959 fail:
14960 return NULL;
14961 }
14962
14963
14964 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14965 PyObject *resultobj = 0;
14966 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14967 void *argp1 = 0 ;
14968 int res1 = 0 ;
14969 PyObject *swig_obj[1] ;
14970
14971 if (!args) SWIG_fail;
14972 swig_obj[0] = args;
14973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14974 if (!SWIG_IsOK(res1)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14976 }
14977 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14978 {
14979 PyThreadState* __tstate = wxPyBeginAllowThreads();
14980 (arg1)->Clear();
14981 wxPyEndAllowThreads(__tstate);
14982 if (PyErr_Occurred()) SWIG_fail;
14983 }
14984 resultobj = SWIG_Py_Void();
14985 return resultobj;
14986 fail:
14987 return NULL;
14988 }
14989
14990
14991 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj = 0;
14993 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14994 int arg2 ;
14995 void *argp1 = 0 ;
14996 int res1 = 0 ;
14997 int val2 ;
14998 int ecode2 = 0 ;
14999 PyObject * obj0 = 0 ;
15000 PyObject * obj1 = 0 ;
15001 char * kwnames[] = {
15002 (char *) "self",(char *) "selection", NULL
15003 };
15004
15005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15007 if (!SWIG_IsOK(res1)) {
15008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15009 }
15010 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15011 ecode2 = SWIG_AsVal_int(obj1, &val2);
15012 if (!SWIG_IsOK(ecode2)) {
15013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15014 }
15015 arg2 = static_cast< int >(val2);
15016 {
15017 PyThreadState* __tstate = wxPyBeginAllowThreads();
15018 (arg1)->SetSelection(arg2);
15019 wxPyEndAllowThreads(__tstate);
15020 if (PyErr_Occurred()) SWIG_fail;
15021 }
15022 resultobj = SWIG_Py_Void();
15023 return resultobj;
15024 fail:
15025 return NULL;
15026 }
15027
15028
15029 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15030 PyObject *resultobj = 0;
15031 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15032 size_t arg2 ;
15033 bool arg3 = (bool) true ;
15034 bool result;
15035 void *argp1 = 0 ;
15036 int res1 = 0 ;
15037 size_t val2 ;
15038 int ecode2 = 0 ;
15039 bool val3 ;
15040 int ecode3 = 0 ;
15041 PyObject * obj0 = 0 ;
15042 PyObject * obj1 = 0 ;
15043 PyObject * obj2 = 0 ;
15044 char * kwnames[] = {
15045 (char *) "self",(char *) "item",(char *) "select", NULL
15046 };
15047
15048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15050 if (!SWIG_IsOK(res1)) {
15051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15052 }
15053 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15054 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15055 if (!SWIG_IsOK(ecode2)) {
15056 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15057 }
15058 arg2 = static_cast< size_t >(val2);
15059 if (obj2) {
15060 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15061 if (!SWIG_IsOK(ecode3)) {
15062 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15063 }
15064 arg3 = static_cast< bool >(val3);
15065 }
15066 {
15067 PyThreadState* __tstate = wxPyBeginAllowThreads();
15068 result = (bool)(arg1)->Select(arg2,arg3);
15069 wxPyEndAllowThreads(__tstate);
15070 if (PyErr_Occurred()) SWIG_fail;
15071 }
15072 {
15073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15074 }
15075 return resultobj;
15076 fail:
15077 return NULL;
15078 }
15079
15080
15081 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15082 PyObject *resultobj = 0;
15083 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15084 size_t arg2 ;
15085 size_t arg3 ;
15086 bool result;
15087 void *argp1 = 0 ;
15088 int res1 = 0 ;
15089 size_t val2 ;
15090 int ecode2 = 0 ;
15091 size_t val3 ;
15092 int ecode3 = 0 ;
15093 PyObject * obj0 = 0 ;
15094 PyObject * obj1 = 0 ;
15095 PyObject * obj2 = 0 ;
15096 char * kwnames[] = {
15097 (char *) "self",(char *) "from",(char *) "to", NULL
15098 };
15099
15100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15101 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15102 if (!SWIG_IsOK(res1)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15104 }
15105 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15106 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15107 if (!SWIG_IsOK(ecode2)) {
15108 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15109 }
15110 arg2 = static_cast< size_t >(val2);
15111 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15112 if (!SWIG_IsOK(ecode3)) {
15113 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15114 }
15115 arg3 = static_cast< size_t >(val3);
15116 {
15117 PyThreadState* __tstate = wxPyBeginAllowThreads();
15118 result = (bool)(arg1)->SelectRange(arg2,arg3);
15119 wxPyEndAllowThreads(__tstate);
15120 if (PyErr_Occurred()) SWIG_fail;
15121 }
15122 {
15123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15124 }
15125 return resultobj;
15126 fail:
15127 return NULL;
15128 }
15129
15130
15131 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15132 PyObject *resultobj = 0;
15133 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15134 size_t arg2 ;
15135 void *argp1 = 0 ;
15136 int res1 = 0 ;
15137 size_t val2 ;
15138 int ecode2 = 0 ;
15139 PyObject * obj0 = 0 ;
15140 PyObject * obj1 = 0 ;
15141 char * kwnames[] = {
15142 (char *) "self",(char *) "item", NULL
15143 };
15144
15145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15147 if (!SWIG_IsOK(res1)) {
15148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15149 }
15150 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15151 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15152 if (!SWIG_IsOK(ecode2)) {
15153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15154 }
15155 arg2 = static_cast< size_t >(val2);
15156 {
15157 PyThreadState* __tstate = wxPyBeginAllowThreads();
15158 (arg1)->Toggle(arg2);
15159 wxPyEndAllowThreads(__tstate);
15160 if (PyErr_Occurred()) SWIG_fail;
15161 }
15162 resultobj = SWIG_Py_Void();
15163 return resultobj;
15164 fail:
15165 return NULL;
15166 }
15167
15168
15169 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15170 PyObject *resultobj = 0;
15171 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15172 bool result;
15173 void *argp1 = 0 ;
15174 int res1 = 0 ;
15175 PyObject *swig_obj[1] ;
15176
15177 if (!args) SWIG_fail;
15178 swig_obj[0] = args;
15179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15180 if (!SWIG_IsOK(res1)) {
15181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15182 }
15183 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15184 {
15185 PyThreadState* __tstate = wxPyBeginAllowThreads();
15186 result = (bool)(arg1)->SelectAll();
15187 wxPyEndAllowThreads(__tstate);
15188 if (PyErr_Occurred()) SWIG_fail;
15189 }
15190 {
15191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15192 }
15193 return resultobj;
15194 fail:
15195 return NULL;
15196 }
15197
15198
15199 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15200 PyObject *resultobj = 0;
15201 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15202 bool result;
15203 void *argp1 = 0 ;
15204 int res1 = 0 ;
15205 PyObject *swig_obj[1] ;
15206
15207 if (!args) SWIG_fail;
15208 swig_obj[0] = args;
15209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15210 if (!SWIG_IsOK(res1)) {
15211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15212 }
15213 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 result = (bool)(arg1)->DeselectAll();
15217 wxPyEndAllowThreads(__tstate);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15220 {
15221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15222 }
15223 return resultobj;
15224 fail:
15225 return NULL;
15226 }
15227
15228
15229 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15230 PyObject *resultobj = 0;
15231 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15232 wxPoint *arg2 = 0 ;
15233 void *argp1 = 0 ;
15234 int res1 = 0 ;
15235 wxPoint temp2 ;
15236 PyObject * obj0 = 0 ;
15237 PyObject * obj1 = 0 ;
15238 char * kwnames[] = {
15239 (char *) "self",(char *) "pt", NULL
15240 };
15241
15242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15244 if (!SWIG_IsOK(res1)) {
15245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15246 }
15247 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15248 {
15249 arg2 = &temp2;
15250 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15251 }
15252 {
15253 PyThreadState* __tstate = wxPyBeginAllowThreads();
15254 (arg1)->SetMargins((wxPoint const &)*arg2);
15255 wxPyEndAllowThreads(__tstate);
15256 if (PyErr_Occurred()) SWIG_fail;
15257 }
15258 resultobj = SWIG_Py_Void();
15259 return resultobj;
15260 fail:
15261 return NULL;
15262 }
15263
15264
15265 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15266 PyObject *resultobj = 0;
15267 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15268 int arg2 ;
15269 int arg3 ;
15270 void *argp1 = 0 ;
15271 int res1 = 0 ;
15272 int val2 ;
15273 int ecode2 = 0 ;
15274 int val3 ;
15275 int ecode3 = 0 ;
15276 PyObject * obj0 = 0 ;
15277 PyObject * obj1 = 0 ;
15278 PyObject * obj2 = 0 ;
15279 char * kwnames[] = {
15280 (char *) "self",(char *) "x",(char *) "y", NULL
15281 };
15282
15283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15285 if (!SWIG_IsOK(res1)) {
15286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15287 }
15288 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15289 ecode2 = SWIG_AsVal_int(obj1, &val2);
15290 if (!SWIG_IsOK(ecode2)) {
15291 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15292 }
15293 arg2 = static_cast< int >(val2);
15294 ecode3 = SWIG_AsVal_int(obj2, &val3);
15295 if (!SWIG_IsOK(ecode3)) {
15296 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15297 }
15298 arg3 = static_cast< int >(val3);
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 (arg1)->SetMargins(arg2,arg3);
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 resultobj = SWIG_Py_Void();
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj = 0;
15314 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15315 wxColour *arg2 = 0 ;
15316 void *argp1 = 0 ;
15317 int res1 = 0 ;
15318 wxColour temp2 ;
15319 PyObject * obj0 = 0 ;
15320 PyObject * obj1 = 0 ;
15321 char * kwnames[] = {
15322 (char *) "self",(char *) "col", NULL
15323 };
15324
15325 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15326 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15327 if (!SWIG_IsOK(res1)) {
15328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15329 }
15330 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15331 {
15332 arg2 = &temp2;
15333 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15334 }
15335 {
15336 PyThreadState* __tstate = wxPyBeginAllowThreads();
15337 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
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_RefreshSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15349 PyObject *resultobj = 0;
15350 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15351 void *argp1 = 0 ;
15352 int res1 = 0 ;
15353 PyObject *swig_obj[1] ;
15354
15355 if (!args) SWIG_fail;
15356 swig_obj[0] = args;
15357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15358 if (!SWIG_IsOK(res1)) {
15359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15360 }
15361 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15362 {
15363 PyThreadState* __tstate = wxPyBeginAllowThreads();
15364 (arg1)->RefreshSelected();
15365 wxPyEndAllowThreads(__tstate);
15366 if (PyErr_Occurred()) SWIG_fail;
15367 }
15368 resultobj = SWIG_Py_Void();
15369 return resultobj;
15370 fail:
15371 return NULL;
15372 }
15373
15374
15375 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15376 PyObject *resultobj = 0;
15377 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15378 wxDC *arg2 = 0 ;
15379 wxRect *arg3 = 0 ;
15380 size_t arg4 ;
15381 void *argp1 = 0 ;
15382 int res1 = 0 ;
15383 void *argp2 = 0 ;
15384 int res2 = 0 ;
15385 wxRect temp3 ;
15386 size_t val4 ;
15387 int ecode4 = 0 ;
15388 PyObject * obj0 = 0 ;
15389 PyObject * obj1 = 0 ;
15390 PyObject * obj2 = 0 ;
15391 PyObject * obj3 = 0 ;
15392 char * kwnames[] = {
15393 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15394 };
15395
15396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15398 if (!SWIG_IsOK(res1)) {
15399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15400 }
15401 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15402 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15403 if (!SWIG_IsOK(res2)) {
15404 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15405 }
15406 if (!argp2) {
15407 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15408 }
15409 arg2 = reinterpret_cast< wxDC * >(argp2);
15410 {
15411 arg3 = &temp3;
15412 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15413 }
15414 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15415 if (!SWIG_IsOK(ecode4)) {
15416 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15417 }
15418 arg4 = static_cast< size_t >(val4);
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15422 wxPyEndAllowThreads(__tstate);
15423 if (PyErr_Occurred()) SWIG_fail;
15424 }
15425 resultobj = SWIG_Py_Void();
15426 return resultobj;
15427 fail:
15428 return NULL;
15429 }
15430
15431
15432 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15433 PyObject *resultobj = 0;
15434 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15435 wxDC *arg2 = 0 ;
15436 wxRect *arg3 = 0 ;
15437 size_t arg4 ;
15438 void *argp1 = 0 ;
15439 int res1 = 0 ;
15440 void *argp2 = 0 ;
15441 int res2 = 0 ;
15442 wxRect temp3 ;
15443 size_t val4 ;
15444 int ecode4 = 0 ;
15445 PyObject * obj0 = 0 ;
15446 PyObject * obj1 = 0 ;
15447 PyObject * obj2 = 0 ;
15448 PyObject * obj3 = 0 ;
15449 char * kwnames[] = {
15450 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15451 };
15452
15453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15455 if (!SWIG_IsOK(res1)) {
15456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15457 }
15458 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15459 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15460 if (!SWIG_IsOK(res2)) {
15461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15462 }
15463 if (!argp2) {
15464 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15465 }
15466 arg2 = reinterpret_cast< wxDC * >(argp2);
15467 {
15468 arg3 = &temp3;
15469 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15470 }
15471 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15472 if (!SWIG_IsOK(ecode4)) {
15473 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15474 }
15475 arg4 = static_cast< size_t >(val4);
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 resultobj = SWIG_Py_Void();
15483 return resultobj;
15484 fail:
15485 return NULL;
15486 }
15487
15488
15489 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15490 PyObject *obj;
15491 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15492 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15493 return SWIG_Py_Void();
15494 }
15495
15496 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15497 return SWIG_Python_InitShadowInstance(args);
15498 }
15499
15500 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15501 PyObject *resultobj = 0;
15502 wxWindow *arg1 = (wxWindow *) 0 ;
15503 int arg2 = (int) wxID_ANY ;
15504 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15505 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15506 wxSize const &arg4_defvalue = wxDefaultSize ;
15507 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15508 long arg5 = (long) 0 ;
15509 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15510 wxString *arg6 = (wxString *) &arg6_defvalue ;
15511 wxPyHtmlListBox *result = 0 ;
15512 void *argp1 = 0 ;
15513 int res1 = 0 ;
15514 int val2 ;
15515 int ecode2 = 0 ;
15516 wxPoint temp3 ;
15517 wxSize temp4 ;
15518 long val5 ;
15519 int ecode5 = 0 ;
15520 bool temp6 = false ;
15521 PyObject * obj0 = 0 ;
15522 PyObject * obj1 = 0 ;
15523 PyObject * obj2 = 0 ;
15524 PyObject * obj3 = 0 ;
15525 PyObject * obj4 = 0 ;
15526 PyObject * obj5 = 0 ;
15527 char * kwnames[] = {
15528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15529 };
15530
15531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15533 if (!SWIG_IsOK(res1)) {
15534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15535 }
15536 arg1 = reinterpret_cast< wxWindow * >(argp1);
15537 if (obj1) {
15538 ecode2 = SWIG_AsVal_int(obj1, &val2);
15539 if (!SWIG_IsOK(ecode2)) {
15540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15541 }
15542 arg2 = static_cast< int >(val2);
15543 }
15544 if (obj2) {
15545 {
15546 arg3 = &temp3;
15547 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15548 }
15549 }
15550 if (obj3) {
15551 {
15552 arg4 = &temp4;
15553 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15554 }
15555 }
15556 if (obj4) {
15557 ecode5 = SWIG_AsVal_long(obj4, &val5);
15558 if (!SWIG_IsOK(ecode5)) {
15559 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15560 }
15561 arg5 = static_cast< long >(val5);
15562 }
15563 if (obj5) {
15564 {
15565 arg6 = wxString_in_helper(obj5);
15566 if (arg6 == NULL) SWIG_fail;
15567 temp6 = true;
15568 }
15569 }
15570 {
15571 if (!wxPyCheckForApp()) SWIG_fail;
15572 PyThreadState* __tstate = wxPyBeginAllowThreads();
15573 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15574 wxPyEndAllowThreads(__tstate);
15575 if (PyErr_Occurred()) SWIG_fail;
15576 }
15577 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15578 {
15579 if (temp6)
15580 delete arg6;
15581 }
15582 return resultobj;
15583 fail:
15584 {
15585 if (temp6)
15586 delete arg6;
15587 }
15588 return NULL;
15589 }
15590
15591
15592 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15593 PyObject *resultobj = 0;
15594 wxPyHtmlListBox *result = 0 ;
15595
15596 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15597 {
15598 if (!wxPyCheckForApp()) SWIG_fail;
15599 PyThreadState* __tstate = wxPyBeginAllowThreads();
15600 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15601 wxPyEndAllowThreads(__tstate);
15602 if (PyErr_Occurred()) SWIG_fail;
15603 }
15604 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15605 return resultobj;
15606 fail:
15607 return NULL;
15608 }
15609
15610
15611 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15612 PyObject *resultobj = 0;
15613 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15614 PyObject *arg2 = (PyObject *) 0 ;
15615 PyObject *arg3 = (PyObject *) 0 ;
15616 void *argp1 = 0 ;
15617 int res1 = 0 ;
15618 PyObject * obj0 = 0 ;
15619 PyObject * obj1 = 0 ;
15620 PyObject * obj2 = 0 ;
15621 char * kwnames[] = {
15622 (char *) "self",(char *) "self",(char *) "_class", NULL
15623 };
15624
15625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15627 if (!SWIG_IsOK(res1)) {
15628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15629 }
15630 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15631 arg2 = obj1;
15632 arg3 = obj2;
15633 {
15634 PyThreadState* __tstate = wxPyBeginAllowThreads();
15635 (arg1)->_setCallbackInfo(arg2,arg3);
15636 wxPyEndAllowThreads(__tstate);
15637 if (PyErr_Occurred()) SWIG_fail;
15638 }
15639 resultobj = SWIG_Py_Void();
15640 return resultobj;
15641 fail:
15642 return NULL;
15643 }
15644
15645
15646 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15647 PyObject *resultobj = 0;
15648 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15649 wxWindow *arg2 = (wxWindow *) 0 ;
15650 int arg3 = (int) wxID_ANY ;
15651 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15652 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15653 wxSize const &arg5_defvalue = wxDefaultSize ;
15654 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15655 long arg6 = (long) 0 ;
15656 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15657 wxString *arg7 = (wxString *) &arg7_defvalue ;
15658 bool result;
15659 void *argp1 = 0 ;
15660 int res1 = 0 ;
15661 void *argp2 = 0 ;
15662 int res2 = 0 ;
15663 int val3 ;
15664 int ecode3 = 0 ;
15665 wxPoint temp4 ;
15666 wxSize temp5 ;
15667 long val6 ;
15668 int ecode6 = 0 ;
15669 bool temp7 = false ;
15670 PyObject * obj0 = 0 ;
15671 PyObject * obj1 = 0 ;
15672 PyObject * obj2 = 0 ;
15673 PyObject * obj3 = 0 ;
15674 PyObject * obj4 = 0 ;
15675 PyObject * obj5 = 0 ;
15676 PyObject * obj6 = 0 ;
15677 char * kwnames[] = {
15678 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15679 };
15680
15681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15683 if (!SWIG_IsOK(res1)) {
15684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15685 }
15686 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15687 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15688 if (!SWIG_IsOK(res2)) {
15689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15690 }
15691 arg2 = reinterpret_cast< wxWindow * >(argp2);
15692 if (obj2) {
15693 ecode3 = SWIG_AsVal_int(obj2, &val3);
15694 if (!SWIG_IsOK(ecode3)) {
15695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15696 }
15697 arg3 = static_cast< int >(val3);
15698 }
15699 if (obj3) {
15700 {
15701 arg4 = &temp4;
15702 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15703 }
15704 }
15705 if (obj4) {
15706 {
15707 arg5 = &temp5;
15708 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15709 }
15710 }
15711 if (obj5) {
15712 ecode6 = SWIG_AsVal_long(obj5, &val6);
15713 if (!SWIG_IsOK(ecode6)) {
15714 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15715 }
15716 arg6 = static_cast< long >(val6);
15717 }
15718 if (obj6) {
15719 {
15720 arg7 = wxString_in_helper(obj6);
15721 if (arg7 == NULL) SWIG_fail;
15722 temp7 = true;
15723 }
15724 }
15725 {
15726 PyThreadState* __tstate = wxPyBeginAllowThreads();
15727 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15728 wxPyEndAllowThreads(__tstate);
15729 if (PyErr_Occurred()) SWIG_fail;
15730 }
15731 {
15732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15733 }
15734 {
15735 if (temp7)
15736 delete arg7;
15737 }
15738 return resultobj;
15739 fail:
15740 {
15741 if (temp7)
15742 delete arg7;
15743 }
15744 return NULL;
15745 }
15746
15747
15748 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15749 PyObject *resultobj = 0;
15750 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15751 size_t arg2 ;
15752 void *argp1 = 0 ;
15753 int res1 = 0 ;
15754 size_t val2 ;
15755 int ecode2 = 0 ;
15756 PyObject * obj0 = 0 ;
15757 PyObject * obj1 = 0 ;
15758 char * kwnames[] = {
15759 (char *) "self",(char *) "count", NULL
15760 };
15761
15762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15764 if (!SWIG_IsOK(res1)) {
15765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15766 }
15767 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15768 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15769 if (!SWIG_IsOK(ecode2)) {
15770 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15771 }
15772 arg2 = static_cast< size_t >(val2);
15773 {
15774 PyThreadState* __tstate = wxPyBeginAllowThreads();
15775 (arg1)->SetItemCount(arg2);
15776 wxPyEndAllowThreads(__tstate);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 resultobj = SWIG_Py_Void();
15780 return resultobj;
15781 fail:
15782 return NULL;
15783 }
15784
15785
15786 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15787 PyObject *resultobj = 0;
15788 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15789 wxFileSystem *result = 0 ;
15790 void *argp1 = 0 ;
15791 int res1 = 0 ;
15792 PyObject *swig_obj[1] ;
15793
15794 if (!args) SWIG_fail;
15795 swig_obj[0] = args;
15796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15797 if (!SWIG_IsOK(res1)) {
15798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15799 }
15800 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15801 {
15802 PyThreadState* __tstate = wxPyBeginAllowThreads();
15803 {
15804 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15805 result = (wxFileSystem *) &_result_ref;
15806 }
15807 wxPyEndAllowThreads(__tstate);
15808 if (PyErr_Occurred()) SWIG_fail;
15809 }
15810 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15811 return resultobj;
15812 fail:
15813 return NULL;
15814 }
15815
15816
15817 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15818 PyObject *resultobj = 0;
15819 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15820 size_t arg2 ;
15821 wxHtmlLinkInfo *arg3 = 0 ;
15822 void *argp1 = 0 ;
15823 int res1 = 0 ;
15824 size_t val2 ;
15825 int ecode2 = 0 ;
15826 void *argp3 = 0 ;
15827 int res3 = 0 ;
15828 PyObject * obj0 = 0 ;
15829 PyObject * obj1 = 0 ;
15830 PyObject * obj2 = 0 ;
15831 char * kwnames[] = {
15832 (char *) "self",(char *) "n",(char *) "link", NULL
15833 };
15834
15835 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15836 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15837 if (!SWIG_IsOK(res1)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15839 }
15840 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15841 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15842 if (!SWIG_IsOK(ecode2)) {
15843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15844 }
15845 arg2 = static_cast< size_t >(val2);
15846 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15847 if (!SWIG_IsOK(res3)) {
15848 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15849 }
15850 if (!argp3) {
15851 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15852 }
15853 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15854 {
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 resultobj = SWIG_Py_Void();
15861 return resultobj;
15862 fail:
15863 return NULL;
15864 }
15865
15866
15867 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15868 PyObject *obj;
15869 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15870 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15871 return SWIG_Py_Void();
15872 }
15873
15874 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15875 return SWIG_Python_InitShadowInstance(args);
15876 }
15877
15878 SWIGINTERN int SimpleHtmlListBoxNameStr_set(PyObject *) {
15879 SWIG_Error(SWIG_AttributeError,"Variable SimpleHtmlListBoxNameStr is read-only.");
15880 return 1;
15881 }
15882
15883
15884 SWIGINTERN PyObject *SimpleHtmlListBoxNameStr_get(void) {
15885 PyObject *pyobj = 0;
15886
15887 {
15888 #if wxUSE_UNICODE
15889 pyobj = PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15890 #else
15891 pyobj = PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr)->c_str(), (&wxPySimpleHtmlListBoxNameStr)->Len());
15892 #endif
15893 }
15894 return pyobj;
15895 }
15896
15897
15898 SWIGINTERN PyObject *_wrap_new_SimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15899 PyObject *resultobj = 0;
15900 wxWindow *arg1 = (wxWindow *) 0 ;
15901 int arg2 = (int) -1 ;
15902 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15903 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15904 wxSize const &arg4_defvalue = wxDefaultSize ;
15905 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15906 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
15907 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
15908 long arg6 = (long) wxHLB_DEFAULT_STYLE ;
15909 wxValidator const &arg7_defvalue = wxDefaultValidator ;
15910 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
15911 wxString const &arg8_defvalue = wxPySimpleHtmlListBoxNameStr ;
15912 wxString *arg8 = (wxString *) &arg8_defvalue ;
15913 wxSimpleHtmlListBox *result = 0 ;
15914 void *argp1 = 0 ;
15915 int res1 = 0 ;
15916 int val2 ;
15917 int ecode2 = 0 ;
15918 wxPoint temp3 ;
15919 wxSize temp4 ;
15920 bool temp5 = false ;
15921 long val6 ;
15922 int ecode6 = 0 ;
15923 void *argp7 = 0 ;
15924 int res7 = 0 ;
15925 bool temp8 = false ;
15926 PyObject * obj0 = 0 ;
15927 PyObject * obj1 = 0 ;
15928 PyObject * obj2 = 0 ;
15929 PyObject * obj3 = 0 ;
15930 PyObject * obj4 = 0 ;
15931 PyObject * obj5 = 0 ;
15932 PyObject * obj6 = 0 ;
15933 PyObject * obj7 = 0 ;
15934 char * kwnames[] = {
15935 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15936 };
15937
15938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
15939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15940 if (!SWIG_IsOK(res1)) {
15941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15942 }
15943 arg1 = reinterpret_cast< wxWindow * >(argp1);
15944 if (obj1) {
15945 ecode2 = SWIG_AsVal_int(obj1, &val2);
15946 if (!SWIG_IsOK(ecode2)) {
15947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
15948 }
15949 arg2 = static_cast< int >(val2);
15950 }
15951 if (obj2) {
15952 {
15953 arg3 = &temp3;
15954 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15955 }
15956 }
15957 if (obj3) {
15958 {
15959 arg4 = &temp4;
15960 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15961 }
15962 }
15963 if (obj4) {
15964 {
15965 if (! PySequence_Check(obj4)) {
15966 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
15967 SWIG_fail;
15968 }
15969 arg5 = new wxArrayString;
15970 temp5 = true;
15971 int i, len=PySequence_Length(obj4);
15972 for (i=0; i<len; i++) {
15973 PyObject* item = PySequence_GetItem(obj4, i);
15974 wxString* s = wxString_in_helper(item);
15975 if (PyErr_Occurred()) SWIG_fail;
15976 arg5->Add(*s);
15977 delete s;
15978 Py_DECREF(item);
15979 }
15980 }
15981 }
15982 if (obj5) {
15983 ecode6 = SWIG_AsVal_long(obj5, &val6);
15984 if (!SWIG_IsOK(ecode6)) {
15985 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
15986 }
15987 arg6 = static_cast< long >(val6);
15988 }
15989 if (obj6) {
15990 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
15991 if (!SWIG_IsOK(res7)) {
15992 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15993 }
15994 if (!argp7) {
15995 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15996 }
15997 arg7 = reinterpret_cast< wxValidator * >(argp7);
15998 }
15999 if (obj7) {
16000 {
16001 arg8 = wxString_in_helper(obj7);
16002 if (arg8 == NULL) SWIG_fail;
16003 temp8 = true;
16004 }
16005 }
16006 {
16007 if (!wxPyCheckForApp()) SWIG_fail;
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_NEW | 0 );
16014 {
16015 if (temp5) delete arg5;
16016 }
16017 {
16018 if (temp8)
16019 delete arg8;
16020 }
16021 return resultobj;
16022 fail:
16023 {
16024 if (temp5) delete arg5;
16025 }
16026 {
16027 if (temp8)
16028 delete arg8;
16029 }
16030 return NULL;
16031 }
16032
16033
16034 SWIGINTERN PyObject *_wrap_new_PreSimpleHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16035 PyObject *resultobj = 0;
16036 wxSimpleHtmlListBox *result = 0 ;
16037
16038 if (!SWIG_Python_UnpackTuple(args,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail;
16039 {
16040 if (!wxPyCheckForApp()) SWIG_fail;
16041 PyThreadState* __tstate = wxPyBeginAllowThreads();
16042 result = (wxSimpleHtmlListBox *)new wxSimpleHtmlListBox();
16043 wxPyEndAllowThreads(__tstate);
16044 if (PyErr_Occurred()) SWIG_fail;
16045 }
16046 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_POINTER_OWN | 0 );
16047 return resultobj;
16048 fail:
16049 return NULL;
16050 }
16051
16052
16053 SWIGINTERN PyObject *_wrap_SimpleHtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj = 0;
16055 wxSimpleHtmlListBox *arg1 = (wxSimpleHtmlListBox *) 0 ;
16056 wxWindow *arg2 = (wxWindow *) 0 ;
16057 int arg3 = (int) -1 ;
16058 wxPoint const &arg4_defvalue = wxDefaultPosition ;
16059 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
16060 wxSize const &arg5_defvalue = wxDefaultSize ;
16061 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
16062 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
16063 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
16064 long arg7 = (long) wxHLB_DEFAULT_STYLE ;
16065 wxValidator const &arg8_defvalue = wxDefaultValidator ;
16066 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
16067 wxString const &arg9_defvalue = wxPySimpleHtmlListBoxNameStr ;
16068 wxString *arg9 = (wxString *) &arg9_defvalue ;
16069 bool result;
16070 void *argp1 = 0 ;
16071 int res1 = 0 ;
16072 void *argp2 = 0 ;
16073 int res2 = 0 ;
16074 int val3 ;
16075 int ecode3 = 0 ;
16076 wxPoint temp4 ;
16077 wxSize temp5 ;
16078 bool temp6 = false ;
16079 long val7 ;
16080 int ecode7 = 0 ;
16081 void *argp8 = 0 ;
16082 int res8 = 0 ;
16083 bool temp9 = false ;
16084 PyObject * obj0 = 0 ;
16085 PyObject * obj1 = 0 ;
16086 PyObject * obj2 = 0 ;
16087 PyObject * obj3 = 0 ;
16088 PyObject * obj4 = 0 ;
16089 PyObject * obj5 = 0 ;
16090 PyObject * obj6 = 0 ;
16091 PyObject * obj7 = 0 ;
16092 PyObject * obj8 = 0 ;
16093 char * kwnames[] = {
16094 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
16095 };
16096
16097 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) SWIG_fail;
16098 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSimpleHtmlListBox, 0 | 0 );
16099 if (!SWIG_IsOK(res1)) {
16100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
16101 }
16102 arg1 = reinterpret_cast< wxSimpleHtmlListBox * >(argp1);
16103 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
16104 if (!SWIG_IsOK(res2)) {
16105 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16106 }
16107 arg2 = reinterpret_cast< wxWindow * >(argp2);
16108 if (obj2) {
16109 ecode3 = SWIG_AsVal_int(obj2, &val3);
16110 if (!SWIG_IsOK(ecode3)) {
16111 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
16112 }
16113 arg3 = static_cast< int >(val3);
16114 }
16115 if (obj3) {
16116 {
16117 arg4 = &temp4;
16118 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
16119 }
16120 }
16121 if (obj4) {
16122 {
16123 arg5 = &temp5;
16124 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
16125 }
16126 }
16127 if (obj5) {
16128 {
16129 if (! PySequence_Check(obj5)) {
16130 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
16131 SWIG_fail;
16132 }
16133 arg6 = new wxArrayString;
16134 temp6 = true;
16135 int i, len=PySequence_Length(obj5);
16136 for (i=0; i<len; i++) {
16137 PyObject* item = PySequence_GetItem(obj5, i);
16138 wxString* s = wxString_in_helper(item);
16139 if (PyErr_Occurred()) SWIG_fail;
16140 arg6->Add(*s);
16141 delete s;
16142 Py_DECREF(item);
16143 }
16144 }
16145 }
16146 if (obj6) {
16147 ecode7 = SWIG_AsVal_long(obj6, &val7);
16148 if (!SWIG_IsOK(ecode7)) {
16149 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16150 }
16151 arg7 = static_cast< long >(val7);
16152 }
16153 if (obj7) {
16154 res8 = SWIG_ConvertPtr(obj7, &argp8, SWIGTYPE_p_wxValidator, 0 | 0);
16155 if (!SWIG_IsOK(res8)) {
16156 SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16157 }
16158 if (!argp8) {
16159 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16160 }
16161 arg8 = reinterpret_cast< wxValidator * >(argp8);
16162 }
16163 if (obj8) {
16164 {
16165 arg9 = wxString_in_helper(obj8);
16166 if (arg9 == NULL) SWIG_fail;
16167 temp9 = true;
16168 }
16169 }
16170 {
16171 PyThreadState* __tstate = wxPyBeginAllowThreads();
16172 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
16173 wxPyEndAllowThreads(__tstate);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 }
16176 {
16177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16178 }
16179 {
16180 if (temp6) delete arg6;
16181 }
16182 {
16183 if (temp9)
16184 delete arg9;
16185 }
16186 return resultobj;
16187 fail:
16188 {
16189 if (temp6) delete arg6;
16190 }
16191 {
16192 if (temp9)
16193 delete arg9;
16194 }
16195 return NULL;
16196 }
16197
16198
16199 SWIGINTERN PyObject *SimpleHtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16200 PyObject *obj;
16201 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16202 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox, SWIG_NewClientData(obj));
16203 return SWIG_Py_Void();
16204 }
16205
16206 SWIGINTERN PyObject *SimpleHtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16207 return SWIG_Python_InitShadowInstance(args);
16208 }
16209
16210 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16211 PyObject *resultobj = 0;
16212 wxPyTaskBarIcon *result = 0 ;
16213
16214 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
16215 {
16216 if (!wxPyCheckForApp()) SWIG_fail;
16217 PyThreadState* __tstate = wxPyBeginAllowThreads();
16218 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
16219 wxPyEndAllowThreads(__tstate);
16220 if (PyErr_Occurred()) SWIG_fail;
16221 }
16222 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
16223 return resultobj;
16224 fail:
16225 return NULL;
16226 }
16227
16228
16229 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16230 PyObject *resultobj = 0;
16231 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16232 void *argp1 = 0 ;
16233 int res1 = 0 ;
16234 PyObject *swig_obj[1] ;
16235
16236 if (!args) SWIG_fail;
16237 swig_obj[0] = args;
16238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
16239 if (!SWIG_IsOK(res1)) {
16240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16241 }
16242 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16243 {
16244 PyThreadState* __tstate = wxPyBeginAllowThreads();
16245 delete arg1;
16246
16247 wxPyEndAllowThreads(__tstate);
16248 if (PyErr_Occurred()) SWIG_fail;
16249 }
16250 resultobj = SWIG_Py_Void();
16251 return resultobj;
16252 fail:
16253 return NULL;
16254 }
16255
16256
16257 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16258 PyObject *resultobj = 0;
16259 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16260 PyObject *arg2 = (PyObject *) 0 ;
16261 PyObject *arg3 = (PyObject *) 0 ;
16262 int arg4 = (int) 0 ;
16263 void *argp1 = 0 ;
16264 int res1 = 0 ;
16265 int val4 ;
16266 int ecode4 = 0 ;
16267 PyObject * obj0 = 0 ;
16268 PyObject * obj1 = 0 ;
16269 PyObject * obj2 = 0 ;
16270 PyObject * obj3 = 0 ;
16271 char * kwnames[] = {
16272 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16273 };
16274
16275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
16276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16277 if (!SWIG_IsOK(res1)) {
16278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16279 }
16280 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16281 arg2 = obj1;
16282 arg3 = obj2;
16283 if (obj3) {
16284 ecode4 = SWIG_AsVal_int(obj3, &val4);
16285 if (!SWIG_IsOK(ecode4)) {
16286 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16287 }
16288 arg4 = static_cast< int >(val4);
16289 }
16290 {
16291 PyThreadState* __tstate = wxPyBeginAllowThreads();
16292 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 resultobj = SWIG_Py_Void();
16297 return resultobj;
16298 fail:
16299 return NULL;
16300 }
16301
16302
16303 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16304 PyObject *resultobj = 0;
16305 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16306 void *argp1 = 0 ;
16307 int res1 = 0 ;
16308 PyObject *swig_obj[1] ;
16309
16310 if (!args) SWIG_fail;
16311 swig_obj[0] = args;
16312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16313 if (!SWIG_IsOK(res1)) {
16314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16315 }
16316 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16317 {
16318 PyThreadState* __tstate = wxPyBeginAllowThreads();
16319 wxPyTaskBarIcon_Destroy(arg1);
16320 wxPyEndAllowThreads(__tstate);
16321 if (PyErr_Occurred()) SWIG_fail;
16322 }
16323 resultobj = SWIG_Py_Void();
16324 return resultobj;
16325 fail:
16326 return NULL;
16327 }
16328
16329
16330 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16331 PyObject *resultobj = 0;
16332 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16333 bool result;
16334 void *argp1 = 0 ;
16335 int res1 = 0 ;
16336 PyObject *swig_obj[1] ;
16337
16338 if (!args) SWIG_fail;
16339 swig_obj[0] = args;
16340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16341 if (!SWIG_IsOK(res1)) {
16342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16343 }
16344 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16345 {
16346 PyThreadState* __tstate = wxPyBeginAllowThreads();
16347 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16348 wxPyEndAllowThreads(__tstate);
16349 if (PyErr_Occurred()) SWIG_fail;
16350 }
16351 {
16352 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16353 }
16354 return resultobj;
16355 fail:
16356 return NULL;
16357 }
16358
16359
16360 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16361 PyObject *resultobj = 0;
16362 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16363 bool result;
16364 void *argp1 = 0 ;
16365 int res1 = 0 ;
16366 PyObject *swig_obj[1] ;
16367
16368 if (!args) SWIG_fail;
16369 swig_obj[0] = args;
16370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16371 if (!SWIG_IsOK(res1)) {
16372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16373 }
16374 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16375 {
16376 PyThreadState* __tstate = wxPyBeginAllowThreads();
16377 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16378 wxPyEndAllowThreads(__tstate);
16379 if (PyErr_Occurred()) SWIG_fail;
16380 }
16381 {
16382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16383 }
16384 return resultobj;
16385 fail:
16386 return NULL;
16387 }
16388
16389
16390 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16391 PyObject *resultobj = 0;
16392 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16393 wxIcon *arg2 = 0 ;
16394 wxString const &arg3_defvalue = wxPyEmptyString ;
16395 wxString *arg3 = (wxString *) &arg3_defvalue ;
16396 bool result;
16397 void *argp1 = 0 ;
16398 int res1 = 0 ;
16399 void *argp2 = 0 ;
16400 int res2 = 0 ;
16401 bool temp3 = false ;
16402 PyObject * obj0 = 0 ;
16403 PyObject * obj1 = 0 ;
16404 PyObject * obj2 = 0 ;
16405 char * kwnames[] = {
16406 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16407 };
16408
16409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16411 if (!SWIG_IsOK(res1)) {
16412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16413 }
16414 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16415 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16416 if (!SWIG_IsOK(res2)) {
16417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16418 }
16419 if (!argp2) {
16420 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16421 }
16422 arg2 = reinterpret_cast< wxIcon * >(argp2);
16423 if (obj2) {
16424 {
16425 arg3 = wxString_in_helper(obj2);
16426 if (arg3 == NULL) SWIG_fail;
16427 temp3 = true;
16428 }
16429 }
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
16432 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16433 wxPyEndAllowThreads(__tstate);
16434 if (PyErr_Occurred()) SWIG_fail;
16435 }
16436 {
16437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16438 }
16439 {
16440 if (temp3)
16441 delete arg3;
16442 }
16443 return resultobj;
16444 fail:
16445 {
16446 if (temp3)
16447 delete arg3;
16448 }
16449 return NULL;
16450 }
16451
16452
16453 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16454 PyObject *resultobj = 0;
16455 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16456 bool result;
16457 void *argp1 = 0 ;
16458 int res1 = 0 ;
16459 PyObject *swig_obj[1] ;
16460
16461 if (!args) SWIG_fail;
16462 swig_obj[0] = args;
16463 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16464 if (!SWIG_IsOK(res1)) {
16465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16466 }
16467 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16468 {
16469 PyThreadState* __tstate = wxPyBeginAllowThreads();
16470 result = (bool)(arg1)->RemoveIcon();
16471 wxPyEndAllowThreads(__tstate);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 }
16474 {
16475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16476 }
16477 return resultobj;
16478 fail:
16479 return NULL;
16480 }
16481
16482
16483 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16484 PyObject *resultobj = 0;
16485 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16486 wxMenu *arg2 = (wxMenu *) 0 ;
16487 bool result;
16488 void *argp1 = 0 ;
16489 int res1 = 0 ;
16490 void *argp2 = 0 ;
16491 int res2 = 0 ;
16492 PyObject * obj0 = 0 ;
16493 PyObject * obj1 = 0 ;
16494 char * kwnames[] = {
16495 (char *) "self",(char *) "menu", NULL
16496 };
16497
16498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16500 if (!SWIG_IsOK(res1)) {
16501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16502 }
16503 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16504 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16505 if (!SWIG_IsOK(res2)) {
16506 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16507 }
16508 arg2 = reinterpret_cast< wxMenu * >(argp2);
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 result = (bool)(arg1)->PopupMenu(arg2);
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 {
16516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16517 }
16518 return resultobj;
16519 fail:
16520 return NULL;
16521 }
16522
16523
16524 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16525 PyObject *obj;
16526 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16527 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16528 return SWIG_Py_Void();
16529 }
16530
16531 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16532 return SWIG_Python_InitShadowInstance(args);
16533 }
16534
16535 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16536 PyObject *resultobj = 0;
16537 wxEventType arg1 ;
16538 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16539 wxTaskBarIconEvent *result = 0 ;
16540 int val1 ;
16541 int ecode1 = 0 ;
16542 void *argp2 = 0 ;
16543 int res2 = 0 ;
16544 PyObject * obj0 = 0 ;
16545 PyObject * obj1 = 0 ;
16546 char * kwnames[] = {
16547 (char *) "evtType",(char *) "tbIcon", NULL
16548 };
16549
16550 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16551 ecode1 = SWIG_AsVal_int(obj0, &val1);
16552 if (!SWIG_IsOK(ecode1)) {
16553 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16554 }
16555 arg1 = static_cast< wxEventType >(val1);
16556 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16557 if (!SWIG_IsOK(res2)) {
16558 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16559 }
16560 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16561 {
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16564 wxPyEndAllowThreads(__tstate);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16568 return resultobj;
16569 fail:
16570 return NULL;
16571 }
16572
16573
16574 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16575 PyObject *obj;
16576 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16577 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16578 return SWIG_Py_Void();
16579 }
16580
16581 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16582 return SWIG_Python_InitShadowInstance(args);
16583 }
16584
16585 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16586 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16587 return 1;
16588 }
16589
16590
16591 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16592 PyObject *pyobj = 0;
16593
16594 {
16595 #if wxUSE_UNICODE
16596 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16597 #else
16598 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16599 #endif
16600 }
16601 return pyobj;
16602 }
16603
16604
16605 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16606 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16607 return 1;
16608 }
16609
16610
16611 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16612 PyObject *pyobj = 0;
16613
16614 {
16615 #if wxUSE_UNICODE
16616 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16617 #else
16618 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16619 #endif
16620 }
16621 return pyobj;
16622 }
16623
16624
16625 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16626 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16627 return 1;
16628 }
16629
16630
16631 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16632 PyObject *pyobj = 0;
16633
16634 {
16635 #if wxUSE_UNICODE
16636 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16637 #else
16638 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16639 #endif
16640 }
16641 return pyobj;
16642 }
16643
16644
16645 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16646 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16647 return 1;
16648 }
16649
16650
16651 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16652 PyObject *pyobj = 0;
16653
16654 {
16655 #if wxUSE_UNICODE
16656 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16657 #else
16658 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16659 #endif
16660 }
16661 return pyobj;
16662 }
16663
16664
16665 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16666 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16667 return 1;
16668 }
16669
16670
16671 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16672 PyObject *pyobj = 0;
16673
16674 {
16675 #if wxUSE_UNICODE
16676 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16677 #else
16678 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16679 #endif
16680 }
16681 return pyobj;
16682 }
16683
16684
16685 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16686 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16687 return 1;
16688 }
16689
16690
16691 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16692 PyObject *pyobj = 0;
16693
16694 {
16695 #if wxUSE_UNICODE
16696 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16697 #else
16698 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16699 #endif
16700 }
16701 return pyobj;
16702 }
16703
16704
16705 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16706 PyObject *resultobj = 0;
16707 wxColourData *result = 0 ;
16708
16709 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16710 {
16711 PyThreadState* __tstate = wxPyBeginAllowThreads();
16712 result = (wxColourData *)new wxColourData();
16713 wxPyEndAllowThreads(__tstate);
16714 if (PyErr_Occurred()) SWIG_fail;
16715 }
16716 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16717 return resultobj;
16718 fail:
16719 return NULL;
16720 }
16721
16722
16723 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16724 PyObject *resultobj = 0;
16725 wxColourData *arg1 = (wxColourData *) 0 ;
16726 void *argp1 = 0 ;
16727 int res1 = 0 ;
16728 PyObject *swig_obj[1] ;
16729
16730 if (!args) SWIG_fail;
16731 swig_obj[0] = args;
16732 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16733 if (!SWIG_IsOK(res1)) {
16734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16735 }
16736 arg1 = reinterpret_cast< wxColourData * >(argp1);
16737 {
16738 PyThreadState* __tstate = wxPyBeginAllowThreads();
16739 delete arg1;
16740
16741 wxPyEndAllowThreads(__tstate);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 }
16744 resultobj = SWIG_Py_Void();
16745 return resultobj;
16746 fail:
16747 return NULL;
16748 }
16749
16750
16751 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16752 PyObject *resultobj = 0;
16753 wxColourData *arg1 = (wxColourData *) 0 ;
16754 bool result;
16755 void *argp1 = 0 ;
16756 int res1 = 0 ;
16757 PyObject *swig_obj[1] ;
16758
16759 if (!args) SWIG_fail;
16760 swig_obj[0] = args;
16761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16762 if (!SWIG_IsOK(res1)) {
16763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16764 }
16765 arg1 = reinterpret_cast< wxColourData * >(argp1);
16766 {
16767 PyThreadState* __tstate = wxPyBeginAllowThreads();
16768 result = (bool)(arg1)->GetChooseFull();
16769 wxPyEndAllowThreads(__tstate);
16770 if (PyErr_Occurred()) SWIG_fail;
16771 }
16772 {
16773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16774 }
16775 return resultobj;
16776 fail:
16777 return NULL;
16778 }
16779
16780
16781 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16782 PyObject *resultobj = 0;
16783 wxColourData *arg1 = (wxColourData *) 0 ;
16784 wxColour result;
16785 void *argp1 = 0 ;
16786 int res1 = 0 ;
16787 PyObject *swig_obj[1] ;
16788
16789 if (!args) SWIG_fail;
16790 swig_obj[0] = args;
16791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16792 if (!SWIG_IsOK(res1)) {
16793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16794 }
16795 arg1 = reinterpret_cast< wxColourData * >(argp1);
16796 {
16797 PyThreadState* __tstate = wxPyBeginAllowThreads();
16798 result = (arg1)->GetColour();
16799 wxPyEndAllowThreads(__tstate);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16803 return resultobj;
16804 fail:
16805 return NULL;
16806 }
16807
16808
16809 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj = 0;
16811 wxColourData *arg1 = (wxColourData *) 0 ;
16812 int arg2 ;
16813 wxColour result;
16814 void *argp1 = 0 ;
16815 int res1 = 0 ;
16816 int val2 ;
16817 int ecode2 = 0 ;
16818 PyObject * obj0 = 0 ;
16819 PyObject * obj1 = 0 ;
16820 char * kwnames[] = {
16821 (char *) "self",(char *) "i", NULL
16822 };
16823
16824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16826 if (!SWIG_IsOK(res1)) {
16827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16828 }
16829 arg1 = reinterpret_cast< wxColourData * >(argp1);
16830 ecode2 = SWIG_AsVal_int(obj1, &val2);
16831 if (!SWIG_IsOK(ecode2)) {
16832 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16833 }
16834 arg2 = static_cast< int >(val2);
16835 {
16836 PyThreadState* __tstate = wxPyBeginAllowThreads();
16837 result = (arg1)->GetCustomColour(arg2);
16838 wxPyEndAllowThreads(__tstate);
16839 if (PyErr_Occurred()) SWIG_fail;
16840 }
16841 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16842 return resultobj;
16843 fail:
16844 return NULL;
16845 }
16846
16847
16848 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16849 PyObject *resultobj = 0;
16850 wxColourData *arg1 = (wxColourData *) 0 ;
16851 int arg2 ;
16852 void *argp1 = 0 ;
16853 int res1 = 0 ;
16854 int val2 ;
16855 int ecode2 = 0 ;
16856 PyObject * obj0 = 0 ;
16857 PyObject * obj1 = 0 ;
16858 char * kwnames[] = {
16859 (char *) "self",(char *) "flag", NULL
16860 };
16861
16862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16864 if (!SWIG_IsOK(res1)) {
16865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16866 }
16867 arg1 = reinterpret_cast< wxColourData * >(argp1);
16868 ecode2 = SWIG_AsVal_int(obj1, &val2);
16869 if (!SWIG_IsOK(ecode2)) {
16870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16871 }
16872 arg2 = static_cast< int >(val2);
16873 {
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 (arg1)->SetChooseFull(arg2);
16876 wxPyEndAllowThreads(__tstate);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 resultobj = SWIG_Py_Void();
16880 return resultobj;
16881 fail:
16882 return NULL;
16883 }
16884
16885
16886 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16887 PyObject *resultobj = 0;
16888 wxColourData *arg1 = (wxColourData *) 0 ;
16889 wxColour *arg2 = 0 ;
16890 void *argp1 = 0 ;
16891 int res1 = 0 ;
16892 wxColour temp2 ;
16893 PyObject * obj0 = 0 ;
16894 PyObject * obj1 = 0 ;
16895 char * kwnames[] = {
16896 (char *) "self",(char *) "colour", NULL
16897 };
16898
16899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16901 if (!SWIG_IsOK(res1)) {
16902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16903 }
16904 arg1 = reinterpret_cast< wxColourData * >(argp1);
16905 {
16906 arg2 = &temp2;
16907 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16908 }
16909 {
16910 PyThreadState* __tstate = wxPyBeginAllowThreads();
16911 (arg1)->SetColour((wxColour const &)*arg2);
16912 wxPyEndAllowThreads(__tstate);
16913 if (PyErr_Occurred()) SWIG_fail;
16914 }
16915 resultobj = SWIG_Py_Void();
16916 return resultobj;
16917 fail:
16918 return NULL;
16919 }
16920
16921
16922 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16923 PyObject *resultobj = 0;
16924 wxColourData *arg1 = (wxColourData *) 0 ;
16925 int arg2 ;
16926 wxColour *arg3 = 0 ;
16927 void *argp1 = 0 ;
16928 int res1 = 0 ;
16929 int val2 ;
16930 int ecode2 = 0 ;
16931 wxColour temp3 ;
16932 PyObject * obj0 = 0 ;
16933 PyObject * obj1 = 0 ;
16934 PyObject * obj2 = 0 ;
16935 char * kwnames[] = {
16936 (char *) "self",(char *) "i",(char *) "colour", NULL
16937 };
16938
16939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16941 if (!SWIG_IsOK(res1)) {
16942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16943 }
16944 arg1 = reinterpret_cast< wxColourData * >(argp1);
16945 ecode2 = SWIG_AsVal_int(obj1, &val2);
16946 if (!SWIG_IsOK(ecode2)) {
16947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16948 }
16949 arg2 = static_cast< int >(val2);
16950 {
16951 arg3 = &temp3;
16952 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16953 }
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 resultobj = SWIG_Py_Void();
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16968 PyObject *obj;
16969 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16970 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16971 return SWIG_Py_Void();
16972 }
16973
16974 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16975 return SWIG_Python_InitShadowInstance(args);
16976 }
16977
16978 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16979 PyObject *resultobj = 0;
16980 wxWindow *arg1 = (wxWindow *) 0 ;
16981 wxColourData *arg2 = (wxColourData *) NULL ;
16982 wxColourDialog *result = 0 ;
16983 void *argp1 = 0 ;
16984 int res1 = 0 ;
16985 void *argp2 = 0 ;
16986 int res2 = 0 ;
16987 PyObject * obj0 = 0 ;
16988 PyObject * obj1 = 0 ;
16989 char * kwnames[] = {
16990 (char *) "parent",(char *) "data", NULL
16991 };
16992
16993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16995 if (!SWIG_IsOK(res1)) {
16996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16997 }
16998 arg1 = reinterpret_cast< wxWindow * >(argp1);
16999 if (obj1) {
17000 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
17001 if (!SWIG_IsOK(res2)) {
17002 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
17003 }
17004 arg2 = reinterpret_cast< wxColourData * >(argp2);
17005 }
17006 {
17007 if (!wxPyCheckForApp()) SWIG_fail;
17008 PyThreadState* __tstate = wxPyBeginAllowThreads();
17009 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
17010 wxPyEndAllowThreads(__tstate);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
17013 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
17014 return resultobj;
17015 fail:
17016 return NULL;
17017 }
17018
17019
17020 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17021 PyObject *resultobj = 0;
17022 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
17023 wxColourData *result = 0 ;
17024 void *argp1 = 0 ;
17025 int res1 = 0 ;
17026 PyObject *swig_obj[1] ;
17027
17028 if (!args) SWIG_fail;
17029 swig_obj[0] = args;
17030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
17031 if (!SWIG_IsOK(res1)) {
17032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
17033 }
17034 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 {
17038 wxColourData &_result_ref = (arg1)->GetColourData();
17039 result = (wxColourData *) &_result_ref;
17040 }
17041 wxPyEndAllowThreads(__tstate);
17042 if (PyErr_Occurred()) SWIG_fail;
17043 }
17044 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
17045 return resultobj;
17046 fail:
17047 return NULL;
17048 }
17049
17050
17051 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17052 PyObject *obj;
17053 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17054 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
17055 return SWIG_Py_Void();
17056 }
17057
17058 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17059 return SWIG_Python_InitShadowInstance(args);
17060 }
17061
17062 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj = 0;
17064 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
17065 wxColour const &arg2_defvalue = wxNullColour ;
17066 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17067 wxString const &arg3_defvalue = wxPyEmptyString ;
17068 wxString *arg3 = (wxString *) &arg3_defvalue ;
17069 wxColour result;
17070 void *argp1 = 0 ;
17071 int res1 = 0 ;
17072 wxColour temp2 ;
17073 bool temp3 = false ;
17074 PyObject * obj0 = 0 ;
17075 PyObject * obj1 = 0 ;
17076 PyObject * obj2 = 0 ;
17077 char * kwnames[] = {
17078 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
17079 };
17080
17081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
17082 if (obj0) {
17083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17084 if (!SWIG_IsOK(res1)) {
17085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
17086 }
17087 arg1 = reinterpret_cast< wxWindow * >(argp1);
17088 }
17089 if (obj1) {
17090 {
17091 arg2 = &temp2;
17092 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17093 }
17094 }
17095 if (obj2) {
17096 {
17097 arg3 = wxString_in_helper(obj2);
17098 if (arg3 == NULL) SWIG_fail;
17099 temp3 = true;
17100 }
17101 }
17102 {
17103 PyThreadState* __tstate = wxPyBeginAllowThreads();
17104 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
17105 wxPyEndAllowThreads(__tstate);
17106 if (PyErr_Occurred()) SWIG_fail;
17107 }
17108 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
17109 {
17110 if (temp3)
17111 delete arg3;
17112 }
17113 return resultobj;
17114 fail:
17115 {
17116 if (temp3)
17117 delete arg3;
17118 }
17119 return NULL;
17120 }
17121
17122
17123 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17124 PyObject *resultobj = 0;
17125 wxWindow *arg1 = (wxWindow *) 0 ;
17126 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
17127 wxString *arg2 = (wxString *) &arg2_defvalue ;
17128 wxString const &arg3_defvalue = wxPyEmptyString ;
17129 wxString *arg3 = (wxString *) &arg3_defvalue ;
17130 long arg4 = (long) wxDD_DEFAULT_STYLE ;
17131 wxPoint const &arg5_defvalue = wxDefaultPosition ;
17132 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
17133 wxSize const &arg6_defvalue = wxDefaultSize ;
17134 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
17135 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
17136 wxString *arg7 = (wxString *) &arg7_defvalue ;
17137 wxDirDialog *result = 0 ;
17138 void *argp1 = 0 ;
17139 int res1 = 0 ;
17140 bool temp2 = false ;
17141 bool temp3 = false ;
17142 long val4 ;
17143 int ecode4 = 0 ;
17144 wxPoint temp5 ;
17145 wxSize temp6 ;
17146 bool temp7 = false ;
17147 PyObject * obj0 = 0 ;
17148 PyObject * obj1 = 0 ;
17149 PyObject * obj2 = 0 ;
17150 PyObject * obj3 = 0 ;
17151 PyObject * obj4 = 0 ;
17152 PyObject * obj5 = 0 ;
17153 PyObject * obj6 = 0 ;
17154 char * kwnames[] = {
17155 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17156 };
17157
17158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17159 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17160 if (!SWIG_IsOK(res1)) {
17161 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17162 }
17163 arg1 = reinterpret_cast< wxWindow * >(argp1);
17164 if (obj1) {
17165 {
17166 arg2 = wxString_in_helper(obj1);
17167 if (arg2 == NULL) SWIG_fail;
17168 temp2 = true;
17169 }
17170 }
17171 if (obj2) {
17172 {
17173 arg3 = wxString_in_helper(obj2);
17174 if (arg3 == NULL) SWIG_fail;
17175 temp3 = true;
17176 }
17177 }
17178 if (obj3) {
17179 ecode4 = SWIG_AsVal_long(obj3, &val4);
17180 if (!SWIG_IsOK(ecode4)) {
17181 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17182 }
17183 arg4 = static_cast< long >(val4);
17184 }
17185 if (obj4) {
17186 {
17187 arg5 = &temp5;
17188 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
17189 }
17190 }
17191 if (obj5) {
17192 {
17193 arg6 = &temp6;
17194 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
17195 }
17196 }
17197 if (obj6) {
17198 {
17199 arg7 = wxString_in_helper(obj6);
17200 if (arg7 == NULL) SWIG_fail;
17201 temp7 = true;
17202 }
17203 }
17204 {
17205 if (!wxPyCheckForApp()) SWIG_fail;
17206 PyThreadState* __tstate = wxPyBeginAllowThreads();
17207 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
17208 wxPyEndAllowThreads(__tstate);
17209 if (PyErr_Occurred()) SWIG_fail;
17210 }
17211 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
17212 {
17213 if (temp2)
17214 delete arg2;
17215 }
17216 {
17217 if (temp3)
17218 delete arg3;
17219 }
17220 {
17221 if (temp7)
17222 delete arg7;
17223 }
17224 return resultobj;
17225 fail:
17226 {
17227 if (temp2)
17228 delete arg2;
17229 }
17230 {
17231 if (temp3)
17232 delete arg3;
17233 }
17234 {
17235 if (temp7)
17236 delete arg7;
17237 }
17238 return NULL;
17239 }
17240
17241
17242 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17243 PyObject *resultobj = 0;
17244 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17245 wxString result;
17246 void *argp1 = 0 ;
17247 int res1 = 0 ;
17248 PyObject *swig_obj[1] ;
17249
17250 if (!args) SWIG_fail;
17251 swig_obj[0] = args;
17252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17253 if (!SWIG_IsOK(res1)) {
17254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17255 }
17256 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17257 {
17258 PyThreadState* __tstate = wxPyBeginAllowThreads();
17259 result = (arg1)->GetPath();
17260 wxPyEndAllowThreads(__tstate);
17261 if (PyErr_Occurred()) SWIG_fail;
17262 }
17263 {
17264 #if wxUSE_UNICODE
17265 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17266 #else
17267 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17268 #endif
17269 }
17270 return resultobj;
17271 fail:
17272 return NULL;
17273 }
17274
17275
17276 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17277 PyObject *resultobj = 0;
17278 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17279 wxString result;
17280 void *argp1 = 0 ;
17281 int res1 = 0 ;
17282 PyObject *swig_obj[1] ;
17283
17284 if (!args) SWIG_fail;
17285 swig_obj[0] = args;
17286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17287 if (!SWIG_IsOK(res1)) {
17288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17289 }
17290 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17291 {
17292 PyThreadState* __tstate = wxPyBeginAllowThreads();
17293 result = (arg1)->GetMessage();
17294 wxPyEndAllowThreads(__tstate);
17295 if (PyErr_Occurred()) SWIG_fail;
17296 }
17297 {
17298 #if wxUSE_UNICODE
17299 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17300 #else
17301 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17302 #endif
17303 }
17304 return resultobj;
17305 fail:
17306 return NULL;
17307 }
17308
17309
17310 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17311 PyObject *resultobj = 0;
17312 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17313 wxString *arg2 = 0 ;
17314 void *argp1 = 0 ;
17315 int res1 = 0 ;
17316 bool temp2 = false ;
17317 PyObject * obj0 = 0 ;
17318 PyObject * obj1 = 0 ;
17319 char * kwnames[] = {
17320 (char *) "self",(char *) "message", NULL
17321 };
17322
17323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17325 if (!SWIG_IsOK(res1)) {
17326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17327 }
17328 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17329 {
17330 arg2 = wxString_in_helper(obj1);
17331 if (arg2 == NULL) SWIG_fail;
17332 temp2 = true;
17333 }
17334 {
17335 PyThreadState* __tstate = wxPyBeginAllowThreads();
17336 (arg1)->SetMessage((wxString const &)*arg2);
17337 wxPyEndAllowThreads(__tstate);
17338 if (PyErr_Occurred()) SWIG_fail;
17339 }
17340 resultobj = SWIG_Py_Void();
17341 {
17342 if (temp2)
17343 delete arg2;
17344 }
17345 return resultobj;
17346 fail:
17347 {
17348 if (temp2)
17349 delete arg2;
17350 }
17351 return NULL;
17352 }
17353
17354
17355 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17356 PyObject *resultobj = 0;
17357 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17358 wxString *arg2 = 0 ;
17359 void *argp1 = 0 ;
17360 int res1 = 0 ;
17361 bool temp2 = false ;
17362 PyObject * obj0 = 0 ;
17363 PyObject * obj1 = 0 ;
17364 char * kwnames[] = {
17365 (char *) "self",(char *) "path", NULL
17366 };
17367
17368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17370 if (!SWIG_IsOK(res1)) {
17371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17372 }
17373 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17374 {
17375 arg2 = wxString_in_helper(obj1);
17376 if (arg2 == NULL) SWIG_fail;
17377 temp2 = true;
17378 }
17379 {
17380 PyThreadState* __tstate = wxPyBeginAllowThreads();
17381 (arg1)->SetPath((wxString const &)*arg2);
17382 wxPyEndAllowThreads(__tstate);
17383 if (PyErr_Occurred()) SWIG_fail;
17384 }
17385 resultobj = SWIG_Py_Void();
17386 {
17387 if (temp2)
17388 delete arg2;
17389 }
17390 return resultobj;
17391 fail:
17392 {
17393 if (temp2)
17394 delete arg2;
17395 }
17396 return NULL;
17397 }
17398
17399
17400 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17401 PyObject *obj;
17402 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17403 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17404 return SWIG_Py_Void();
17405 }
17406
17407 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17408 return SWIG_Python_InitShadowInstance(args);
17409 }
17410
17411 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17412 PyObject *resultobj = 0;
17413 wxWindow *arg1 = (wxWindow *) 0 ;
17414 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17415 wxString *arg2 = (wxString *) &arg2_defvalue ;
17416 wxString const &arg3_defvalue = wxPyEmptyString ;
17417 wxString *arg3 = (wxString *) &arg3_defvalue ;
17418 wxString const &arg4_defvalue = wxPyEmptyString ;
17419 wxString *arg4 = (wxString *) &arg4_defvalue ;
17420 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17421 wxString *arg5 = (wxString *) &arg5_defvalue ;
17422 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17423 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17424 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17425 wxFileDialog *result = 0 ;
17426 void *argp1 = 0 ;
17427 int res1 = 0 ;
17428 bool temp2 = false ;
17429 bool temp3 = false ;
17430 bool temp4 = false ;
17431 bool temp5 = false ;
17432 long val6 ;
17433 int ecode6 = 0 ;
17434 wxPoint temp7 ;
17435 PyObject * obj0 = 0 ;
17436 PyObject * obj1 = 0 ;
17437 PyObject * obj2 = 0 ;
17438 PyObject * obj3 = 0 ;
17439 PyObject * obj4 = 0 ;
17440 PyObject * obj5 = 0 ;
17441 PyObject * obj6 = 0 ;
17442 char * kwnames[] = {
17443 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17444 };
17445
17446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17448 if (!SWIG_IsOK(res1)) {
17449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17450 }
17451 arg1 = reinterpret_cast< wxWindow * >(argp1);
17452 if (obj1) {
17453 {
17454 arg2 = wxString_in_helper(obj1);
17455 if (arg2 == NULL) SWIG_fail;
17456 temp2 = true;
17457 }
17458 }
17459 if (obj2) {
17460 {
17461 arg3 = wxString_in_helper(obj2);
17462 if (arg3 == NULL) SWIG_fail;
17463 temp3 = true;
17464 }
17465 }
17466 if (obj3) {
17467 {
17468 arg4 = wxString_in_helper(obj3);
17469 if (arg4 == NULL) SWIG_fail;
17470 temp4 = true;
17471 }
17472 }
17473 if (obj4) {
17474 {
17475 arg5 = wxString_in_helper(obj4);
17476 if (arg5 == NULL) SWIG_fail;
17477 temp5 = true;
17478 }
17479 }
17480 if (obj5) {
17481 ecode6 = SWIG_AsVal_long(obj5, &val6);
17482 if (!SWIG_IsOK(ecode6)) {
17483 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17484 }
17485 arg6 = static_cast< long >(val6);
17486 }
17487 if (obj6) {
17488 {
17489 arg7 = &temp7;
17490 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17491 }
17492 }
17493 {
17494 if (!wxPyCheckForApp()) SWIG_fail;
17495 PyThreadState* __tstate = wxPyBeginAllowThreads();
17496 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17501 {
17502 if (temp2)
17503 delete arg2;
17504 }
17505 {
17506 if (temp3)
17507 delete arg3;
17508 }
17509 {
17510 if (temp4)
17511 delete arg4;
17512 }
17513 {
17514 if (temp5)
17515 delete arg5;
17516 }
17517 return resultobj;
17518 fail:
17519 {
17520 if (temp2)
17521 delete arg2;
17522 }
17523 {
17524 if (temp3)
17525 delete arg3;
17526 }
17527 {
17528 if (temp4)
17529 delete arg4;
17530 }
17531 {
17532 if (temp5)
17533 delete arg5;
17534 }
17535 return NULL;
17536 }
17537
17538
17539 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17540 PyObject *resultobj = 0;
17541 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17542 wxString *arg2 = 0 ;
17543 void *argp1 = 0 ;
17544 int res1 = 0 ;
17545 bool temp2 = false ;
17546 PyObject * obj0 = 0 ;
17547 PyObject * obj1 = 0 ;
17548 char * kwnames[] = {
17549 (char *) "self",(char *) "message", NULL
17550 };
17551
17552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17554 if (!SWIG_IsOK(res1)) {
17555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17556 }
17557 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17558 {
17559 arg2 = wxString_in_helper(obj1);
17560 if (arg2 == NULL) SWIG_fail;
17561 temp2 = true;
17562 }
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 (arg1)->SetMessage((wxString const &)*arg2);
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 resultobj = SWIG_Py_Void();
17570 {
17571 if (temp2)
17572 delete arg2;
17573 }
17574 return resultobj;
17575 fail:
17576 {
17577 if (temp2)
17578 delete arg2;
17579 }
17580 return NULL;
17581 }
17582
17583
17584 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj = 0;
17586 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17587 wxString *arg2 = 0 ;
17588 void *argp1 = 0 ;
17589 int res1 = 0 ;
17590 bool temp2 = false ;
17591 PyObject * obj0 = 0 ;
17592 PyObject * obj1 = 0 ;
17593 char * kwnames[] = {
17594 (char *) "self",(char *) "path", NULL
17595 };
17596
17597 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17598 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17599 if (!SWIG_IsOK(res1)) {
17600 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17601 }
17602 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17603 {
17604 arg2 = wxString_in_helper(obj1);
17605 if (arg2 == NULL) SWIG_fail;
17606 temp2 = true;
17607 }
17608 {
17609 PyThreadState* __tstate = wxPyBeginAllowThreads();
17610 (arg1)->SetPath((wxString const &)*arg2);
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 resultobj = SWIG_Py_Void();
17615 {
17616 if (temp2)
17617 delete arg2;
17618 }
17619 return resultobj;
17620 fail:
17621 {
17622 if (temp2)
17623 delete arg2;
17624 }
17625 return NULL;
17626 }
17627
17628
17629 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17630 PyObject *resultobj = 0;
17631 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17632 wxString *arg2 = 0 ;
17633 void *argp1 = 0 ;
17634 int res1 = 0 ;
17635 bool temp2 = false ;
17636 PyObject * obj0 = 0 ;
17637 PyObject * obj1 = 0 ;
17638 char * kwnames[] = {
17639 (char *) "self",(char *) "dir", NULL
17640 };
17641
17642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17644 if (!SWIG_IsOK(res1)) {
17645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17646 }
17647 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17648 {
17649 arg2 = wxString_in_helper(obj1);
17650 if (arg2 == NULL) SWIG_fail;
17651 temp2 = true;
17652 }
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 (arg1)->SetDirectory((wxString const &)*arg2);
17656 wxPyEndAllowThreads(__tstate);
17657 if (PyErr_Occurred()) SWIG_fail;
17658 }
17659 resultobj = SWIG_Py_Void();
17660 {
17661 if (temp2)
17662 delete arg2;
17663 }
17664 return resultobj;
17665 fail:
17666 {
17667 if (temp2)
17668 delete arg2;
17669 }
17670 return NULL;
17671 }
17672
17673
17674 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17675 PyObject *resultobj = 0;
17676 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17677 wxString *arg2 = 0 ;
17678 void *argp1 = 0 ;
17679 int res1 = 0 ;
17680 bool temp2 = false ;
17681 PyObject * obj0 = 0 ;
17682 PyObject * obj1 = 0 ;
17683 char * kwnames[] = {
17684 (char *) "self",(char *) "name", NULL
17685 };
17686
17687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17689 if (!SWIG_IsOK(res1)) {
17690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17691 }
17692 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17693 {
17694 arg2 = wxString_in_helper(obj1);
17695 if (arg2 == NULL) SWIG_fail;
17696 temp2 = true;
17697 }
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 (arg1)->SetFilename((wxString const &)*arg2);
17701 wxPyEndAllowThreads(__tstate);
17702 if (PyErr_Occurred()) SWIG_fail;
17703 }
17704 resultobj = SWIG_Py_Void();
17705 {
17706 if (temp2)
17707 delete arg2;
17708 }
17709 return resultobj;
17710 fail:
17711 {
17712 if (temp2)
17713 delete arg2;
17714 }
17715 return NULL;
17716 }
17717
17718
17719 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17720 PyObject *resultobj = 0;
17721 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17722 wxString *arg2 = 0 ;
17723 void *argp1 = 0 ;
17724 int res1 = 0 ;
17725 bool temp2 = false ;
17726 PyObject * obj0 = 0 ;
17727 PyObject * obj1 = 0 ;
17728 char * kwnames[] = {
17729 (char *) "self",(char *) "wildCard", NULL
17730 };
17731
17732 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17733 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17734 if (!SWIG_IsOK(res1)) {
17735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17736 }
17737 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17738 {
17739 arg2 = wxString_in_helper(obj1);
17740 if (arg2 == NULL) SWIG_fail;
17741 temp2 = true;
17742 }
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 (arg1)->SetWildcard((wxString const &)*arg2);
17746 wxPyEndAllowThreads(__tstate);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 }
17749 resultobj = SWIG_Py_Void();
17750 {
17751 if (temp2)
17752 delete arg2;
17753 }
17754 return resultobj;
17755 fail:
17756 {
17757 if (temp2)
17758 delete arg2;
17759 }
17760 return NULL;
17761 }
17762
17763
17764 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17765 PyObject *resultobj = 0;
17766 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17767 int arg2 ;
17768 void *argp1 = 0 ;
17769 int res1 = 0 ;
17770 int val2 ;
17771 int ecode2 = 0 ;
17772 PyObject * obj0 = 0 ;
17773 PyObject * obj1 = 0 ;
17774 char * kwnames[] = {
17775 (char *) "self",(char *) "filterIndex", NULL
17776 };
17777
17778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17780 if (!SWIG_IsOK(res1)) {
17781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17782 }
17783 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17784 ecode2 = SWIG_AsVal_int(obj1, &val2);
17785 if (!SWIG_IsOK(ecode2)) {
17786 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17787 }
17788 arg2 = static_cast< int >(val2);
17789 {
17790 PyThreadState* __tstate = wxPyBeginAllowThreads();
17791 (arg1)->SetFilterIndex(arg2);
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 resultobj = SWIG_Py_Void();
17796 return resultobj;
17797 fail:
17798 return NULL;
17799 }
17800
17801
17802 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17803 PyObject *resultobj = 0;
17804 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17805 wxString result;
17806 void *argp1 = 0 ;
17807 int res1 = 0 ;
17808 PyObject *swig_obj[1] ;
17809
17810 if (!args) SWIG_fail;
17811 swig_obj[0] = args;
17812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17813 if (!SWIG_IsOK(res1)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17815 }
17816 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17817 {
17818 PyThreadState* __tstate = wxPyBeginAllowThreads();
17819 result = ((wxFileDialog const *)arg1)->GetMessage();
17820 wxPyEndAllowThreads(__tstate);
17821 if (PyErr_Occurred()) SWIG_fail;
17822 }
17823 {
17824 #if wxUSE_UNICODE
17825 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17826 #else
17827 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17828 #endif
17829 }
17830 return resultobj;
17831 fail:
17832 return NULL;
17833 }
17834
17835
17836 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17837 PyObject *resultobj = 0;
17838 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17839 wxString result;
17840 void *argp1 = 0 ;
17841 int res1 = 0 ;
17842 PyObject *swig_obj[1] ;
17843
17844 if (!args) SWIG_fail;
17845 swig_obj[0] = args;
17846 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17847 if (!SWIG_IsOK(res1)) {
17848 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17849 }
17850 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17851 {
17852 PyThreadState* __tstate = wxPyBeginAllowThreads();
17853 result = ((wxFileDialog const *)arg1)->GetPath();
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 {
17858 #if wxUSE_UNICODE
17859 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17860 #else
17861 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17862 #endif
17863 }
17864 return resultobj;
17865 fail:
17866 return NULL;
17867 }
17868
17869
17870 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17871 PyObject *resultobj = 0;
17872 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17873 wxString result;
17874 void *argp1 = 0 ;
17875 int res1 = 0 ;
17876 PyObject *swig_obj[1] ;
17877
17878 if (!args) SWIG_fail;
17879 swig_obj[0] = args;
17880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17881 if (!SWIG_IsOK(res1)) {
17882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17883 }
17884 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17885 {
17886 PyThreadState* __tstate = wxPyBeginAllowThreads();
17887 result = ((wxFileDialog const *)arg1)->GetDirectory();
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 {
17892 #if wxUSE_UNICODE
17893 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17894 #else
17895 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17896 #endif
17897 }
17898 return resultobj;
17899 fail:
17900 return NULL;
17901 }
17902
17903
17904 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17905 PyObject *resultobj = 0;
17906 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17907 wxString result;
17908 void *argp1 = 0 ;
17909 int res1 = 0 ;
17910 PyObject *swig_obj[1] ;
17911
17912 if (!args) SWIG_fail;
17913 swig_obj[0] = args;
17914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17915 if (!SWIG_IsOK(res1)) {
17916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17917 }
17918 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17919 {
17920 PyThreadState* __tstate = wxPyBeginAllowThreads();
17921 result = ((wxFileDialog const *)arg1)->GetFilename();
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
17925 {
17926 #if wxUSE_UNICODE
17927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17928 #else
17929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17930 #endif
17931 }
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17939 PyObject *resultobj = 0;
17940 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17941 wxString result;
17942 void *argp1 = 0 ;
17943 int res1 = 0 ;
17944 PyObject *swig_obj[1] ;
17945
17946 if (!args) SWIG_fail;
17947 swig_obj[0] = args;
17948 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17949 if (!SWIG_IsOK(res1)) {
17950 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17951 }
17952 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17953 {
17954 PyThreadState* __tstate = wxPyBeginAllowThreads();
17955 result = ((wxFileDialog const *)arg1)->GetWildcard();
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 {
17960 #if wxUSE_UNICODE
17961 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17962 #else
17963 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17964 #endif
17965 }
17966 return resultobj;
17967 fail:
17968 return NULL;
17969 }
17970
17971
17972 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17973 PyObject *resultobj = 0;
17974 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17975 int result;
17976 void *argp1 = 0 ;
17977 int res1 = 0 ;
17978 PyObject *swig_obj[1] ;
17979
17980 if (!args) SWIG_fail;
17981 swig_obj[0] = args;
17982 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17983 if (!SWIG_IsOK(res1)) {
17984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17985 }
17986 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17987 {
17988 PyThreadState* __tstate = wxPyBeginAllowThreads();
17989 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17990 wxPyEndAllowThreads(__tstate);
17991 if (PyErr_Occurred()) SWIG_fail;
17992 }
17993 resultobj = SWIG_From_int(static_cast< int >(result));
17994 return resultobj;
17995 fail:
17996 return NULL;
17997 }
17998
17999
18000 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18001 PyObject *resultobj = 0;
18002 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18003 PyObject *result = 0 ;
18004 void *argp1 = 0 ;
18005 int res1 = 0 ;
18006 PyObject *swig_obj[1] ;
18007
18008 if (!args) SWIG_fail;
18009 swig_obj[0] = args;
18010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18011 if (!SWIG_IsOK(res1)) {
18012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18013 }
18014 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18015 {
18016 PyThreadState* __tstate = wxPyBeginAllowThreads();
18017 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 resultobj = result;
18022 return resultobj;
18023 fail:
18024 return NULL;
18025 }
18026
18027
18028 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18029 PyObject *resultobj = 0;
18030 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
18031 PyObject *result = 0 ;
18032 void *argp1 = 0 ;
18033 int res1 = 0 ;
18034 PyObject *swig_obj[1] ;
18035
18036 if (!args) SWIG_fail;
18037 swig_obj[0] = args;
18038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
18039 if (!SWIG_IsOK(res1)) {
18040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
18041 }
18042 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
18043 {
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 result = (PyObject *)wxFileDialog_GetPaths(arg1);
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 resultobj = result;
18050 return resultobj;
18051 fail:
18052 return NULL;
18053 }
18054
18055
18056 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18057 PyObject *obj;
18058 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18059 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
18060 return SWIG_Py_Void();
18061 }
18062
18063 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18064 return SWIG_Python_InitShadowInstance(args);
18065 }
18066
18067 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18068 PyObject *resultobj = 0;
18069 wxWindow *arg1 = (wxWindow *) 0 ;
18070 wxString *arg2 = 0 ;
18071 wxString *arg3 = 0 ;
18072 int arg4 = (int) 0 ;
18073 wxString *arg5 = (wxString *) NULL ;
18074 long arg6 = (long) wxCHOICEDLG_STYLE ;
18075 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18076 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18077 wxMultiChoiceDialog *result = 0 ;
18078 void *argp1 = 0 ;
18079 int res1 = 0 ;
18080 bool temp2 = false ;
18081 bool temp3 = false ;
18082 long val6 ;
18083 int ecode6 = 0 ;
18084 wxPoint temp7 ;
18085 PyObject * obj0 = 0 ;
18086 PyObject * obj1 = 0 ;
18087 PyObject * obj2 = 0 ;
18088 PyObject * obj3 = 0 ;
18089 PyObject * obj4 = 0 ;
18090 PyObject * obj5 = 0 ;
18091 char * kwnames[] = {
18092 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18093 };
18094
18095 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18096 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18097 if (!SWIG_IsOK(res1)) {
18098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18099 }
18100 arg1 = reinterpret_cast< wxWindow * >(argp1);
18101 {
18102 arg2 = wxString_in_helper(obj1);
18103 if (arg2 == NULL) SWIG_fail;
18104 temp2 = true;
18105 }
18106 {
18107 arg3 = wxString_in_helper(obj2);
18108 if (arg3 == NULL) SWIG_fail;
18109 temp3 = true;
18110 }
18111 if (obj3) {
18112 {
18113 arg4 = PyList_Size(obj3);
18114 arg5 = wxString_LIST_helper(obj3);
18115 if (arg5 == NULL) SWIG_fail;
18116 }
18117 }
18118 if (obj4) {
18119 ecode6 = SWIG_AsVal_long(obj4, &val6);
18120 if (!SWIG_IsOK(ecode6)) {
18121 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18122 }
18123 arg6 = static_cast< long >(val6);
18124 }
18125 if (obj5) {
18126 {
18127 arg7 = &temp7;
18128 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18129 }
18130 }
18131 {
18132 if (!wxPyCheckForApp()) SWIG_fail;
18133 PyThreadState* __tstate = wxPyBeginAllowThreads();
18134 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
18139 {
18140 if (temp2)
18141 delete arg2;
18142 }
18143 {
18144 if (temp3)
18145 delete arg3;
18146 }
18147 {
18148 if (arg5) delete [] arg5;
18149 }
18150 return resultobj;
18151 fail:
18152 {
18153 if (temp2)
18154 delete arg2;
18155 }
18156 {
18157 if (temp3)
18158 delete arg3;
18159 }
18160 {
18161 if (arg5) delete [] arg5;
18162 }
18163 return NULL;
18164 }
18165
18166
18167 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18168 PyObject *resultobj = 0;
18169 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18170 wxArrayInt *arg2 = 0 ;
18171 void *argp1 = 0 ;
18172 int res1 = 0 ;
18173 bool temp2 = false ;
18174 PyObject * obj0 = 0 ;
18175 PyObject * obj1 = 0 ;
18176 char * kwnames[] = {
18177 (char *) "self",(char *) "selections", NULL
18178 };
18179
18180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
18181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18182 if (!SWIG_IsOK(res1)) {
18183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18184 }
18185 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18186 {
18187 if (! PySequence_Check(obj1)) {
18188 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18189 SWIG_fail;
18190 }
18191 arg2 = new wxArrayInt;
18192 temp2 = true;
18193 int i, len=PySequence_Length(obj1);
18194 for (i=0; i<len; i++) {
18195 PyObject* item = PySequence_GetItem(obj1, i);
18196 PyObject* number = PyNumber_Int(item);
18197 if (!number) {
18198 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
18199 SWIG_fail;
18200 }
18201 arg2->Add(PyInt_AS_LONG(number));
18202 Py_DECREF(item);
18203 Py_DECREF(number);
18204 }
18205 }
18206 {
18207 PyThreadState* __tstate = wxPyBeginAllowThreads();
18208 (arg1)->SetSelections((wxArrayInt const &)*arg2);
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 resultobj = SWIG_Py_Void();
18213 {
18214 if (temp2) delete arg2;
18215 }
18216 return resultobj;
18217 fail:
18218 {
18219 if (temp2) delete arg2;
18220 }
18221 return NULL;
18222 }
18223
18224
18225 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18226 PyObject *resultobj = 0;
18227 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
18228 PyObject *result = 0 ;
18229 void *argp1 = 0 ;
18230 int res1 = 0 ;
18231 PyObject *swig_obj[1] ;
18232
18233 if (!args) SWIG_fail;
18234 swig_obj[0] = args;
18235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
18236 if (!SWIG_IsOK(res1)) {
18237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18238 }
18239 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
18240 {
18241 PyThreadState* __tstate = wxPyBeginAllowThreads();
18242 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
18243 wxPyEndAllowThreads(__tstate);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 }
18246 resultobj = result;
18247 return resultobj;
18248 fail:
18249 return NULL;
18250 }
18251
18252
18253 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18254 PyObject *obj;
18255 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18256 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
18257 return SWIG_Py_Void();
18258 }
18259
18260 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18261 return SWIG_Python_InitShadowInstance(args);
18262 }
18263
18264 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18265 PyObject *resultobj = 0;
18266 wxWindow *arg1 = (wxWindow *) 0 ;
18267 wxString *arg2 = 0 ;
18268 wxString *arg3 = 0 ;
18269 int arg4 ;
18270 wxString *arg5 = (wxString *) 0 ;
18271 long arg6 = (long) wxCHOICEDLG_STYLE ;
18272 wxPoint const &arg7_defvalue = wxDefaultPosition ;
18273 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
18274 wxSingleChoiceDialog *result = 0 ;
18275 void *argp1 = 0 ;
18276 int res1 = 0 ;
18277 bool temp2 = false ;
18278 bool temp3 = false ;
18279 long val6 ;
18280 int ecode6 = 0 ;
18281 wxPoint temp7 ;
18282 PyObject * obj0 = 0 ;
18283 PyObject * obj1 = 0 ;
18284 PyObject * obj2 = 0 ;
18285 PyObject * obj3 = 0 ;
18286 PyObject * obj4 = 0 ;
18287 PyObject * obj5 = 0 ;
18288 char * kwnames[] = {
18289 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18290 };
18291
18292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18294 if (!SWIG_IsOK(res1)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18296 }
18297 arg1 = reinterpret_cast< wxWindow * >(argp1);
18298 {
18299 arg2 = wxString_in_helper(obj1);
18300 if (arg2 == NULL) SWIG_fail;
18301 temp2 = true;
18302 }
18303 {
18304 arg3 = wxString_in_helper(obj2);
18305 if (arg3 == NULL) SWIG_fail;
18306 temp3 = true;
18307 }
18308 {
18309 arg4 = PyList_Size(obj3);
18310 arg5 = wxString_LIST_helper(obj3);
18311 if (arg5 == NULL) SWIG_fail;
18312 }
18313 if (obj4) {
18314 ecode6 = SWIG_AsVal_long(obj4, &val6);
18315 if (!SWIG_IsOK(ecode6)) {
18316 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18317 }
18318 arg6 = static_cast< long >(val6);
18319 }
18320 if (obj5) {
18321 {
18322 arg7 = &temp7;
18323 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18324 }
18325 }
18326 {
18327 if (!wxPyCheckForApp()) SWIG_fail;
18328 PyThreadState* __tstate = wxPyBeginAllowThreads();
18329 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18330 wxPyEndAllowThreads(__tstate);
18331 if (PyErr_Occurred()) SWIG_fail;
18332 }
18333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18334 {
18335 if (temp2)
18336 delete arg2;
18337 }
18338 {
18339 if (temp3)
18340 delete arg3;
18341 }
18342 {
18343 if (arg5) delete [] arg5;
18344 }
18345 return resultobj;
18346 fail:
18347 {
18348 if (temp2)
18349 delete arg2;
18350 }
18351 {
18352 if (temp3)
18353 delete arg3;
18354 }
18355 {
18356 if (arg5) delete [] arg5;
18357 }
18358 return NULL;
18359 }
18360
18361
18362 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18363 PyObject *resultobj = 0;
18364 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18365 int result;
18366 void *argp1 = 0 ;
18367 int res1 = 0 ;
18368 PyObject *swig_obj[1] ;
18369
18370 if (!args) SWIG_fail;
18371 swig_obj[0] = args;
18372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18373 if (!SWIG_IsOK(res1)) {
18374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18375 }
18376 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18377 {
18378 PyThreadState* __tstate = wxPyBeginAllowThreads();
18379 result = (int)(arg1)->GetSelection();
18380 wxPyEndAllowThreads(__tstate);
18381 if (PyErr_Occurred()) SWIG_fail;
18382 }
18383 resultobj = SWIG_From_int(static_cast< int >(result));
18384 return resultobj;
18385 fail:
18386 return NULL;
18387 }
18388
18389
18390 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18391 PyObject *resultobj = 0;
18392 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18393 wxString result;
18394 void *argp1 = 0 ;
18395 int res1 = 0 ;
18396 PyObject *swig_obj[1] ;
18397
18398 if (!args) SWIG_fail;
18399 swig_obj[0] = args;
18400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18401 if (!SWIG_IsOK(res1)) {
18402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18403 }
18404 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18405 {
18406 PyThreadState* __tstate = wxPyBeginAllowThreads();
18407 result = (arg1)->GetStringSelection();
18408 wxPyEndAllowThreads(__tstate);
18409 if (PyErr_Occurred()) SWIG_fail;
18410 }
18411 {
18412 #if wxUSE_UNICODE
18413 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18414 #else
18415 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18416 #endif
18417 }
18418 return resultobj;
18419 fail:
18420 return NULL;
18421 }
18422
18423
18424 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18425 PyObject *resultobj = 0;
18426 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18427 int arg2 ;
18428 void *argp1 = 0 ;
18429 int res1 = 0 ;
18430 int val2 ;
18431 int ecode2 = 0 ;
18432 PyObject * obj0 = 0 ;
18433 PyObject * obj1 = 0 ;
18434 char * kwnames[] = {
18435 (char *) "self",(char *) "sel", NULL
18436 };
18437
18438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18440 if (!SWIG_IsOK(res1)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18442 }
18443 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18444 ecode2 = SWIG_AsVal_int(obj1, &val2);
18445 if (!SWIG_IsOK(ecode2)) {
18446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18447 }
18448 arg2 = static_cast< int >(val2);
18449 {
18450 PyThreadState* __tstate = wxPyBeginAllowThreads();
18451 (arg1)->SetSelection(arg2);
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 resultobj = SWIG_Py_Void();
18456 return resultobj;
18457 fail:
18458 return NULL;
18459 }
18460
18461
18462 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18463 PyObject *obj;
18464 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18465 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18466 return SWIG_Py_Void();
18467 }
18468
18469 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18470 return SWIG_Python_InitShadowInstance(args);
18471 }
18472
18473 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18474 PyObject *resultobj = 0;
18475 wxWindow *arg1 = (wxWindow *) 0 ;
18476 wxString *arg2 = 0 ;
18477 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18478 wxString *arg3 = (wxString *) &arg3_defvalue ;
18479 wxString const &arg4_defvalue = wxPyEmptyString ;
18480 wxString *arg4 = (wxString *) &arg4_defvalue ;
18481 long arg5 = (long) wxTextEntryDialogStyle ;
18482 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18483 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18484 wxTextEntryDialog *result = 0 ;
18485 void *argp1 = 0 ;
18486 int res1 = 0 ;
18487 bool temp2 = false ;
18488 bool temp3 = false ;
18489 bool temp4 = false ;
18490 long val5 ;
18491 int ecode5 = 0 ;
18492 wxPoint temp6 ;
18493 PyObject * obj0 = 0 ;
18494 PyObject * obj1 = 0 ;
18495 PyObject * obj2 = 0 ;
18496 PyObject * obj3 = 0 ;
18497 PyObject * obj4 = 0 ;
18498 PyObject * obj5 = 0 ;
18499 char * kwnames[] = {
18500 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18501 };
18502
18503 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18504 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18505 if (!SWIG_IsOK(res1)) {
18506 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18507 }
18508 arg1 = reinterpret_cast< wxWindow * >(argp1);
18509 {
18510 arg2 = wxString_in_helper(obj1);
18511 if (arg2 == NULL) SWIG_fail;
18512 temp2 = true;
18513 }
18514 if (obj2) {
18515 {
18516 arg3 = wxString_in_helper(obj2);
18517 if (arg3 == NULL) SWIG_fail;
18518 temp3 = true;
18519 }
18520 }
18521 if (obj3) {
18522 {
18523 arg4 = wxString_in_helper(obj3);
18524 if (arg4 == NULL) SWIG_fail;
18525 temp4 = true;
18526 }
18527 }
18528 if (obj4) {
18529 ecode5 = SWIG_AsVal_long(obj4, &val5);
18530 if (!SWIG_IsOK(ecode5)) {
18531 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18532 }
18533 arg5 = static_cast< long >(val5);
18534 }
18535 if (obj5) {
18536 {
18537 arg6 = &temp6;
18538 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18539 }
18540 }
18541 {
18542 if (!wxPyCheckForApp()) SWIG_fail;
18543 PyThreadState* __tstate = wxPyBeginAllowThreads();
18544 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18545 wxPyEndAllowThreads(__tstate);
18546 if (PyErr_Occurred()) SWIG_fail;
18547 }
18548 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18549 {
18550 if (temp2)
18551 delete arg2;
18552 }
18553 {
18554 if (temp3)
18555 delete arg3;
18556 }
18557 {
18558 if (temp4)
18559 delete arg4;
18560 }
18561 return resultobj;
18562 fail:
18563 {
18564 if (temp2)
18565 delete arg2;
18566 }
18567 {
18568 if (temp3)
18569 delete arg3;
18570 }
18571 {
18572 if (temp4)
18573 delete arg4;
18574 }
18575 return NULL;
18576 }
18577
18578
18579 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18580 PyObject *resultobj = 0;
18581 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18582 wxString result;
18583 void *argp1 = 0 ;
18584 int res1 = 0 ;
18585 PyObject *swig_obj[1] ;
18586
18587 if (!args) SWIG_fail;
18588 swig_obj[0] = args;
18589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18590 if (!SWIG_IsOK(res1)) {
18591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18592 }
18593 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18594 {
18595 PyThreadState* __tstate = wxPyBeginAllowThreads();
18596 result = (arg1)->GetValue();
18597 wxPyEndAllowThreads(__tstate);
18598 if (PyErr_Occurred()) SWIG_fail;
18599 }
18600 {
18601 #if wxUSE_UNICODE
18602 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18603 #else
18604 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18605 #endif
18606 }
18607 return resultobj;
18608 fail:
18609 return NULL;
18610 }
18611
18612
18613 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18614 PyObject *resultobj = 0;
18615 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18616 wxString *arg2 = 0 ;
18617 void *argp1 = 0 ;
18618 int res1 = 0 ;
18619 bool temp2 = false ;
18620 PyObject * obj0 = 0 ;
18621 PyObject * obj1 = 0 ;
18622 char * kwnames[] = {
18623 (char *) "self",(char *) "value", NULL
18624 };
18625
18626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18628 if (!SWIG_IsOK(res1)) {
18629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18630 }
18631 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18632 {
18633 arg2 = wxString_in_helper(obj1);
18634 if (arg2 == NULL) SWIG_fail;
18635 temp2 = true;
18636 }
18637 {
18638 PyThreadState* __tstate = wxPyBeginAllowThreads();
18639 (arg1)->SetValue((wxString const &)*arg2);
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 resultobj = SWIG_Py_Void();
18644 {
18645 if (temp2)
18646 delete arg2;
18647 }
18648 return resultobj;
18649 fail:
18650 {
18651 if (temp2)
18652 delete arg2;
18653 }
18654 return NULL;
18655 }
18656
18657
18658 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18659 PyObject *obj;
18660 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18661 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18662 return SWIG_Py_Void();
18663 }
18664
18665 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18666 return SWIG_Python_InitShadowInstance(args);
18667 }
18668
18669 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18670 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18671 return 1;
18672 }
18673
18674
18675 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18676 PyObject *pyobj = 0;
18677
18678 {
18679 #if wxUSE_UNICODE
18680 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18681 #else
18682 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18683 #endif
18684 }
18685 return pyobj;
18686 }
18687
18688
18689 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18690 PyObject *resultobj = 0;
18691 wxWindow *arg1 = (wxWindow *) 0 ;
18692 wxString *arg2 = 0 ;
18693 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18694 wxString *arg3 = (wxString *) &arg3_defvalue ;
18695 wxString const &arg4_defvalue = wxPyEmptyString ;
18696 wxString *arg4 = (wxString *) &arg4_defvalue ;
18697 long arg5 = (long) wxTextEntryDialogStyle ;
18698 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18699 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18700 wxPasswordEntryDialog *result = 0 ;
18701 void *argp1 = 0 ;
18702 int res1 = 0 ;
18703 bool temp2 = false ;
18704 bool temp3 = false ;
18705 bool temp4 = false ;
18706 long val5 ;
18707 int ecode5 = 0 ;
18708 wxPoint temp6 ;
18709 PyObject * obj0 = 0 ;
18710 PyObject * obj1 = 0 ;
18711 PyObject * obj2 = 0 ;
18712 PyObject * obj3 = 0 ;
18713 PyObject * obj4 = 0 ;
18714 PyObject * obj5 = 0 ;
18715 char * kwnames[] = {
18716 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18717 };
18718
18719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18721 if (!SWIG_IsOK(res1)) {
18722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18723 }
18724 arg1 = reinterpret_cast< wxWindow * >(argp1);
18725 {
18726 arg2 = wxString_in_helper(obj1);
18727 if (arg2 == NULL) SWIG_fail;
18728 temp2 = true;
18729 }
18730 if (obj2) {
18731 {
18732 arg3 = wxString_in_helper(obj2);
18733 if (arg3 == NULL) SWIG_fail;
18734 temp3 = true;
18735 }
18736 }
18737 if (obj3) {
18738 {
18739 arg4 = wxString_in_helper(obj3);
18740 if (arg4 == NULL) SWIG_fail;
18741 temp4 = true;
18742 }
18743 }
18744 if (obj4) {
18745 ecode5 = SWIG_AsVal_long(obj4, &val5);
18746 if (!SWIG_IsOK(ecode5)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18748 }
18749 arg5 = static_cast< long >(val5);
18750 }
18751 if (obj5) {
18752 {
18753 arg6 = &temp6;
18754 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18755 }
18756 }
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
18763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18764 {
18765 if (temp2)
18766 delete arg2;
18767 }
18768 {
18769 if (temp3)
18770 delete arg3;
18771 }
18772 {
18773 if (temp4)
18774 delete arg4;
18775 }
18776 return resultobj;
18777 fail:
18778 {
18779 if (temp2)
18780 delete arg2;
18781 }
18782 {
18783 if (temp3)
18784 delete arg3;
18785 }
18786 {
18787 if (temp4)
18788 delete arg4;
18789 }
18790 return NULL;
18791 }
18792
18793
18794 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18795 PyObject *obj;
18796 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18797 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18798 return SWIG_Py_Void();
18799 }
18800
18801 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18802 return SWIG_Python_InitShadowInstance(args);
18803 }
18804
18805 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18806 PyObject *resultobj = 0;
18807 wxWindow *arg1 = (wxWindow *) 0 ;
18808 wxString *arg2 = 0 ;
18809 wxString *arg3 = 0 ;
18810 wxString *arg4 = 0 ;
18811 long arg5 ;
18812 long arg6 ;
18813 long arg7 ;
18814 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18815 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18816 wxNumberEntryDialog *result = 0 ;
18817 void *argp1 = 0 ;
18818 int res1 = 0 ;
18819 bool temp2 = false ;
18820 bool temp3 = false ;
18821 bool temp4 = false ;
18822 long val5 ;
18823 int ecode5 = 0 ;
18824 long val6 ;
18825 int ecode6 = 0 ;
18826 long val7 ;
18827 int ecode7 = 0 ;
18828 wxPoint temp8 ;
18829 PyObject * obj0 = 0 ;
18830 PyObject * obj1 = 0 ;
18831 PyObject * obj2 = 0 ;
18832 PyObject * obj3 = 0 ;
18833 PyObject * obj4 = 0 ;
18834 PyObject * obj5 = 0 ;
18835 PyObject * obj6 = 0 ;
18836 PyObject * obj7 = 0 ;
18837 char * kwnames[] = {
18838 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18839 };
18840
18841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18843 if (!SWIG_IsOK(res1)) {
18844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18845 }
18846 arg1 = reinterpret_cast< wxWindow * >(argp1);
18847 {
18848 arg2 = wxString_in_helper(obj1);
18849 if (arg2 == NULL) SWIG_fail;
18850 temp2 = true;
18851 }
18852 {
18853 arg3 = wxString_in_helper(obj2);
18854 if (arg3 == NULL) SWIG_fail;
18855 temp3 = true;
18856 }
18857 {
18858 arg4 = wxString_in_helper(obj3);
18859 if (arg4 == NULL) SWIG_fail;
18860 temp4 = true;
18861 }
18862 ecode5 = SWIG_AsVal_long(obj4, &val5);
18863 if (!SWIG_IsOK(ecode5)) {
18864 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18865 }
18866 arg5 = static_cast< long >(val5);
18867 ecode6 = SWIG_AsVal_long(obj5, &val6);
18868 if (!SWIG_IsOK(ecode6)) {
18869 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18870 }
18871 arg6 = static_cast< long >(val6);
18872 ecode7 = SWIG_AsVal_long(obj6, &val7);
18873 if (!SWIG_IsOK(ecode7)) {
18874 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18875 }
18876 arg7 = static_cast< long >(val7);
18877 if (obj7) {
18878 {
18879 arg8 = &temp8;
18880 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18881 }
18882 }
18883 {
18884 if (!wxPyCheckForApp()) SWIG_fail;
18885 PyThreadState* __tstate = wxPyBeginAllowThreads();
18886 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18887 wxPyEndAllowThreads(__tstate);
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18891 {
18892 if (temp2)
18893 delete arg2;
18894 }
18895 {
18896 if (temp3)
18897 delete arg3;
18898 }
18899 {
18900 if (temp4)
18901 delete arg4;
18902 }
18903 return resultobj;
18904 fail:
18905 {
18906 if (temp2)
18907 delete arg2;
18908 }
18909 {
18910 if (temp3)
18911 delete arg3;
18912 }
18913 {
18914 if (temp4)
18915 delete arg4;
18916 }
18917 return NULL;
18918 }
18919
18920
18921 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18922 PyObject *resultobj = 0;
18923 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18924 long result;
18925 void *argp1 = 0 ;
18926 int res1 = 0 ;
18927 PyObject *swig_obj[1] ;
18928
18929 if (!args) SWIG_fail;
18930 swig_obj[0] = args;
18931 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18932 if (!SWIG_IsOK(res1)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18934 }
18935 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 result = (long)(arg1)->GetValue();
18939 wxPyEndAllowThreads(__tstate);
18940 if (PyErr_Occurred()) SWIG_fail;
18941 }
18942 resultobj = SWIG_From_long(static_cast< long >(result));
18943 return resultobj;
18944 fail:
18945 return NULL;
18946 }
18947
18948
18949 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18950 PyObject *obj;
18951 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18952 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18953 return SWIG_Py_Void();
18954 }
18955
18956 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18957 return SWIG_Python_InitShadowInstance(args);
18958 }
18959
18960 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18961 PyObject *resultobj = 0;
18962 wxFontData *result = 0 ;
18963
18964 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 result = (wxFontData *)new wxFontData();
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18972 return resultobj;
18973 fail:
18974 return NULL;
18975 }
18976
18977
18978 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18979 PyObject *resultobj = 0;
18980 wxFontData *arg1 = (wxFontData *) 0 ;
18981 void *argp1 = 0 ;
18982 int res1 = 0 ;
18983 PyObject *swig_obj[1] ;
18984
18985 if (!args) SWIG_fail;
18986 swig_obj[0] = args;
18987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18988 if (!SWIG_IsOK(res1)) {
18989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18990 }
18991 arg1 = reinterpret_cast< wxFontData * >(argp1);
18992 {
18993 PyThreadState* __tstate = wxPyBeginAllowThreads();
18994 delete arg1;
18995
18996 wxPyEndAllowThreads(__tstate);
18997 if (PyErr_Occurred()) SWIG_fail;
18998 }
18999 resultobj = SWIG_Py_Void();
19000 return resultobj;
19001 fail:
19002 return NULL;
19003 }
19004
19005
19006 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19007 PyObject *resultobj = 0;
19008 wxFontData *arg1 = (wxFontData *) 0 ;
19009 bool arg2 ;
19010 void *argp1 = 0 ;
19011 int res1 = 0 ;
19012 bool val2 ;
19013 int ecode2 = 0 ;
19014 PyObject * obj0 = 0 ;
19015 PyObject * obj1 = 0 ;
19016 char * kwnames[] = {
19017 (char *) "self",(char *) "enable", NULL
19018 };
19019
19020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
19021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19022 if (!SWIG_IsOK(res1)) {
19023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19024 }
19025 arg1 = reinterpret_cast< wxFontData * >(argp1);
19026 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19027 if (!SWIG_IsOK(ecode2)) {
19028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
19029 }
19030 arg2 = static_cast< bool >(val2);
19031 {
19032 PyThreadState* __tstate = wxPyBeginAllowThreads();
19033 (arg1)->EnableEffects(arg2);
19034 wxPyEndAllowThreads(__tstate);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 }
19037 resultobj = SWIG_Py_Void();
19038 return resultobj;
19039 fail:
19040 return NULL;
19041 }
19042
19043
19044 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19045 PyObject *resultobj = 0;
19046 wxFontData *arg1 = (wxFontData *) 0 ;
19047 bool result;
19048 void *argp1 = 0 ;
19049 int res1 = 0 ;
19050 PyObject *swig_obj[1] ;
19051
19052 if (!args) SWIG_fail;
19053 swig_obj[0] = args;
19054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19055 if (!SWIG_IsOK(res1)) {
19056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19057 }
19058 arg1 = reinterpret_cast< wxFontData * >(argp1);
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 result = (bool)(arg1)->GetAllowSymbols();
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 {
19066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19067 }
19068 return resultobj;
19069 fail:
19070 return NULL;
19071 }
19072
19073
19074 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19075 PyObject *resultobj = 0;
19076 wxFontData *arg1 = (wxFontData *) 0 ;
19077 wxColour result;
19078 void *argp1 = 0 ;
19079 int res1 = 0 ;
19080 PyObject *swig_obj[1] ;
19081
19082 if (!args) SWIG_fail;
19083 swig_obj[0] = args;
19084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19085 if (!SWIG_IsOK(res1)) {
19086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19087 }
19088 arg1 = reinterpret_cast< wxFontData * >(argp1);
19089 {
19090 PyThreadState* __tstate = wxPyBeginAllowThreads();
19091 result = (arg1)->GetColour();
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
19096 return resultobj;
19097 fail:
19098 return NULL;
19099 }
19100
19101
19102 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19103 PyObject *resultobj = 0;
19104 wxFontData *arg1 = (wxFontData *) 0 ;
19105 wxFont result;
19106 void *argp1 = 0 ;
19107 int res1 = 0 ;
19108 PyObject *swig_obj[1] ;
19109
19110 if (!args) SWIG_fail;
19111 swig_obj[0] = args;
19112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19113 if (!SWIG_IsOK(res1)) {
19114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19115 }
19116 arg1 = reinterpret_cast< wxFontData * >(argp1);
19117 {
19118 PyThreadState* __tstate = wxPyBeginAllowThreads();
19119 result = (arg1)->GetChosenFont();
19120 wxPyEndAllowThreads(__tstate);
19121 if (PyErr_Occurred()) SWIG_fail;
19122 }
19123 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19124 return resultobj;
19125 fail:
19126 return NULL;
19127 }
19128
19129
19130 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19131 PyObject *resultobj = 0;
19132 wxFontData *arg1 = (wxFontData *) 0 ;
19133 bool result;
19134 void *argp1 = 0 ;
19135 int res1 = 0 ;
19136 PyObject *swig_obj[1] ;
19137
19138 if (!args) SWIG_fail;
19139 swig_obj[0] = args;
19140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19141 if (!SWIG_IsOK(res1)) {
19142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19143 }
19144 arg1 = reinterpret_cast< wxFontData * >(argp1);
19145 {
19146 PyThreadState* __tstate = wxPyBeginAllowThreads();
19147 result = (bool)(arg1)->GetEnableEffects();
19148 wxPyEndAllowThreads(__tstate);
19149 if (PyErr_Occurred()) SWIG_fail;
19150 }
19151 {
19152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19153 }
19154 return resultobj;
19155 fail:
19156 return NULL;
19157 }
19158
19159
19160 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19161 PyObject *resultobj = 0;
19162 wxFontData *arg1 = (wxFontData *) 0 ;
19163 wxFont result;
19164 void *argp1 = 0 ;
19165 int res1 = 0 ;
19166 PyObject *swig_obj[1] ;
19167
19168 if (!args) SWIG_fail;
19169 swig_obj[0] = args;
19170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19171 if (!SWIG_IsOK(res1)) {
19172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19173 }
19174 arg1 = reinterpret_cast< wxFontData * >(argp1);
19175 {
19176 PyThreadState* __tstate = wxPyBeginAllowThreads();
19177 result = (arg1)->GetInitialFont();
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19182 return resultobj;
19183 fail:
19184 return NULL;
19185 }
19186
19187
19188 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19189 PyObject *resultobj = 0;
19190 wxFontData *arg1 = (wxFontData *) 0 ;
19191 bool result;
19192 void *argp1 = 0 ;
19193 int res1 = 0 ;
19194 PyObject *swig_obj[1] ;
19195
19196 if (!args) SWIG_fail;
19197 swig_obj[0] = args;
19198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19199 if (!SWIG_IsOK(res1)) {
19200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19201 }
19202 arg1 = reinterpret_cast< wxFontData * >(argp1);
19203 {
19204 PyThreadState* __tstate = wxPyBeginAllowThreads();
19205 result = (bool)(arg1)->GetShowHelp();
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 {
19210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19211 }
19212 return resultobj;
19213 fail:
19214 return NULL;
19215 }
19216
19217
19218 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19219 PyObject *resultobj = 0;
19220 wxFontData *arg1 = (wxFontData *) 0 ;
19221 bool arg2 ;
19222 void *argp1 = 0 ;
19223 int res1 = 0 ;
19224 bool val2 ;
19225 int ecode2 = 0 ;
19226 PyObject * obj0 = 0 ;
19227 PyObject * obj1 = 0 ;
19228 char * kwnames[] = {
19229 (char *) "self",(char *) "allowSymbols", NULL
19230 };
19231
19232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
19233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19234 if (!SWIG_IsOK(res1)) {
19235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19236 }
19237 arg1 = reinterpret_cast< wxFontData * >(argp1);
19238 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19239 if (!SWIG_IsOK(ecode2)) {
19240 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19241 }
19242 arg2 = static_cast< bool >(val2);
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 (arg1)->SetAllowSymbols(arg2);
19246 wxPyEndAllowThreads(__tstate);
19247 if (PyErr_Occurred()) SWIG_fail;
19248 }
19249 resultobj = SWIG_Py_Void();
19250 return resultobj;
19251 fail:
19252 return NULL;
19253 }
19254
19255
19256 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19257 PyObject *resultobj = 0;
19258 wxFontData *arg1 = (wxFontData *) 0 ;
19259 wxFont *arg2 = 0 ;
19260 void *argp1 = 0 ;
19261 int res1 = 0 ;
19262 void *argp2 = 0 ;
19263 int res2 = 0 ;
19264 PyObject * obj0 = 0 ;
19265 PyObject * obj1 = 0 ;
19266 char * kwnames[] = {
19267 (char *) "self",(char *) "font", NULL
19268 };
19269
19270 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
19271 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19272 if (!SWIG_IsOK(res1)) {
19273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19274 }
19275 arg1 = reinterpret_cast< wxFontData * >(argp1);
19276 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19277 if (!SWIG_IsOK(res2)) {
19278 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19279 }
19280 if (!argp2) {
19281 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19282 }
19283 arg2 = reinterpret_cast< wxFont * >(argp2);
19284 {
19285 PyThreadState* __tstate = wxPyBeginAllowThreads();
19286 (arg1)->SetChosenFont((wxFont const &)*arg2);
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 resultobj = SWIG_Py_Void();
19291 return resultobj;
19292 fail:
19293 return NULL;
19294 }
19295
19296
19297 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19298 PyObject *resultobj = 0;
19299 wxFontData *arg1 = (wxFontData *) 0 ;
19300 wxColour *arg2 = 0 ;
19301 void *argp1 = 0 ;
19302 int res1 = 0 ;
19303 wxColour temp2 ;
19304 PyObject * obj0 = 0 ;
19305 PyObject * obj1 = 0 ;
19306 char * kwnames[] = {
19307 (char *) "self",(char *) "colour", NULL
19308 };
19309
19310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19312 if (!SWIG_IsOK(res1)) {
19313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19314 }
19315 arg1 = reinterpret_cast< wxFontData * >(argp1);
19316 {
19317 arg2 = &temp2;
19318 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19319 }
19320 {
19321 PyThreadState* __tstate = wxPyBeginAllowThreads();
19322 (arg1)->SetColour((wxColour const &)*arg2);
19323 wxPyEndAllowThreads(__tstate);
19324 if (PyErr_Occurred()) SWIG_fail;
19325 }
19326 resultobj = SWIG_Py_Void();
19327 return resultobj;
19328 fail:
19329 return NULL;
19330 }
19331
19332
19333 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj = 0;
19335 wxFontData *arg1 = (wxFontData *) 0 ;
19336 wxFont *arg2 = 0 ;
19337 void *argp1 = 0 ;
19338 int res1 = 0 ;
19339 void *argp2 = 0 ;
19340 int res2 = 0 ;
19341 PyObject * obj0 = 0 ;
19342 PyObject * obj1 = 0 ;
19343 char * kwnames[] = {
19344 (char *) "self",(char *) "font", NULL
19345 };
19346
19347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19349 if (!SWIG_IsOK(res1)) {
19350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19351 }
19352 arg1 = reinterpret_cast< wxFontData * >(argp1);
19353 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19354 if (!SWIG_IsOK(res2)) {
19355 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19356 }
19357 if (!argp2) {
19358 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19359 }
19360 arg2 = reinterpret_cast< wxFont * >(argp2);
19361 {
19362 PyThreadState* __tstate = wxPyBeginAllowThreads();
19363 (arg1)->SetInitialFont((wxFont const &)*arg2);
19364 wxPyEndAllowThreads(__tstate);
19365 if (PyErr_Occurred()) SWIG_fail;
19366 }
19367 resultobj = SWIG_Py_Void();
19368 return resultobj;
19369 fail:
19370 return NULL;
19371 }
19372
19373
19374 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19375 PyObject *resultobj = 0;
19376 wxFontData *arg1 = (wxFontData *) 0 ;
19377 int arg2 ;
19378 int arg3 ;
19379 void *argp1 = 0 ;
19380 int res1 = 0 ;
19381 int val2 ;
19382 int ecode2 = 0 ;
19383 int val3 ;
19384 int ecode3 = 0 ;
19385 PyObject * obj0 = 0 ;
19386 PyObject * obj1 = 0 ;
19387 PyObject * obj2 = 0 ;
19388 char * kwnames[] = {
19389 (char *) "self",(char *) "min",(char *) "max", NULL
19390 };
19391
19392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19394 if (!SWIG_IsOK(res1)) {
19395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19396 }
19397 arg1 = reinterpret_cast< wxFontData * >(argp1);
19398 ecode2 = SWIG_AsVal_int(obj1, &val2);
19399 if (!SWIG_IsOK(ecode2)) {
19400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19401 }
19402 arg2 = static_cast< int >(val2);
19403 ecode3 = SWIG_AsVal_int(obj2, &val3);
19404 if (!SWIG_IsOK(ecode3)) {
19405 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19406 }
19407 arg3 = static_cast< int >(val3);
19408 {
19409 PyThreadState* __tstate = wxPyBeginAllowThreads();
19410 (arg1)->SetRange(arg2,arg3);
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 resultobj = SWIG_Py_Void();
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj = 0;
19423 wxFontData *arg1 = (wxFontData *) 0 ;
19424 bool arg2 ;
19425 void *argp1 = 0 ;
19426 int res1 = 0 ;
19427 bool val2 ;
19428 int ecode2 = 0 ;
19429 PyObject * obj0 = 0 ;
19430 PyObject * obj1 = 0 ;
19431 char * kwnames[] = {
19432 (char *) "self",(char *) "showHelp", NULL
19433 };
19434
19435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19437 if (!SWIG_IsOK(res1)) {
19438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19439 }
19440 arg1 = reinterpret_cast< wxFontData * >(argp1);
19441 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19442 if (!SWIG_IsOK(ecode2)) {
19443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19444 }
19445 arg2 = static_cast< bool >(val2);
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 (arg1)->SetShowHelp(arg2);
19449 wxPyEndAllowThreads(__tstate);
19450 if (PyErr_Occurred()) SWIG_fail;
19451 }
19452 resultobj = SWIG_Py_Void();
19453 return resultobj;
19454 fail:
19455 return NULL;
19456 }
19457
19458
19459 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19460 PyObject *obj;
19461 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19462 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19463 return SWIG_Py_Void();
19464 }
19465
19466 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19467 return SWIG_Python_InitShadowInstance(args);
19468 }
19469
19470 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19471 PyObject *resultobj = 0;
19472 wxWindow *arg1 = (wxWindow *) 0 ;
19473 wxFontData *arg2 = 0 ;
19474 wxFontDialog *result = 0 ;
19475 void *argp1 = 0 ;
19476 int res1 = 0 ;
19477 void *argp2 = 0 ;
19478 int res2 = 0 ;
19479 PyObject * obj0 = 0 ;
19480 PyObject * obj1 = 0 ;
19481 char * kwnames[] = {
19482 (char *) "parent",(char *) "data", NULL
19483 };
19484
19485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19487 if (!SWIG_IsOK(res1)) {
19488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19489 }
19490 arg1 = reinterpret_cast< wxWindow * >(argp1);
19491 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19492 if (!SWIG_IsOK(res2)) {
19493 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19494 }
19495 if (!argp2) {
19496 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19497 }
19498 arg2 = reinterpret_cast< wxFontData * >(argp2);
19499 {
19500 if (!wxPyCheckForApp()) SWIG_fail;
19501 PyThreadState* __tstate = wxPyBeginAllowThreads();
19502 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19503 wxPyEndAllowThreads(__tstate);
19504 if (PyErr_Occurred()) SWIG_fail;
19505 }
19506 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19507 return resultobj;
19508 fail:
19509 return NULL;
19510 }
19511
19512
19513 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19514 PyObject *resultobj = 0;
19515 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19516 wxFontData *result = 0 ;
19517 void *argp1 = 0 ;
19518 int res1 = 0 ;
19519 PyObject *swig_obj[1] ;
19520
19521 if (!args) SWIG_fail;
19522 swig_obj[0] = args;
19523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19524 if (!SWIG_IsOK(res1)) {
19525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19526 }
19527 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19528 {
19529 PyThreadState* __tstate = wxPyBeginAllowThreads();
19530 {
19531 wxFontData &_result_ref = (arg1)->GetFontData();
19532 result = (wxFontData *) &_result_ref;
19533 }
19534 wxPyEndAllowThreads(__tstate);
19535 if (PyErr_Occurred()) SWIG_fail;
19536 }
19537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19538 return resultobj;
19539 fail:
19540 return NULL;
19541 }
19542
19543
19544 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19545 PyObject *obj;
19546 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19547 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19548 return SWIG_Py_Void();
19549 }
19550
19551 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19552 return SWIG_Python_InitShadowInstance(args);
19553 }
19554
19555 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19556 PyObject *resultobj = 0;
19557 wxWindow *arg1 = (wxWindow *) NULL ;
19558 wxFont const &arg2_defvalue = wxNullFont ;
19559 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19560 wxString const &arg3_defvalue = wxPyEmptyString ;
19561 wxString *arg3 = (wxString *) &arg3_defvalue ;
19562 wxFont result;
19563 void *argp1 = 0 ;
19564 int res1 = 0 ;
19565 void *argp2 = 0 ;
19566 int res2 = 0 ;
19567 bool temp3 = false ;
19568 PyObject * obj0 = 0 ;
19569 PyObject * obj1 = 0 ;
19570 PyObject * obj2 = 0 ;
19571 char * kwnames[] = {
19572 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19573 };
19574
19575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19576 if (obj0) {
19577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19578 if (!SWIG_IsOK(res1)) {
19579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19580 }
19581 arg1 = reinterpret_cast< wxWindow * >(argp1);
19582 }
19583 if (obj1) {
19584 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19585 if (!SWIG_IsOK(res2)) {
19586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19587 }
19588 if (!argp2) {
19589 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19590 }
19591 arg2 = reinterpret_cast< wxFont * >(argp2);
19592 }
19593 if (obj2) {
19594 {
19595 arg3 = wxString_in_helper(obj2);
19596 if (arg3 == NULL) SWIG_fail;
19597 temp3 = true;
19598 }
19599 }
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19603 wxPyEndAllowThreads(__tstate);
19604 if (PyErr_Occurred()) SWIG_fail;
19605 }
19606 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19607 {
19608 if (temp3)
19609 delete arg3;
19610 }
19611 return resultobj;
19612 fail:
19613 {
19614 if (temp3)
19615 delete arg3;
19616 }
19617 return NULL;
19618 }
19619
19620
19621 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19622 PyObject *resultobj = 0;
19623 wxWindow *arg1 = (wxWindow *) 0 ;
19624 wxString *arg2 = 0 ;
19625 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19626 wxString *arg3 = (wxString *) &arg3_defvalue ;
19627 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19628 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19629 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19630 wxMessageDialog *result = 0 ;
19631 void *argp1 = 0 ;
19632 int res1 = 0 ;
19633 bool temp2 = false ;
19634 bool temp3 = false ;
19635 long val4 ;
19636 int ecode4 = 0 ;
19637 wxPoint temp5 ;
19638 PyObject * obj0 = 0 ;
19639 PyObject * obj1 = 0 ;
19640 PyObject * obj2 = 0 ;
19641 PyObject * obj3 = 0 ;
19642 PyObject * obj4 = 0 ;
19643 char * kwnames[] = {
19644 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19645 };
19646
19647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19649 if (!SWIG_IsOK(res1)) {
19650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19651 }
19652 arg1 = reinterpret_cast< wxWindow * >(argp1);
19653 {
19654 arg2 = wxString_in_helper(obj1);
19655 if (arg2 == NULL) SWIG_fail;
19656 temp2 = true;
19657 }
19658 if (obj2) {
19659 {
19660 arg3 = wxString_in_helper(obj2);
19661 if (arg3 == NULL) SWIG_fail;
19662 temp3 = true;
19663 }
19664 }
19665 if (obj3) {
19666 ecode4 = SWIG_AsVal_long(obj3, &val4);
19667 if (!SWIG_IsOK(ecode4)) {
19668 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19669 }
19670 arg4 = static_cast< long >(val4);
19671 }
19672 if (obj4) {
19673 {
19674 arg5 = &temp5;
19675 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19676 }
19677 }
19678 {
19679 if (!wxPyCheckForApp()) SWIG_fail;
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19682 wxPyEndAllowThreads(__tstate);
19683 if (PyErr_Occurred()) SWIG_fail;
19684 }
19685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19686 {
19687 if (temp2)
19688 delete arg2;
19689 }
19690 {
19691 if (temp3)
19692 delete arg3;
19693 }
19694 return resultobj;
19695 fail:
19696 {
19697 if (temp2)
19698 delete arg2;
19699 }
19700 {
19701 if (temp3)
19702 delete arg3;
19703 }
19704 return NULL;
19705 }
19706
19707
19708 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19709 PyObject *obj;
19710 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19711 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19712 return SWIG_Py_Void();
19713 }
19714
19715 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19716 return SWIG_Python_InitShadowInstance(args);
19717 }
19718
19719 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19720 PyObject *resultobj = 0;
19721 wxString *arg1 = 0 ;
19722 wxString *arg2 = 0 ;
19723 int arg3 = (int) 100 ;
19724 wxWindow *arg4 = (wxWindow *) NULL ;
19725 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19726 wxProgressDialog *result = 0 ;
19727 bool temp1 = false ;
19728 bool temp2 = false ;
19729 int val3 ;
19730 int ecode3 = 0 ;
19731 void *argp4 = 0 ;
19732 int res4 = 0 ;
19733 int val5 ;
19734 int ecode5 = 0 ;
19735 PyObject * obj0 = 0 ;
19736 PyObject * obj1 = 0 ;
19737 PyObject * obj2 = 0 ;
19738 PyObject * obj3 = 0 ;
19739 PyObject * obj4 = 0 ;
19740 char * kwnames[] = {
19741 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19742 };
19743
19744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19745 {
19746 arg1 = wxString_in_helper(obj0);
19747 if (arg1 == NULL) SWIG_fail;
19748 temp1 = true;
19749 }
19750 {
19751 arg2 = wxString_in_helper(obj1);
19752 if (arg2 == NULL) SWIG_fail;
19753 temp2 = true;
19754 }
19755 if (obj2) {
19756 ecode3 = SWIG_AsVal_int(obj2, &val3);
19757 if (!SWIG_IsOK(ecode3)) {
19758 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19759 }
19760 arg3 = static_cast< int >(val3);
19761 }
19762 if (obj3) {
19763 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19764 if (!SWIG_IsOK(res4)) {
19765 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19766 }
19767 arg4 = reinterpret_cast< wxWindow * >(argp4);
19768 }
19769 if (obj4) {
19770 ecode5 = SWIG_AsVal_int(obj4, &val5);
19771 if (!SWIG_IsOK(ecode5)) {
19772 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19773 }
19774 arg5 = static_cast< int >(val5);
19775 }
19776 {
19777 if (!wxPyCheckForApp()) SWIG_fail;
19778 PyThreadState* __tstate = wxPyBeginAllowThreads();
19779 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19780 wxPyEndAllowThreads(__tstate);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
19783 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19784 {
19785 if (temp1)
19786 delete arg1;
19787 }
19788 {
19789 if (temp2)
19790 delete arg2;
19791 }
19792 return resultobj;
19793 fail:
19794 {
19795 if (temp1)
19796 delete arg1;
19797 }
19798 {
19799 if (temp2)
19800 delete arg2;
19801 }
19802 return NULL;
19803 }
19804
19805
19806 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19807 PyObject *resultobj = 0;
19808 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19809 int arg2 ;
19810 wxString const &arg3_defvalue = wxPyEmptyString ;
19811 wxString *arg3 = (wxString *) &arg3_defvalue ;
19812 bool *arg4 = (bool *) 0 ;
19813 bool result;
19814 void *argp1 = 0 ;
19815 int res1 = 0 ;
19816 int val2 ;
19817 int ecode2 = 0 ;
19818 bool temp3 = false ;
19819 bool temp4 ;
19820 int res4 = SWIG_TMPOBJ ;
19821 PyObject * obj0 = 0 ;
19822 PyObject * obj1 = 0 ;
19823 PyObject * obj2 = 0 ;
19824 char * kwnames[] = {
19825 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19826 };
19827
19828 arg4 = &temp4;
19829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19831 if (!SWIG_IsOK(res1)) {
19832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19833 }
19834 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19835 ecode2 = SWIG_AsVal_int(obj1, &val2);
19836 if (!SWIG_IsOK(ecode2)) {
19837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19838 }
19839 arg2 = static_cast< int >(val2);
19840 if (obj2) {
19841 {
19842 arg3 = wxString_in_helper(obj2);
19843 if (arg3 == NULL) SWIG_fail;
19844 temp3 = true;
19845 }
19846 }
19847 {
19848 PyThreadState* __tstate = wxPyBeginAllowThreads();
19849 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19850 wxPyEndAllowThreads(__tstate);
19851 if (PyErr_Occurred()) SWIG_fail;
19852 }
19853 {
19854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19855 }
19856 if (SWIG_IsTmpObj(res4)) {
19857 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19858 } else {
19859 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19860 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19861 }
19862 {
19863 if (temp3)
19864 delete arg3;
19865 }
19866 return resultobj;
19867 fail:
19868 {
19869 if (temp3)
19870 delete arg3;
19871 }
19872 return NULL;
19873 }
19874
19875
19876 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19877 PyObject *resultobj = 0;
19878 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19879 wxString const &arg2_defvalue = wxPyEmptyString ;
19880 wxString *arg2 = (wxString *) &arg2_defvalue ;
19881 bool *arg3 = (bool *) 0 ;
19882 bool result;
19883 void *argp1 = 0 ;
19884 int res1 = 0 ;
19885 bool temp2 = false ;
19886 bool temp3 ;
19887 int res3 = SWIG_TMPOBJ ;
19888 PyObject * obj0 = 0 ;
19889 PyObject * obj1 = 0 ;
19890 char * kwnames[] = {
19891 (char *) "self",(char *) "newmsg", NULL
19892 };
19893
19894 arg3 = &temp3;
19895 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19896 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19897 if (!SWIG_IsOK(res1)) {
19898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19899 }
19900 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19901 if (obj1) {
19902 {
19903 arg2 = wxString_in_helper(obj1);
19904 if (arg2 == NULL) SWIG_fail;
19905 temp2 = true;
19906 }
19907 }
19908 {
19909 PyThreadState* __tstate = wxPyBeginAllowThreads();
19910 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19911 wxPyEndAllowThreads(__tstate);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 {
19915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19916 }
19917 if (SWIG_IsTmpObj(res3)) {
19918 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19919 } else {
19920 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19921 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19922 }
19923 {
19924 if (temp2)
19925 delete arg2;
19926 }
19927 return resultobj;
19928 fail:
19929 {
19930 if (temp2)
19931 delete arg2;
19932 }
19933 return NULL;
19934 }
19935
19936
19937 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19938 PyObject *resultobj = 0;
19939 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19940 void *argp1 = 0 ;
19941 int res1 = 0 ;
19942 PyObject *swig_obj[1] ;
19943
19944 if (!args) SWIG_fail;
19945 swig_obj[0] = args;
19946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19947 if (!SWIG_IsOK(res1)) {
19948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19949 }
19950 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19951 {
19952 PyThreadState* __tstate = wxPyBeginAllowThreads();
19953 (arg1)->Resume();
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 resultobj = SWIG_Py_Void();
19958 return resultobj;
19959 fail:
19960 return NULL;
19961 }
19962
19963
19964 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19965 PyObject *obj;
19966 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19967 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19968 return SWIG_Py_Void();
19969 }
19970
19971 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19972 return SWIG_Python_InitShadowInstance(args);
19973 }
19974
19975 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19976 PyObject *resultobj = 0;
19977 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19978 int arg2 = (int) 0 ;
19979 wxFindDialogEvent *result = 0 ;
19980 int val1 ;
19981 int ecode1 = 0 ;
19982 int val2 ;
19983 int ecode2 = 0 ;
19984 PyObject * obj0 = 0 ;
19985 PyObject * obj1 = 0 ;
19986 char * kwnames[] = {
19987 (char *) "commandType",(char *) "id", NULL
19988 };
19989
19990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19991 if (obj0) {
19992 ecode1 = SWIG_AsVal_int(obj0, &val1);
19993 if (!SWIG_IsOK(ecode1)) {
19994 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19995 }
19996 arg1 = static_cast< wxEventType >(val1);
19997 }
19998 if (obj1) {
19999 ecode2 = SWIG_AsVal_int(obj1, &val2);
20000 if (!SWIG_IsOK(ecode2)) {
20001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
20002 }
20003 arg2 = static_cast< int >(val2);
20004 }
20005 {
20006 PyThreadState* __tstate = wxPyBeginAllowThreads();
20007 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
20012 return resultobj;
20013 fail:
20014 return NULL;
20015 }
20016
20017
20018 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20019 PyObject *resultobj = 0;
20020 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20021 int result;
20022 void *argp1 = 0 ;
20023 int res1 = 0 ;
20024 PyObject *swig_obj[1] ;
20025
20026 if (!args) SWIG_fail;
20027 swig_obj[0] = args;
20028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20029 if (!SWIG_IsOK(res1)) {
20030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20031 }
20032 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20033 {
20034 PyThreadState* __tstate = wxPyBeginAllowThreads();
20035 result = (int)(arg1)->GetFlags();
20036 wxPyEndAllowThreads(__tstate);
20037 if (PyErr_Occurred()) SWIG_fail;
20038 }
20039 resultobj = SWIG_From_int(static_cast< int >(result));
20040 return resultobj;
20041 fail:
20042 return NULL;
20043 }
20044
20045
20046 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20047 PyObject *resultobj = 0;
20048 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20049 wxString *result = 0 ;
20050 void *argp1 = 0 ;
20051 int res1 = 0 ;
20052 PyObject *swig_obj[1] ;
20053
20054 if (!args) SWIG_fail;
20055 swig_obj[0] = args;
20056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20057 if (!SWIG_IsOK(res1)) {
20058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20059 }
20060 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20061 {
20062 PyThreadState* __tstate = wxPyBeginAllowThreads();
20063 {
20064 wxString const &_result_ref = (arg1)->GetFindString();
20065 result = (wxString *) &_result_ref;
20066 }
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 {
20071 #if wxUSE_UNICODE
20072 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20073 #else
20074 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20075 #endif
20076 }
20077 return resultobj;
20078 fail:
20079 return NULL;
20080 }
20081
20082
20083 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20084 PyObject *resultobj = 0;
20085 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20086 wxString *result = 0 ;
20087 void *argp1 = 0 ;
20088 int res1 = 0 ;
20089 PyObject *swig_obj[1] ;
20090
20091 if (!args) SWIG_fail;
20092 swig_obj[0] = args;
20093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20094 if (!SWIG_IsOK(res1)) {
20095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20096 }
20097 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20098 {
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 {
20101 wxString const &_result_ref = (arg1)->GetReplaceString();
20102 result = (wxString *) &_result_ref;
20103 }
20104 wxPyEndAllowThreads(__tstate);
20105 if (PyErr_Occurred()) SWIG_fail;
20106 }
20107 {
20108 #if wxUSE_UNICODE
20109 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20110 #else
20111 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20112 #endif
20113 }
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20121 PyObject *resultobj = 0;
20122 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20123 wxFindReplaceDialog *result = 0 ;
20124 void *argp1 = 0 ;
20125 int res1 = 0 ;
20126 PyObject *swig_obj[1] ;
20127
20128 if (!args) SWIG_fail;
20129 swig_obj[0] = args;
20130 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20131 if (!SWIG_IsOK(res1)) {
20132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20133 }
20134 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20135 {
20136 PyThreadState* __tstate = wxPyBeginAllowThreads();
20137 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20142 return resultobj;
20143 fail:
20144 return NULL;
20145 }
20146
20147
20148 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj = 0;
20150 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20151 int arg2 ;
20152 void *argp1 = 0 ;
20153 int res1 = 0 ;
20154 int val2 ;
20155 int ecode2 = 0 ;
20156 PyObject * obj0 = 0 ;
20157 PyObject * obj1 = 0 ;
20158 char * kwnames[] = {
20159 (char *) "self",(char *) "flags", NULL
20160 };
20161
20162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20164 if (!SWIG_IsOK(res1)) {
20165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20166 }
20167 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20168 ecode2 = SWIG_AsVal_int(obj1, &val2);
20169 if (!SWIG_IsOK(ecode2)) {
20170 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20171 }
20172 arg2 = static_cast< int >(val2);
20173 {
20174 PyThreadState* __tstate = wxPyBeginAllowThreads();
20175 (arg1)->SetFlags(arg2);
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 resultobj = SWIG_Py_Void();
20180 return resultobj;
20181 fail:
20182 return NULL;
20183 }
20184
20185
20186 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20187 PyObject *resultobj = 0;
20188 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20189 wxString *arg2 = 0 ;
20190 void *argp1 = 0 ;
20191 int res1 = 0 ;
20192 bool temp2 = false ;
20193 PyObject * obj0 = 0 ;
20194 PyObject * obj1 = 0 ;
20195 char * kwnames[] = {
20196 (char *) "self",(char *) "str", NULL
20197 };
20198
20199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20201 if (!SWIG_IsOK(res1)) {
20202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20203 }
20204 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20205 {
20206 arg2 = wxString_in_helper(obj1);
20207 if (arg2 == NULL) SWIG_fail;
20208 temp2 = true;
20209 }
20210 {
20211 PyThreadState* __tstate = wxPyBeginAllowThreads();
20212 (arg1)->SetFindString((wxString const &)*arg2);
20213 wxPyEndAllowThreads(__tstate);
20214 if (PyErr_Occurred()) SWIG_fail;
20215 }
20216 resultobj = SWIG_Py_Void();
20217 {
20218 if (temp2)
20219 delete arg2;
20220 }
20221 return resultobj;
20222 fail:
20223 {
20224 if (temp2)
20225 delete arg2;
20226 }
20227 return NULL;
20228 }
20229
20230
20231 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj = 0;
20233 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
20234 wxString *arg2 = 0 ;
20235 void *argp1 = 0 ;
20236 int res1 = 0 ;
20237 bool temp2 = false ;
20238 PyObject * obj0 = 0 ;
20239 PyObject * obj1 = 0 ;
20240 char * kwnames[] = {
20241 (char *) "self",(char *) "str", NULL
20242 };
20243
20244 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20245 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
20246 if (!SWIG_IsOK(res1)) {
20247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20248 }
20249 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
20250 {
20251 arg2 = wxString_in_helper(obj1);
20252 if (arg2 == NULL) SWIG_fail;
20253 temp2 = true;
20254 }
20255 {
20256 PyThreadState* __tstate = wxPyBeginAllowThreads();
20257 (arg1)->SetReplaceString((wxString const &)*arg2);
20258 wxPyEndAllowThreads(__tstate);
20259 if (PyErr_Occurred()) SWIG_fail;
20260 }
20261 resultobj = SWIG_Py_Void();
20262 {
20263 if (temp2)
20264 delete arg2;
20265 }
20266 return resultobj;
20267 fail:
20268 {
20269 if (temp2)
20270 delete arg2;
20271 }
20272 return NULL;
20273 }
20274
20275
20276 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20277 PyObject *obj;
20278 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20279 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
20280 return SWIG_Py_Void();
20281 }
20282
20283 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20284 return SWIG_Python_InitShadowInstance(args);
20285 }
20286
20287 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20288 PyObject *resultobj = 0;
20289 int arg1 = (int) 0 ;
20290 wxFindReplaceData *result = 0 ;
20291 int val1 ;
20292 int ecode1 = 0 ;
20293 PyObject * obj0 = 0 ;
20294 char * kwnames[] = {
20295 (char *) "flags", NULL
20296 };
20297
20298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20299 if (obj0) {
20300 ecode1 = SWIG_AsVal_int(obj0, &val1);
20301 if (!SWIG_IsOK(ecode1)) {
20302 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20303 }
20304 arg1 = static_cast< int >(val1);
20305 }
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20309 wxPyEndAllowThreads(__tstate);
20310 if (PyErr_Occurred()) SWIG_fail;
20311 }
20312 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20313 return resultobj;
20314 fail:
20315 return NULL;
20316 }
20317
20318
20319 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20320 PyObject *resultobj = 0;
20321 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20322 void *argp1 = 0 ;
20323 int res1 = 0 ;
20324 PyObject *swig_obj[1] ;
20325
20326 if (!args) SWIG_fail;
20327 swig_obj[0] = args;
20328 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20329 if (!SWIG_IsOK(res1)) {
20330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20331 }
20332 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 delete arg1;
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 resultobj = SWIG_Py_Void();
20341 return resultobj;
20342 fail:
20343 return NULL;
20344 }
20345
20346
20347 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20348 PyObject *resultobj = 0;
20349 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20350 wxString *result = 0 ;
20351 void *argp1 = 0 ;
20352 int res1 = 0 ;
20353 PyObject *swig_obj[1] ;
20354
20355 if (!args) SWIG_fail;
20356 swig_obj[0] = args;
20357 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20358 if (!SWIG_IsOK(res1)) {
20359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20360 }
20361 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20362 {
20363 PyThreadState* __tstate = wxPyBeginAllowThreads();
20364 {
20365 wxString const &_result_ref = (arg1)->GetFindString();
20366 result = (wxString *) &_result_ref;
20367 }
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 {
20372 #if wxUSE_UNICODE
20373 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20374 #else
20375 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20376 #endif
20377 }
20378 return resultobj;
20379 fail:
20380 return NULL;
20381 }
20382
20383
20384 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20385 PyObject *resultobj = 0;
20386 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20387 wxString *result = 0 ;
20388 void *argp1 = 0 ;
20389 int res1 = 0 ;
20390 PyObject *swig_obj[1] ;
20391
20392 if (!args) SWIG_fail;
20393 swig_obj[0] = args;
20394 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20395 if (!SWIG_IsOK(res1)) {
20396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20397 }
20398 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20399 {
20400 PyThreadState* __tstate = wxPyBeginAllowThreads();
20401 {
20402 wxString const &_result_ref = (arg1)->GetReplaceString();
20403 result = (wxString *) &_result_ref;
20404 }
20405 wxPyEndAllowThreads(__tstate);
20406 if (PyErr_Occurred()) SWIG_fail;
20407 }
20408 {
20409 #if wxUSE_UNICODE
20410 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20411 #else
20412 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20413 #endif
20414 }
20415 return resultobj;
20416 fail:
20417 return NULL;
20418 }
20419
20420
20421 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20422 PyObject *resultobj = 0;
20423 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20424 int result;
20425 void *argp1 = 0 ;
20426 int res1 = 0 ;
20427 PyObject *swig_obj[1] ;
20428
20429 if (!args) SWIG_fail;
20430 swig_obj[0] = args;
20431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20432 if (!SWIG_IsOK(res1)) {
20433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20434 }
20435 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20436 {
20437 PyThreadState* __tstate = wxPyBeginAllowThreads();
20438 result = (int)(arg1)->GetFlags();
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 resultobj = SWIG_From_int(static_cast< int >(result));
20443 return resultobj;
20444 fail:
20445 return NULL;
20446 }
20447
20448
20449 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20450 PyObject *resultobj = 0;
20451 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20452 int arg2 ;
20453 void *argp1 = 0 ;
20454 int res1 = 0 ;
20455 int val2 ;
20456 int ecode2 = 0 ;
20457 PyObject * obj0 = 0 ;
20458 PyObject * obj1 = 0 ;
20459 char * kwnames[] = {
20460 (char *) "self",(char *) "flags", NULL
20461 };
20462
20463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20465 if (!SWIG_IsOK(res1)) {
20466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20467 }
20468 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20469 ecode2 = SWIG_AsVal_int(obj1, &val2);
20470 if (!SWIG_IsOK(ecode2)) {
20471 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20472 }
20473 arg2 = static_cast< int >(val2);
20474 {
20475 PyThreadState* __tstate = wxPyBeginAllowThreads();
20476 (arg1)->SetFlags(arg2);
20477 wxPyEndAllowThreads(__tstate);
20478 if (PyErr_Occurred()) SWIG_fail;
20479 }
20480 resultobj = SWIG_Py_Void();
20481 return resultobj;
20482 fail:
20483 return NULL;
20484 }
20485
20486
20487 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20488 PyObject *resultobj = 0;
20489 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20490 wxString *arg2 = 0 ;
20491 void *argp1 = 0 ;
20492 int res1 = 0 ;
20493 bool temp2 = false ;
20494 PyObject * obj0 = 0 ;
20495 PyObject * obj1 = 0 ;
20496 char * kwnames[] = {
20497 (char *) "self",(char *) "str", NULL
20498 };
20499
20500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20502 if (!SWIG_IsOK(res1)) {
20503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20504 }
20505 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20506 {
20507 arg2 = wxString_in_helper(obj1);
20508 if (arg2 == NULL) SWIG_fail;
20509 temp2 = true;
20510 }
20511 {
20512 PyThreadState* __tstate = wxPyBeginAllowThreads();
20513 (arg1)->SetFindString((wxString const &)*arg2);
20514 wxPyEndAllowThreads(__tstate);
20515 if (PyErr_Occurred()) SWIG_fail;
20516 }
20517 resultobj = SWIG_Py_Void();
20518 {
20519 if (temp2)
20520 delete arg2;
20521 }
20522 return resultobj;
20523 fail:
20524 {
20525 if (temp2)
20526 delete arg2;
20527 }
20528 return NULL;
20529 }
20530
20531
20532 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20533 PyObject *resultobj = 0;
20534 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20535 wxString *arg2 = 0 ;
20536 void *argp1 = 0 ;
20537 int res1 = 0 ;
20538 bool temp2 = false ;
20539 PyObject * obj0 = 0 ;
20540 PyObject * obj1 = 0 ;
20541 char * kwnames[] = {
20542 (char *) "self",(char *) "str", NULL
20543 };
20544
20545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20547 if (!SWIG_IsOK(res1)) {
20548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20549 }
20550 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20551 {
20552 arg2 = wxString_in_helper(obj1);
20553 if (arg2 == NULL) SWIG_fail;
20554 temp2 = true;
20555 }
20556 {
20557 PyThreadState* __tstate = wxPyBeginAllowThreads();
20558 (arg1)->SetReplaceString((wxString const &)*arg2);
20559 wxPyEndAllowThreads(__tstate);
20560 if (PyErr_Occurred()) SWIG_fail;
20561 }
20562 resultobj = SWIG_Py_Void();
20563 {
20564 if (temp2)
20565 delete arg2;
20566 }
20567 return resultobj;
20568 fail:
20569 {
20570 if (temp2)
20571 delete arg2;
20572 }
20573 return NULL;
20574 }
20575
20576
20577 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20578 PyObject *obj;
20579 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20580 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20581 return SWIG_Py_Void();
20582 }
20583
20584 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20585 return SWIG_Python_InitShadowInstance(args);
20586 }
20587
20588 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20589 PyObject *resultobj = 0;
20590 wxWindow *arg1 = (wxWindow *) 0 ;
20591 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20592 wxString *arg3 = 0 ;
20593 int arg4 = (int) 0 ;
20594 wxFindReplaceDialog *result = 0 ;
20595 void *argp1 = 0 ;
20596 int res1 = 0 ;
20597 void *argp2 = 0 ;
20598 int res2 = 0 ;
20599 bool temp3 = false ;
20600 int val4 ;
20601 int ecode4 = 0 ;
20602 PyObject * obj0 = 0 ;
20603 PyObject * obj1 = 0 ;
20604 PyObject * obj2 = 0 ;
20605 PyObject * obj3 = 0 ;
20606 char * kwnames[] = {
20607 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20608 };
20609
20610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20612 if (!SWIG_IsOK(res1)) {
20613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20614 }
20615 arg1 = reinterpret_cast< wxWindow * >(argp1);
20616 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20617 if (!SWIG_IsOK(res2)) {
20618 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20619 }
20620 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20621 {
20622 arg3 = wxString_in_helper(obj2);
20623 if (arg3 == NULL) SWIG_fail;
20624 temp3 = true;
20625 }
20626 if (obj3) {
20627 ecode4 = SWIG_AsVal_int(obj3, &val4);
20628 if (!SWIG_IsOK(ecode4)) {
20629 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20630 }
20631 arg4 = static_cast< int >(val4);
20632 }
20633 {
20634 if (!wxPyCheckForApp()) SWIG_fail;
20635 PyThreadState* __tstate = wxPyBeginAllowThreads();
20636 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20637 wxPyEndAllowThreads(__tstate);
20638 if (PyErr_Occurred()) SWIG_fail;
20639 }
20640 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20641 {
20642 if (temp3)
20643 delete arg3;
20644 }
20645 return resultobj;
20646 fail:
20647 {
20648 if (temp3)
20649 delete arg3;
20650 }
20651 return NULL;
20652 }
20653
20654
20655 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20656 PyObject *resultobj = 0;
20657 wxFindReplaceDialog *result = 0 ;
20658
20659 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20660 {
20661 if (!wxPyCheckForApp()) SWIG_fail;
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20664 wxPyEndAllowThreads(__tstate);
20665 if (PyErr_Occurred()) SWIG_fail;
20666 }
20667 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20668 return resultobj;
20669 fail:
20670 return NULL;
20671 }
20672
20673
20674 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20675 PyObject *resultobj = 0;
20676 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20677 wxWindow *arg2 = (wxWindow *) 0 ;
20678 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20679 wxString *arg4 = 0 ;
20680 int arg5 = (int) 0 ;
20681 bool result;
20682 void *argp1 = 0 ;
20683 int res1 = 0 ;
20684 void *argp2 = 0 ;
20685 int res2 = 0 ;
20686 void *argp3 = 0 ;
20687 int res3 = 0 ;
20688 bool temp4 = false ;
20689 int val5 ;
20690 int ecode5 = 0 ;
20691 PyObject * obj0 = 0 ;
20692 PyObject * obj1 = 0 ;
20693 PyObject * obj2 = 0 ;
20694 PyObject * obj3 = 0 ;
20695 PyObject * obj4 = 0 ;
20696 char * kwnames[] = {
20697 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20698 };
20699
20700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20702 if (!SWIG_IsOK(res1)) {
20703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20704 }
20705 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20706 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20707 if (!SWIG_IsOK(res2)) {
20708 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20709 }
20710 arg2 = reinterpret_cast< wxWindow * >(argp2);
20711 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20712 if (!SWIG_IsOK(res3)) {
20713 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20714 }
20715 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20716 {
20717 arg4 = wxString_in_helper(obj3);
20718 if (arg4 == NULL) SWIG_fail;
20719 temp4 = true;
20720 }
20721 if (obj4) {
20722 ecode5 = SWIG_AsVal_int(obj4, &val5);
20723 if (!SWIG_IsOK(ecode5)) {
20724 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20725 }
20726 arg5 = static_cast< int >(val5);
20727 }
20728 {
20729 PyThreadState* __tstate = wxPyBeginAllowThreads();
20730 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20731 wxPyEndAllowThreads(__tstate);
20732 if (PyErr_Occurred()) SWIG_fail;
20733 }
20734 {
20735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20736 }
20737 {
20738 if (temp4)
20739 delete arg4;
20740 }
20741 return resultobj;
20742 fail:
20743 {
20744 if (temp4)
20745 delete arg4;
20746 }
20747 return NULL;
20748 }
20749
20750
20751 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20752 PyObject *resultobj = 0;
20753 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20754 wxFindReplaceData *result = 0 ;
20755 void *argp1 = 0 ;
20756 int res1 = 0 ;
20757 PyObject *swig_obj[1] ;
20758
20759 if (!args) SWIG_fail;
20760 swig_obj[0] = args;
20761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20762 if (!SWIG_IsOK(res1)) {
20763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20764 }
20765 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20766 {
20767 PyThreadState* __tstate = wxPyBeginAllowThreads();
20768 result = (wxFindReplaceData *)(arg1)->GetData();
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20773 return resultobj;
20774 fail:
20775 return NULL;
20776 }
20777
20778
20779 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20780 PyObject *resultobj = 0;
20781 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20782 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20783 void *argp1 = 0 ;
20784 int res1 = 0 ;
20785 void *argp2 = 0 ;
20786 int res2 = 0 ;
20787 PyObject * obj0 = 0 ;
20788 PyObject * obj1 = 0 ;
20789 char * kwnames[] = {
20790 (char *) "self",(char *) "data", NULL
20791 };
20792
20793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20795 if (!SWIG_IsOK(res1)) {
20796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20797 }
20798 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20799 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20800 if (!SWIG_IsOK(res2)) {
20801 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20802 }
20803 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20804 {
20805 PyThreadState* __tstate = wxPyBeginAllowThreads();
20806 (arg1)->SetData(arg2);
20807 wxPyEndAllowThreads(__tstate);
20808 if (PyErr_Occurred()) SWIG_fail;
20809 }
20810 resultobj = SWIG_Py_Void();
20811 return resultobj;
20812 fail:
20813 return NULL;
20814 }
20815
20816
20817 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20818 PyObject *obj;
20819 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20820 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20821 return SWIG_Py_Void();
20822 }
20823
20824 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20825 return SWIG_Python_InitShadowInstance(args);
20826 }
20827
20828 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj = 0;
20830 wxWindow *arg1 = (wxWindow *) 0 ;
20831 int arg2 = (int) (int)-1 ;
20832 wxString const &arg3_defvalue = wxPyEmptyString ;
20833 wxString *arg3 = (wxString *) &arg3_defvalue ;
20834 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20835 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20836 wxSize const &arg5_defvalue = wxDefaultSize ;
20837 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20838 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20839 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20840 wxString *arg7 = (wxString *) &arg7_defvalue ;
20841 wxMDIParentFrame *result = 0 ;
20842 void *argp1 = 0 ;
20843 int res1 = 0 ;
20844 int val2 ;
20845 int ecode2 = 0 ;
20846 bool temp3 = false ;
20847 wxPoint temp4 ;
20848 wxSize temp5 ;
20849 long val6 ;
20850 int ecode6 = 0 ;
20851 bool temp7 = false ;
20852 PyObject * obj0 = 0 ;
20853 PyObject * obj1 = 0 ;
20854 PyObject * obj2 = 0 ;
20855 PyObject * obj3 = 0 ;
20856 PyObject * obj4 = 0 ;
20857 PyObject * obj5 = 0 ;
20858 PyObject * obj6 = 0 ;
20859 char * kwnames[] = {
20860 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20861 };
20862
20863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20865 if (!SWIG_IsOK(res1)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20867 }
20868 arg1 = reinterpret_cast< wxWindow * >(argp1);
20869 if (obj1) {
20870 ecode2 = SWIG_AsVal_int(obj1, &val2);
20871 if (!SWIG_IsOK(ecode2)) {
20872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20873 }
20874 arg2 = static_cast< int >(val2);
20875 }
20876 if (obj2) {
20877 {
20878 arg3 = wxString_in_helper(obj2);
20879 if (arg3 == NULL) SWIG_fail;
20880 temp3 = true;
20881 }
20882 }
20883 if (obj3) {
20884 {
20885 arg4 = &temp4;
20886 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20887 }
20888 }
20889 if (obj4) {
20890 {
20891 arg5 = &temp5;
20892 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20893 }
20894 }
20895 if (obj5) {
20896 ecode6 = SWIG_AsVal_long(obj5, &val6);
20897 if (!SWIG_IsOK(ecode6)) {
20898 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20899 }
20900 arg6 = static_cast< long >(val6);
20901 }
20902 if (obj6) {
20903 {
20904 arg7 = wxString_in_helper(obj6);
20905 if (arg7 == NULL) SWIG_fail;
20906 temp7 = true;
20907 }
20908 }
20909 {
20910 if (!wxPyCheckForApp()) SWIG_fail;
20911 PyThreadState* __tstate = wxPyBeginAllowThreads();
20912 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20913 wxPyEndAllowThreads(__tstate);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 }
20916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20917 {
20918 if (temp3)
20919 delete arg3;
20920 }
20921 {
20922 if (temp7)
20923 delete arg7;
20924 }
20925 return resultobj;
20926 fail:
20927 {
20928 if (temp3)
20929 delete arg3;
20930 }
20931 {
20932 if (temp7)
20933 delete arg7;
20934 }
20935 return NULL;
20936 }
20937
20938
20939 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20940 PyObject *resultobj = 0;
20941 wxMDIParentFrame *result = 0 ;
20942
20943 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20944 {
20945 if (!wxPyCheckForApp()) SWIG_fail;
20946 PyThreadState* __tstate = wxPyBeginAllowThreads();
20947 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20948 wxPyEndAllowThreads(__tstate);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 }
20951 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20952 return resultobj;
20953 fail:
20954 return NULL;
20955 }
20956
20957
20958 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj = 0;
20960 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20961 wxWindow *arg2 = (wxWindow *) 0 ;
20962 int arg3 = (int) (int)-1 ;
20963 wxString const &arg4_defvalue = wxPyEmptyString ;
20964 wxString *arg4 = (wxString *) &arg4_defvalue ;
20965 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20966 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20967 wxSize const &arg6_defvalue = wxDefaultSize ;
20968 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20969 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20970 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20971 wxString *arg8 = (wxString *) &arg8_defvalue ;
20972 bool result;
20973 void *argp1 = 0 ;
20974 int res1 = 0 ;
20975 void *argp2 = 0 ;
20976 int res2 = 0 ;
20977 int val3 ;
20978 int ecode3 = 0 ;
20979 bool temp4 = false ;
20980 wxPoint temp5 ;
20981 wxSize temp6 ;
20982 long val7 ;
20983 int ecode7 = 0 ;
20984 bool temp8 = false ;
20985 PyObject * obj0 = 0 ;
20986 PyObject * obj1 = 0 ;
20987 PyObject * obj2 = 0 ;
20988 PyObject * obj3 = 0 ;
20989 PyObject * obj4 = 0 ;
20990 PyObject * obj5 = 0 ;
20991 PyObject * obj6 = 0 ;
20992 PyObject * obj7 = 0 ;
20993 char * kwnames[] = {
20994 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20995 };
20996
20997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20999 if (!SWIG_IsOK(res1)) {
21000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21001 }
21002 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21003 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
21004 if (!SWIG_IsOK(res2)) {
21005 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21006 }
21007 arg2 = reinterpret_cast< wxWindow * >(argp2);
21008 if (obj2) {
21009 ecode3 = SWIG_AsVal_int(obj2, &val3);
21010 if (!SWIG_IsOK(ecode3)) {
21011 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
21012 }
21013 arg3 = static_cast< int >(val3);
21014 }
21015 if (obj3) {
21016 {
21017 arg4 = wxString_in_helper(obj3);
21018 if (arg4 == NULL) SWIG_fail;
21019 temp4 = true;
21020 }
21021 }
21022 if (obj4) {
21023 {
21024 arg5 = &temp5;
21025 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21026 }
21027 }
21028 if (obj5) {
21029 {
21030 arg6 = &temp6;
21031 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21032 }
21033 }
21034 if (obj6) {
21035 ecode7 = SWIG_AsVal_long(obj6, &val7);
21036 if (!SWIG_IsOK(ecode7)) {
21037 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
21038 }
21039 arg7 = static_cast< long >(val7);
21040 }
21041 if (obj7) {
21042 {
21043 arg8 = wxString_in_helper(obj7);
21044 if (arg8 == NULL) SWIG_fail;
21045 temp8 = true;
21046 }
21047 }
21048 {
21049 PyThreadState* __tstate = wxPyBeginAllowThreads();
21050 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21051 wxPyEndAllowThreads(__tstate);
21052 if (PyErr_Occurred()) SWIG_fail;
21053 }
21054 {
21055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21056 }
21057 {
21058 if (temp4)
21059 delete arg4;
21060 }
21061 {
21062 if (temp8)
21063 delete arg8;
21064 }
21065 return resultobj;
21066 fail:
21067 {
21068 if (temp4)
21069 delete arg4;
21070 }
21071 {
21072 if (temp8)
21073 delete arg8;
21074 }
21075 return NULL;
21076 }
21077
21078
21079 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21080 PyObject *resultobj = 0;
21081 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21082 void *argp1 = 0 ;
21083 int res1 = 0 ;
21084 PyObject *swig_obj[1] ;
21085
21086 if (!args) SWIG_fail;
21087 swig_obj[0] = args;
21088 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21089 if (!SWIG_IsOK(res1)) {
21090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21091 }
21092 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 (arg1)->ActivateNext();
21096 wxPyEndAllowThreads(__tstate);
21097 if (PyErr_Occurred()) SWIG_fail;
21098 }
21099 resultobj = SWIG_Py_Void();
21100 return resultobj;
21101 fail:
21102 return NULL;
21103 }
21104
21105
21106 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21107 PyObject *resultobj = 0;
21108 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21109 void *argp1 = 0 ;
21110 int res1 = 0 ;
21111 PyObject *swig_obj[1] ;
21112
21113 if (!args) SWIG_fail;
21114 swig_obj[0] = args;
21115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21116 if (!SWIG_IsOK(res1)) {
21117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21118 }
21119 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 (arg1)->ActivatePrevious();
21123 wxPyEndAllowThreads(__tstate);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
21126 resultobj = SWIG_Py_Void();
21127 return resultobj;
21128 fail:
21129 return NULL;
21130 }
21131
21132
21133 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21134 PyObject *resultobj = 0;
21135 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21136 void *argp1 = 0 ;
21137 int res1 = 0 ;
21138 PyObject *swig_obj[1] ;
21139
21140 if (!args) SWIG_fail;
21141 swig_obj[0] = args;
21142 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21143 if (!SWIG_IsOK(res1)) {
21144 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21145 }
21146 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21147 {
21148 PyThreadState* __tstate = wxPyBeginAllowThreads();
21149 (arg1)->ArrangeIcons();
21150 wxPyEndAllowThreads(__tstate);
21151 if (PyErr_Occurred()) SWIG_fail;
21152 }
21153 resultobj = SWIG_Py_Void();
21154 return resultobj;
21155 fail:
21156 return NULL;
21157 }
21158
21159
21160 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21161 PyObject *resultobj = 0;
21162 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21163 void *argp1 = 0 ;
21164 int res1 = 0 ;
21165 PyObject *swig_obj[1] ;
21166
21167 if (!args) SWIG_fail;
21168 swig_obj[0] = args;
21169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21170 if (!SWIG_IsOK(res1)) {
21171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21172 }
21173 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21174 {
21175 PyThreadState* __tstate = wxPyBeginAllowThreads();
21176 (arg1)->Cascade();
21177 wxPyEndAllowThreads(__tstate);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 }
21180 resultobj = SWIG_Py_Void();
21181 return resultobj;
21182 fail:
21183 return NULL;
21184 }
21185
21186
21187 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21188 PyObject *resultobj = 0;
21189 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21190 wxMDIChildFrame *result = 0 ;
21191 void *argp1 = 0 ;
21192 int res1 = 0 ;
21193 PyObject *swig_obj[1] ;
21194
21195 if (!args) SWIG_fail;
21196 swig_obj[0] = args;
21197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21198 if (!SWIG_IsOK(res1)) {
21199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21200 }
21201 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21202 {
21203 PyThreadState* __tstate = wxPyBeginAllowThreads();
21204 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
21205 wxPyEndAllowThreads(__tstate);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 }
21208 {
21209 resultobj = wxPyMake_wxObject(result, (bool)0);
21210 }
21211 return resultobj;
21212 fail:
21213 return NULL;
21214 }
21215
21216
21217 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21218 PyObject *resultobj = 0;
21219 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21220 wxMDIClientWindow *result = 0 ;
21221 void *argp1 = 0 ;
21222 int res1 = 0 ;
21223 PyObject *swig_obj[1] ;
21224
21225 if (!args) SWIG_fail;
21226 swig_obj[0] = args;
21227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21228 if (!SWIG_IsOK(res1)) {
21229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21230 }
21231 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21232 {
21233 PyThreadState* __tstate = wxPyBeginAllowThreads();
21234 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
21235 wxPyEndAllowThreads(__tstate);
21236 if (PyErr_Occurred()) SWIG_fail;
21237 }
21238 {
21239 resultobj = wxPyMake_wxObject(result, (bool)0);
21240 }
21241 return resultobj;
21242 fail:
21243 return NULL;
21244 }
21245
21246
21247 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21248 PyObject *resultobj = 0;
21249 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21250 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
21251 void *argp1 = 0 ;
21252 int res1 = 0 ;
21253 int val2 ;
21254 int ecode2 = 0 ;
21255 PyObject * obj0 = 0 ;
21256 PyObject * obj1 = 0 ;
21257 char * kwnames[] = {
21258 (char *) "self",(char *) "orient", NULL
21259 };
21260
21261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
21262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21263 if (!SWIG_IsOK(res1)) {
21264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21265 }
21266 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21267 if (obj1) {
21268 ecode2 = SWIG_AsVal_int(obj1, &val2);
21269 if (!SWIG_IsOK(ecode2)) {
21270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21271 }
21272 arg2 = static_cast< wxOrientation >(val2);
21273 }
21274 {
21275 PyThreadState* __tstate = wxPyBeginAllowThreads();
21276 (arg1)->Tile(arg2);
21277 wxPyEndAllowThreads(__tstate);
21278 if (PyErr_Occurred()) SWIG_fail;
21279 }
21280 resultobj = SWIG_Py_Void();
21281 return resultobj;
21282 fail:
21283 return NULL;
21284 }
21285
21286
21287 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21288 PyObject *obj;
21289 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21290 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21291 return SWIG_Py_Void();
21292 }
21293
21294 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21295 return SWIG_Python_InitShadowInstance(args);
21296 }
21297
21298 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21299 PyObject *resultobj = 0;
21300 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21301 int arg2 = (int) (int)-1 ;
21302 wxString const &arg3_defvalue = wxPyEmptyString ;
21303 wxString *arg3 = (wxString *) &arg3_defvalue ;
21304 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21305 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21306 wxSize const &arg5_defvalue = wxDefaultSize ;
21307 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21308 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21309 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21310 wxString *arg7 = (wxString *) &arg7_defvalue ;
21311 wxMDIChildFrame *result = 0 ;
21312 void *argp1 = 0 ;
21313 int res1 = 0 ;
21314 int val2 ;
21315 int ecode2 = 0 ;
21316 bool temp3 = false ;
21317 wxPoint temp4 ;
21318 wxSize temp5 ;
21319 long val6 ;
21320 int ecode6 = 0 ;
21321 bool temp7 = false ;
21322 PyObject * obj0 = 0 ;
21323 PyObject * obj1 = 0 ;
21324 PyObject * obj2 = 0 ;
21325 PyObject * obj3 = 0 ;
21326 PyObject * obj4 = 0 ;
21327 PyObject * obj5 = 0 ;
21328 PyObject * obj6 = 0 ;
21329 char * kwnames[] = {
21330 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21331 };
21332
21333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21335 if (!SWIG_IsOK(res1)) {
21336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21337 }
21338 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21339 if (obj1) {
21340 ecode2 = SWIG_AsVal_int(obj1, &val2);
21341 if (!SWIG_IsOK(ecode2)) {
21342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21343 }
21344 arg2 = static_cast< int >(val2);
21345 }
21346 if (obj2) {
21347 {
21348 arg3 = wxString_in_helper(obj2);
21349 if (arg3 == NULL) SWIG_fail;
21350 temp3 = true;
21351 }
21352 }
21353 if (obj3) {
21354 {
21355 arg4 = &temp4;
21356 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21357 }
21358 }
21359 if (obj4) {
21360 {
21361 arg5 = &temp5;
21362 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21363 }
21364 }
21365 if (obj5) {
21366 ecode6 = SWIG_AsVal_long(obj5, &val6);
21367 if (!SWIG_IsOK(ecode6)) {
21368 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21369 }
21370 arg6 = static_cast< long >(val6);
21371 }
21372 if (obj6) {
21373 {
21374 arg7 = wxString_in_helper(obj6);
21375 if (arg7 == NULL) SWIG_fail;
21376 temp7 = true;
21377 }
21378 }
21379 {
21380 if (!wxPyCheckForApp()) SWIG_fail;
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21383 wxPyEndAllowThreads(__tstate);
21384 if (PyErr_Occurred()) SWIG_fail;
21385 }
21386 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21387 {
21388 if (temp3)
21389 delete arg3;
21390 }
21391 {
21392 if (temp7)
21393 delete arg7;
21394 }
21395 return resultobj;
21396 fail:
21397 {
21398 if (temp3)
21399 delete arg3;
21400 }
21401 {
21402 if (temp7)
21403 delete arg7;
21404 }
21405 return NULL;
21406 }
21407
21408
21409 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21410 PyObject *resultobj = 0;
21411 wxMDIChildFrame *result = 0 ;
21412
21413 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21414 {
21415 if (!wxPyCheckForApp()) SWIG_fail;
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21418 wxPyEndAllowThreads(__tstate);
21419 if (PyErr_Occurred()) SWIG_fail;
21420 }
21421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21422 return resultobj;
21423 fail:
21424 return NULL;
21425 }
21426
21427
21428 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21429 PyObject *resultobj = 0;
21430 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21431 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21432 int arg3 = (int) (int)-1 ;
21433 wxString const &arg4_defvalue = wxPyEmptyString ;
21434 wxString *arg4 = (wxString *) &arg4_defvalue ;
21435 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21436 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21437 wxSize const &arg6_defvalue = wxDefaultSize ;
21438 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21439 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21440 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21441 wxString *arg8 = (wxString *) &arg8_defvalue ;
21442 bool result;
21443 void *argp1 = 0 ;
21444 int res1 = 0 ;
21445 void *argp2 = 0 ;
21446 int res2 = 0 ;
21447 int val3 ;
21448 int ecode3 = 0 ;
21449 bool temp4 = false ;
21450 wxPoint temp5 ;
21451 wxSize temp6 ;
21452 long val7 ;
21453 int ecode7 = 0 ;
21454 bool temp8 = false ;
21455 PyObject * obj0 = 0 ;
21456 PyObject * obj1 = 0 ;
21457 PyObject * obj2 = 0 ;
21458 PyObject * obj3 = 0 ;
21459 PyObject * obj4 = 0 ;
21460 PyObject * obj5 = 0 ;
21461 PyObject * obj6 = 0 ;
21462 PyObject * obj7 = 0 ;
21463 char * kwnames[] = {
21464 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21465 };
21466
21467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21469 if (!SWIG_IsOK(res1)) {
21470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21471 }
21472 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21473 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21474 if (!SWIG_IsOK(res2)) {
21475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21476 }
21477 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21478 if (obj2) {
21479 ecode3 = SWIG_AsVal_int(obj2, &val3);
21480 if (!SWIG_IsOK(ecode3)) {
21481 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21482 }
21483 arg3 = static_cast< int >(val3);
21484 }
21485 if (obj3) {
21486 {
21487 arg4 = wxString_in_helper(obj3);
21488 if (arg4 == NULL) SWIG_fail;
21489 temp4 = true;
21490 }
21491 }
21492 if (obj4) {
21493 {
21494 arg5 = &temp5;
21495 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21496 }
21497 }
21498 if (obj5) {
21499 {
21500 arg6 = &temp6;
21501 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21502 }
21503 }
21504 if (obj6) {
21505 ecode7 = SWIG_AsVal_long(obj6, &val7);
21506 if (!SWIG_IsOK(ecode7)) {
21507 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21508 }
21509 arg7 = static_cast< long >(val7);
21510 }
21511 if (obj7) {
21512 {
21513 arg8 = wxString_in_helper(obj7);
21514 if (arg8 == NULL) SWIG_fail;
21515 temp8 = true;
21516 }
21517 }
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21521 wxPyEndAllowThreads(__tstate);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 {
21525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21526 }
21527 {
21528 if (temp4)
21529 delete arg4;
21530 }
21531 {
21532 if (temp8)
21533 delete arg8;
21534 }
21535 return resultobj;
21536 fail:
21537 {
21538 if (temp4)
21539 delete arg4;
21540 }
21541 {
21542 if (temp8)
21543 delete arg8;
21544 }
21545 return NULL;
21546 }
21547
21548
21549 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21550 PyObject *resultobj = 0;
21551 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21552 void *argp1 = 0 ;
21553 int res1 = 0 ;
21554 PyObject *swig_obj[1] ;
21555
21556 if (!args) SWIG_fail;
21557 swig_obj[0] = args;
21558 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21559 if (!SWIG_IsOK(res1)) {
21560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21561 }
21562 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21563 {
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 (arg1)->Activate();
21566 wxPyEndAllowThreads(__tstate);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 }
21569 resultobj = SWIG_Py_Void();
21570 return resultobj;
21571 fail:
21572 return NULL;
21573 }
21574
21575
21576 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21577 PyObject *obj;
21578 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21579 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21580 return SWIG_Py_Void();
21581 }
21582
21583 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21584 return SWIG_Python_InitShadowInstance(args);
21585 }
21586
21587 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21588 PyObject *resultobj = 0;
21589 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21590 long arg2 = (long) 0 ;
21591 wxMDIClientWindow *result = 0 ;
21592 void *argp1 = 0 ;
21593 int res1 = 0 ;
21594 long val2 ;
21595 int ecode2 = 0 ;
21596 PyObject * obj0 = 0 ;
21597 PyObject * obj1 = 0 ;
21598 char * kwnames[] = {
21599 (char *) "parent",(char *) "style", NULL
21600 };
21601
21602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21604 if (!SWIG_IsOK(res1)) {
21605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21606 }
21607 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21608 if (obj1) {
21609 ecode2 = SWIG_AsVal_long(obj1, &val2);
21610 if (!SWIG_IsOK(ecode2)) {
21611 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21612 }
21613 arg2 = static_cast< long >(val2);
21614 }
21615 {
21616 if (!wxPyCheckForApp()) SWIG_fail;
21617 PyThreadState* __tstate = wxPyBeginAllowThreads();
21618 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21619 wxPyEndAllowThreads(__tstate);
21620 if (PyErr_Occurred()) SWIG_fail;
21621 }
21622 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21623 return resultobj;
21624 fail:
21625 return NULL;
21626 }
21627
21628
21629 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21630 PyObject *resultobj = 0;
21631 wxMDIClientWindow *result = 0 ;
21632
21633 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21634 {
21635 if (!wxPyCheckForApp()) SWIG_fail;
21636 PyThreadState* __tstate = wxPyBeginAllowThreads();
21637 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21638 wxPyEndAllowThreads(__tstate);
21639 if (PyErr_Occurred()) SWIG_fail;
21640 }
21641 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21642 return resultobj;
21643 fail:
21644 return NULL;
21645 }
21646
21647
21648 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj = 0;
21650 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21651 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21652 long arg3 = (long) 0 ;
21653 bool result;
21654 void *argp1 = 0 ;
21655 int res1 = 0 ;
21656 void *argp2 = 0 ;
21657 int res2 = 0 ;
21658 long val3 ;
21659 int ecode3 = 0 ;
21660 PyObject * obj0 = 0 ;
21661 PyObject * obj1 = 0 ;
21662 PyObject * obj2 = 0 ;
21663 char * kwnames[] = {
21664 (char *) "self",(char *) "parent",(char *) "style", NULL
21665 };
21666
21667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21669 if (!SWIG_IsOK(res1)) {
21670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21671 }
21672 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21673 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21674 if (!SWIG_IsOK(res2)) {
21675 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21676 }
21677 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21678 if (obj2) {
21679 ecode3 = SWIG_AsVal_long(obj2, &val3);
21680 if (!SWIG_IsOK(ecode3)) {
21681 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21682 }
21683 arg3 = static_cast< long >(val3);
21684 }
21685 {
21686 PyThreadState* __tstate = wxPyBeginAllowThreads();
21687 result = (bool)(arg1)->Create(arg2,arg3);
21688 wxPyEndAllowThreads(__tstate);
21689 if (PyErr_Occurred()) SWIG_fail;
21690 }
21691 {
21692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21693 }
21694 return resultobj;
21695 fail:
21696 return NULL;
21697 }
21698
21699
21700 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21701 PyObject *obj;
21702 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21703 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21704 return SWIG_Py_Void();
21705 }
21706
21707 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21708 return SWIG_Python_InitShadowInstance(args);
21709 }
21710
21711 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21712 PyObject *resultobj = 0;
21713 wxWindow *arg1 = (wxWindow *) 0 ;
21714 int arg2 = (int) (int)-1 ;
21715 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21716 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21717 wxSize const &arg4_defvalue = wxDefaultSize ;
21718 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21719 long arg5 = (long) 0 ;
21720 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21721 wxString *arg6 = (wxString *) &arg6_defvalue ;
21722 wxPyWindow *result = 0 ;
21723 void *argp1 = 0 ;
21724 int res1 = 0 ;
21725 int val2 ;
21726 int ecode2 = 0 ;
21727 wxPoint temp3 ;
21728 wxSize temp4 ;
21729 long val5 ;
21730 int ecode5 = 0 ;
21731 bool temp6 = false ;
21732 PyObject * obj0 = 0 ;
21733 PyObject * obj1 = 0 ;
21734 PyObject * obj2 = 0 ;
21735 PyObject * obj3 = 0 ;
21736 PyObject * obj4 = 0 ;
21737 PyObject * obj5 = 0 ;
21738 char * kwnames[] = {
21739 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21740 };
21741
21742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21744 if (!SWIG_IsOK(res1)) {
21745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21746 }
21747 arg1 = reinterpret_cast< wxWindow * >(argp1);
21748 if (obj1) {
21749 ecode2 = SWIG_AsVal_int(obj1, &val2);
21750 if (!SWIG_IsOK(ecode2)) {
21751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21752 }
21753 arg2 = static_cast< int >(val2);
21754 }
21755 if (obj2) {
21756 {
21757 arg3 = &temp3;
21758 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21759 }
21760 }
21761 if (obj3) {
21762 {
21763 arg4 = &temp4;
21764 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21765 }
21766 }
21767 if (obj4) {
21768 ecode5 = SWIG_AsVal_long(obj4, &val5);
21769 if (!SWIG_IsOK(ecode5)) {
21770 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21771 }
21772 arg5 = static_cast< long >(val5);
21773 }
21774 if (obj5) {
21775 {
21776 arg6 = wxString_in_helper(obj5);
21777 if (arg6 == NULL) SWIG_fail;
21778 temp6 = true;
21779 }
21780 }
21781 {
21782 if (!wxPyCheckForApp()) SWIG_fail;
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21785 wxPyEndAllowThreads(__tstate);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21789 {
21790 if (temp6)
21791 delete arg6;
21792 }
21793 return resultobj;
21794 fail:
21795 {
21796 if (temp6)
21797 delete arg6;
21798 }
21799 return NULL;
21800 }
21801
21802
21803 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21804 PyObject *resultobj = 0;
21805 wxPyWindow *result = 0 ;
21806
21807 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21808 {
21809 if (!wxPyCheckForApp()) SWIG_fail;
21810 PyThreadState* __tstate = wxPyBeginAllowThreads();
21811 result = (wxPyWindow *)new wxPyWindow();
21812 wxPyEndAllowThreads(__tstate);
21813 if (PyErr_Occurred()) SWIG_fail;
21814 }
21815 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21816 return resultobj;
21817 fail:
21818 return NULL;
21819 }
21820
21821
21822 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21823 PyObject *resultobj = 0;
21824 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21825 PyObject *arg2 = (PyObject *) 0 ;
21826 PyObject *arg3 = (PyObject *) 0 ;
21827 void *argp1 = 0 ;
21828 int res1 = 0 ;
21829 PyObject * obj0 = 0 ;
21830 PyObject * obj1 = 0 ;
21831 PyObject * obj2 = 0 ;
21832 char * kwnames[] = {
21833 (char *) "self",(char *) "self",(char *) "_class", NULL
21834 };
21835
21836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21838 if (!SWIG_IsOK(res1)) {
21839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21840 }
21841 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21842 arg2 = obj1;
21843 arg3 = obj2;
21844 {
21845 PyThreadState* __tstate = wxPyBeginAllowThreads();
21846 (arg1)->_setCallbackInfo(arg2,arg3);
21847 wxPyEndAllowThreads(__tstate);
21848 if (PyErr_Occurred()) SWIG_fail;
21849 }
21850 resultobj = SWIG_Py_Void();
21851 return resultobj;
21852 fail:
21853 return NULL;
21854 }
21855
21856
21857 SWIGINTERN PyObject *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21858 PyObject *resultobj = 0;
21859 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21860 wxDC *arg2 = (wxDC *) 0 ;
21861 bool result;
21862 void *argp1 = 0 ;
21863 int res1 = 0 ;
21864 void *argp2 = 0 ;
21865 int res2 = 0 ;
21866 PyObject * obj0 = 0 ;
21867 PyObject * obj1 = 0 ;
21868 char * kwnames[] = {
21869 (char *) "self",(char *) "dc", NULL
21870 };
21871
21872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21874 if (!SWIG_IsOK(res1)) {
21875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21876 }
21877 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21878 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21879 if (!SWIG_IsOK(res2)) {
21880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21881 }
21882 arg2 = reinterpret_cast< wxDC * >(argp2);
21883 {
21884 PyThreadState* __tstate = wxPyBeginAllowThreads();
21885 result = (bool)(arg1)->DoEraseBackground(arg2);
21886 wxPyEndAllowThreads(__tstate);
21887 if (PyErr_Occurred()) SWIG_fail;
21888 }
21889 {
21890 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21891 }
21892 return resultobj;
21893 fail:
21894 return NULL;
21895 }
21896
21897
21898 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21899 PyObject *resultobj = 0;
21900 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21901 int arg2 ;
21902 int arg3 ;
21903 int arg4 ;
21904 int arg5 ;
21905 void *argp1 = 0 ;
21906 int res1 = 0 ;
21907 int val2 ;
21908 int ecode2 = 0 ;
21909 int val3 ;
21910 int ecode3 = 0 ;
21911 int val4 ;
21912 int ecode4 = 0 ;
21913 int val5 ;
21914 int ecode5 = 0 ;
21915 PyObject * obj0 = 0 ;
21916 PyObject * obj1 = 0 ;
21917 PyObject * obj2 = 0 ;
21918 PyObject * obj3 = 0 ;
21919 PyObject * obj4 = 0 ;
21920 char * kwnames[] = {
21921 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21922 };
21923
21924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21926 if (!SWIG_IsOK(res1)) {
21927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21928 }
21929 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21930 ecode2 = SWIG_AsVal_int(obj1, &val2);
21931 if (!SWIG_IsOK(ecode2)) {
21932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21933 }
21934 arg2 = static_cast< int >(val2);
21935 ecode3 = SWIG_AsVal_int(obj2, &val3);
21936 if (!SWIG_IsOK(ecode3)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21938 }
21939 arg3 = static_cast< int >(val3);
21940 ecode4 = SWIG_AsVal_int(obj3, &val4);
21941 if (!SWIG_IsOK(ecode4)) {
21942 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21943 }
21944 arg4 = static_cast< int >(val4);
21945 ecode5 = SWIG_AsVal_int(obj4, &val5);
21946 if (!SWIG_IsOK(ecode5)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21948 }
21949 arg5 = static_cast< int >(val5);
21950 {
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 resultobj = SWIG_Py_Void();
21957 return resultobj;
21958 fail:
21959 return NULL;
21960 }
21961
21962
21963 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj = 0;
21965 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21966 int arg2 ;
21967 int arg3 ;
21968 int arg4 ;
21969 int arg5 ;
21970 int arg6 = (int) wxSIZE_AUTO ;
21971 void *argp1 = 0 ;
21972 int res1 = 0 ;
21973 int val2 ;
21974 int ecode2 = 0 ;
21975 int val3 ;
21976 int ecode3 = 0 ;
21977 int val4 ;
21978 int ecode4 = 0 ;
21979 int val5 ;
21980 int ecode5 = 0 ;
21981 int val6 ;
21982 int ecode6 = 0 ;
21983 PyObject * obj0 = 0 ;
21984 PyObject * obj1 = 0 ;
21985 PyObject * obj2 = 0 ;
21986 PyObject * obj3 = 0 ;
21987 PyObject * obj4 = 0 ;
21988 PyObject * obj5 = 0 ;
21989 char * kwnames[] = {
21990 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21991 };
21992
21993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21995 if (!SWIG_IsOK(res1)) {
21996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21997 }
21998 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21999 ecode2 = SWIG_AsVal_int(obj1, &val2);
22000 if (!SWIG_IsOK(ecode2)) {
22001 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22002 }
22003 arg2 = static_cast< int >(val2);
22004 ecode3 = SWIG_AsVal_int(obj2, &val3);
22005 if (!SWIG_IsOK(ecode3)) {
22006 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22007 }
22008 arg3 = static_cast< int >(val3);
22009 ecode4 = SWIG_AsVal_int(obj3, &val4);
22010 if (!SWIG_IsOK(ecode4)) {
22011 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22012 }
22013 arg4 = static_cast< int >(val4);
22014 ecode5 = SWIG_AsVal_int(obj4, &val5);
22015 if (!SWIG_IsOK(ecode5)) {
22016 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22017 }
22018 arg5 = static_cast< int >(val5);
22019 if (obj5) {
22020 ecode6 = SWIG_AsVal_int(obj5, &val6);
22021 if (!SWIG_IsOK(ecode6)) {
22022 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22023 }
22024 arg6 = static_cast< int >(val6);
22025 }
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22029 wxPyEndAllowThreads(__tstate);
22030 if (PyErr_Occurred()) SWIG_fail;
22031 }
22032 resultobj = SWIG_Py_Void();
22033 return resultobj;
22034 fail:
22035 return NULL;
22036 }
22037
22038
22039 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22040 PyObject *resultobj = 0;
22041 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22042 int arg2 ;
22043 int arg3 ;
22044 void *argp1 = 0 ;
22045 int res1 = 0 ;
22046 int val2 ;
22047 int ecode2 = 0 ;
22048 int val3 ;
22049 int ecode3 = 0 ;
22050 PyObject * obj0 = 0 ;
22051 PyObject * obj1 = 0 ;
22052 PyObject * obj2 = 0 ;
22053 char * kwnames[] = {
22054 (char *) "self",(char *) "width",(char *) "height", NULL
22055 };
22056
22057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22059 if (!SWIG_IsOK(res1)) {
22060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22061 }
22062 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22063 ecode2 = SWIG_AsVal_int(obj1, &val2);
22064 if (!SWIG_IsOK(ecode2)) {
22065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22066 }
22067 arg2 = static_cast< int >(val2);
22068 ecode3 = SWIG_AsVal_int(obj2, &val3);
22069 if (!SWIG_IsOK(ecode3)) {
22070 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22071 }
22072 arg3 = static_cast< int >(val3);
22073 {
22074 PyThreadState* __tstate = wxPyBeginAllowThreads();
22075 (arg1)->DoSetClientSize(arg2,arg3);
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 resultobj = SWIG_Py_Void();
22080 return resultobj;
22081 fail:
22082 return NULL;
22083 }
22084
22085
22086 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22087 PyObject *resultobj = 0;
22088 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22089 int arg2 ;
22090 int arg3 ;
22091 void *argp1 = 0 ;
22092 int res1 = 0 ;
22093 int val2 ;
22094 int ecode2 = 0 ;
22095 int val3 ;
22096 int ecode3 = 0 ;
22097 PyObject * obj0 = 0 ;
22098 PyObject * obj1 = 0 ;
22099 PyObject * obj2 = 0 ;
22100 char * kwnames[] = {
22101 (char *) "self",(char *) "x",(char *) "y", NULL
22102 };
22103
22104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22106 if (!SWIG_IsOK(res1)) {
22107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22108 }
22109 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22110 ecode2 = SWIG_AsVal_int(obj1, &val2);
22111 if (!SWIG_IsOK(ecode2)) {
22112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22113 }
22114 arg2 = static_cast< int >(val2);
22115 ecode3 = SWIG_AsVal_int(obj2, &val3);
22116 if (!SWIG_IsOK(ecode3)) {
22117 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22118 }
22119 arg3 = static_cast< int >(val3);
22120 {
22121 PyThreadState* __tstate = wxPyBeginAllowThreads();
22122 (arg1)->DoSetVirtualSize(arg2,arg3);
22123 wxPyEndAllowThreads(__tstate);
22124 if (PyErr_Occurred()) SWIG_fail;
22125 }
22126 resultobj = SWIG_Py_Void();
22127 return resultobj;
22128 fail:
22129 return NULL;
22130 }
22131
22132
22133 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22134 PyObject *resultobj = 0;
22135 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22136 int *arg2 = (int *) 0 ;
22137 int *arg3 = (int *) 0 ;
22138 void *argp1 = 0 ;
22139 int res1 = 0 ;
22140 int temp2 ;
22141 int res2 = SWIG_TMPOBJ ;
22142 int temp3 ;
22143 int res3 = SWIG_TMPOBJ ;
22144 PyObject *swig_obj[1] ;
22145
22146 arg2 = &temp2;
22147 arg3 = &temp3;
22148 if (!args) SWIG_fail;
22149 swig_obj[0] = args;
22150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22151 if (!SWIG_IsOK(res1)) {
22152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22153 }
22154 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22155 {
22156 PyThreadState* __tstate = wxPyBeginAllowThreads();
22157 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
22158 wxPyEndAllowThreads(__tstate);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 }
22161 resultobj = SWIG_Py_Void();
22162 if (SWIG_IsTmpObj(res2)) {
22163 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22164 } else {
22165 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22166 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22167 }
22168 if (SWIG_IsTmpObj(res3)) {
22169 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22170 } else {
22171 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22172 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22173 }
22174 return resultobj;
22175 fail:
22176 return NULL;
22177 }
22178
22179
22180 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22181 PyObject *resultobj = 0;
22182 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22183 int *arg2 = (int *) 0 ;
22184 int *arg3 = (int *) 0 ;
22185 void *argp1 = 0 ;
22186 int res1 = 0 ;
22187 int temp2 ;
22188 int res2 = SWIG_TMPOBJ ;
22189 int temp3 ;
22190 int res3 = SWIG_TMPOBJ ;
22191 PyObject *swig_obj[1] ;
22192
22193 arg2 = &temp2;
22194 arg3 = &temp3;
22195 if (!args) SWIG_fail;
22196 swig_obj[0] = args;
22197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22198 if (!SWIG_IsOK(res1)) {
22199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22200 }
22201 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22202 {
22203 PyThreadState* __tstate = wxPyBeginAllowThreads();
22204 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
22205 wxPyEndAllowThreads(__tstate);
22206 if (PyErr_Occurred()) SWIG_fail;
22207 }
22208 resultobj = SWIG_Py_Void();
22209 if (SWIG_IsTmpObj(res2)) {
22210 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22211 } else {
22212 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22213 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22214 }
22215 if (SWIG_IsTmpObj(res3)) {
22216 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22217 } else {
22218 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22219 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22220 }
22221 return resultobj;
22222 fail:
22223 return NULL;
22224 }
22225
22226
22227 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22228 PyObject *resultobj = 0;
22229 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22230 int *arg2 = (int *) 0 ;
22231 int *arg3 = (int *) 0 ;
22232 void *argp1 = 0 ;
22233 int res1 = 0 ;
22234 int temp2 ;
22235 int res2 = SWIG_TMPOBJ ;
22236 int temp3 ;
22237 int res3 = SWIG_TMPOBJ ;
22238 PyObject *swig_obj[1] ;
22239
22240 arg2 = &temp2;
22241 arg3 = &temp3;
22242 if (!args) SWIG_fail;
22243 swig_obj[0] = args;
22244 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22245 if (!SWIG_IsOK(res1)) {
22246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22247 }
22248 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22249 {
22250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22251 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
22252 wxPyEndAllowThreads(__tstate);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 }
22255 resultobj = SWIG_Py_Void();
22256 if (SWIG_IsTmpObj(res2)) {
22257 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22258 } else {
22259 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22260 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22261 }
22262 if (SWIG_IsTmpObj(res3)) {
22263 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22264 } else {
22265 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22266 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22267 }
22268 return resultobj;
22269 fail:
22270 return NULL;
22271 }
22272
22273
22274 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22275 PyObject *resultobj = 0;
22276 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22277 wxSize result;
22278 void *argp1 = 0 ;
22279 int res1 = 0 ;
22280 PyObject *swig_obj[1] ;
22281
22282 if (!args) SWIG_fail;
22283 swig_obj[0] = args;
22284 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22285 if (!SWIG_IsOK(res1)) {
22286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22287 }
22288 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22289 {
22290 PyThreadState* __tstate = wxPyBeginAllowThreads();
22291 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22296 return resultobj;
22297 fail:
22298 return NULL;
22299 }
22300
22301
22302 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22303 PyObject *resultobj = 0;
22304 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22305 wxSize result;
22306 void *argp1 = 0 ;
22307 int res1 = 0 ;
22308 PyObject *swig_obj[1] ;
22309
22310 if (!args) SWIG_fail;
22311 swig_obj[0] = args;
22312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22313 if (!SWIG_IsOK(res1)) {
22314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22315 }
22316 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22317 {
22318 PyThreadState* __tstate = wxPyBeginAllowThreads();
22319 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22320 wxPyEndAllowThreads(__tstate);
22321 if (PyErr_Occurred()) SWIG_fail;
22322 }
22323 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22324 return resultobj;
22325 fail:
22326 return NULL;
22327 }
22328
22329
22330 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22331 PyObject *resultobj = 0;
22332 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22333 SwigValueWrapper<wxVisualAttributes > result;
22334 void *argp1 = 0 ;
22335 int res1 = 0 ;
22336 PyObject *swig_obj[1] ;
22337
22338 if (!args) SWIG_fail;
22339 swig_obj[0] = args;
22340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22341 if (!SWIG_IsOK(res1)) {
22342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22343 }
22344 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 result = (arg1)->GetDefaultAttributes();
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22352 return resultobj;
22353 fail:
22354 return NULL;
22355 }
22356
22357
22358 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22359 PyObject *resultobj = 0;
22360 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22361 void *argp1 = 0 ;
22362 int res1 = 0 ;
22363 PyObject *swig_obj[1] ;
22364
22365 if (!args) SWIG_fail;
22366 swig_obj[0] = args;
22367 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22368 if (!SWIG_IsOK(res1)) {
22369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22370 }
22371 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22372 {
22373 PyThreadState* __tstate = wxPyBeginAllowThreads();
22374 (arg1)->OnInternalIdle();
22375 wxPyEndAllowThreads(__tstate);
22376 if (PyErr_Occurred()) SWIG_fail;
22377 }
22378 resultobj = SWIG_Py_Void();
22379 return resultobj;
22380 fail:
22381 return NULL;
22382 }
22383
22384
22385 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22386 PyObject *obj;
22387 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22388 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22389 return SWIG_Py_Void();
22390 }
22391
22392 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22393 return SWIG_Python_InitShadowInstance(args);
22394 }
22395
22396 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22397 PyObject *resultobj = 0;
22398 wxWindow *arg1 = (wxWindow *) 0 ;
22399 int arg2 = (int) (int)-1 ;
22400 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22401 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22402 wxSize const &arg4_defvalue = wxDefaultSize ;
22403 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22404 long arg5 = (long) 0 ;
22405 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22406 wxString *arg6 = (wxString *) &arg6_defvalue ;
22407 wxPyPanel *result = 0 ;
22408 void *argp1 = 0 ;
22409 int res1 = 0 ;
22410 int val2 ;
22411 int ecode2 = 0 ;
22412 wxPoint temp3 ;
22413 wxSize temp4 ;
22414 long val5 ;
22415 int ecode5 = 0 ;
22416 bool temp6 = false ;
22417 PyObject * obj0 = 0 ;
22418 PyObject * obj1 = 0 ;
22419 PyObject * obj2 = 0 ;
22420 PyObject * obj3 = 0 ;
22421 PyObject * obj4 = 0 ;
22422 PyObject * obj5 = 0 ;
22423 char * kwnames[] = {
22424 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22425 };
22426
22427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22429 if (!SWIG_IsOK(res1)) {
22430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22431 }
22432 arg1 = reinterpret_cast< wxWindow * >(argp1);
22433 if (obj1) {
22434 ecode2 = SWIG_AsVal_int(obj1, &val2);
22435 if (!SWIG_IsOK(ecode2)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22437 }
22438 arg2 = static_cast< int >(val2);
22439 }
22440 if (obj2) {
22441 {
22442 arg3 = &temp3;
22443 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22444 }
22445 }
22446 if (obj3) {
22447 {
22448 arg4 = &temp4;
22449 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22450 }
22451 }
22452 if (obj4) {
22453 ecode5 = SWIG_AsVal_long(obj4, &val5);
22454 if (!SWIG_IsOK(ecode5)) {
22455 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22456 }
22457 arg5 = static_cast< long >(val5);
22458 }
22459 if (obj5) {
22460 {
22461 arg6 = wxString_in_helper(obj5);
22462 if (arg6 == NULL) SWIG_fail;
22463 temp6 = true;
22464 }
22465 }
22466 {
22467 if (!wxPyCheckForApp()) SWIG_fail;
22468 PyThreadState* __tstate = wxPyBeginAllowThreads();
22469 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22470 wxPyEndAllowThreads(__tstate);
22471 if (PyErr_Occurred()) SWIG_fail;
22472 }
22473 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22474 {
22475 if (temp6)
22476 delete arg6;
22477 }
22478 return resultobj;
22479 fail:
22480 {
22481 if (temp6)
22482 delete arg6;
22483 }
22484 return NULL;
22485 }
22486
22487
22488 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22489 PyObject *resultobj = 0;
22490 wxPyPanel *result = 0 ;
22491
22492 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22493 {
22494 if (!wxPyCheckForApp()) SWIG_fail;
22495 PyThreadState* __tstate = wxPyBeginAllowThreads();
22496 result = (wxPyPanel *)new wxPyPanel();
22497 wxPyEndAllowThreads(__tstate);
22498 if (PyErr_Occurred()) SWIG_fail;
22499 }
22500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22501 return resultobj;
22502 fail:
22503 return NULL;
22504 }
22505
22506
22507 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22508 PyObject *resultobj = 0;
22509 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22510 PyObject *arg2 = (PyObject *) 0 ;
22511 PyObject *arg3 = (PyObject *) 0 ;
22512 void *argp1 = 0 ;
22513 int res1 = 0 ;
22514 PyObject * obj0 = 0 ;
22515 PyObject * obj1 = 0 ;
22516 PyObject * obj2 = 0 ;
22517 char * kwnames[] = {
22518 (char *) "self",(char *) "self",(char *) "_class", NULL
22519 };
22520
22521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22523 if (!SWIG_IsOK(res1)) {
22524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22525 }
22526 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22527 arg2 = obj1;
22528 arg3 = obj2;
22529 {
22530 PyThreadState* __tstate = wxPyBeginAllowThreads();
22531 (arg1)->_setCallbackInfo(arg2,arg3);
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 resultobj = SWIG_Py_Void();
22536 return resultobj;
22537 fail:
22538 return NULL;
22539 }
22540
22541
22542 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22543 PyObject *resultobj = 0;
22544 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22545 wxDC *arg2 = (wxDC *) 0 ;
22546 bool result;
22547 void *argp1 = 0 ;
22548 int res1 = 0 ;
22549 void *argp2 = 0 ;
22550 int res2 = 0 ;
22551 PyObject * obj0 = 0 ;
22552 PyObject * obj1 = 0 ;
22553 char * kwnames[] = {
22554 (char *) "self",(char *) "dc", NULL
22555 };
22556
22557 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22558 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22559 if (!SWIG_IsOK(res1)) {
22560 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22561 }
22562 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22563 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22564 if (!SWIG_IsOK(res2)) {
22565 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22566 }
22567 arg2 = reinterpret_cast< wxDC * >(argp2);
22568 {
22569 PyThreadState* __tstate = wxPyBeginAllowThreads();
22570 result = (bool)(arg1)->DoEraseBackground(arg2);
22571 wxPyEndAllowThreads(__tstate);
22572 if (PyErr_Occurred()) SWIG_fail;
22573 }
22574 {
22575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22576 }
22577 return resultobj;
22578 fail:
22579 return NULL;
22580 }
22581
22582
22583 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22584 PyObject *resultobj = 0;
22585 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22586 int arg2 ;
22587 int arg3 ;
22588 int arg4 ;
22589 int arg5 ;
22590 void *argp1 = 0 ;
22591 int res1 = 0 ;
22592 int val2 ;
22593 int ecode2 = 0 ;
22594 int val3 ;
22595 int ecode3 = 0 ;
22596 int val4 ;
22597 int ecode4 = 0 ;
22598 int val5 ;
22599 int ecode5 = 0 ;
22600 PyObject * obj0 = 0 ;
22601 PyObject * obj1 = 0 ;
22602 PyObject * obj2 = 0 ;
22603 PyObject * obj3 = 0 ;
22604 PyObject * obj4 = 0 ;
22605 char * kwnames[] = {
22606 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22607 };
22608
22609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22611 if (!SWIG_IsOK(res1)) {
22612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22613 }
22614 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22615 ecode2 = SWIG_AsVal_int(obj1, &val2);
22616 if (!SWIG_IsOK(ecode2)) {
22617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22618 }
22619 arg2 = static_cast< int >(val2);
22620 ecode3 = SWIG_AsVal_int(obj2, &val3);
22621 if (!SWIG_IsOK(ecode3)) {
22622 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22623 }
22624 arg3 = static_cast< int >(val3);
22625 ecode4 = SWIG_AsVal_int(obj3, &val4);
22626 if (!SWIG_IsOK(ecode4)) {
22627 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22628 }
22629 arg4 = static_cast< int >(val4);
22630 ecode5 = SWIG_AsVal_int(obj4, &val5);
22631 if (!SWIG_IsOK(ecode5)) {
22632 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22633 }
22634 arg5 = static_cast< int >(val5);
22635 {
22636 PyThreadState* __tstate = wxPyBeginAllowThreads();
22637 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22638 wxPyEndAllowThreads(__tstate);
22639 if (PyErr_Occurred()) SWIG_fail;
22640 }
22641 resultobj = SWIG_Py_Void();
22642 return resultobj;
22643 fail:
22644 return NULL;
22645 }
22646
22647
22648 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22649 PyObject *resultobj = 0;
22650 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22651 int arg2 ;
22652 int arg3 ;
22653 int arg4 ;
22654 int arg5 ;
22655 int arg6 = (int) wxSIZE_AUTO ;
22656 void *argp1 = 0 ;
22657 int res1 = 0 ;
22658 int val2 ;
22659 int ecode2 = 0 ;
22660 int val3 ;
22661 int ecode3 = 0 ;
22662 int val4 ;
22663 int ecode4 = 0 ;
22664 int val5 ;
22665 int ecode5 = 0 ;
22666 int val6 ;
22667 int ecode6 = 0 ;
22668 PyObject * obj0 = 0 ;
22669 PyObject * obj1 = 0 ;
22670 PyObject * obj2 = 0 ;
22671 PyObject * obj3 = 0 ;
22672 PyObject * obj4 = 0 ;
22673 PyObject * obj5 = 0 ;
22674 char * kwnames[] = {
22675 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22676 };
22677
22678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22680 if (!SWIG_IsOK(res1)) {
22681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22682 }
22683 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22684 ecode2 = SWIG_AsVal_int(obj1, &val2);
22685 if (!SWIG_IsOK(ecode2)) {
22686 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22687 }
22688 arg2 = static_cast< int >(val2);
22689 ecode3 = SWIG_AsVal_int(obj2, &val3);
22690 if (!SWIG_IsOK(ecode3)) {
22691 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22692 }
22693 arg3 = static_cast< int >(val3);
22694 ecode4 = SWIG_AsVal_int(obj3, &val4);
22695 if (!SWIG_IsOK(ecode4)) {
22696 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22697 }
22698 arg4 = static_cast< int >(val4);
22699 ecode5 = SWIG_AsVal_int(obj4, &val5);
22700 if (!SWIG_IsOK(ecode5)) {
22701 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22702 }
22703 arg5 = static_cast< int >(val5);
22704 if (obj5) {
22705 ecode6 = SWIG_AsVal_int(obj5, &val6);
22706 if (!SWIG_IsOK(ecode6)) {
22707 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22708 }
22709 arg6 = static_cast< int >(val6);
22710 }
22711 {
22712 PyThreadState* __tstate = wxPyBeginAllowThreads();
22713 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22714 wxPyEndAllowThreads(__tstate);
22715 if (PyErr_Occurred()) SWIG_fail;
22716 }
22717 resultobj = SWIG_Py_Void();
22718 return resultobj;
22719 fail:
22720 return NULL;
22721 }
22722
22723
22724 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22725 PyObject *resultobj = 0;
22726 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22727 int arg2 ;
22728 int arg3 ;
22729 void *argp1 = 0 ;
22730 int res1 = 0 ;
22731 int val2 ;
22732 int ecode2 = 0 ;
22733 int val3 ;
22734 int ecode3 = 0 ;
22735 PyObject * obj0 = 0 ;
22736 PyObject * obj1 = 0 ;
22737 PyObject * obj2 = 0 ;
22738 char * kwnames[] = {
22739 (char *) "self",(char *) "width",(char *) "height", NULL
22740 };
22741
22742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22744 if (!SWIG_IsOK(res1)) {
22745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22746 }
22747 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22748 ecode2 = SWIG_AsVal_int(obj1, &val2);
22749 if (!SWIG_IsOK(ecode2)) {
22750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22751 }
22752 arg2 = static_cast< int >(val2);
22753 ecode3 = SWIG_AsVal_int(obj2, &val3);
22754 if (!SWIG_IsOK(ecode3)) {
22755 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22756 }
22757 arg3 = static_cast< int >(val3);
22758 {
22759 PyThreadState* __tstate = wxPyBeginAllowThreads();
22760 (arg1)->DoSetClientSize(arg2,arg3);
22761 wxPyEndAllowThreads(__tstate);
22762 if (PyErr_Occurred()) SWIG_fail;
22763 }
22764 resultobj = SWIG_Py_Void();
22765 return resultobj;
22766 fail:
22767 return NULL;
22768 }
22769
22770
22771 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22772 PyObject *resultobj = 0;
22773 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22774 int arg2 ;
22775 int arg3 ;
22776 void *argp1 = 0 ;
22777 int res1 = 0 ;
22778 int val2 ;
22779 int ecode2 = 0 ;
22780 int val3 ;
22781 int ecode3 = 0 ;
22782 PyObject * obj0 = 0 ;
22783 PyObject * obj1 = 0 ;
22784 PyObject * obj2 = 0 ;
22785 char * kwnames[] = {
22786 (char *) "self",(char *) "x",(char *) "y", NULL
22787 };
22788
22789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22791 if (!SWIG_IsOK(res1)) {
22792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22793 }
22794 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22795 ecode2 = SWIG_AsVal_int(obj1, &val2);
22796 if (!SWIG_IsOK(ecode2)) {
22797 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22798 }
22799 arg2 = static_cast< int >(val2);
22800 ecode3 = SWIG_AsVal_int(obj2, &val3);
22801 if (!SWIG_IsOK(ecode3)) {
22802 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22803 }
22804 arg3 = static_cast< int >(val3);
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 (arg1)->DoSetVirtualSize(arg2,arg3);
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 resultobj = SWIG_Py_Void();
22812 return resultobj;
22813 fail:
22814 return NULL;
22815 }
22816
22817
22818 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22819 PyObject *resultobj = 0;
22820 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22821 int *arg2 = (int *) 0 ;
22822 int *arg3 = (int *) 0 ;
22823 void *argp1 = 0 ;
22824 int res1 = 0 ;
22825 int temp2 ;
22826 int res2 = SWIG_TMPOBJ ;
22827 int temp3 ;
22828 int res3 = SWIG_TMPOBJ ;
22829 PyObject *swig_obj[1] ;
22830
22831 arg2 = &temp2;
22832 arg3 = &temp3;
22833 if (!args) SWIG_fail;
22834 swig_obj[0] = args;
22835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22836 if (!SWIG_IsOK(res1)) {
22837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22838 }
22839 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22840 {
22841 PyThreadState* __tstate = wxPyBeginAllowThreads();
22842 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22843 wxPyEndAllowThreads(__tstate);
22844 if (PyErr_Occurred()) SWIG_fail;
22845 }
22846 resultobj = SWIG_Py_Void();
22847 if (SWIG_IsTmpObj(res2)) {
22848 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22849 } else {
22850 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22851 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22852 }
22853 if (SWIG_IsTmpObj(res3)) {
22854 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22855 } else {
22856 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22857 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22858 }
22859 return resultobj;
22860 fail:
22861 return NULL;
22862 }
22863
22864
22865 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22866 PyObject *resultobj = 0;
22867 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22868 int *arg2 = (int *) 0 ;
22869 int *arg3 = (int *) 0 ;
22870 void *argp1 = 0 ;
22871 int res1 = 0 ;
22872 int temp2 ;
22873 int res2 = SWIG_TMPOBJ ;
22874 int temp3 ;
22875 int res3 = SWIG_TMPOBJ ;
22876 PyObject *swig_obj[1] ;
22877
22878 arg2 = &temp2;
22879 arg3 = &temp3;
22880 if (!args) SWIG_fail;
22881 swig_obj[0] = args;
22882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22883 if (!SWIG_IsOK(res1)) {
22884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22885 }
22886 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22887 {
22888 PyThreadState* __tstate = wxPyBeginAllowThreads();
22889 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22890 wxPyEndAllowThreads(__tstate);
22891 if (PyErr_Occurred()) SWIG_fail;
22892 }
22893 resultobj = SWIG_Py_Void();
22894 if (SWIG_IsTmpObj(res2)) {
22895 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22896 } else {
22897 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22898 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22899 }
22900 if (SWIG_IsTmpObj(res3)) {
22901 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22902 } else {
22903 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22904 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22905 }
22906 return resultobj;
22907 fail:
22908 return NULL;
22909 }
22910
22911
22912 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22913 PyObject *resultobj = 0;
22914 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22915 int *arg2 = (int *) 0 ;
22916 int *arg3 = (int *) 0 ;
22917 void *argp1 = 0 ;
22918 int res1 = 0 ;
22919 int temp2 ;
22920 int res2 = SWIG_TMPOBJ ;
22921 int temp3 ;
22922 int res3 = SWIG_TMPOBJ ;
22923 PyObject *swig_obj[1] ;
22924
22925 arg2 = &temp2;
22926 arg3 = &temp3;
22927 if (!args) SWIG_fail;
22928 swig_obj[0] = args;
22929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22930 if (!SWIG_IsOK(res1)) {
22931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22932 }
22933 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22934 {
22935 PyThreadState* __tstate = wxPyBeginAllowThreads();
22936 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22937 wxPyEndAllowThreads(__tstate);
22938 if (PyErr_Occurred()) SWIG_fail;
22939 }
22940 resultobj = SWIG_Py_Void();
22941 if (SWIG_IsTmpObj(res2)) {
22942 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22943 } else {
22944 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22945 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22946 }
22947 if (SWIG_IsTmpObj(res3)) {
22948 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22949 } else {
22950 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22951 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22952 }
22953 return resultobj;
22954 fail:
22955 return NULL;
22956 }
22957
22958
22959 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22960 PyObject *resultobj = 0;
22961 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22962 wxSize result;
22963 void *argp1 = 0 ;
22964 int res1 = 0 ;
22965 PyObject *swig_obj[1] ;
22966
22967 if (!args) SWIG_fail;
22968 swig_obj[0] = args;
22969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22970 if (!SWIG_IsOK(res1)) {
22971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22972 }
22973 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22981 return resultobj;
22982 fail:
22983 return NULL;
22984 }
22985
22986
22987 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22988 PyObject *resultobj = 0;
22989 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22990 wxSize result;
22991 void *argp1 = 0 ;
22992 int res1 = 0 ;
22993 PyObject *swig_obj[1] ;
22994
22995 if (!args) SWIG_fail;
22996 swig_obj[0] = args;
22997 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22998 if (!SWIG_IsOK(res1)) {
22999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
23000 }
23001 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23002 {
23003 PyThreadState* __tstate = wxPyBeginAllowThreads();
23004 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
23005 wxPyEndAllowThreads(__tstate);
23006 if (PyErr_Occurred()) SWIG_fail;
23007 }
23008 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23009 return resultobj;
23010 fail:
23011 return NULL;
23012 }
23013
23014
23015 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23016 PyObject *resultobj = 0;
23017 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23018 SwigValueWrapper<wxVisualAttributes > result;
23019 void *argp1 = 0 ;
23020 int res1 = 0 ;
23021 PyObject *swig_obj[1] ;
23022
23023 if (!args) SWIG_fail;
23024 swig_obj[0] = args;
23025 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23026 if (!SWIG_IsOK(res1)) {
23027 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23028 }
23029 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23030 {
23031 PyThreadState* __tstate = wxPyBeginAllowThreads();
23032 result = (arg1)->GetDefaultAttributes();
23033 wxPyEndAllowThreads(__tstate);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23037 return resultobj;
23038 fail:
23039 return NULL;
23040 }
23041
23042
23043 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23044 PyObject *resultobj = 0;
23045 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
23046 void *argp1 = 0 ;
23047 int res1 = 0 ;
23048 PyObject *swig_obj[1] ;
23049
23050 if (!args) SWIG_fail;
23051 swig_obj[0] = args;
23052 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
23053 if (!SWIG_IsOK(res1)) {
23054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23055 }
23056 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
23057 {
23058 PyThreadState* __tstate = wxPyBeginAllowThreads();
23059 (arg1)->OnInternalIdle();
23060 wxPyEndAllowThreads(__tstate);
23061 if (PyErr_Occurred()) SWIG_fail;
23062 }
23063 resultobj = SWIG_Py_Void();
23064 return resultobj;
23065 fail:
23066 return NULL;
23067 }
23068
23069
23070 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23071 PyObject *obj;
23072 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23073 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
23074 return SWIG_Py_Void();
23075 }
23076
23077 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23078 return SWIG_Python_InitShadowInstance(args);
23079 }
23080
23081 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23082 PyObject *resultobj = 0;
23083 wxWindow *arg1 = (wxWindow *) 0 ;
23084 int arg2 = (int) (int)-1 ;
23085 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23086 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23087 wxSize const &arg4_defvalue = wxDefaultSize ;
23088 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23089 long arg5 = (long) 0 ;
23090 wxString const &arg6_defvalue = wxPyPanelNameStr ;
23091 wxString *arg6 = (wxString *) &arg6_defvalue ;
23092 wxPyScrolledWindow *result = 0 ;
23093 void *argp1 = 0 ;
23094 int res1 = 0 ;
23095 int val2 ;
23096 int ecode2 = 0 ;
23097 wxPoint temp3 ;
23098 wxSize temp4 ;
23099 long val5 ;
23100 int ecode5 = 0 ;
23101 bool temp6 = false ;
23102 PyObject * obj0 = 0 ;
23103 PyObject * obj1 = 0 ;
23104 PyObject * obj2 = 0 ;
23105 PyObject * obj3 = 0 ;
23106 PyObject * obj4 = 0 ;
23107 PyObject * obj5 = 0 ;
23108 char * kwnames[] = {
23109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23110 };
23111
23112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
23114 if (!SWIG_IsOK(res1)) {
23115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23116 }
23117 arg1 = reinterpret_cast< wxWindow * >(argp1);
23118 if (obj1) {
23119 ecode2 = SWIG_AsVal_int(obj1, &val2);
23120 if (!SWIG_IsOK(ecode2)) {
23121 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23122 }
23123 arg2 = static_cast< int >(val2);
23124 }
23125 if (obj2) {
23126 {
23127 arg3 = &temp3;
23128 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23129 }
23130 }
23131 if (obj3) {
23132 {
23133 arg4 = &temp4;
23134 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23135 }
23136 }
23137 if (obj4) {
23138 ecode5 = SWIG_AsVal_long(obj4, &val5);
23139 if (!SWIG_IsOK(ecode5)) {
23140 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23141 }
23142 arg5 = static_cast< long >(val5);
23143 }
23144 if (obj5) {
23145 {
23146 arg6 = wxString_in_helper(obj5);
23147 if (arg6 == NULL) SWIG_fail;
23148 temp6 = true;
23149 }
23150 }
23151 {
23152 if (!wxPyCheckForApp()) SWIG_fail;
23153 PyThreadState* __tstate = wxPyBeginAllowThreads();
23154 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
23155 wxPyEndAllowThreads(__tstate);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 }
23158 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
23159 {
23160 if (temp6)
23161 delete arg6;
23162 }
23163 return resultobj;
23164 fail:
23165 {
23166 if (temp6)
23167 delete arg6;
23168 }
23169 return NULL;
23170 }
23171
23172
23173 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23174 PyObject *resultobj = 0;
23175 wxPyScrolledWindow *result = 0 ;
23176
23177 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
23178 {
23179 if (!wxPyCheckForApp()) SWIG_fail;
23180 PyThreadState* __tstate = wxPyBeginAllowThreads();
23181 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
23185 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
23186 return resultobj;
23187 fail:
23188 return NULL;
23189 }
23190
23191
23192 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23193 PyObject *resultobj = 0;
23194 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23195 PyObject *arg2 = (PyObject *) 0 ;
23196 PyObject *arg3 = (PyObject *) 0 ;
23197 void *argp1 = 0 ;
23198 int res1 = 0 ;
23199 PyObject * obj0 = 0 ;
23200 PyObject * obj1 = 0 ;
23201 PyObject * obj2 = 0 ;
23202 char * kwnames[] = {
23203 (char *) "self",(char *) "self",(char *) "_class", NULL
23204 };
23205
23206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23208 if (!SWIG_IsOK(res1)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23210 }
23211 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23212 arg2 = obj1;
23213 arg3 = obj2;
23214 {
23215 PyThreadState* __tstate = wxPyBeginAllowThreads();
23216 (arg1)->_setCallbackInfo(arg2,arg3);
23217 wxPyEndAllowThreads(__tstate);
23218 if (PyErr_Occurred()) SWIG_fail;
23219 }
23220 resultobj = SWIG_Py_Void();
23221 return resultobj;
23222 fail:
23223 return NULL;
23224 }
23225
23226
23227 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23228 PyObject *resultobj = 0;
23229 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23230 wxDC *arg2 = (wxDC *) 0 ;
23231 bool result;
23232 void *argp1 = 0 ;
23233 int res1 = 0 ;
23234 void *argp2 = 0 ;
23235 int res2 = 0 ;
23236 PyObject * obj0 = 0 ;
23237 PyObject * obj1 = 0 ;
23238 char * kwnames[] = {
23239 (char *) "self",(char *) "dc", NULL
23240 };
23241
23242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
23243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23244 if (!SWIG_IsOK(res1)) {
23245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23246 }
23247 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23248 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
23249 if (!SWIG_IsOK(res2)) {
23250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23251 }
23252 arg2 = reinterpret_cast< wxDC * >(argp2);
23253 {
23254 PyThreadState* __tstate = wxPyBeginAllowThreads();
23255 result = (bool)(arg1)->DoEraseBackground(arg2);
23256 wxPyEndAllowThreads(__tstate);
23257 if (PyErr_Occurred()) SWIG_fail;
23258 }
23259 {
23260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23261 }
23262 return resultobj;
23263 fail:
23264 return NULL;
23265 }
23266
23267
23268 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23269 PyObject *resultobj = 0;
23270 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23271 int arg2 ;
23272 int arg3 ;
23273 int arg4 ;
23274 int arg5 ;
23275 void *argp1 = 0 ;
23276 int res1 = 0 ;
23277 int val2 ;
23278 int ecode2 = 0 ;
23279 int val3 ;
23280 int ecode3 = 0 ;
23281 int val4 ;
23282 int ecode4 = 0 ;
23283 int val5 ;
23284 int ecode5 = 0 ;
23285 PyObject * obj0 = 0 ;
23286 PyObject * obj1 = 0 ;
23287 PyObject * obj2 = 0 ;
23288 PyObject * obj3 = 0 ;
23289 PyObject * obj4 = 0 ;
23290 char * kwnames[] = {
23291 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23292 };
23293
23294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23296 if (!SWIG_IsOK(res1)) {
23297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23298 }
23299 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23300 ecode2 = SWIG_AsVal_int(obj1, &val2);
23301 if (!SWIG_IsOK(ecode2)) {
23302 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23303 }
23304 arg2 = static_cast< int >(val2);
23305 ecode3 = SWIG_AsVal_int(obj2, &val3);
23306 if (!SWIG_IsOK(ecode3)) {
23307 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23308 }
23309 arg3 = static_cast< int >(val3);
23310 ecode4 = SWIG_AsVal_int(obj3, &val4);
23311 if (!SWIG_IsOK(ecode4)) {
23312 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23313 }
23314 arg4 = static_cast< int >(val4);
23315 ecode5 = SWIG_AsVal_int(obj4, &val5);
23316 if (!SWIG_IsOK(ecode5)) {
23317 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23318 }
23319 arg5 = static_cast< int >(val5);
23320 {
23321 PyThreadState* __tstate = wxPyBeginAllowThreads();
23322 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23323 wxPyEndAllowThreads(__tstate);
23324 if (PyErr_Occurred()) SWIG_fail;
23325 }
23326 resultobj = SWIG_Py_Void();
23327 return resultobj;
23328 fail:
23329 return NULL;
23330 }
23331
23332
23333 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23334 PyObject *resultobj = 0;
23335 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23336 int arg2 ;
23337 int arg3 ;
23338 int arg4 ;
23339 int arg5 ;
23340 int arg6 = (int) wxSIZE_AUTO ;
23341 void *argp1 = 0 ;
23342 int res1 = 0 ;
23343 int val2 ;
23344 int ecode2 = 0 ;
23345 int val3 ;
23346 int ecode3 = 0 ;
23347 int val4 ;
23348 int ecode4 = 0 ;
23349 int val5 ;
23350 int ecode5 = 0 ;
23351 int val6 ;
23352 int ecode6 = 0 ;
23353 PyObject * obj0 = 0 ;
23354 PyObject * obj1 = 0 ;
23355 PyObject * obj2 = 0 ;
23356 PyObject * obj3 = 0 ;
23357 PyObject * obj4 = 0 ;
23358 PyObject * obj5 = 0 ;
23359 char * kwnames[] = {
23360 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23361 };
23362
23363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23365 if (!SWIG_IsOK(res1)) {
23366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23367 }
23368 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23369 ecode2 = SWIG_AsVal_int(obj1, &val2);
23370 if (!SWIG_IsOK(ecode2)) {
23371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23372 }
23373 arg2 = static_cast< int >(val2);
23374 ecode3 = SWIG_AsVal_int(obj2, &val3);
23375 if (!SWIG_IsOK(ecode3)) {
23376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23377 }
23378 arg3 = static_cast< int >(val3);
23379 ecode4 = SWIG_AsVal_int(obj3, &val4);
23380 if (!SWIG_IsOK(ecode4)) {
23381 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23382 }
23383 arg4 = static_cast< int >(val4);
23384 ecode5 = SWIG_AsVal_int(obj4, &val5);
23385 if (!SWIG_IsOK(ecode5)) {
23386 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23387 }
23388 arg5 = static_cast< int >(val5);
23389 if (obj5) {
23390 ecode6 = SWIG_AsVal_int(obj5, &val6);
23391 if (!SWIG_IsOK(ecode6)) {
23392 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23393 }
23394 arg6 = static_cast< int >(val6);
23395 }
23396 {
23397 PyThreadState* __tstate = wxPyBeginAllowThreads();
23398 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23399 wxPyEndAllowThreads(__tstate);
23400 if (PyErr_Occurred()) SWIG_fail;
23401 }
23402 resultobj = SWIG_Py_Void();
23403 return resultobj;
23404 fail:
23405 return NULL;
23406 }
23407
23408
23409 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23410 PyObject *resultobj = 0;
23411 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23412 int arg2 ;
23413 int arg3 ;
23414 void *argp1 = 0 ;
23415 int res1 = 0 ;
23416 int val2 ;
23417 int ecode2 = 0 ;
23418 int val3 ;
23419 int ecode3 = 0 ;
23420 PyObject * obj0 = 0 ;
23421 PyObject * obj1 = 0 ;
23422 PyObject * obj2 = 0 ;
23423 char * kwnames[] = {
23424 (char *) "self",(char *) "width",(char *) "height", NULL
23425 };
23426
23427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23429 if (!SWIG_IsOK(res1)) {
23430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23431 }
23432 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23433 ecode2 = SWIG_AsVal_int(obj1, &val2);
23434 if (!SWIG_IsOK(ecode2)) {
23435 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23436 }
23437 arg2 = static_cast< int >(val2);
23438 ecode3 = SWIG_AsVal_int(obj2, &val3);
23439 if (!SWIG_IsOK(ecode3)) {
23440 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23441 }
23442 arg3 = static_cast< int >(val3);
23443 {
23444 PyThreadState* __tstate = wxPyBeginAllowThreads();
23445 (arg1)->DoSetClientSize(arg2,arg3);
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
23449 resultobj = SWIG_Py_Void();
23450 return resultobj;
23451 fail:
23452 return NULL;
23453 }
23454
23455
23456 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23457 PyObject *resultobj = 0;
23458 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23459 int arg2 ;
23460 int arg3 ;
23461 void *argp1 = 0 ;
23462 int res1 = 0 ;
23463 int val2 ;
23464 int ecode2 = 0 ;
23465 int val3 ;
23466 int ecode3 = 0 ;
23467 PyObject * obj0 = 0 ;
23468 PyObject * obj1 = 0 ;
23469 PyObject * obj2 = 0 ;
23470 char * kwnames[] = {
23471 (char *) "self",(char *) "x",(char *) "y", NULL
23472 };
23473
23474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23476 if (!SWIG_IsOK(res1)) {
23477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23478 }
23479 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23480 ecode2 = SWIG_AsVal_int(obj1, &val2);
23481 if (!SWIG_IsOK(ecode2)) {
23482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23483 }
23484 arg2 = static_cast< int >(val2);
23485 ecode3 = SWIG_AsVal_int(obj2, &val3);
23486 if (!SWIG_IsOK(ecode3)) {
23487 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23488 }
23489 arg3 = static_cast< int >(val3);
23490 {
23491 PyThreadState* __tstate = wxPyBeginAllowThreads();
23492 (arg1)->DoSetVirtualSize(arg2,arg3);
23493 wxPyEndAllowThreads(__tstate);
23494 if (PyErr_Occurred()) SWIG_fail;
23495 }
23496 resultobj = SWIG_Py_Void();
23497 return resultobj;
23498 fail:
23499 return NULL;
23500 }
23501
23502
23503 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23504 PyObject *resultobj = 0;
23505 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23506 int *arg2 = (int *) 0 ;
23507 int *arg3 = (int *) 0 ;
23508 void *argp1 = 0 ;
23509 int res1 = 0 ;
23510 int temp2 ;
23511 int res2 = SWIG_TMPOBJ ;
23512 int temp3 ;
23513 int res3 = SWIG_TMPOBJ ;
23514 PyObject *swig_obj[1] ;
23515
23516 arg2 = &temp2;
23517 arg3 = &temp3;
23518 if (!args) SWIG_fail;
23519 swig_obj[0] = args;
23520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23521 if (!SWIG_IsOK(res1)) {
23522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23523 }
23524 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23525 {
23526 PyThreadState* __tstate = wxPyBeginAllowThreads();
23527 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23528 wxPyEndAllowThreads(__tstate);
23529 if (PyErr_Occurred()) SWIG_fail;
23530 }
23531 resultobj = SWIG_Py_Void();
23532 if (SWIG_IsTmpObj(res2)) {
23533 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23534 } else {
23535 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23536 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23537 }
23538 if (SWIG_IsTmpObj(res3)) {
23539 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23540 } else {
23541 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23542 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23543 }
23544 return resultobj;
23545 fail:
23546 return NULL;
23547 }
23548
23549
23550 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23551 PyObject *resultobj = 0;
23552 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23553 int *arg2 = (int *) 0 ;
23554 int *arg3 = (int *) 0 ;
23555 void *argp1 = 0 ;
23556 int res1 = 0 ;
23557 int temp2 ;
23558 int res2 = SWIG_TMPOBJ ;
23559 int temp3 ;
23560 int res3 = SWIG_TMPOBJ ;
23561 PyObject *swig_obj[1] ;
23562
23563 arg2 = &temp2;
23564 arg3 = &temp3;
23565 if (!args) SWIG_fail;
23566 swig_obj[0] = args;
23567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23568 if (!SWIG_IsOK(res1)) {
23569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23570 }
23571 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23572 {
23573 PyThreadState* __tstate = wxPyBeginAllowThreads();
23574 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23575 wxPyEndAllowThreads(__tstate);
23576 if (PyErr_Occurred()) SWIG_fail;
23577 }
23578 resultobj = SWIG_Py_Void();
23579 if (SWIG_IsTmpObj(res2)) {
23580 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23581 } else {
23582 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23583 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23584 }
23585 if (SWIG_IsTmpObj(res3)) {
23586 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23587 } else {
23588 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23589 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23590 }
23591 return resultobj;
23592 fail:
23593 return NULL;
23594 }
23595
23596
23597 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23598 PyObject *resultobj = 0;
23599 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23600 int *arg2 = (int *) 0 ;
23601 int *arg3 = (int *) 0 ;
23602 void *argp1 = 0 ;
23603 int res1 = 0 ;
23604 int temp2 ;
23605 int res2 = SWIG_TMPOBJ ;
23606 int temp3 ;
23607 int res3 = SWIG_TMPOBJ ;
23608 PyObject *swig_obj[1] ;
23609
23610 arg2 = &temp2;
23611 arg3 = &temp3;
23612 if (!args) SWIG_fail;
23613 swig_obj[0] = args;
23614 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23615 if (!SWIG_IsOK(res1)) {
23616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23617 }
23618 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23619 {
23620 PyThreadState* __tstate = wxPyBeginAllowThreads();
23621 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23622 wxPyEndAllowThreads(__tstate);
23623 if (PyErr_Occurred()) SWIG_fail;
23624 }
23625 resultobj = SWIG_Py_Void();
23626 if (SWIG_IsTmpObj(res2)) {
23627 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23628 } else {
23629 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23630 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23631 }
23632 if (SWIG_IsTmpObj(res3)) {
23633 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23634 } else {
23635 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23636 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23637 }
23638 return resultobj;
23639 fail:
23640 return NULL;
23641 }
23642
23643
23644 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23645 PyObject *resultobj = 0;
23646 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23647 wxSize result;
23648 void *argp1 = 0 ;
23649 int res1 = 0 ;
23650 PyObject *swig_obj[1] ;
23651
23652 if (!args) SWIG_fail;
23653 swig_obj[0] = args;
23654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23655 if (!SWIG_IsOK(res1)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23657 }
23658 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23659 {
23660 PyThreadState* __tstate = wxPyBeginAllowThreads();
23661 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23662 wxPyEndAllowThreads(__tstate);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
23665 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23666 return resultobj;
23667 fail:
23668 return NULL;
23669 }
23670
23671
23672 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23673 PyObject *resultobj = 0;
23674 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23675 wxSize result;
23676 void *argp1 = 0 ;
23677 int res1 = 0 ;
23678 PyObject *swig_obj[1] ;
23679
23680 if (!args) SWIG_fail;
23681 swig_obj[0] = args;
23682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23683 if (!SWIG_IsOK(res1)) {
23684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23685 }
23686 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23687 {
23688 PyThreadState* __tstate = wxPyBeginAllowThreads();
23689 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23690 wxPyEndAllowThreads(__tstate);
23691 if (PyErr_Occurred()) SWIG_fail;
23692 }
23693 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23694 return resultobj;
23695 fail:
23696 return NULL;
23697 }
23698
23699
23700 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23701 PyObject *resultobj = 0;
23702 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23703 SwigValueWrapper<wxVisualAttributes > result;
23704 void *argp1 = 0 ;
23705 int res1 = 0 ;
23706 PyObject *swig_obj[1] ;
23707
23708 if (!args) SWIG_fail;
23709 swig_obj[0] = args;
23710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23711 if (!SWIG_IsOK(res1)) {
23712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23713 }
23714 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23715 {
23716 PyThreadState* __tstate = wxPyBeginAllowThreads();
23717 result = (arg1)->GetDefaultAttributes();
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23722 return resultobj;
23723 fail:
23724 return NULL;
23725 }
23726
23727
23728 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23729 PyObject *resultobj = 0;
23730 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23731 void *argp1 = 0 ;
23732 int res1 = 0 ;
23733 PyObject *swig_obj[1] ;
23734
23735 if (!args) SWIG_fail;
23736 swig_obj[0] = args;
23737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23738 if (!SWIG_IsOK(res1)) {
23739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23740 }
23741 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23742 {
23743 PyThreadState* __tstate = wxPyBeginAllowThreads();
23744 (arg1)->OnInternalIdle();
23745 wxPyEndAllowThreads(__tstate);
23746 if (PyErr_Occurred()) SWIG_fail;
23747 }
23748 resultobj = SWIG_Py_Void();
23749 return resultobj;
23750 fail:
23751 return NULL;
23752 }
23753
23754
23755 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23756 PyObject *obj;
23757 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23758 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23759 return SWIG_Py_Void();
23760 }
23761
23762 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23763 return SWIG_Python_InitShadowInstance(args);
23764 }
23765
23766 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23767 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23768 return 1;
23769 }
23770
23771
23772 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23773 PyObject *pyobj = 0;
23774
23775 {
23776 #if wxUSE_UNICODE
23777 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23778 #else
23779 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23780 #endif
23781 }
23782 return pyobj;
23783 }
23784
23785
23786 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23787 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23788 return 1;
23789 }
23790
23791
23792 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23793 PyObject *pyobj = 0;
23794
23795 {
23796 #if wxUSE_UNICODE
23797 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23798 #else
23799 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23800 #endif
23801 }
23802 return pyobj;
23803 }
23804
23805
23806 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23807 PyObject *resultobj = 0;
23808 wxPrintData *result = 0 ;
23809
23810 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23811 {
23812 PyThreadState* __tstate = wxPyBeginAllowThreads();
23813 result = (wxPrintData *)new wxPrintData();
23814 wxPyEndAllowThreads(__tstate);
23815 if (PyErr_Occurred()) SWIG_fail;
23816 }
23817 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23818 return resultobj;
23819 fail:
23820 return NULL;
23821 }
23822
23823
23824 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23825 PyObject *resultobj = 0;
23826 wxPrintData *arg1 = 0 ;
23827 wxPrintData *result = 0 ;
23828 void *argp1 = 0 ;
23829 int res1 = 0 ;
23830
23831 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23833 if (!SWIG_IsOK(res1)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23835 }
23836 if (!argp1) {
23837 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23838 }
23839 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23843 wxPyEndAllowThreads(__tstate);
23844 if (PyErr_Occurred()) SWIG_fail;
23845 }
23846 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23847 return resultobj;
23848 fail:
23849 return NULL;
23850 }
23851
23852
23853 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23854 int argc;
23855 PyObject *argv[2];
23856
23857 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23858 --argc;
23859 if (argc == 0) {
23860 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23861 }
23862 if (argc == 1) {
23863 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23864 }
23865
23866 fail:
23867 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23868 return NULL;
23869 }
23870
23871
23872 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23873 PyObject *resultobj = 0;
23874 wxPrintData *arg1 = (wxPrintData *) 0 ;
23875 void *argp1 = 0 ;
23876 int res1 = 0 ;
23877 PyObject *swig_obj[1] ;
23878
23879 if (!args) SWIG_fail;
23880 swig_obj[0] = args;
23881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23882 if (!SWIG_IsOK(res1)) {
23883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23884 }
23885 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23886 {
23887 PyThreadState* __tstate = wxPyBeginAllowThreads();
23888 delete arg1;
23889
23890 wxPyEndAllowThreads(__tstate);
23891 if (PyErr_Occurred()) SWIG_fail;
23892 }
23893 resultobj = SWIG_Py_Void();
23894 return resultobj;
23895 fail:
23896 return NULL;
23897 }
23898
23899
23900 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23901 PyObject *resultobj = 0;
23902 wxPrintData *arg1 = (wxPrintData *) 0 ;
23903 int result;
23904 void *argp1 = 0 ;
23905 int res1 = 0 ;
23906 PyObject *swig_obj[1] ;
23907
23908 if (!args) SWIG_fail;
23909 swig_obj[0] = args;
23910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23911 if (!SWIG_IsOK(res1)) {
23912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23913 }
23914 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23915 {
23916 PyThreadState* __tstate = wxPyBeginAllowThreads();
23917 result = (int)(arg1)->GetNoCopies();
23918 wxPyEndAllowThreads(__tstate);
23919 if (PyErr_Occurred()) SWIG_fail;
23920 }
23921 resultobj = SWIG_From_int(static_cast< int >(result));
23922 return resultobj;
23923 fail:
23924 return NULL;
23925 }
23926
23927
23928 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23929 PyObject *resultobj = 0;
23930 wxPrintData *arg1 = (wxPrintData *) 0 ;
23931 bool result;
23932 void *argp1 = 0 ;
23933 int res1 = 0 ;
23934 PyObject *swig_obj[1] ;
23935
23936 if (!args) SWIG_fail;
23937 swig_obj[0] = args;
23938 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23939 if (!SWIG_IsOK(res1)) {
23940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23941 }
23942 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23943 {
23944 PyThreadState* __tstate = wxPyBeginAllowThreads();
23945 result = (bool)(arg1)->GetCollate();
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 {
23950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23951 }
23952 return resultobj;
23953 fail:
23954 return NULL;
23955 }
23956
23957
23958 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23959 PyObject *resultobj = 0;
23960 wxPrintData *arg1 = (wxPrintData *) 0 ;
23961 int result;
23962 void *argp1 = 0 ;
23963 int res1 = 0 ;
23964 PyObject *swig_obj[1] ;
23965
23966 if (!args) SWIG_fail;
23967 swig_obj[0] = args;
23968 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23969 if (!SWIG_IsOK(res1)) {
23970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23971 }
23972 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23973 {
23974 PyThreadState* __tstate = wxPyBeginAllowThreads();
23975 result = (int)(arg1)->GetOrientation();
23976 wxPyEndAllowThreads(__tstate);
23977 if (PyErr_Occurred()) SWIG_fail;
23978 }
23979 resultobj = SWIG_From_int(static_cast< int >(result));
23980 return resultobj;
23981 fail:
23982 return NULL;
23983 }
23984
23985
23986 SWIGINTERN PyObject *_wrap_PrintData_IsOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23987 PyObject *resultobj = 0;
23988 wxPrintData *arg1 = (wxPrintData *) 0 ;
23989 bool result;
23990 void *argp1 = 0 ;
23991 int res1 = 0 ;
23992 PyObject *swig_obj[1] ;
23993
23994 if (!args) SWIG_fail;
23995 swig_obj[0] = args;
23996 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23997 if (!SWIG_IsOK(res1)) {
23998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23999 }
24000 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
24003 result = (bool)((wxPrintData const *)arg1)->IsOrientationReversed();
24004 wxPyEndAllowThreads(__tstate);
24005 if (PyErr_Occurred()) SWIG_fail;
24006 }
24007 {
24008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24009 }
24010 return resultobj;
24011 fail:
24012 return NULL;
24013 }
24014
24015
24016 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24017 PyObject *resultobj = 0;
24018 wxPrintData *arg1 = (wxPrintData *) 0 ;
24019 bool result;
24020 void *argp1 = 0 ;
24021 int res1 = 0 ;
24022 PyObject *swig_obj[1] ;
24023
24024 if (!args) SWIG_fail;
24025 swig_obj[0] = args;
24026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24027 if (!SWIG_IsOK(res1)) {
24028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
24029 }
24030 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24031 {
24032 PyThreadState* __tstate = wxPyBeginAllowThreads();
24033 result = (bool)(arg1)->IsOk();
24034 wxPyEndAllowThreads(__tstate);
24035 if (PyErr_Occurred()) SWIG_fail;
24036 }
24037 {
24038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24039 }
24040 return resultobj;
24041 fail:
24042 return NULL;
24043 }
24044
24045
24046 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24047 PyObject *resultobj = 0;
24048 wxPrintData *arg1 = (wxPrintData *) 0 ;
24049 wxString *result = 0 ;
24050 void *argp1 = 0 ;
24051 int res1 = 0 ;
24052 PyObject *swig_obj[1] ;
24053
24054 if (!args) SWIG_fail;
24055 swig_obj[0] = args;
24056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24057 if (!SWIG_IsOK(res1)) {
24058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24059 }
24060 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24061 {
24062 PyThreadState* __tstate = wxPyBeginAllowThreads();
24063 {
24064 wxString const &_result_ref = (arg1)->GetPrinterName();
24065 result = (wxString *) &_result_ref;
24066 }
24067 wxPyEndAllowThreads(__tstate);
24068 if (PyErr_Occurred()) SWIG_fail;
24069 }
24070 {
24071 #if wxUSE_UNICODE
24072 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24073 #else
24074 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24075 #endif
24076 }
24077 return resultobj;
24078 fail:
24079 return NULL;
24080 }
24081
24082
24083 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24084 PyObject *resultobj = 0;
24085 wxPrintData *arg1 = (wxPrintData *) 0 ;
24086 bool result;
24087 void *argp1 = 0 ;
24088 int res1 = 0 ;
24089 PyObject *swig_obj[1] ;
24090
24091 if (!args) SWIG_fail;
24092 swig_obj[0] = args;
24093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24094 if (!SWIG_IsOK(res1)) {
24095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24096 }
24097 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24098 {
24099 PyThreadState* __tstate = wxPyBeginAllowThreads();
24100 result = (bool)(arg1)->GetColour();
24101 wxPyEndAllowThreads(__tstate);
24102 if (PyErr_Occurred()) SWIG_fail;
24103 }
24104 {
24105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24106 }
24107 return resultobj;
24108 fail:
24109 return NULL;
24110 }
24111
24112
24113 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24114 PyObject *resultobj = 0;
24115 wxPrintData *arg1 = (wxPrintData *) 0 ;
24116 wxDuplexMode result;
24117 void *argp1 = 0 ;
24118 int res1 = 0 ;
24119 PyObject *swig_obj[1] ;
24120
24121 if (!args) SWIG_fail;
24122 swig_obj[0] = args;
24123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24124 if (!SWIG_IsOK(res1)) {
24125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24126 }
24127 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24128 {
24129 PyThreadState* __tstate = wxPyBeginAllowThreads();
24130 result = (wxDuplexMode)(arg1)->GetDuplex();
24131 wxPyEndAllowThreads(__tstate);
24132 if (PyErr_Occurred()) SWIG_fail;
24133 }
24134 resultobj = SWIG_From_int(static_cast< int >(result));
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24142 PyObject *resultobj = 0;
24143 wxPrintData *arg1 = (wxPrintData *) 0 ;
24144 wxPaperSize result;
24145 void *argp1 = 0 ;
24146 int res1 = 0 ;
24147 PyObject *swig_obj[1] ;
24148
24149 if (!args) SWIG_fail;
24150 swig_obj[0] = args;
24151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24152 if (!SWIG_IsOK(res1)) {
24153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24154 }
24155 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24156 {
24157 PyThreadState* __tstate = wxPyBeginAllowThreads();
24158 result = (wxPaperSize)(arg1)->GetPaperId();
24159 wxPyEndAllowThreads(__tstate);
24160 if (PyErr_Occurred()) SWIG_fail;
24161 }
24162 resultobj = SWIG_From_int(static_cast< int >(result));
24163 return resultobj;
24164 fail:
24165 return NULL;
24166 }
24167
24168
24169 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24170 PyObject *resultobj = 0;
24171 wxPrintData *arg1 = (wxPrintData *) 0 ;
24172 wxSize *result = 0 ;
24173 void *argp1 = 0 ;
24174 int res1 = 0 ;
24175 PyObject *swig_obj[1] ;
24176
24177 if (!args) SWIG_fail;
24178 swig_obj[0] = args;
24179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24180 if (!SWIG_IsOK(res1)) {
24181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24182 }
24183 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24184 {
24185 PyThreadState* __tstate = wxPyBeginAllowThreads();
24186 {
24187 wxSize const &_result_ref = (arg1)->GetPaperSize();
24188 result = (wxSize *) &_result_ref;
24189 }
24190 wxPyEndAllowThreads(__tstate);
24191 if (PyErr_Occurred()) SWIG_fail;
24192 }
24193 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
24194 return resultobj;
24195 fail:
24196 return NULL;
24197 }
24198
24199
24200 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24201 PyObject *resultobj = 0;
24202 wxPrintData *arg1 = (wxPrintData *) 0 ;
24203 int result;
24204 void *argp1 = 0 ;
24205 int res1 = 0 ;
24206 PyObject *swig_obj[1] ;
24207
24208 if (!args) SWIG_fail;
24209 swig_obj[0] = args;
24210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24211 if (!SWIG_IsOK(res1)) {
24212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24213 }
24214 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24215 {
24216 PyThreadState* __tstate = wxPyBeginAllowThreads();
24217 result = (int)(arg1)->GetQuality();
24218 wxPyEndAllowThreads(__tstate);
24219 if (PyErr_Occurred()) SWIG_fail;
24220 }
24221 resultobj = SWIG_From_int(static_cast< int >(result));
24222 return resultobj;
24223 fail:
24224 return NULL;
24225 }
24226
24227
24228 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24229 PyObject *resultobj = 0;
24230 wxPrintData *arg1 = (wxPrintData *) 0 ;
24231 wxPrintBin result;
24232 void *argp1 = 0 ;
24233 int res1 = 0 ;
24234 PyObject *swig_obj[1] ;
24235
24236 if (!args) SWIG_fail;
24237 swig_obj[0] = args;
24238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24239 if (!SWIG_IsOK(res1)) {
24240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24241 }
24242 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24243 {
24244 PyThreadState* __tstate = wxPyBeginAllowThreads();
24245 result = (wxPrintBin)(arg1)->GetBin();
24246 wxPyEndAllowThreads(__tstate);
24247 if (PyErr_Occurred()) SWIG_fail;
24248 }
24249 resultobj = SWIG_From_int(static_cast< int >(result));
24250 return resultobj;
24251 fail:
24252 return NULL;
24253 }
24254
24255
24256 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24257 PyObject *resultobj = 0;
24258 wxPrintData *arg1 = (wxPrintData *) 0 ;
24259 wxPrintMode result;
24260 void *argp1 = 0 ;
24261 int res1 = 0 ;
24262 PyObject *swig_obj[1] ;
24263
24264 if (!args) SWIG_fail;
24265 swig_obj[0] = args;
24266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24267 if (!SWIG_IsOK(res1)) {
24268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24269 }
24270 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24271 {
24272 PyThreadState* __tstate = wxPyBeginAllowThreads();
24273 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
24274 wxPyEndAllowThreads(__tstate);
24275 if (PyErr_Occurred()) SWIG_fail;
24276 }
24277 resultobj = SWIG_From_int(static_cast< int >(result));
24278 return resultobj;
24279 fail:
24280 return NULL;
24281 }
24282
24283
24284 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24285 PyObject *resultobj = 0;
24286 wxPrintData *arg1 = (wxPrintData *) 0 ;
24287 int result;
24288 void *argp1 = 0 ;
24289 int res1 = 0 ;
24290 PyObject *swig_obj[1] ;
24291
24292 if (!args) SWIG_fail;
24293 swig_obj[0] = args;
24294 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24295 if (!SWIG_IsOK(res1)) {
24296 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24297 }
24298 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24299 {
24300 PyThreadState* __tstate = wxPyBeginAllowThreads();
24301 result = (int)((wxPrintData const *)arg1)->GetMedia();
24302 wxPyEndAllowThreads(__tstate);
24303 if (PyErr_Occurred()) SWIG_fail;
24304 }
24305 resultobj = SWIG_From_int(static_cast< int >(result));
24306 return resultobj;
24307 fail:
24308 return NULL;
24309 }
24310
24311
24312 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24313 PyObject *resultobj = 0;
24314 wxPrintData *arg1 = (wxPrintData *) 0 ;
24315 int arg2 ;
24316 void *argp1 = 0 ;
24317 int res1 = 0 ;
24318 int val2 ;
24319 int ecode2 = 0 ;
24320 PyObject * obj0 = 0 ;
24321 PyObject * obj1 = 0 ;
24322 char * kwnames[] = {
24323 (char *) "self",(char *) "v", NULL
24324 };
24325
24326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24328 if (!SWIG_IsOK(res1)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24330 }
24331 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24332 ecode2 = SWIG_AsVal_int(obj1, &val2);
24333 if (!SWIG_IsOK(ecode2)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24335 }
24336 arg2 = static_cast< int >(val2);
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 (arg1)->SetNoCopies(arg2);
24340 wxPyEndAllowThreads(__tstate);
24341 if (PyErr_Occurred()) SWIG_fail;
24342 }
24343 resultobj = SWIG_Py_Void();
24344 return resultobj;
24345 fail:
24346 return NULL;
24347 }
24348
24349
24350 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24351 PyObject *resultobj = 0;
24352 wxPrintData *arg1 = (wxPrintData *) 0 ;
24353 bool arg2 ;
24354 void *argp1 = 0 ;
24355 int res1 = 0 ;
24356 bool val2 ;
24357 int ecode2 = 0 ;
24358 PyObject * obj0 = 0 ;
24359 PyObject * obj1 = 0 ;
24360 char * kwnames[] = {
24361 (char *) "self",(char *) "flag", NULL
24362 };
24363
24364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24366 if (!SWIG_IsOK(res1)) {
24367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24368 }
24369 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24370 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24371 if (!SWIG_IsOK(ecode2)) {
24372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24373 }
24374 arg2 = static_cast< bool >(val2);
24375 {
24376 PyThreadState* __tstate = wxPyBeginAllowThreads();
24377 (arg1)->SetCollate(arg2);
24378 wxPyEndAllowThreads(__tstate);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
24381 resultobj = SWIG_Py_Void();
24382 return resultobj;
24383 fail:
24384 return NULL;
24385 }
24386
24387
24388 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj = 0;
24390 wxPrintData *arg1 = (wxPrintData *) 0 ;
24391 int arg2 ;
24392 void *argp1 = 0 ;
24393 int res1 = 0 ;
24394 int val2 ;
24395 int ecode2 = 0 ;
24396 PyObject * obj0 = 0 ;
24397 PyObject * obj1 = 0 ;
24398 char * kwnames[] = {
24399 (char *) "self",(char *) "orient", NULL
24400 };
24401
24402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24404 if (!SWIG_IsOK(res1)) {
24405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24406 }
24407 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24408 ecode2 = SWIG_AsVal_int(obj1, &val2);
24409 if (!SWIG_IsOK(ecode2)) {
24410 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24411 }
24412 arg2 = static_cast< int >(val2);
24413 {
24414 PyThreadState* __tstate = wxPyBeginAllowThreads();
24415 (arg1)->SetOrientation(arg2);
24416 wxPyEndAllowThreads(__tstate);
24417 if (PyErr_Occurred()) SWIG_fail;
24418 }
24419 resultobj = SWIG_Py_Void();
24420 return resultobj;
24421 fail:
24422 return NULL;
24423 }
24424
24425
24426 SWIGINTERN PyObject *_wrap_PrintData_SetOrientationReversed(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24427 PyObject *resultobj = 0;
24428 wxPrintData *arg1 = (wxPrintData *) 0 ;
24429 bool arg2 ;
24430 void *argp1 = 0 ;
24431 int res1 = 0 ;
24432 bool val2 ;
24433 int ecode2 = 0 ;
24434 PyObject * obj0 = 0 ;
24435 PyObject * obj1 = 0 ;
24436 char * kwnames[] = {
24437 (char *) "self",(char *) "reversed", NULL
24438 };
24439
24440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientationReversed",kwnames,&obj0,&obj1)) SWIG_fail;
24441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24442 if (!SWIG_IsOK(res1)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24444 }
24445 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24446 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24447 if (!SWIG_IsOK(ecode2)) {
24448 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24449 }
24450 arg2 = static_cast< bool >(val2);
24451 {
24452 PyThreadState* __tstate = wxPyBeginAllowThreads();
24453 (arg1)->SetOrientationReversed(arg2);
24454 wxPyEndAllowThreads(__tstate);
24455 if (PyErr_Occurred()) SWIG_fail;
24456 }
24457 resultobj = SWIG_Py_Void();
24458 return resultobj;
24459 fail:
24460 return NULL;
24461 }
24462
24463
24464 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24465 PyObject *resultobj = 0;
24466 wxPrintData *arg1 = (wxPrintData *) 0 ;
24467 wxString *arg2 = 0 ;
24468 void *argp1 = 0 ;
24469 int res1 = 0 ;
24470 bool temp2 = false ;
24471 PyObject * obj0 = 0 ;
24472 PyObject * obj1 = 0 ;
24473 char * kwnames[] = {
24474 (char *) "self",(char *) "name", NULL
24475 };
24476
24477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24479 if (!SWIG_IsOK(res1)) {
24480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24481 }
24482 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24483 {
24484 arg2 = wxString_in_helper(obj1);
24485 if (arg2 == NULL) SWIG_fail;
24486 temp2 = true;
24487 }
24488 {
24489 PyThreadState* __tstate = wxPyBeginAllowThreads();
24490 (arg1)->SetPrinterName((wxString const &)*arg2);
24491 wxPyEndAllowThreads(__tstate);
24492 if (PyErr_Occurred()) SWIG_fail;
24493 }
24494 resultobj = SWIG_Py_Void();
24495 {
24496 if (temp2)
24497 delete arg2;
24498 }
24499 return resultobj;
24500 fail:
24501 {
24502 if (temp2)
24503 delete arg2;
24504 }
24505 return NULL;
24506 }
24507
24508
24509 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj = 0;
24511 wxPrintData *arg1 = (wxPrintData *) 0 ;
24512 bool arg2 ;
24513 void *argp1 = 0 ;
24514 int res1 = 0 ;
24515 bool val2 ;
24516 int ecode2 = 0 ;
24517 PyObject * obj0 = 0 ;
24518 PyObject * obj1 = 0 ;
24519 char * kwnames[] = {
24520 (char *) "self",(char *) "colour", NULL
24521 };
24522
24523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24525 if (!SWIG_IsOK(res1)) {
24526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24527 }
24528 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24529 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24530 if (!SWIG_IsOK(ecode2)) {
24531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24532 }
24533 arg2 = static_cast< bool >(val2);
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 (arg1)->SetColour(arg2);
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 resultobj = SWIG_Py_Void();
24541 return resultobj;
24542 fail:
24543 return NULL;
24544 }
24545
24546
24547 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24548 PyObject *resultobj = 0;
24549 wxPrintData *arg1 = (wxPrintData *) 0 ;
24550 wxDuplexMode arg2 ;
24551 void *argp1 = 0 ;
24552 int res1 = 0 ;
24553 int val2 ;
24554 int ecode2 = 0 ;
24555 PyObject * obj0 = 0 ;
24556 PyObject * obj1 = 0 ;
24557 char * kwnames[] = {
24558 (char *) "self",(char *) "duplex", NULL
24559 };
24560
24561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24563 if (!SWIG_IsOK(res1)) {
24564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24565 }
24566 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24567 ecode2 = SWIG_AsVal_int(obj1, &val2);
24568 if (!SWIG_IsOK(ecode2)) {
24569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24570 }
24571 arg2 = static_cast< wxDuplexMode >(val2);
24572 {
24573 PyThreadState* __tstate = wxPyBeginAllowThreads();
24574 (arg1)->SetDuplex(arg2);
24575 wxPyEndAllowThreads(__tstate);
24576 if (PyErr_Occurred()) SWIG_fail;
24577 }
24578 resultobj = SWIG_Py_Void();
24579 return resultobj;
24580 fail:
24581 return NULL;
24582 }
24583
24584
24585 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24586 PyObject *resultobj = 0;
24587 wxPrintData *arg1 = (wxPrintData *) 0 ;
24588 wxPaperSize arg2 ;
24589 void *argp1 = 0 ;
24590 int res1 = 0 ;
24591 int val2 ;
24592 int ecode2 = 0 ;
24593 PyObject * obj0 = 0 ;
24594 PyObject * obj1 = 0 ;
24595 char * kwnames[] = {
24596 (char *) "self",(char *) "sizeId", NULL
24597 };
24598
24599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24601 if (!SWIG_IsOK(res1)) {
24602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24603 }
24604 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24605 ecode2 = SWIG_AsVal_int(obj1, &val2);
24606 if (!SWIG_IsOK(ecode2)) {
24607 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24608 }
24609 arg2 = static_cast< wxPaperSize >(val2);
24610 {
24611 PyThreadState* __tstate = wxPyBeginAllowThreads();
24612 (arg1)->SetPaperId(arg2);
24613 wxPyEndAllowThreads(__tstate);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 }
24616 resultobj = SWIG_Py_Void();
24617 return resultobj;
24618 fail:
24619 return NULL;
24620 }
24621
24622
24623 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24624 PyObject *resultobj = 0;
24625 wxPrintData *arg1 = (wxPrintData *) 0 ;
24626 wxSize *arg2 = 0 ;
24627 void *argp1 = 0 ;
24628 int res1 = 0 ;
24629 wxSize temp2 ;
24630 PyObject * obj0 = 0 ;
24631 PyObject * obj1 = 0 ;
24632 char * kwnames[] = {
24633 (char *) "self",(char *) "sz", NULL
24634 };
24635
24636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24638 if (!SWIG_IsOK(res1)) {
24639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24640 }
24641 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24642 {
24643 arg2 = &temp2;
24644 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24645 }
24646 {
24647 PyThreadState* __tstate = wxPyBeginAllowThreads();
24648 (arg1)->SetPaperSize((wxSize const &)*arg2);
24649 wxPyEndAllowThreads(__tstate);
24650 if (PyErr_Occurred()) SWIG_fail;
24651 }
24652 resultobj = SWIG_Py_Void();
24653 return resultobj;
24654 fail:
24655 return NULL;
24656 }
24657
24658
24659 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24660 PyObject *resultobj = 0;
24661 wxPrintData *arg1 = (wxPrintData *) 0 ;
24662 int arg2 ;
24663 void *argp1 = 0 ;
24664 int res1 = 0 ;
24665 int val2 ;
24666 int ecode2 = 0 ;
24667 PyObject * obj0 = 0 ;
24668 PyObject * obj1 = 0 ;
24669 char * kwnames[] = {
24670 (char *) "self",(char *) "quality", NULL
24671 };
24672
24673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24675 if (!SWIG_IsOK(res1)) {
24676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24677 }
24678 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24679 ecode2 = SWIG_AsVal_int(obj1, &val2);
24680 if (!SWIG_IsOK(ecode2)) {
24681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24682 }
24683 arg2 = static_cast< int >(val2);
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 (arg1)->SetQuality(arg2);
24687 wxPyEndAllowThreads(__tstate);
24688 if (PyErr_Occurred()) SWIG_fail;
24689 }
24690 resultobj = SWIG_Py_Void();
24691 return resultobj;
24692 fail:
24693 return NULL;
24694 }
24695
24696
24697 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24698 PyObject *resultobj = 0;
24699 wxPrintData *arg1 = (wxPrintData *) 0 ;
24700 wxPrintBin arg2 ;
24701 void *argp1 = 0 ;
24702 int res1 = 0 ;
24703 int val2 ;
24704 int ecode2 = 0 ;
24705 PyObject * obj0 = 0 ;
24706 PyObject * obj1 = 0 ;
24707 char * kwnames[] = {
24708 (char *) "self",(char *) "bin", NULL
24709 };
24710
24711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24713 if (!SWIG_IsOK(res1)) {
24714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24715 }
24716 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24717 ecode2 = SWIG_AsVal_int(obj1, &val2);
24718 if (!SWIG_IsOK(ecode2)) {
24719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24720 }
24721 arg2 = static_cast< wxPrintBin >(val2);
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 (arg1)->SetBin(arg2);
24725 wxPyEndAllowThreads(__tstate);
24726 if (PyErr_Occurred()) SWIG_fail;
24727 }
24728 resultobj = SWIG_Py_Void();
24729 return resultobj;
24730 fail:
24731 return NULL;
24732 }
24733
24734
24735 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24736 PyObject *resultobj = 0;
24737 wxPrintData *arg1 = (wxPrintData *) 0 ;
24738 wxPrintMode arg2 ;
24739 void *argp1 = 0 ;
24740 int res1 = 0 ;
24741 int val2 ;
24742 int ecode2 = 0 ;
24743 PyObject * obj0 = 0 ;
24744 PyObject * obj1 = 0 ;
24745 char * kwnames[] = {
24746 (char *) "self",(char *) "printMode", NULL
24747 };
24748
24749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24751 if (!SWIG_IsOK(res1)) {
24752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24753 }
24754 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24755 ecode2 = SWIG_AsVal_int(obj1, &val2);
24756 if (!SWIG_IsOK(ecode2)) {
24757 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24758 }
24759 arg2 = static_cast< wxPrintMode >(val2);
24760 {
24761 PyThreadState* __tstate = wxPyBeginAllowThreads();
24762 (arg1)->SetPrintMode(arg2);
24763 wxPyEndAllowThreads(__tstate);
24764 if (PyErr_Occurred()) SWIG_fail;
24765 }
24766 resultobj = SWIG_Py_Void();
24767 return resultobj;
24768 fail:
24769 return NULL;
24770 }
24771
24772
24773 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24774 PyObject *resultobj = 0;
24775 wxPrintData *arg1 = (wxPrintData *) 0 ;
24776 int arg2 ;
24777 void *argp1 = 0 ;
24778 int res1 = 0 ;
24779 int val2 ;
24780 int ecode2 = 0 ;
24781 PyObject * obj0 = 0 ;
24782 PyObject * obj1 = 0 ;
24783 char * kwnames[] = {
24784 (char *) "self",(char *) "media", NULL
24785 };
24786
24787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24789 if (!SWIG_IsOK(res1)) {
24790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24791 }
24792 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24793 ecode2 = SWIG_AsVal_int(obj1, &val2);
24794 if (!SWIG_IsOK(ecode2)) {
24795 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24796 }
24797 arg2 = static_cast< int >(val2);
24798 {
24799 PyThreadState* __tstate = wxPyBeginAllowThreads();
24800 (arg1)->SetMedia(arg2);
24801 wxPyEndAllowThreads(__tstate);
24802 if (PyErr_Occurred()) SWIG_fail;
24803 }
24804 resultobj = SWIG_Py_Void();
24805 return resultobj;
24806 fail:
24807 return NULL;
24808 }
24809
24810
24811 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24812 PyObject *resultobj = 0;
24813 wxPrintData *arg1 = (wxPrintData *) 0 ;
24814 wxString result;
24815 void *argp1 = 0 ;
24816 int res1 = 0 ;
24817 PyObject *swig_obj[1] ;
24818
24819 if (!args) SWIG_fail;
24820 swig_obj[0] = args;
24821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24822 if (!SWIG_IsOK(res1)) {
24823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24824 }
24825 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24826 {
24827 PyThreadState* __tstate = wxPyBeginAllowThreads();
24828 result = ((wxPrintData const *)arg1)->GetFilename();
24829 wxPyEndAllowThreads(__tstate);
24830 if (PyErr_Occurred()) SWIG_fail;
24831 }
24832 {
24833 #if wxUSE_UNICODE
24834 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24835 #else
24836 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24837 #endif
24838 }
24839 return resultobj;
24840 fail:
24841 return NULL;
24842 }
24843
24844
24845 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24846 PyObject *resultobj = 0;
24847 wxPrintData *arg1 = (wxPrintData *) 0 ;
24848 wxString *arg2 = 0 ;
24849 void *argp1 = 0 ;
24850 int res1 = 0 ;
24851 bool temp2 = false ;
24852 PyObject * obj0 = 0 ;
24853 PyObject * obj1 = 0 ;
24854 char * kwnames[] = {
24855 (char *) "self",(char *) "filename", NULL
24856 };
24857
24858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24860 if (!SWIG_IsOK(res1)) {
24861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24862 }
24863 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24864 {
24865 arg2 = wxString_in_helper(obj1);
24866 if (arg2 == NULL) SWIG_fail;
24867 temp2 = true;
24868 }
24869 {
24870 PyThreadState* __tstate = wxPyBeginAllowThreads();
24871 (arg1)->SetFilename((wxString const &)*arg2);
24872 wxPyEndAllowThreads(__tstate);
24873 if (PyErr_Occurred()) SWIG_fail;
24874 }
24875 resultobj = SWIG_Py_Void();
24876 {
24877 if (temp2)
24878 delete arg2;
24879 }
24880 return resultobj;
24881 fail:
24882 {
24883 if (temp2)
24884 delete arg2;
24885 }
24886 return NULL;
24887 }
24888
24889
24890 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24891 PyObject *resultobj = 0;
24892 wxPrintData *arg1 = (wxPrintData *) 0 ;
24893 PyObject *result = 0 ;
24894 void *argp1 = 0 ;
24895 int res1 = 0 ;
24896 PyObject *swig_obj[1] ;
24897
24898 if (!args) SWIG_fail;
24899 swig_obj[0] = args;
24900 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24901 if (!SWIG_IsOK(res1)) {
24902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24903 }
24904 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24905 {
24906 PyThreadState* __tstate = wxPyBeginAllowThreads();
24907 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 resultobj = result;
24912 return resultobj;
24913 fail:
24914 return NULL;
24915 }
24916
24917
24918 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24919 PyObject *resultobj = 0;
24920 wxPrintData *arg1 = (wxPrintData *) 0 ;
24921 PyObject *arg2 = (PyObject *) 0 ;
24922 void *argp1 = 0 ;
24923 int res1 = 0 ;
24924 PyObject * obj0 = 0 ;
24925 PyObject * obj1 = 0 ;
24926 char * kwnames[] = {
24927 (char *) "self",(char *) "data", NULL
24928 };
24929
24930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24932 if (!SWIG_IsOK(res1)) {
24933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24934 }
24935 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24936 arg2 = obj1;
24937 {
24938 PyThreadState* __tstate = wxPyBeginAllowThreads();
24939 wxPrintData_SetPrivData(arg1,arg2);
24940 wxPyEndAllowThreads(__tstate);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 }
24943 resultobj = SWIG_Py_Void();
24944 return resultobj;
24945 fail:
24946 return NULL;
24947 }
24948
24949
24950 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24951 PyObject *obj;
24952 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24953 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24954 return SWIG_Py_Void();
24955 }
24956
24957 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24958 return SWIG_Python_InitShadowInstance(args);
24959 }
24960
24961 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24962 PyObject *resultobj = 0;
24963 wxPageSetupDialogData *result = 0 ;
24964
24965 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24966 {
24967 PyThreadState* __tstate = wxPyBeginAllowThreads();
24968 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24969 wxPyEndAllowThreads(__tstate);
24970 if (PyErr_Occurred()) SWIG_fail;
24971 }
24972 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24973 return resultobj;
24974 fail:
24975 return NULL;
24976 }
24977
24978
24979 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24980 PyObject *resultobj = 0;
24981 wxPageSetupDialogData *arg1 = 0 ;
24982 wxPageSetupDialogData *result = 0 ;
24983 void *argp1 = 0 ;
24984 int res1 = 0 ;
24985
24986 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24988 if (!SWIG_IsOK(res1)) {
24989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24990 }
24991 if (!argp1) {
24992 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24993 }
24994 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24995 {
24996 PyThreadState* __tstate = wxPyBeginAllowThreads();
24997 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24998 wxPyEndAllowThreads(__tstate);
24999 if (PyErr_Occurred()) SWIG_fail;
25000 }
25001 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25002 return resultobj;
25003 fail:
25004 return NULL;
25005 }
25006
25007
25008 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25009 PyObject *resultobj = 0;
25010 wxPrintData *arg1 = 0 ;
25011 wxPageSetupDialogData *result = 0 ;
25012 void *argp1 = 0 ;
25013 int res1 = 0 ;
25014
25015 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25016 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25017 if (!SWIG_IsOK(res1)) {
25018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25019 }
25020 if (!argp1) {
25021 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25022 }
25023 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25024 {
25025 PyThreadState* __tstate = wxPyBeginAllowThreads();
25026 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
25027 wxPyEndAllowThreads(__tstate);
25028 if (PyErr_Occurred()) SWIG_fail;
25029 }
25030 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
25031 return resultobj;
25032 fail:
25033 return NULL;
25034 }
25035
25036
25037 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
25038 int argc;
25039 PyObject *argv[2];
25040
25041 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
25042 --argc;
25043 if (argc == 0) {
25044 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
25045 }
25046 if (argc == 1) {
25047 int _v = 0;
25048 {
25049 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
25050 _v = SWIG_CheckState(res);
25051 }
25052 if (!_v) goto check_2;
25053 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
25054 }
25055 check_2:
25056
25057 if (argc == 1) {
25058 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
25059 }
25060
25061 fail:
25062 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
25063 return NULL;
25064 }
25065
25066
25067 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25068 PyObject *resultobj = 0;
25069 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25070 void *argp1 = 0 ;
25071 int res1 = 0 ;
25072 PyObject *swig_obj[1] ;
25073
25074 if (!args) SWIG_fail;
25075 swig_obj[0] = args;
25076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
25077 if (!SWIG_IsOK(res1)) {
25078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25079 }
25080 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25081 {
25082 PyThreadState* __tstate = wxPyBeginAllowThreads();
25083 delete arg1;
25084
25085 wxPyEndAllowThreads(__tstate);
25086 if (PyErr_Occurred()) SWIG_fail;
25087 }
25088 resultobj = SWIG_Py_Void();
25089 return resultobj;
25090 fail:
25091 return NULL;
25092 }
25093
25094
25095 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25096 PyObject *resultobj = 0;
25097 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25098 bool arg2 ;
25099 void *argp1 = 0 ;
25100 int res1 = 0 ;
25101 bool val2 ;
25102 int ecode2 = 0 ;
25103 PyObject * obj0 = 0 ;
25104 PyObject * obj1 = 0 ;
25105 char * kwnames[] = {
25106 (char *) "self",(char *) "flag", NULL
25107 };
25108
25109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
25110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25111 if (!SWIG_IsOK(res1)) {
25112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25113 }
25114 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25115 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25116 if (!SWIG_IsOK(ecode2)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
25118 }
25119 arg2 = static_cast< bool >(val2);
25120 {
25121 PyThreadState* __tstate = wxPyBeginAllowThreads();
25122 (arg1)->EnableHelp(arg2);
25123 wxPyEndAllowThreads(__tstate);
25124 if (PyErr_Occurred()) SWIG_fail;
25125 }
25126 resultobj = SWIG_Py_Void();
25127 return resultobj;
25128 fail:
25129 return NULL;
25130 }
25131
25132
25133 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25134 PyObject *resultobj = 0;
25135 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25136 bool arg2 ;
25137 void *argp1 = 0 ;
25138 int res1 = 0 ;
25139 bool val2 ;
25140 int ecode2 = 0 ;
25141 PyObject * obj0 = 0 ;
25142 PyObject * obj1 = 0 ;
25143 char * kwnames[] = {
25144 (char *) "self",(char *) "flag", NULL
25145 };
25146
25147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25149 if (!SWIG_IsOK(res1)) {
25150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25151 }
25152 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25153 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25154 if (!SWIG_IsOK(ecode2)) {
25155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25156 }
25157 arg2 = static_cast< bool >(val2);
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 (arg1)->EnableMargins(arg2);
25161 wxPyEndAllowThreads(__tstate);
25162 if (PyErr_Occurred()) SWIG_fail;
25163 }
25164 resultobj = SWIG_Py_Void();
25165 return resultobj;
25166 fail:
25167 return NULL;
25168 }
25169
25170
25171 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25172 PyObject *resultobj = 0;
25173 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25174 bool arg2 ;
25175 void *argp1 = 0 ;
25176 int res1 = 0 ;
25177 bool val2 ;
25178 int ecode2 = 0 ;
25179 PyObject * obj0 = 0 ;
25180 PyObject * obj1 = 0 ;
25181 char * kwnames[] = {
25182 (char *) "self",(char *) "flag", NULL
25183 };
25184
25185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
25186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25187 if (!SWIG_IsOK(res1)) {
25188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25189 }
25190 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25191 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25192 if (!SWIG_IsOK(ecode2)) {
25193 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25194 }
25195 arg2 = static_cast< bool >(val2);
25196 {
25197 PyThreadState* __tstate = wxPyBeginAllowThreads();
25198 (arg1)->EnableOrientation(arg2);
25199 wxPyEndAllowThreads(__tstate);
25200 if (PyErr_Occurred()) SWIG_fail;
25201 }
25202 resultobj = SWIG_Py_Void();
25203 return resultobj;
25204 fail:
25205 return NULL;
25206 }
25207
25208
25209 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25210 PyObject *resultobj = 0;
25211 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25212 bool arg2 ;
25213 void *argp1 = 0 ;
25214 int res1 = 0 ;
25215 bool val2 ;
25216 int ecode2 = 0 ;
25217 PyObject * obj0 = 0 ;
25218 PyObject * obj1 = 0 ;
25219 char * kwnames[] = {
25220 (char *) "self",(char *) "flag", NULL
25221 };
25222
25223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
25224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25225 if (!SWIG_IsOK(res1)) {
25226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25227 }
25228 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25229 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25230 if (!SWIG_IsOK(ecode2)) {
25231 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25232 }
25233 arg2 = static_cast< bool >(val2);
25234 {
25235 PyThreadState* __tstate = wxPyBeginAllowThreads();
25236 (arg1)->EnablePaper(arg2);
25237 wxPyEndAllowThreads(__tstate);
25238 if (PyErr_Occurred()) SWIG_fail;
25239 }
25240 resultobj = SWIG_Py_Void();
25241 return resultobj;
25242 fail:
25243 return NULL;
25244 }
25245
25246
25247 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25248 PyObject *resultobj = 0;
25249 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25250 bool arg2 ;
25251 void *argp1 = 0 ;
25252 int res1 = 0 ;
25253 bool val2 ;
25254 int ecode2 = 0 ;
25255 PyObject * obj0 = 0 ;
25256 PyObject * obj1 = 0 ;
25257 char * kwnames[] = {
25258 (char *) "self",(char *) "flag", NULL
25259 };
25260
25261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
25262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25263 if (!SWIG_IsOK(res1)) {
25264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25265 }
25266 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25267 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25268 if (!SWIG_IsOK(ecode2)) {
25269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25270 }
25271 arg2 = static_cast< bool >(val2);
25272 {
25273 PyThreadState* __tstate = wxPyBeginAllowThreads();
25274 (arg1)->EnablePrinter(arg2);
25275 wxPyEndAllowThreads(__tstate);
25276 if (PyErr_Occurred()) SWIG_fail;
25277 }
25278 resultobj = SWIG_Py_Void();
25279 return resultobj;
25280 fail:
25281 return NULL;
25282 }
25283
25284
25285 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25286 PyObject *resultobj = 0;
25287 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25288 bool result;
25289 void *argp1 = 0 ;
25290 int res1 = 0 ;
25291 PyObject *swig_obj[1] ;
25292
25293 if (!args) SWIG_fail;
25294 swig_obj[0] = args;
25295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25296 if (!SWIG_IsOK(res1)) {
25297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25298 }
25299 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25300 {
25301 PyThreadState* __tstate = wxPyBeginAllowThreads();
25302 result = (bool)(arg1)->GetDefaultMinMargins();
25303 wxPyEndAllowThreads(__tstate);
25304 if (PyErr_Occurred()) SWIG_fail;
25305 }
25306 {
25307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25308 }
25309 return resultobj;
25310 fail:
25311 return NULL;
25312 }
25313
25314
25315 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25316 PyObject *resultobj = 0;
25317 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25318 bool result;
25319 void *argp1 = 0 ;
25320 int res1 = 0 ;
25321 PyObject *swig_obj[1] ;
25322
25323 if (!args) SWIG_fail;
25324 swig_obj[0] = args;
25325 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25326 if (!SWIG_IsOK(res1)) {
25327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25328 }
25329 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 result = (bool)(arg1)->GetEnableMargins();
25333 wxPyEndAllowThreads(__tstate);
25334 if (PyErr_Occurred()) SWIG_fail;
25335 }
25336 {
25337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25338 }
25339 return resultobj;
25340 fail:
25341 return NULL;
25342 }
25343
25344
25345 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25346 PyObject *resultobj = 0;
25347 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25348 bool result;
25349 void *argp1 = 0 ;
25350 int res1 = 0 ;
25351 PyObject *swig_obj[1] ;
25352
25353 if (!args) SWIG_fail;
25354 swig_obj[0] = args;
25355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25356 if (!SWIG_IsOK(res1)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25358 }
25359 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25360 {
25361 PyThreadState* __tstate = wxPyBeginAllowThreads();
25362 result = (bool)(arg1)->GetEnableOrientation();
25363 wxPyEndAllowThreads(__tstate);
25364 if (PyErr_Occurred()) SWIG_fail;
25365 }
25366 {
25367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25368 }
25369 return resultobj;
25370 fail:
25371 return NULL;
25372 }
25373
25374
25375 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25376 PyObject *resultobj = 0;
25377 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25378 bool result;
25379 void *argp1 = 0 ;
25380 int res1 = 0 ;
25381 PyObject *swig_obj[1] ;
25382
25383 if (!args) SWIG_fail;
25384 swig_obj[0] = args;
25385 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25386 if (!SWIG_IsOK(res1)) {
25387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25388 }
25389 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25390 {
25391 PyThreadState* __tstate = wxPyBeginAllowThreads();
25392 result = (bool)(arg1)->GetEnablePaper();
25393 wxPyEndAllowThreads(__tstate);
25394 if (PyErr_Occurred()) SWIG_fail;
25395 }
25396 {
25397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25398 }
25399 return resultobj;
25400 fail:
25401 return NULL;
25402 }
25403
25404
25405 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25406 PyObject *resultobj = 0;
25407 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25408 bool result;
25409 void *argp1 = 0 ;
25410 int res1 = 0 ;
25411 PyObject *swig_obj[1] ;
25412
25413 if (!args) SWIG_fail;
25414 swig_obj[0] = args;
25415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25416 if (!SWIG_IsOK(res1)) {
25417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25418 }
25419 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25420 {
25421 PyThreadState* __tstate = wxPyBeginAllowThreads();
25422 result = (bool)(arg1)->GetEnablePrinter();
25423 wxPyEndAllowThreads(__tstate);
25424 if (PyErr_Occurred()) SWIG_fail;
25425 }
25426 {
25427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25428 }
25429 return resultobj;
25430 fail:
25431 return NULL;
25432 }
25433
25434
25435 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25436 PyObject *resultobj = 0;
25437 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25438 bool result;
25439 void *argp1 = 0 ;
25440 int res1 = 0 ;
25441 PyObject *swig_obj[1] ;
25442
25443 if (!args) SWIG_fail;
25444 swig_obj[0] = args;
25445 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25446 if (!SWIG_IsOK(res1)) {
25447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25448 }
25449 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 result = (bool)(arg1)->GetEnableHelp();
25453 wxPyEndAllowThreads(__tstate);
25454 if (PyErr_Occurred()) SWIG_fail;
25455 }
25456 {
25457 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25458 }
25459 return resultobj;
25460 fail:
25461 return NULL;
25462 }
25463
25464
25465 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25466 PyObject *resultobj = 0;
25467 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25468 bool result;
25469 void *argp1 = 0 ;
25470 int res1 = 0 ;
25471 PyObject *swig_obj[1] ;
25472
25473 if (!args) SWIG_fail;
25474 swig_obj[0] = args;
25475 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25476 if (!SWIG_IsOK(res1)) {
25477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25478 }
25479 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25480 {
25481 PyThreadState* __tstate = wxPyBeginAllowThreads();
25482 result = (bool)(arg1)->GetDefaultInfo();
25483 wxPyEndAllowThreads(__tstate);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 {
25487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25488 }
25489 return resultobj;
25490 fail:
25491 return NULL;
25492 }
25493
25494
25495 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25496 PyObject *resultobj = 0;
25497 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25498 wxPoint result;
25499 void *argp1 = 0 ;
25500 int res1 = 0 ;
25501 PyObject *swig_obj[1] ;
25502
25503 if (!args) SWIG_fail;
25504 swig_obj[0] = args;
25505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25506 if (!SWIG_IsOK(res1)) {
25507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25508 }
25509 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 result = (arg1)->GetMarginTopLeft();
25513 wxPyEndAllowThreads(__tstate);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25517 return resultobj;
25518 fail:
25519 return NULL;
25520 }
25521
25522
25523 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25524 PyObject *resultobj = 0;
25525 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25526 wxPoint result;
25527 void *argp1 = 0 ;
25528 int res1 = 0 ;
25529 PyObject *swig_obj[1] ;
25530
25531 if (!args) SWIG_fail;
25532 swig_obj[0] = args;
25533 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25534 if (!SWIG_IsOK(res1)) {
25535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25536 }
25537 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25538 {
25539 PyThreadState* __tstate = wxPyBeginAllowThreads();
25540 result = (arg1)->GetMarginBottomRight();
25541 wxPyEndAllowThreads(__tstate);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
25544 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25545 return resultobj;
25546 fail:
25547 return NULL;
25548 }
25549
25550
25551 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25552 PyObject *resultobj = 0;
25553 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25554 wxPoint result;
25555 void *argp1 = 0 ;
25556 int res1 = 0 ;
25557 PyObject *swig_obj[1] ;
25558
25559 if (!args) SWIG_fail;
25560 swig_obj[0] = args;
25561 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25562 if (!SWIG_IsOK(res1)) {
25563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25564 }
25565 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25566 {
25567 PyThreadState* __tstate = wxPyBeginAllowThreads();
25568 result = (arg1)->GetMinMarginTopLeft();
25569 wxPyEndAllowThreads(__tstate);
25570 if (PyErr_Occurred()) SWIG_fail;
25571 }
25572 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25573 return resultobj;
25574 fail:
25575 return NULL;
25576 }
25577
25578
25579 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25580 PyObject *resultobj = 0;
25581 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25582 wxPoint result;
25583 void *argp1 = 0 ;
25584 int res1 = 0 ;
25585 PyObject *swig_obj[1] ;
25586
25587 if (!args) SWIG_fail;
25588 swig_obj[0] = args;
25589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25590 if (!SWIG_IsOK(res1)) {
25591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25592 }
25593 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25594 {
25595 PyThreadState* __tstate = wxPyBeginAllowThreads();
25596 result = (arg1)->GetMinMarginBottomRight();
25597 wxPyEndAllowThreads(__tstate);
25598 if (PyErr_Occurred()) SWIG_fail;
25599 }
25600 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25601 return resultobj;
25602 fail:
25603 return NULL;
25604 }
25605
25606
25607 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25608 PyObject *resultobj = 0;
25609 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25610 wxPaperSize result;
25611 void *argp1 = 0 ;
25612 int res1 = 0 ;
25613 PyObject *swig_obj[1] ;
25614
25615 if (!args) SWIG_fail;
25616 swig_obj[0] = args;
25617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25618 if (!SWIG_IsOK(res1)) {
25619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25620 }
25621 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25622 {
25623 PyThreadState* __tstate = wxPyBeginAllowThreads();
25624 result = (wxPaperSize)(arg1)->GetPaperId();
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 resultobj = SWIG_From_int(static_cast< int >(result));
25629 return resultobj;
25630 fail:
25631 return NULL;
25632 }
25633
25634
25635 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25636 PyObject *resultobj = 0;
25637 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25638 wxSize result;
25639 void *argp1 = 0 ;
25640 int res1 = 0 ;
25641 PyObject *swig_obj[1] ;
25642
25643 if (!args) SWIG_fail;
25644 swig_obj[0] = args;
25645 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25646 if (!SWIG_IsOK(res1)) {
25647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25648 }
25649 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25650 {
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 result = (arg1)->GetPaperSize();
25653 wxPyEndAllowThreads(__tstate);
25654 if (PyErr_Occurred()) SWIG_fail;
25655 }
25656 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25657 return resultobj;
25658 fail:
25659 return NULL;
25660 }
25661
25662
25663 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25664 PyObject *resultobj = 0;
25665 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25666 wxPrintData *result = 0 ;
25667 void *argp1 = 0 ;
25668 int res1 = 0 ;
25669 PyObject *swig_obj[1] ;
25670
25671 if (!args) SWIG_fail;
25672 swig_obj[0] = args;
25673 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25674 if (!SWIG_IsOK(res1)) {
25675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25676 }
25677 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25678 {
25679 PyThreadState* __tstate = wxPyBeginAllowThreads();
25680 {
25681 wxPrintData &_result_ref = (arg1)->GetPrintData();
25682 result = (wxPrintData *) &_result_ref;
25683 }
25684 wxPyEndAllowThreads(__tstate);
25685 if (PyErr_Occurred()) SWIG_fail;
25686 }
25687 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25688 return resultobj;
25689 fail:
25690 return NULL;
25691 }
25692
25693
25694 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25695 PyObject *resultobj = 0;
25696 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25697 bool result;
25698 void *argp1 = 0 ;
25699 int res1 = 0 ;
25700 PyObject *swig_obj[1] ;
25701
25702 if (!args) SWIG_fail;
25703 swig_obj[0] = args;
25704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25705 if (!SWIG_IsOK(res1)) {
25706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25707 }
25708 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25709 {
25710 PyThreadState* __tstate = wxPyBeginAllowThreads();
25711 result = (bool)(arg1)->IsOk();
25712 wxPyEndAllowThreads(__tstate);
25713 if (PyErr_Occurred()) SWIG_fail;
25714 }
25715 {
25716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25717 }
25718 return resultobj;
25719 fail:
25720 return NULL;
25721 }
25722
25723
25724 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25725 PyObject *resultobj = 0;
25726 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25727 bool arg2 ;
25728 void *argp1 = 0 ;
25729 int res1 = 0 ;
25730 bool val2 ;
25731 int ecode2 = 0 ;
25732 PyObject * obj0 = 0 ;
25733 PyObject * obj1 = 0 ;
25734 char * kwnames[] = {
25735 (char *) "self",(char *) "flag", NULL
25736 };
25737
25738 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25739 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25740 if (!SWIG_IsOK(res1)) {
25741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25742 }
25743 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25744 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25745 if (!SWIG_IsOK(ecode2)) {
25746 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25747 }
25748 arg2 = static_cast< bool >(val2);
25749 {
25750 PyThreadState* __tstate = wxPyBeginAllowThreads();
25751 (arg1)->SetDefaultInfo(arg2);
25752 wxPyEndAllowThreads(__tstate);
25753 if (PyErr_Occurred()) SWIG_fail;
25754 }
25755 resultobj = SWIG_Py_Void();
25756 return resultobj;
25757 fail:
25758 return NULL;
25759 }
25760
25761
25762 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25763 PyObject *resultobj = 0;
25764 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25765 bool arg2 ;
25766 void *argp1 = 0 ;
25767 int res1 = 0 ;
25768 bool val2 ;
25769 int ecode2 = 0 ;
25770 PyObject * obj0 = 0 ;
25771 PyObject * obj1 = 0 ;
25772 char * kwnames[] = {
25773 (char *) "self",(char *) "flag", NULL
25774 };
25775
25776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25778 if (!SWIG_IsOK(res1)) {
25779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25780 }
25781 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25782 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25783 if (!SWIG_IsOK(ecode2)) {
25784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25785 }
25786 arg2 = static_cast< bool >(val2);
25787 {
25788 PyThreadState* __tstate = wxPyBeginAllowThreads();
25789 (arg1)->SetDefaultMinMargins(arg2);
25790 wxPyEndAllowThreads(__tstate);
25791 if (PyErr_Occurred()) SWIG_fail;
25792 }
25793 resultobj = SWIG_Py_Void();
25794 return resultobj;
25795 fail:
25796 return NULL;
25797 }
25798
25799
25800 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25801 PyObject *resultobj = 0;
25802 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25803 wxPoint *arg2 = 0 ;
25804 void *argp1 = 0 ;
25805 int res1 = 0 ;
25806 wxPoint temp2 ;
25807 PyObject * obj0 = 0 ;
25808 PyObject * obj1 = 0 ;
25809 char * kwnames[] = {
25810 (char *) "self",(char *) "pt", NULL
25811 };
25812
25813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25815 if (!SWIG_IsOK(res1)) {
25816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25817 }
25818 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25819 {
25820 arg2 = &temp2;
25821 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25822 }
25823 {
25824 PyThreadState* __tstate = wxPyBeginAllowThreads();
25825 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25826 wxPyEndAllowThreads(__tstate);
25827 if (PyErr_Occurred()) SWIG_fail;
25828 }
25829 resultobj = SWIG_Py_Void();
25830 return resultobj;
25831 fail:
25832 return NULL;
25833 }
25834
25835
25836 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25837 PyObject *resultobj = 0;
25838 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25839 wxPoint *arg2 = 0 ;
25840 void *argp1 = 0 ;
25841 int res1 = 0 ;
25842 wxPoint temp2 ;
25843 PyObject * obj0 = 0 ;
25844 PyObject * obj1 = 0 ;
25845 char * kwnames[] = {
25846 (char *) "self",(char *) "pt", NULL
25847 };
25848
25849 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25850 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25851 if (!SWIG_IsOK(res1)) {
25852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25853 }
25854 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25855 {
25856 arg2 = &temp2;
25857 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25858 }
25859 {
25860 PyThreadState* __tstate = wxPyBeginAllowThreads();
25861 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25862 wxPyEndAllowThreads(__tstate);
25863 if (PyErr_Occurred()) SWIG_fail;
25864 }
25865 resultobj = SWIG_Py_Void();
25866 return resultobj;
25867 fail:
25868 return NULL;
25869 }
25870
25871
25872 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25873 PyObject *resultobj = 0;
25874 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25875 wxPoint *arg2 = 0 ;
25876 void *argp1 = 0 ;
25877 int res1 = 0 ;
25878 wxPoint temp2 ;
25879 PyObject * obj0 = 0 ;
25880 PyObject * obj1 = 0 ;
25881 char * kwnames[] = {
25882 (char *) "self",(char *) "pt", NULL
25883 };
25884
25885 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25886 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25887 if (!SWIG_IsOK(res1)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25889 }
25890 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25891 {
25892 arg2 = &temp2;
25893 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25894 }
25895 {
25896 PyThreadState* __tstate = wxPyBeginAllowThreads();
25897 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25898 wxPyEndAllowThreads(__tstate);
25899 if (PyErr_Occurred()) SWIG_fail;
25900 }
25901 resultobj = SWIG_Py_Void();
25902 return resultobj;
25903 fail:
25904 return NULL;
25905 }
25906
25907
25908 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25909 PyObject *resultobj = 0;
25910 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25911 wxPoint *arg2 = 0 ;
25912 void *argp1 = 0 ;
25913 int res1 = 0 ;
25914 wxPoint temp2 ;
25915 PyObject * obj0 = 0 ;
25916 PyObject * obj1 = 0 ;
25917 char * kwnames[] = {
25918 (char *) "self",(char *) "pt", NULL
25919 };
25920
25921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25923 if (!SWIG_IsOK(res1)) {
25924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25925 }
25926 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25927 {
25928 arg2 = &temp2;
25929 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25930 }
25931 {
25932 PyThreadState* __tstate = wxPyBeginAllowThreads();
25933 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25934 wxPyEndAllowThreads(__tstate);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
25937 resultobj = SWIG_Py_Void();
25938 return resultobj;
25939 fail:
25940 return NULL;
25941 }
25942
25943
25944 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25945 PyObject *resultobj = 0;
25946 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25947 wxPaperSize arg2 ;
25948 void *argp1 = 0 ;
25949 int res1 = 0 ;
25950 int val2 ;
25951 int ecode2 = 0 ;
25952 PyObject * obj0 = 0 ;
25953 PyObject * obj1 = 0 ;
25954 char * kwnames[] = {
25955 (char *) "self",(char *) "id", NULL
25956 };
25957
25958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25960 if (!SWIG_IsOK(res1)) {
25961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25962 }
25963 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25964 ecode2 = SWIG_AsVal_int(obj1, &val2);
25965 if (!SWIG_IsOK(ecode2)) {
25966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25967 }
25968 arg2 = static_cast< wxPaperSize >(val2);
25969 {
25970 PyThreadState* __tstate = wxPyBeginAllowThreads();
25971 (arg1)->SetPaperId(arg2);
25972 wxPyEndAllowThreads(__tstate);
25973 if (PyErr_Occurred()) SWIG_fail;
25974 }
25975 resultobj = SWIG_Py_Void();
25976 return resultobj;
25977 fail:
25978 return NULL;
25979 }
25980
25981
25982 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25983 PyObject *resultobj = 0;
25984 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25985 wxSize *arg2 = 0 ;
25986 void *argp1 = 0 ;
25987 int res1 = 0 ;
25988 wxSize temp2 ;
25989 PyObject * obj0 = 0 ;
25990 PyObject * obj1 = 0 ;
25991 char * kwnames[] = {
25992 (char *) "self",(char *) "size", NULL
25993 };
25994
25995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25997 if (!SWIG_IsOK(res1)) {
25998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25999 }
26000 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26001 {
26002 arg2 = &temp2;
26003 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26004 }
26005 {
26006 PyThreadState* __tstate = wxPyBeginAllowThreads();
26007 (arg1)->SetPaperSize((wxSize const &)*arg2);
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_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26019 PyObject *resultobj = 0;
26020 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26021 wxPrintData *arg2 = 0 ;
26022 void *argp1 = 0 ;
26023 int res1 = 0 ;
26024 void *argp2 = 0 ;
26025 int res2 = 0 ;
26026 PyObject * obj0 = 0 ;
26027 PyObject * obj1 = 0 ;
26028 char * kwnames[] = {
26029 (char *) "self",(char *) "printData", NULL
26030 };
26031
26032 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
26033 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26034 if (!SWIG_IsOK(res1)) {
26035 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26036 }
26037 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26038 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
26039 if (!SWIG_IsOK(res2)) {
26040 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26041 }
26042 if (!argp2) {
26043 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26044 }
26045 arg2 = reinterpret_cast< wxPrintData * >(argp2);
26046 {
26047 PyThreadState* __tstate = wxPyBeginAllowThreads();
26048 (arg1)->SetPrintData((wxPrintData const &)*arg2);
26049 wxPyEndAllowThreads(__tstate);
26050 if (PyErr_Occurred()) SWIG_fail;
26051 }
26052 resultobj = SWIG_Py_Void();
26053 return resultobj;
26054 fail:
26055 return NULL;
26056 }
26057
26058
26059 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26060 PyObject *resultobj = 0;
26061 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26062 void *argp1 = 0 ;
26063 int res1 = 0 ;
26064 PyObject *swig_obj[1] ;
26065
26066 if (!args) SWIG_fail;
26067 swig_obj[0] = args;
26068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26069 if (!SWIG_IsOK(res1)) {
26070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26071 }
26072 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26073 {
26074 PyThreadState* __tstate = wxPyBeginAllowThreads();
26075 (arg1)->CalculateIdFromPaperSize();
26076 wxPyEndAllowThreads(__tstate);
26077 if (PyErr_Occurred()) SWIG_fail;
26078 }
26079 resultobj = SWIG_Py_Void();
26080 return resultobj;
26081 fail:
26082 return NULL;
26083 }
26084
26085
26086 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26087 PyObject *resultobj = 0;
26088 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
26089 void *argp1 = 0 ;
26090 int res1 = 0 ;
26091 PyObject *swig_obj[1] ;
26092
26093 if (!args) SWIG_fail;
26094 swig_obj[0] = args;
26095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26096 if (!SWIG_IsOK(res1)) {
26097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
26098 }
26099 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
26100 {
26101 PyThreadState* __tstate = wxPyBeginAllowThreads();
26102 (arg1)->CalculatePaperSizeFromId();
26103 wxPyEndAllowThreads(__tstate);
26104 if (PyErr_Occurred()) SWIG_fail;
26105 }
26106 resultobj = SWIG_Py_Void();
26107 return resultobj;
26108 fail:
26109 return NULL;
26110 }
26111
26112
26113 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26114 PyObject *obj;
26115 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26116 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
26117 return SWIG_Py_Void();
26118 }
26119
26120 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26121 return SWIG_Python_InitShadowInstance(args);
26122 }
26123
26124 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26125 PyObject *resultobj = 0;
26126 wxWindow *arg1 = (wxWindow *) 0 ;
26127 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
26128 wxPageSetupDialog *result = 0 ;
26129 void *argp1 = 0 ;
26130 int res1 = 0 ;
26131 void *argp2 = 0 ;
26132 int res2 = 0 ;
26133 PyObject * obj0 = 0 ;
26134 PyObject * obj1 = 0 ;
26135 char * kwnames[] = {
26136 (char *) "parent",(char *) "data", NULL
26137 };
26138
26139 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
26140 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
26141 if (!SWIG_IsOK(res1)) {
26142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26143 }
26144 arg1 = reinterpret_cast< wxWindow * >(argp1);
26145 if (obj1) {
26146 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26147 if (!SWIG_IsOK(res2)) {
26148 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26149 }
26150 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
26151 }
26152 {
26153 if (!wxPyCheckForApp()) SWIG_fail;
26154 PyThreadState* __tstate = wxPyBeginAllowThreads();
26155 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
26156 wxPyEndAllowThreads(__tstate);
26157 if (PyErr_Occurred()) SWIG_fail;
26158 }
26159 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
26160 return resultobj;
26161 fail:
26162 return NULL;
26163 }
26164
26165
26166 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26167 PyObject *resultobj = 0;
26168 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26169 void *argp1 = 0 ;
26170 int res1 = 0 ;
26171 PyObject *swig_obj[1] ;
26172
26173 if (!args) SWIG_fail;
26174 swig_obj[0] = args;
26175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
26176 if (!SWIG_IsOK(res1)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26178 }
26179 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26180 {
26181 PyThreadState* __tstate = wxPyBeginAllowThreads();
26182 delete arg1;
26183
26184 wxPyEndAllowThreads(__tstate);
26185 if (PyErr_Occurred()) SWIG_fail;
26186 }
26187 resultobj = SWIG_Py_Void();
26188 return resultobj;
26189 fail:
26190 return NULL;
26191 }
26192
26193
26194 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26195 PyObject *resultobj = 0;
26196 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26197 wxPageSetupDialogData *result = 0 ;
26198 void *argp1 = 0 ;
26199 int res1 = 0 ;
26200 PyObject *swig_obj[1] ;
26201
26202 if (!args) SWIG_fail;
26203 swig_obj[0] = args;
26204 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26205 if (!SWIG_IsOK(res1)) {
26206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26207 }
26208 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26209 {
26210 PyThreadState* __tstate = wxPyBeginAllowThreads();
26211 {
26212 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
26213 result = (wxPageSetupDialogData *) &_result_ref;
26214 }
26215 wxPyEndAllowThreads(__tstate);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 }
26218 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26219 return resultobj;
26220 fail:
26221 return NULL;
26222 }
26223
26224
26225 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26226 PyObject *resultobj = 0;
26227 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26228 wxPageSetupDialogData *result = 0 ;
26229 void *argp1 = 0 ;
26230 int res1 = 0 ;
26231 PyObject *swig_obj[1] ;
26232
26233 if (!args) SWIG_fail;
26234 swig_obj[0] = args;
26235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26236 if (!SWIG_IsOK(res1)) {
26237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26238 }
26239 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26240 {
26241 PyThreadState* __tstate = wxPyBeginAllowThreads();
26242 {
26243 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
26244 result = (wxPageSetupDialogData *) &_result_ref;
26245 }
26246 wxPyEndAllowThreads(__tstate);
26247 if (PyErr_Occurred()) SWIG_fail;
26248 }
26249 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
26250 return resultobj;
26251 fail:
26252 return NULL;
26253 }
26254
26255
26256 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26257 PyObject *resultobj = 0;
26258 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
26259 int result;
26260 void *argp1 = 0 ;
26261 int res1 = 0 ;
26262 PyObject *swig_obj[1] ;
26263
26264 if (!args) SWIG_fail;
26265 swig_obj[0] = args;
26266 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
26267 if (!SWIG_IsOK(res1)) {
26268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26269 }
26270 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
26271 {
26272 PyThreadState* __tstate = wxPyBeginAllowThreads();
26273 result = (int)(arg1)->ShowModal();
26274 wxPyEndAllowThreads(__tstate);
26275 if (PyErr_Occurred()) SWIG_fail;
26276 }
26277 resultobj = SWIG_From_int(static_cast< int >(result));
26278 return resultobj;
26279 fail:
26280 return NULL;
26281 }
26282
26283
26284 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26285 PyObject *obj;
26286 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
26287 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
26288 return SWIG_Py_Void();
26289 }
26290
26291 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26292 return SWIG_Python_InitShadowInstance(args);
26293 }
26294
26295 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
26296 PyObject *resultobj = 0;
26297 wxPrintDialogData *result = 0 ;
26298
26299 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
26300 {
26301 PyThreadState* __tstate = wxPyBeginAllowThreads();
26302 result = (wxPrintDialogData *)new wxPrintDialogData();
26303 wxPyEndAllowThreads(__tstate);
26304 if (PyErr_Occurred()) SWIG_fail;
26305 }
26306 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26307 return resultobj;
26308 fail:
26309 return NULL;
26310 }
26311
26312
26313 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26314 PyObject *resultobj = 0;
26315 wxPrintData *arg1 = 0 ;
26316 wxPrintDialogData *result = 0 ;
26317 void *argp1 = 0 ;
26318 int res1 = 0 ;
26319
26320 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
26322 if (!SWIG_IsOK(res1)) {
26323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26324 }
26325 if (!argp1) {
26326 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26327 }
26328 arg1 = reinterpret_cast< wxPrintData * >(argp1);
26329 {
26330 PyThreadState* __tstate = wxPyBeginAllowThreads();
26331 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
26332 wxPyEndAllowThreads(__tstate);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 }
26335 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26336 return resultobj;
26337 fail:
26338 return NULL;
26339 }
26340
26341
26342 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
26343 PyObject *resultobj = 0;
26344 wxPrintDialogData *arg1 = 0 ;
26345 wxPrintDialogData *result = 0 ;
26346 void *argp1 = 0 ;
26347 int res1 = 0 ;
26348
26349 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26351 if (!SWIG_IsOK(res1)) {
26352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26353 }
26354 if (!argp1) {
26355 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26356 }
26357 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26358 {
26359 PyThreadState* __tstate = wxPyBeginAllowThreads();
26360 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26361 wxPyEndAllowThreads(__tstate);
26362 if (PyErr_Occurred()) SWIG_fail;
26363 }
26364 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26365 return resultobj;
26366 fail:
26367 return NULL;
26368 }
26369
26370
26371 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26372 int argc;
26373 PyObject *argv[2];
26374
26375 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26376 --argc;
26377 if (argc == 0) {
26378 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26379 }
26380 if (argc == 1) {
26381 int _v = 0;
26382 {
26383 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26384 _v = SWIG_CheckState(res);
26385 }
26386 if (!_v) goto check_2;
26387 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26388 }
26389 check_2:
26390
26391 if (argc == 1) {
26392 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26393 }
26394
26395 fail:
26396 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26397 return NULL;
26398 }
26399
26400
26401 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26402 PyObject *resultobj = 0;
26403 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26404 void *argp1 = 0 ;
26405 int res1 = 0 ;
26406 PyObject *swig_obj[1] ;
26407
26408 if (!args) SWIG_fail;
26409 swig_obj[0] = args;
26410 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26411 if (!SWIG_IsOK(res1)) {
26412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26413 }
26414 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26415 {
26416 PyThreadState* __tstate = wxPyBeginAllowThreads();
26417 delete arg1;
26418
26419 wxPyEndAllowThreads(__tstate);
26420 if (PyErr_Occurred()) SWIG_fail;
26421 }
26422 resultobj = SWIG_Py_Void();
26423 return resultobj;
26424 fail:
26425 return NULL;
26426 }
26427
26428
26429 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26430 PyObject *resultobj = 0;
26431 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26432 int result;
26433 void *argp1 = 0 ;
26434 int res1 = 0 ;
26435 PyObject *swig_obj[1] ;
26436
26437 if (!args) SWIG_fail;
26438 swig_obj[0] = args;
26439 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26440 if (!SWIG_IsOK(res1)) {
26441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26442 }
26443 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26444 {
26445 PyThreadState* __tstate = wxPyBeginAllowThreads();
26446 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26447 wxPyEndAllowThreads(__tstate);
26448 if (PyErr_Occurred()) SWIG_fail;
26449 }
26450 resultobj = SWIG_From_int(static_cast< int >(result));
26451 return resultobj;
26452 fail:
26453 return NULL;
26454 }
26455
26456
26457 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26458 PyObject *resultobj = 0;
26459 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26460 int result;
26461 void *argp1 = 0 ;
26462 int res1 = 0 ;
26463 PyObject *swig_obj[1] ;
26464
26465 if (!args) SWIG_fail;
26466 swig_obj[0] = args;
26467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26468 if (!SWIG_IsOK(res1)) {
26469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26470 }
26471 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26472 {
26473 PyThreadState* __tstate = wxPyBeginAllowThreads();
26474 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26475 wxPyEndAllowThreads(__tstate);
26476 if (PyErr_Occurred()) SWIG_fail;
26477 }
26478 resultobj = SWIG_From_int(static_cast< int >(result));
26479 return resultobj;
26480 fail:
26481 return NULL;
26482 }
26483
26484
26485 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26486 PyObject *resultobj = 0;
26487 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26488 int result;
26489 void *argp1 = 0 ;
26490 int res1 = 0 ;
26491 PyObject *swig_obj[1] ;
26492
26493 if (!args) SWIG_fail;
26494 swig_obj[0] = args;
26495 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26496 if (!SWIG_IsOK(res1)) {
26497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26498 }
26499 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26500 {
26501 PyThreadState* __tstate = wxPyBeginAllowThreads();
26502 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26503 wxPyEndAllowThreads(__tstate);
26504 if (PyErr_Occurred()) SWIG_fail;
26505 }
26506 resultobj = SWIG_From_int(static_cast< int >(result));
26507 return resultobj;
26508 fail:
26509 return NULL;
26510 }
26511
26512
26513 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26514 PyObject *resultobj = 0;
26515 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26516 int result;
26517 void *argp1 = 0 ;
26518 int res1 = 0 ;
26519 PyObject *swig_obj[1] ;
26520
26521 if (!args) SWIG_fail;
26522 swig_obj[0] = args;
26523 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26524 if (!SWIG_IsOK(res1)) {
26525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26526 }
26527 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26528 {
26529 PyThreadState* __tstate = wxPyBeginAllowThreads();
26530 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26531 wxPyEndAllowThreads(__tstate);
26532 if (PyErr_Occurred()) SWIG_fail;
26533 }
26534 resultobj = SWIG_From_int(static_cast< int >(result));
26535 return resultobj;
26536 fail:
26537 return NULL;
26538 }
26539
26540
26541 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26542 PyObject *resultobj = 0;
26543 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26544 int result;
26545 void *argp1 = 0 ;
26546 int res1 = 0 ;
26547 PyObject *swig_obj[1] ;
26548
26549 if (!args) SWIG_fail;
26550 swig_obj[0] = args;
26551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26552 if (!SWIG_IsOK(res1)) {
26553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26554 }
26555 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26556 {
26557 PyThreadState* __tstate = wxPyBeginAllowThreads();
26558 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26559 wxPyEndAllowThreads(__tstate);
26560 if (PyErr_Occurred()) SWIG_fail;
26561 }
26562 resultobj = SWIG_From_int(static_cast< int >(result));
26563 return resultobj;
26564 fail:
26565 return NULL;
26566 }
26567
26568
26569 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26570 PyObject *resultobj = 0;
26571 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26572 bool result;
26573 void *argp1 = 0 ;
26574 int res1 = 0 ;
26575 PyObject *swig_obj[1] ;
26576
26577 if (!args) SWIG_fail;
26578 swig_obj[0] = args;
26579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26580 if (!SWIG_IsOK(res1)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26582 }
26583 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26584 {
26585 PyThreadState* __tstate = wxPyBeginAllowThreads();
26586 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26587 wxPyEndAllowThreads(__tstate);
26588 if (PyErr_Occurred()) SWIG_fail;
26589 }
26590 {
26591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26592 }
26593 return resultobj;
26594 fail:
26595 return NULL;
26596 }
26597
26598
26599 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26600 PyObject *resultobj = 0;
26601 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26602 bool result;
26603 void *argp1 = 0 ;
26604 int res1 = 0 ;
26605 PyObject *swig_obj[1] ;
26606
26607 if (!args) SWIG_fail;
26608 swig_obj[0] = args;
26609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26610 if (!SWIG_IsOK(res1)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26612 }
26613 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26614 {
26615 PyThreadState* __tstate = wxPyBeginAllowThreads();
26616 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26617 wxPyEndAllowThreads(__tstate);
26618 if (PyErr_Occurred()) SWIG_fail;
26619 }
26620 {
26621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26622 }
26623 return resultobj;
26624 fail:
26625 return NULL;
26626 }
26627
26628
26629 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26630 PyObject *resultobj = 0;
26631 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26632 bool result;
26633 void *argp1 = 0 ;
26634 int res1 = 0 ;
26635 PyObject *swig_obj[1] ;
26636
26637 if (!args) SWIG_fail;
26638 swig_obj[0] = args;
26639 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26640 if (!SWIG_IsOK(res1)) {
26641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26642 }
26643 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26644 {
26645 PyThreadState* __tstate = wxPyBeginAllowThreads();
26646 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26647 wxPyEndAllowThreads(__tstate);
26648 if (PyErr_Occurred()) SWIG_fail;
26649 }
26650 {
26651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26652 }
26653 return resultobj;
26654 fail:
26655 return NULL;
26656 }
26657
26658
26659 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26660 PyObject *resultobj = 0;
26661 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26662 bool result;
26663 void *argp1 = 0 ;
26664 int res1 = 0 ;
26665 PyObject *swig_obj[1] ;
26666
26667 if (!args) SWIG_fail;
26668 swig_obj[0] = args;
26669 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26670 if (!SWIG_IsOK(res1)) {
26671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26672 }
26673 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26674 {
26675 PyThreadState* __tstate = wxPyBeginAllowThreads();
26676 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26677 wxPyEndAllowThreads(__tstate);
26678 if (PyErr_Occurred()) SWIG_fail;
26679 }
26680 {
26681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26682 }
26683 return resultobj;
26684 fail:
26685 return NULL;
26686 }
26687
26688
26689 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26690 PyObject *resultobj = 0;
26691 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26692 int arg2 ;
26693 void *argp1 = 0 ;
26694 int res1 = 0 ;
26695 int val2 ;
26696 int ecode2 = 0 ;
26697 PyObject * obj0 = 0 ;
26698 PyObject * obj1 = 0 ;
26699 char * kwnames[] = {
26700 (char *) "self",(char *) "v", NULL
26701 };
26702
26703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26705 if (!SWIG_IsOK(res1)) {
26706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26707 }
26708 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26709 ecode2 = SWIG_AsVal_int(obj1, &val2);
26710 if (!SWIG_IsOK(ecode2)) {
26711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26712 }
26713 arg2 = static_cast< int >(val2);
26714 {
26715 PyThreadState* __tstate = wxPyBeginAllowThreads();
26716 (arg1)->SetFromPage(arg2);
26717 wxPyEndAllowThreads(__tstate);
26718 if (PyErr_Occurred()) SWIG_fail;
26719 }
26720 resultobj = SWIG_Py_Void();
26721 return resultobj;
26722 fail:
26723 return NULL;
26724 }
26725
26726
26727 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26728 PyObject *resultobj = 0;
26729 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26730 int arg2 ;
26731 void *argp1 = 0 ;
26732 int res1 = 0 ;
26733 int val2 ;
26734 int ecode2 = 0 ;
26735 PyObject * obj0 = 0 ;
26736 PyObject * obj1 = 0 ;
26737 char * kwnames[] = {
26738 (char *) "self",(char *) "v", NULL
26739 };
26740
26741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26743 if (!SWIG_IsOK(res1)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26745 }
26746 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26747 ecode2 = SWIG_AsVal_int(obj1, &val2);
26748 if (!SWIG_IsOK(ecode2)) {
26749 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26750 }
26751 arg2 = static_cast< int >(val2);
26752 {
26753 PyThreadState* __tstate = wxPyBeginAllowThreads();
26754 (arg1)->SetToPage(arg2);
26755 wxPyEndAllowThreads(__tstate);
26756 if (PyErr_Occurred()) SWIG_fail;
26757 }
26758 resultobj = SWIG_Py_Void();
26759 return resultobj;
26760 fail:
26761 return NULL;
26762 }
26763
26764
26765 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26766 PyObject *resultobj = 0;
26767 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26768 int arg2 ;
26769 void *argp1 = 0 ;
26770 int res1 = 0 ;
26771 int val2 ;
26772 int ecode2 = 0 ;
26773 PyObject * obj0 = 0 ;
26774 PyObject * obj1 = 0 ;
26775 char * kwnames[] = {
26776 (char *) "self",(char *) "v", NULL
26777 };
26778
26779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26781 if (!SWIG_IsOK(res1)) {
26782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26783 }
26784 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26785 ecode2 = SWIG_AsVal_int(obj1, &val2);
26786 if (!SWIG_IsOK(ecode2)) {
26787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26788 }
26789 arg2 = static_cast< int >(val2);
26790 {
26791 PyThreadState* __tstate = wxPyBeginAllowThreads();
26792 (arg1)->SetMinPage(arg2);
26793 wxPyEndAllowThreads(__tstate);
26794 if (PyErr_Occurred()) SWIG_fail;
26795 }
26796 resultobj = SWIG_Py_Void();
26797 return resultobj;
26798 fail:
26799 return NULL;
26800 }
26801
26802
26803 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26804 PyObject *resultobj = 0;
26805 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26806 int arg2 ;
26807 void *argp1 = 0 ;
26808 int res1 = 0 ;
26809 int val2 ;
26810 int ecode2 = 0 ;
26811 PyObject * obj0 = 0 ;
26812 PyObject * obj1 = 0 ;
26813 char * kwnames[] = {
26814 (char *) "self",(char *) "v", NULL
26815 };
26816
26817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26819 if (!SWIG_IsOK(res1)) {
26820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26821 }
26822 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26823 ecode2 = SWIG_AsVal_int(obj1, &val2);
26824 if (!SWIG_IsOK(ecode2)) {
26825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26826 }
26827 arg2 = static_cast< int >(val2);
26828 {
26829 PyThreadState* __tstate = wxPyBeginAllowThreads();
26830 (arg1)->SetMaxPage(arg2);
26831 wxPyEndAllowThreads(__tstate);
26832 if (PyErr_Occurred()) SWIG_fail;
26833 }
26834 resultobj = SWIG_Py_Void();
26835 return resultobj;
26836 fail:
26837 return NULL;
26838 }
26839
26840
26841 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26842 PyObject *resultobj = 0;
26843 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26844 int arg2 ;
26845 void *argp1 = 0 ;
26846 int res1 = 0 ;
26847 int val2 ;
26848 int ecode2 = 0 ;
26849 PyObject * obj0 = 0 ;
26850 PyObject * obj1 = 0 ;
26851 char * kwnames[] = {
26852 (char *) "self",(char *) "v", NULL
26853 };
26854
26855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26857 if (!SWIG_IsOK(res1)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26859 }
26860 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26861 ecode2 = SWIG_AsVal_int(obj1, &val2);
26862 if (!SWIG_IsOK(ecode2)) {
26863 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26864 }
26865 arg2 = static_cast< int >(val2);
26866 {
26867 PyThreadState* __tstate = wxPyBeginAllowThreads();
26868 (arg1)->SetNoCopies(arg2);
26869 wxPyEndAllowThreads(__tstate);
26870 if (PyErr_Occurred()) SWIG_fail;
26871 }
26872 resultobj = SWIG_Py_Void();
26873 return resultobj;
26874 fail:
26875 return NULL;
26876 }
26877
26878
26879 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26880 PyObject *resultobj = 0;
26881 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26882 bool arg2 ;
26883 void *argp1 = 0 ;
26884 int res1 = 0 ;
26885 bool val2 ;
26886 int ecode2 = 0 ;
26887 PyObject * obj0 = 0 ;
26888 PyObject * obj1 = 0 ;
26889 char * kwnames[] = {
26890 (char *) "self",(char *) "flag", NULL
26891 };
26892
26893 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26894 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26895 if (!SWIG_IsOK(res1)) {
26896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26897 }
26898 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26899 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26900 if (!SWIG_IsOK(ecode2)) {
26901 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26902 }
26903 arg2 = static_cast< bool >(val2);
26904 {
26905 PyThreadState* __tstate = wxPyBeginAllowThreads();
26906 (arg1)->SetAllPages(arg2);
26907 wxPyEndAllowThreads(__tstate);
26908 if (PyErr_Occurred()) SWIG_fail;
26909 }
26910 resultobj = SWIG_Py_Void();
26911 return resultobj;
26912 fail:
26913 return NULL;
26914 }
26915
26916
26917 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26918 PyObject *resultobj = 0;
26919 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26920 bool arg2 ;
26921 void *argp1 = 0 ;
26922 int res1 = 0 ;
26923 bool val2 ;
26924 int ecode2 = 0 ;
26925 PyObject * obj0 = 0 ;
26926 PyObject * obj1 = 0 ;
26927 char * kwnames[] = {
26928 (char *) "self",(char *) "flag", NULL
26929 };
26930
26931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26933 if (!SWIG_IsOK(res1)) {
26934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26935 }
26936 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26937 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26938 if (!SWIG_IsOK(ecode2)) {
26939 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26940 }
26941 arg2 = static_cast< bool >(val2);
26942 {
26943 PyThreadState* __tstate = wxPyBeginAllowThreads();
26944 (arg1)->SetSelection(arg2);
26945 wxPyEndAllowThreads(__tstate);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 }
26948 resultobj = SWIG_Py_Void();
26949 return resultobj;
26950 fail:
26951 return NULL;
26952 }
26953
26954
26955 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26956 PyObject *resultobj = 0;
26957 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26958 bool arg2 ;
26959 void *argp1 = 0 ;
26960 int res1 = 0 ;
26961 bool val2 ;
26962 int ecode2 = 0 ;
26963 PyObject * obj0 = 0 ;
26964 PyObject * obj1 = 0 ;
26965 char * kwnames[] = {
26966 (char *) "self",(char *) "flag", NULL
26967 };
26968
26969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26971 if (!SWIG_IsOK(res1)) {
26972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26973 }
26974 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26975 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26976 if (!SWIG_IsOK(ecode2)) {
26977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26978 }
26979 arg2 = static_cast< bool >(val2);
26980 {
26981 PyThreadState* __tstate = wxPyBeginAllowThreads();
26982 (arg1)->SetCollate(arg2);
26983 wxPyEndAllowThreads(__tstate);
26984 if (PyErr_Occurred()) SWIG_fail;
26985 }
26986 resultobj = SWIG_Py_Void();
26987 return resultobj;
26988 fail:
26989 return NULL;
26990 }
26991
26992
26993 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26994 PyObject *resultobj = 0;
26995 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26996 bool arg2 ;
26997 void *argp1 = 0 ;
26998 int res1 = 0 ;
26999 bool val2 ;
27000 int ecode2 = 0 ;
27001 PyObject * obj0 = 0 ;
27002 PyObject * obj1 = 0 ;
27003 char * kwnames[] = {
27004 (char *) "self",(char *) "flag", NULL
27005 };
27006
27007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27009 if (!SWIG_IsOK(res1)) {
27010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27011 }
27012 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27013 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27014 if (!SWIG_IsOK(ecode2)) {
27015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
27016 }
27017 arg2 = static_cast< bool >(val2);
27018 {
27019 PyThreadState* __tstate = wxPyBeginAllowThreads();
27020 (arg1)->SetPrintToFile(arg2);
27021 wxPyEndAllowThreads(__tstate);
27022 if (PyErr_Occurred()) SWIG_fail;
27023 }
27024 resultobj = SWIG_Py_Void();
27025 return resultobj;
27026 fail:
27027 return NULL;
27028 }
27029
27030
27031 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27032 PyObject *resultobj = 0;
27033 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27034 bool arg2 ;
27035 void *argp1 = 0 ;
27036 int res1 = 0 ;
27037 bool val2 ;
27038 int ecode2 = 0 ;
27039 PyObject * obj0 = 0 ;
27040 PyObject * obj1 = 0 ;
27041 char * kwnames[] = {
27042 (char *) "self",(char *) "flag", NULL
27043 };
27044
27045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
27046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27047 if (!SWIG_IsOK(res1)) {
27048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27049 }
27050 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27051 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27052 if (!SWIG_IsOK(ecode2)) {
27053 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
27054 }
27055 arg2 = static_cast< bool >(val2);
27056 {
27057 PyThreadState* __tstate = wxPyBeginAllowThreads();
27058 (arg1)->EnablePrintToFile(arg2);
27059 wxPyEndAllowThreads(__tstate);
27060 if (PyErr_Occurred()) SWIG_fail;
27061 }
27062 resultobj = SWIG_Py_Void();
27063 return resultobj;
27064 fail:
27065 return NULL;
27066 }
27067
27068
27069 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27070 PyObject *resultobj = 0;
27071 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27072 bool arg2 ;
27073 void *argp1 = 0 ;
27074 int res1 = 0 ;
27075 bool val2 ;
27076 int ecode2 = 0 ;
27077 PyObject * obj0 = 0 ;
27078 PyObject * obj1 = 0 ;
27079 char * kwnames[] = {
27080 (char *) "self",(char *) "flag", NULL
27081 };
27082
27083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
27084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27085 if (!SWIG_IsOK(res1)) {
27086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27087 }
27088 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27089 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27090 if (!SWIG_IsOK(ecode2)) {
27091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
27092 }
27093 arg2 = static_cast< bool >(val2);
27094 {
27095 PyThreadState* __tstate = wxPyBeginAllowThreads();
27096 (arg1)->EnableSelection(arg2);
27097 wxPyEndAllowThreads(__tstate);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 resultobj = SWIG_Py_Void();
27101 return resultobj;
27102 fail:
27103 return NULL;
27104 }
27105
27106
27107 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27108 PyObject *resultobj = 0;
27109 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27110 bool arg2 ;
27111 void *argp1 = 0 ;
27112 int res1 = 0 ;
27113 bool val2 ;
27114 int ecode2 = 0 ;
27115 PyObject * obj0 = 0 ;
27116 PyObject * obj1 = 0 ;
27117 char * kwnames[] = {
27118 (char *) "self",(char *) "flag", NULL
27119 };
27120
27121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
27122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27123 if (!SWIG_IsOK(res1)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27125 }
27126 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27127 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27128 if (!SWIG_IsOK(ecode2)) {
27129 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
27130 }
27131 arg2 = static_cast< bool >(val2);
27132 {
27133 PyThreadState* __tstate = wxPyBeginAllowThreads();
27134 (arg1)->EnablePageNumbers(arg2);
27135 wxPyEndAllowThreads(__tstate);
27136 if (PyErr_Occurred()) SWIG_fail;
27137 }
27138 resultobj = SWIG_Py_Void();
27139 return resultobj;
27140 fail:
27141 return NULL;
27142 }
27143
27144
27145 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27146 PyObject *resultobj = 0;
27147 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27148 bool arg2 ;
27149 void *argp1 = 0 ;
27150 int res1 = 0 ;
27151 bool val2 ;
27152 int ecode2 = 0 ;
27153 PyObject * obj0 = 0 ;
27154 PyObject * obj1 = 0 ;
27155 char * kwnames[] = {
27156 (char *) "self",(char *) "flag", NULL
27157 };
27158
27159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
27160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27161 if (!SWIG_IsOK(res1)) {
27162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27163 }
27164 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27165 ecode2 = SWIG_AsVal_bool(obj1, &val2);
27166 if (!SWIG_IsOK(ecode2)) {
27167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27168 }
27169 arg2 = static_cast< bool >(val2);
27170 {
27171 PyThreadState* __tstate = wxPyBeginAllowThreads();
27172 (arg1)->EnableHelp(arg2);
27173 wxPyEndAllowThreads(__tstate);
27174 if (PyErr_Occurred()) SWIG_fail;
27175 }
27176 resultobj = SWIG_Py_Void();
27177 return resultobj;
27178 fail:
27179 return NULL;
27180 }
27181
27182
27183 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27184 PyObject *resultobj = 0;
27185 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27186 bool result;
27187 void *argp1 = 0 ;
27188 int res1 = 0 ;
27189 PyObject *swig_obj[1] ;
27190
27191 if (!args) SWIG_fail;
27192 swig_obj[0] = args;
27193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27194 if (!SWIG_IsOK(res1)) {
27195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27196 }
27197 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27198 {
27199 PyThreadState* __tstate = wxPyBeginAllowThreads();
27200 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
27201 wxPyEndAllowThreads(__tstate);
27202 if (PyErr_Occurred()) SWIG_fail;
27203 }
27204 {
27205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27206 }
27207 return resultobj;
27208 fail:
27209 return NULL;
27210 }
27211
27212
27213 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27214 PyObject *resultobj = 0;
27215 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27216 bool result;
27217 void *argp1 = 0 ;
27218 int res1 = 0 ;
27219 PyObject *swig_obj[1] ;
27220
27221 if (!args) SWIG_fail;
27222 swig_obj[0] = args;
27223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27224 if (!SWIG_IsOK(res1)) {
27225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27226 }
27227 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27228 {
27229 PyThreadState* __tstate = wxPyBeginAllowThreads();
27230 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
27231 wxPyEndAllowThreads(__tstate);
27232 if (PyErr_Occurred()) SWIG_fail;
27233 }
27234 {
27235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27236 }
27237 return resultobj;
27238 fail:
27239 return NULL;
27240 }
27241
27242
27243 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27244 PyObject *resultobj = 0;
27245 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27246 bool result;
27247 void *argp1 = 0 ;
27248 int res1 = 0 ;
27249 PyObject *swig_obj[1] ;
27250
27251 if (!args) SWIG_fail;
27252 swig_obj[0] = args;
27253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27254 if (!SWIG_IsOK(res1)) {
27255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27256 }
27257 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27258 {
27259 PyThreadState* __tstate = wxPyBeginAllowThreads();
27260 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
27261 wxPyEndAllowThreads(__tstate);
27262 if (PyErr_Occurred()) SWIG_fail;
27263 }
27264 {
27265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27266 }
27267 return resultobj;
27268 fail:
27269 return NULL;
27270 }
27271
27272
27273 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27274 PyObject *resultobj = 0;
27275 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27276 bool result;
27277 void *argp1 = 0 ;
27278 int res1 = 0 ;
27279 PyObject *swig_obj[1] ;
27280
27281 if (!args) SWIG_fail;
27282 swig_obj[0] = args;
27283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27284 if (!SWIG_IsOK(res1)) {
27285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27286 }
27287 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27288 {
27289 PyThreadState* __tstate = wxPyBeginAllowThreads();
27290 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
27291 wxPyEndAllowThreads(__tstate);
27292 if (PyErr_Occurred()) SWIG_fail;
27293 }
27294 {
27295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27296 }
27297 return resultobj;
27298 fail:
27299 return NULL;
27300 }
27301
27302
27303 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27304 PyObject *resultobj = 0;
27305 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27306 bool result;
27307 void *argp1 = 0 ;
27308 int res1 = 0 ;
27309 PyObject *swig_obj[1] ;
27310
27311 if (!args) SWIG_fail;
27312 swig_obj[0] = args;
27313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27314 if (!SWIG_IsOK(res1)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27316 }
27317 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27318 {
27319 PyThreadState* __tstate = wxPyBeginAllowThreads();
27320 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
27321 wxPyEndAllowThreads(__tstate);
27322 if (PyErr_Occurred()) SWIG_fail;
27323 }
27324 {
27325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27326 }
27327 return resultobj;
27328 fail:
27329 return NULL;
27330 }
27331
27332
27333 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27334 PyObject *resultobj = 0;
27335 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27336 wxPrintData *result = 0 ;
27337 void *argp1 = 0 ;
27338 int res1 = 0 ;
27339 PyObject *swig_obj[1] ;
27340
27341 if (!args) SWIG_fail;
27342 swig_obj[0] = args;
27343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27344 if (!SWIG_IsOK(res1)) {
27345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27346 }
27347 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27348 {
27349 PyThreadState* __tstate = wxPyBeginAllowThreads();
27350 {
27351 wxPrintData &_result_ref = (arg1)->GetPrintData();
27352 result = (wxPrintData *) &_result_ref;
27353 }
27354 wxPyEndAllowThreads(__tstate);
27355 if (PyErr_Occurred()) SWIG_fail;
27356 }
27357 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27358 return resultobj;
27359 fail:
27360 return NULL;
27361 }
27362
27363
27364 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27365 PyObject *resultobj = 0;
27366 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27367 wxPrintData *arg2 = 0 ;
27368 void *argp1 = 0 ;
27369 int res1 = 0 ;
27370 void *argp2 = 0 ;
27371 int res2 = 0 ;
27372 PyObject * obj0 = 0 ;
27373 PyObject * obj1 = 0 ;
27374 char * kwnames[] = {
27375 (char *) "self",(char *) "printData", NULL
27376 };
27377
27378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27380 if (!SWIG_IsOK(res1)) {
27381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27382 }
27383 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27384 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27385 if (!SWIG_IsOK(res2)) {
27386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27387 }
27388 if (!argp2) {
27389 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27390 }
27391 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27392 {
27393 PyThreadState* __tstate = wxPyBeginAllowThreads();
27394 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27395 wxPyEndAllowThreads(__tstate);
27396 if (PyErr_Occurred()) SWIG_fail;
27397 }
27398 resultobj = SWIG_Py_Void();
27399 return resultobj;
27400 fail:
27401 return NULL;
27402 }
27403
27404
27405 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27406 PyObject *obj;
27407 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27408 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27409 return SWIG_Py_Void();
27410 }
27411
27412 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27413 return SWIG_Python_InitShadowInstance(args);
27414 }
27415
27416 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27417 PyObject *resultobj = 0;
27418 wxWindow *arg1 = (wxWindow *) 0 ;
27419 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27420 wxPrintDialog *result = 0 ;
27421 void *argp1 = 0 ;
27422 int res1 = 0 ;
27423 void *argp2 = 0 ;
27424 int res2 = 0 ;
27425 PyObject * obj0 = 0 ;
27426 PyObject * obj1 = 0 ;
27427 char * kwnames[] = {
27428 (char *) "parent",(char *) "data", NULL
27429 };
27430
27431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27433 if (!SWIG_IsOK(res1)) {
27434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27435 }
27436 arg1 = reinterpret_cast< wxWindow * >(argp1);
27437 if (obj1) {
27438 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27439 if (!SWIG_IsOK(res2)) {
27440 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27441 }
27442 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27443 }
27444 {
27445 if (!wxPyCheckForApp()) SWIG_fail;
27446 PyThreadState* __tstate = wxPyBeginAllowThreads();
27447 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27448 wxPyEndAllowThreads(__tstate);
27449 if (PyErr_Occurred()) SWIG_fail;
27450 }
27451 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27452 return resultobj;
27453 fail:
27454 return NULL;
27455 }
27456
27457
27458 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27459 PyObject *resultobj = 0;
27460 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27461 void *argp1 = 0 ;
27462 int res1 = 0 ;
27463 PyObject *swig_obj[1] ;
27464
27465 if (!args) SWIG_fail;
27466 swig_obj[0] = args;
27467 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27468 if (!SWIG_IsOK(res1)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27470 }
27471 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27472 {
27473 PyThreadState* __tstate = wxPyBeginAllowThreads();
27474 delete arg1;
27475
27476 wxPyEndAllowThreads(__tstate);
27477 if (PyErr_Occurred()) SWIG_fail;
27478 }
27479 resultobj = SWIG_Py_Void();
27480 return resultobj;
27481 fail:
27482 return NULL;
27483 }
27484
27485
27486 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27487 PyObject *resultobj = 0;
27488 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27489 int result;
27490 void *argp1 = 0 ;
27491 int res1 = 0 ;
27492 PyObject *swig_obj[1] ;
27493
27494 if (!args) SWIG_fail;
27495 swig_obj[0] = args;
27496 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27497 if (!SWIG_IsOK(res1)) {
27498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27499 }
27500 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27501 {
27502 PyThreadState* __tstate = wxPyBeginAllowThreads();
27503 result = (int)(arg1)->ShowModal();
27504 wxPyEndAllowThreads(__tstate);
27505 if (PyErr_Occurred()) SWIG_fail;
27506 }
27507 resultobj = SWIG_From_int(static_cast< int >(result));
27508 return resultobj;
27509 fail:
27510 return NULL;
27511 }
27512
27513
27514 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27515 PyObject *resultobj = 0;
27516 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27517 wxPrintDialogData *result = 0 ;
27518 void *argp1 = 0 ;
27519 int res1 = 0 ;
27520 PyObject *swig_obj[1] ;
27521
27522 if (!args) SWIG_fail;
27523 swig_obj[0] = args;
27524 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27525 if (!SWIG_IsOK(res1)) {
27526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27527 }
27528 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27529 {
27530 PyThreadState* __tstate = wxPyBeginAllowThreads();
27531 {
27532 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27533 result = (wxPrintDialogData *) &_result_ref;
27534 }
27535 wxPyEndAllowThreads(__tstate);
27536 if (PyErr_Occurred()) SWIG_fail;
27537 }
27538 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27539 return resultobj;
27540 fail:
27541 return NULL;
27542 }
27543
27544
27545 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27546 PyObject *resultobj = 0;
27547 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27548 wxPrintData *result = 0 ;
27549 void *argp1 = 0 ;
27550 int res1 = 0 ;
27551 PyObject *swig_obj[1] ;
27552
27553 if (!args) SWIG_fail;
27554 swig_obj[0] = args;
27555 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27556 if (!SWIG_IsOK(res1)) {
27557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27558 }
27559 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27560 {
27561 PyThreadState* __tstate = wxPyBeginAllowThreads();
27562 {
27563 wxPrintData &_result_ref = (arg1)->GetPrintData();
27564 result = (wxPrintData *) &_result_ref;
27565 }
27566 wxPyEndAllowThreads(__tstate);
27567 if (PyErr_Occurred()) SWIG_fail;
27568 }
27569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27570 return resultobj;
27571 fail:
27572 return NULL;
27573 }
27574
27575
27576 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27577 PyObject *resultobj = 0;
27578 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27579 wxDC *result = 0 ;
27580 void *argp1 = 0 ;
27581 int res1 = 0 ;
27582 PyObject *swig_obj[1] ;
27583
27584 if (!args) SWIG_fail;
27585 swig_obj[0] = args;
27586 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27587 if (!SWIG_IsOK(res1)) {
27588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27589 }
27590 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27591 {
27592 PyThreadState* __tstate = wxPyBeginAllowThreads();
27593 result = (wxDC *)(arg1)->GetPrintDC();
27594 wxPyEndAllowThreads(__tstate);
27595 if (PyErr_Occurred()) SWIG_fail;
27596 }
27597 {
27598 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27599 }
27600 return resultobj;
27601 fail:
27602 return NULL;
27603 }
27604
27605
27606 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27607 PyObject *obj;
27608 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27609 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27610 return SWIG_Py_Void();
27611 }
27612
27613 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27614 return SWIG_Python_InitShadowInstance(args);
27615 }
27616
27617 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27618 PyObject *resultobj = 0;
27619 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27620 wxPrinter *result = 0 ;
27621 void *argp1 = 0 ;
27622 int res1 = 0 ;
27623 PyObject * obj0 = 0 ;
27624 char * kwnames[] = {
27625 (char *) "data", NULL
27626 };
27627
27628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27629 if (obj0) {
27630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27631 if (!SWIG_IsOK(res1)) {
27632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27633 }
27634 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27635 }
27636 {
27637 if (!wxPyCheckForApp()) SWIG_fail;
27638 PyThreadState* __tstate = wxPyBeginAllowThreads();
27639 result = (wxPrinter *)new wxPrinter(arg1);
27640 wxPyEndAllowThreads(__tstate);
27641 if (PyErr_Occurred()) SWIG_fail;
27642 }
27643 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27644 return resultobj;
27645 fail:
27646 return NULL;
27647 }
27648
27649
27650 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27651 PyObject *resultobj = 0;
27652 wxPrinter *arg1 = (wxPrinter *) 0 ;
27653 void *argp1 = 0 ;
27654 int res1 = 0 ;
27655 PyObject *swig_obj[1] ;
27656
27657 if (!args) SWIG_fail;
27658 swig_obj[0] = args;
27659 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27660 if (!SWIG_IsOK(res1)) {
27661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27662 }
27663 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27664 {
27665 PyThreadState* __tstate = wxPyBeginAllowThreads();
27666 delete arg1;
27667
27668 wxPyEndAllowThreads(__tstate);
27669 if (PyErr_Occurred()) SWIG_fail;
27670 }
27671 resultobj = SWIG_Py_Void();
27672 return resultobj;
27673 fail:
27674 return NULL;
27675 }
27676
27677
27678 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27679 PyObject *resultobj = 0;
27680 wxPrinter *arg1 = (wxPrinter *) 0 ;
27681 wxWindow *arg2 = (wxWindow *) 0 ;
27682 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27683 wxWindow *result = 0 ;
27684 void *argp1 = 0 ;
27685 int res1 = 0 ;
27686 void *argp2 = 0 ;
27687 int res2 = 0 ;
27688 void *argp3 = 0 ;
27689 int res3 = 0 ;
27690 PyObject * obj0 = 0 ;
27691 PyObject * obj1 = 0 ;
27692 PyObject * obj2 = 0 ;
27693 char * kwnames[] = {
27694 (char *) "self",(char *) "parent",(char *) "printout", NULL
27695 };
27696
27697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27699 if (!SWIG_IsOK(res1)) {
27700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27701 }
27702 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27703 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27704 if (!SWIG_IsOK(res2)) {
27705 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27706 }
27707 arg2 = reinterpret_cast< wxWindow * >(argp2);
27708 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27709 if (!SWIG_IsOK(res3)) {
27710 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27711 }
27712 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27713 {
27714 PyThreadState* __tstate = wxPyBeginAllowThreads();
27715 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27716 wxPyEndAllowThreads(__tstate);
27717 if (PyErr_Occurred()) SWIG_fail;
27718 }
27719 {
27720 resultobj = wxPyMake_wxObject(result, 0);
27721 }
27722 return resultobj;
27723 fail:
27724 return NULL;
27725 }
27726
27727
27728 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27729 PyObject *resultobj = 0;
27730 wxPrinter *arg1 = (wxPrinter *) 0 ;
27731 wxWindow *arg2 = (wxWindow *) 0 ;
27732 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27733 wxString *arg4 = 0 ;
27734 void *argp1 = 0 ;
27735 int res1 = 0 ;
27736 void *argp2 = 0 ;
27737 int res2 = 0 ;
27738 void *argp3 = 0 ;
27739 int res3 = 0 ;
27740 bool temp4 = false ;
27741 PyObject * obj0 = 0 ;
27742 PyObject * obj1 = 0 ;
27743 PyObject * obj2 = 0 ;
27744 PyObject * obj3 = 0 ;
27745 char * kwnames[] = {
27746 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27747 };
27748
27749 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27750 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27751 if (!SWIG_IsOK(res1)) {
27752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27753 }
27754 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27755 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27756 if (!SWIG_IsOK(res2)) {
27757 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27758 }
27759 arg2 = reinterpret_cast< wxWindow * >(argp2);
27760 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27761 if (!SWIG_IsOK(res3)) {
27762 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27763 }
27764 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27765 {
27766 arg4 = wxString_in_helper(obj3);
27767 if (arg4 == NULL) SWIG_fail;
27768 temp4 = true;
27769 }
27770 {
27771 PyThreadState* __tstate = wxPyBeginAllowThreads();
27772 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27773 wxPyEndAllowThreads(__tstate);
27774 if (PyErr_Occurred()) SWIG_fail;
27775 }
27776 resultobj = SWIG_Py_Void();
27777 {
27778 if (temp4)
27779 delete arg4;
27780 }
27781 return resultobj;
27782 fail:
27783 {
27784 if (temp4)
27785 delete arg4;
27786 }
27787 return NULL;
27788 }
27789
27790
27791 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27792 PyObject *resultobj = 0;
27793 wxPrinter *arg1 = (wxPrinter *) 0 ;
27794 wxWindow *arg2 = (wxWindow *) 0 ;
27795 bool result;
27796 void *argp1 = 0 ;
27797 int res1 = 0 ;
27798 void *argp2 = 0 ;
27799 int res2 = 0 ;
27800 PyObject * obj0 = 0 ;
27801 PyObject * obj1 = 0 ;
27802 char * kwnames[] = {
27803 (char *) "self",(char *) "parent", NULL
27804 };
27805
27806 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27807 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27808 if (!SWIG_IsOK(res1)) {
27809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27810 }
27811 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27812 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27813 if (!SWIG_IsOK(res2)) {
27814 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27815 }
27816 arg2 = reinterpret_cast< wxWindow * >(argp2);
27817 {
27818 PyThreadState* __tstate = wxPyBeginAllowThreads();
27819 result = (bool)(arg1)->Setup(arg2);
27820 wxPyEndAllowThreads(__tstate);
27821 if (PyErr_Occurred()) SWIG_fail;
27822 }
27823 {
27824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27825 }
27826 return resultobj;
27827 fail:
27828 return NULL;
27829 }
27830
27831
27832 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27833 PyObject *resultobj = 0;
27834 wxPrinter *arg1 = (wxPrinter *) 0 ;
27835 wxWindow *arg2 = (wxWindow *) 0 ;
27836 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27837 bool arg4 = (bool) true ;
27838 bool result;
27839 void *argp1 = 0 ;
27840 int res1 = 0 ;
27841 void *argp2 = 0 ;
27842 int res2 = 0 ;
27843 void *argp3 = 0 ;
27844 int res3 = 0 ;
27845 bool val4 ;
27846 int ecode4 = 0 ;
27847 PyObject * obj0 = 0 ;
27848 PyObject * obj1 = 0 ;
27849 PyObject * obj2 = 0 ;
27850 PyObject * obj3 = 0 ;
27851 char * kwnames[] = {
27852 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27853 };
27854
27855 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27856 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27857 if (!SWIG_IsOK(res1)) {
27858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27859 }
27860 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27861 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27862 if (!SWIG_IsOK(res2)) {
27863 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27864 }
27865 arg2 = reinterpret_cast< wxWindow * >(argp2);
27866 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27867 if (!SWIG_IsOK(res3)) {
27868 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27869 }
27870 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27871 if (obj3) {
27872 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27873 if (!SWIG_IsOK(ecode4)) {
27874 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27875 }
27876 arg4 = static_cast< bool >(val4);
27877 }
27878 {
27879 PyThreadState* __tstate = wxPyBeginAllowThreads();
27880 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27881 wxPyEndAllowThreads(__tstate);
27882 if (PyErr_Occurred()) SWIG_fail;
27883 }
27884 {
27885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27886 }
27887 return resultobj;
27888 fail:
27889 return NULL;
27890 }
27891
27892
27893 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27894 PyObject *resultobj = 0;
27895 wxPrinter *arg1 = (wxPrinter *) 0 ;
27896 wxWindow *arg2 = (wxWindow *) 0 ;
27897 wxDC *result = 0 ;
27898 void *argp1 = 0 ;
27899 int res1 = 0 ;
27900 void *argp2 = 0 ;
27901 int res2 = 0 ;
27902 PyObject * obj0 = 0 ;
27903 PyObject * obj1 = 0 ;
27904 char * kwnames[] = {
27905 (char *) "self",(char *) "parent", NULL
27906 };
27907
27908 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27909 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27910 if (!SWIG_IsOK(res1)) {
27911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27912 }
27913 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27914 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27915 if (!SWIG_IsOK(res2)) {
27916 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27917 }
27918 arg2 = reinterpret_cast< wxWindow * >(argp2);
27919 {
27920 PyThreadState* __tstate = wxPyBeginAllowThreads();
27921 result = (wxDC *)(arg1)->PrintDialog(arg2);
27922 wxPyEndAllowThreads(__tstate);
27923 if (PyErr_Occurred()) SWIG_fail;
27924 }
27925 {
27926 resultobj = wxPyMake_wxObject(result, (bool)0);
27927 }
27928 return resultobj;
27929 fail:
27930 return NULL;
27931 }
27932
27933
27934 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27935 PyObject *resultobj = 0;
27936 wxPrinter *arg1 = (wxPrinter *) 0 ;
27937 wxPrintDialogData *result = 0 ;
27938 void *argp1 = 0 ;
27939 int res1 = 0 ;
27940 PyObject *swig_obj[1] ;
27941
27942 if (!args) SWIG_fail;
27943 swig_obj[0] = args;
27944 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27945 if (!SWIG_IsOK(res1)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27947 }
27948 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27949 {
27950 PyThreadState* __tstate = wxPyBeginAllowThreads();
27951 {
27952 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27953 result = (wxPrintDialogData *) &_result_ref;
27954 }
27955 wxPyEndAllowThreads(__tstate);
27956 if (PyErr_Occurred()) SWIG_fail;
27957 }
27958 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27959 return resultobj;
27960 fail:
27961 return NULL;
27962 }
27963
27964
27965 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27966 PyObject *resultobj = 0;
27967 wxPrinter *arg1 = (wxPrinter *) 0 ;
27968 bool result;
27969 void *argp1 = 0 ;
27970 int res1 = 0 ;
27971 PyObject *swig_obj[1] ;
27972
27973 if (!args) SWIG_fail;
27974 swig_obj[0] = args;
27975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27976 if (!SWIG_IsOK(res1)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27978 }
27979 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27980 {
27981 PyThreadState* __tstate = wxPyBeginAllowThreads();
27982 result = (bool)(arg1)->GetAbort();
27983 wxPyEndAllowThreads(__tstate);
27984 if (PyErr_Occurred()) SWIG_fail;
27985 }
27986 {
27987 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27988 }
27989 return resultobj;
27990 fail:
27991 return NULL;
27992 }
27993
27994
27995 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27996 PyObject *resultobj = 0;
27997 wxPrinterError result;
27998
27999 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
28000 {
28001 PyThreadState* __tstate = wxPyBeginAllowThreads();
28002 result = (wxPrinterError)wxPrinter::GetLastError();
28003 wxPyEndAllowThreads(__tstate);
28004 if (PyErr_Occurred()) SWIG_fail;
28005 }
28006 resultobj = SWIG_From_int(static_cast< int >(result));
28007 return resultobj;
28008 fail:
28009 return NULL;
28010 }
28011
28012
28013 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28014 PyObject *obj;
28015 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
28016 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
28017 return SWIG_Py_Void();
28018 }
28019
28020 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28021 return SWIG_Python_InitShadowInstance(args);
28022 }
28023
28024 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28025 PyObject *resultobj = 0;
28026 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
28027 wxString *arg1 = (wxString *) &arg1_defvalue ;
28028 wxPyPrintout *result = 0 ;
28029 bool temp1 = false ;
28030 PyObject * obj0 = 0 ;
28031 char * kwnames[] = {
28032 (char *) "title", NULL
28033 };
28034
28035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
28036 if (obj0) {
28037 {
28038 arg1 = wxString_in_helper(obj0);
28039 if (arg1 == NULL) SWIG_fail;
28040 temp1 = true;
28041 }
28042 }
28043 {
28044 if (!wxPyCheckForApp()) SWIG_fail;
28045 PyThreadState* __tstate = wxPyBeginAllowThreads();
28046 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
28047 wxPyEndAllowThreads(__tstate);
28048 if (PyErr_Occurred()) SWIG_fail;
28049 }
28050 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
28051 {
28052 if (temp1)
28053 delete arg1;
28054 }
28055 return resultobj;
28056 fail:
28057 {
28058 if (temp1)
28059 delete arg1;
28060 }
28061 return NULL;
28062 }
28063
28064
28065 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28066 PyObject *resultobj = 0;
28067 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28068 void *argp1 = 0 ;
28069 int res1 = 0 ;
28070 PyObject *swig_obj[1] ;
28071
28072 if (!args) SWIG_fail;
28073 swig_obj[0] = args;
28074 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
28075 if (!SWIG_IsOK(res1)) {
28076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28077 }
28078 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28079 {
28080 PyThreadState* __tstate = wxPyBeginAllowThreads();
28081 delete arg1;
28082
28083 wxPyEndAllowThreads(__tstate);
28084 if (PyErr_Occurred()) SWIG_fail;
28085 }
28086 resultobj = SWIG_Py_Void();
28087 return resultobj;
28088 fail:
28089 return NULL;
28090 }
28091
28092
28093 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28094 PyObject *resultobj = 0;
28095 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28096 PyObject *arg2 = (PyObject *) 0 ;
28097 PyObject *arg3 = (PyObject *) 0 ;
28098 void *argp1 = 0 ;
28099 int res1 = 0 ;
28100 PyObject * obj0 = 0 ;
28101 PyObject * obj1 = 0 ;
28102 PyObject * obj2 = 0 ;
28103 char * kwnames[] = {
28104 (char *) "self",(char *) "self",(char *) "_class", NULL
28105 };
28106
28107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28109 if (!SWIG_IsOK(res1)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28111 }
28112 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28113 arg2 = obj1;
28114 arg3 = obj2;
28115 {
28116 PyThreadState* __tstate = wxPyBeginAllowThreads();
28117 (arg1)->_setCallbackInfo(arg2,arg3);
28118 wxPyEndAllowThreads(__tstate);
28119 if (PyErr_Occurred()) SWIG_fail;
28120 }
28121 resultobj = SWIG_Py_Void();
28122 return resultobj;
28123 fail:
28124 return NULL;
28125 }
28126
28127
28128 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28129 PyObject *resultobj = 0;
28130 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28131 wxString result;
28132 void *argp1 = 0 ;
28133 int res1 = 0 ;
28134 PyObject *swig_obj[1] ;
28135
28136 if (!args) SWIG_fail;
28137 swig_obj[0] = args;
28138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28139 if (!SWIG_IsOK(res1)) {
28140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28141 }
28142 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28143 {
28144 PyThreadState* __tstate = wxPyBeginAllowThreads();
28145 result = ((wxPyPrintout const *)arg1)->GetTitle();
28146 wxPyEndAllowThreads(__tstate);
28147 if (PyErr_Occurred()) SWIG_fail;
28148 }
28149 {
28150 #if wxUSE_UNICODE
28151 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28152 #else
28153 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28154 #endif
28155 }
28156 return resultobj;
28157 fail:
28158 return NULL;
28159 }
28160
28161
28162 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28163 PyObject *resultobj = 0;
28164 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28165 wxDC *result = 0 ;
28166 void *argp1 = 0 ;
28167 int res1 = 0 ;
28168 PyObject *swig_obj[1] ;
28169
28170 if (!args) SWIG_fail;
28171 swig_obj[0] = args;
28172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28173 if (!SWIG_IsOK(res1)) {
28174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28175 }
28176 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28177 {
28178 PyThreadState* __tstate = wxPyBeginAllowThreads();
28179 result = (wxDC *)(arg1)->GetDC();
28180 wxPyEndAllowThreads(__tstate);
28181 if (PyErr_Occurred()) SWIG_fail;
28182 }
28183 {
28184 resultobj = wxPyMake_wxObject(result, (bool)0);
28185 }
28186 return resultobj;
28187 fail:
28188 return NULL;
28189 }
28190
28191
28192 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28193 PyObject *resultobj = 0;
28194 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28195 wxDC *arg2 = (wxDC *) 0 ;
28196 void *argp1 = 0 ;
28197 int res1 = 0 ;
28198 void *argp2 = 0 ;
28199 int res2 = 0 ;
28200 PyObject * obj0 = 0 ;
28201 PyObject * obj1 = 0 ;
28202 char * kwnames[] = {
28203 (char *) "self",(char *) "dc", NULL
28204 };
28205
28206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
28207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28208 if (!SWIG_IsOK(res1)) {
28209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28210 }
28211 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28212 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
28213 if (!SWIG_IsOK(res2)) {
28214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28215 }
28216 arg2 = reinterpret_cast< wxDC * >(argp2);
28217 {
28218 PyThreadState* __tstate = wxPyBeginAllowThreads();
28219 (arg1)->SetDC(arg2);
28220 wxPyEndAllowThreads(__tstate);
28221 if (PyErr_Occurred()) SWIG_fail;
28222 }
28223 resultobj = SWIG_Py_Void();
28224 return resultobj;
28225 fail:
28226 return NULL;
28227 }
28228
28229
28230 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28231 PyObject *resultobj = 0;
28232 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28233 wxSize *arg2 = 0 ;
28234 void *argp1 = 0 ;
28235 int res1 = 0 ;
28236 wxSize temp2 ;
28237 PyObject * obj0 = 0 ;
28238 PyObject * obj1 = 0 ;
28239 char * kwnames[] = {
28240 (char *) "self",(char *) "imageSize", NULL
28241 };
28242
28243 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
28244 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28245 if (!SWIG_IsOK(res1)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28247 }
28248 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28249 {
28250 arg2 = &temp2;
28251 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28252 }
28253 {
28254 PyThreadState* __tstate = wxPyBeginAllowThreads();
28255 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
28256 wxPyEndAllowThreads(__tstate);
28257 if (PyErr_Occurred()) SWIG_fail;
28258 }
28259 resultobj = SWIG_Py_Void();
28260 return resultobj;
28261 fail:
28262 return NULL;
28263 }
28264
28265
28266 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28267 PyObject *resultobj = 0;
28268 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28269 wxSize *arg2 = 0 ;
28270 void *argp1 = 0 ;
28271 int res1 = 0 ;
28272 wxSize temp2 ;
28273 PyObject * obj0 = 0 ;
28274 PyObject * obj1 = 0 ;
28275 char * kwnames[] = {
28276 (char *) "self",(char *) "imageSize", NULL
28277 };
28278
28279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
28280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28281 if (!SWIG_IsOK(res1)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28283 }
28284 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28285 {
28286 arg2 = &temp2;
28287 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28288 }
28289 {
28290 PyThreadState* __tstate = wxPyBeginAllowThreads();
28291 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
28292 wxPyEndAllowThreads(__tstate);
28293 if (PyErr_Occurred()) SWIG_fail;
28294 }
28295 resultobj = SWIG_Py_Void();
28296 return resultobj;
28297 fail:
28298 return NULL;
28299 }
28300
28301
28302 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28303 PyObject *resultobj = 0;
28304 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28305 wxSize *arg2 = 0 ;
28306 wxPageSetupDialogData *arg3 = 0 ;
28307 void *argp1 = 0 ;
28308 int res1 = 0 ;
28309 wxSize temp2 ;
28310 void *argp3 = 0 ;
28311 int res3 = 0 ;
28312 PyObject * obj0 = 0 ;
28313 PyObject * obj1 = 0 ;
28314 PyObject * obj2 = 0 ;
28315 char * kwnames[] = {
28316 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28317 };
28318
28319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28321 if (!SWIG_IsOK(res1)) {
28322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28323 }
28324 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28325 {
28326 arg2 = &temp2;
28327 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28328 }
28329 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28330 if (!SWIG_IsOK(res3)) {
28331 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28332 }
28333 if (!argp3) {
28334 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28335 }
28336 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
28337 {
28338 PyThreadState* __tstate = wxPyBeginAllowThreads();
28339 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
28340 wxPyEndAllowThreads(__tstate);
28341 if (PyErr_Occurred()) SWIG_fail;
28342 }
28343 resultobj = SWIG_Py_Void();
28344 return resultobj;
28345 fail:
28346 return NULL;
28347 }
28348
28349
28350 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28351 PyObject *resultobj = 0;
28352 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28353 void *argp1 = 0 ;
28354 int res1 = 0 ;
28355 PyObject *swig_obj[1] ;
28356
28357 if (!args) SWIG_fail;
28358 swig_obj[0] = args;
28359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28360 if (!SWIG_IsOK(res1)) {
28361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28362 }
28363 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28364 {
28365 PyThreadState* __tstate = wxPyBeginAllowThreads();
28366 (arg1)->MapScreenSizeToPaper();
28367 wxPyEndAllowThreads(__tstate);
28368 if (PyErr_Occurred()) SWIG_fail;
28369 }
28370 resultobj = SWIG_Py_Void();
28371 return resultobj;
28372 fail:
28373 return NULL;
28374 }
28375
28376
28377 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28378 PyObject *resultobj = 0;
28379 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28380 void *argp1 = 0 ;
28381 int res1 = 0 ;
28382 PyObject *swig_obj[1] ;
28383
28384 if (!args) SWIG_fail;
28385 swig_obj[0] = args;
28386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28387 if (!SWIG_IsOK(res1)) {
28388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28389 }
28390 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28391 {
28392 PyThreadState* __tstate = wxPyBeginAllowThreads();
28393 (arg1)->MapScreenSizeToPage();
28394 wxPyEndAllowThreads(__tstate);
28395 if (PyErr_Occurred()) SWIG_fail;
28396 }
28397 resultobj = SWIG_Py_Void();
28398 return resultobj;
28399 fail:
28400 return NULL;
28401 }
28402
28403
28404 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28405 PyObject *resultobj = 0;
28406 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28407 wxPageSetupDialogData *arg2 = 0 ;
28408 void *argp1 = 0 ;
28409 int res1 = 0 ;
28410 void *argp2 = 0 ;
28411 int res2 = 0 ;
28412 PyObject * obj0 = 0 ;
28413 PyObject * obj1 = 0 ;
28414 char * kwnames[] = {
28415 (char *) "self",(char *) "pageSetupData", NULL
28416 };
28417
28418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28420 if (!SWIG_IsOK(res1)) {
28421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28422 }
28423 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28424 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28425 if (!SWIG_IsOK(res2)) {
28426 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28427 }
28428 if (!argp2) {
28429 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28430 }
28431 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28432 {
28433 PyThreadState* __tstate = wxPyBeginAllowThreads();
28434 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28435 wxPyEndAllowThreads(__tstate);
28436 if (PyErr_Occurred()) SWIG_fail;
28437 }
28438 resultobj = SWIG_Py_Void();
28439 return resultobj;
28440 fail:
28441 return NULL;
28442 }
28443
28444
28445 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28446 PyObject *resultobj = 0;
28447 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28448 void *argp1 = 0 ;
28449 int res1 = 0 ;
28450 PyObject *swig_obj[1] ;
28451
28452 if (!args) SWIG_fail;
28453 swig_obj[0] = args;
28454 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28455 if (!SWIG_IsOK(res1)) {
28456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28457 }
28458 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28459 {
28460 PyThreadState* __tstate = wxPyBeginAllowThreads();
28461 (arg1)->MapScreenSizeToDevice();
28462 wxPyEndAllowThreads(__tstate);
28463 if (PyErr_Occurred()) SWIG_fail;
28464 }
28465 resultobj = SWIG_Py_Void();
28466 return resultobj;
28467 fail:
28468 return NULL;
28469 }
28470
28471
28472 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28473 PyObject *resultobj = 0;
28474 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28475 wxRect result;
28476 void *argp1 = 0 ;
28477 int res1 = 0 ;
28478 PyObject *swig_obj[1] ;
28479
28480 if (!args) SWIG_fail;
28481 swig_obj[0] = args;
28482 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28483 if (!SWIG_IsOK(res1)) {
28484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28485 }
28486 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28487 {
28488 PyThreadState* __tstate = wxPyBeginAllowThreads();
28489 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28490 wxPyEndAllowThreads(__tstate);
28491 if (PyErr_Occurred()) SWIG_fail;
28492 }
28493 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28494 return resultobj;
28495 fail:
28496 return NULL;
28497 }
28498
28499
28500 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28501 PyObject *resultobj = 0;
28502 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28503 wxRect result;
28504 void *argp1 = 0 ;
28505 int res1 = 0 ;
28506 PyObject *swig_obj[1] ;
28507
28508 if (!args) SWIG_fail;
28509 swig_obj[0] = args;
28510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28511 if (!SWIG_IsOK(res1)) {
28512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28513 }
28514 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28515 {
28516 PyThreadState* __tstate = wxPyBeginAllowThreads();
28517 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28518 wxPyEndAllowThreads(__tstate);
28519 if (PyErr_Occurred()) SWIG_fail;
28520 }
28521 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28522 return resultobj;
28523 fail:
28524 return NULL;
28525 }
28526
28527
28528 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28529 PyObject *resultobj = 0;
28530 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28531 wxPageSetupDialogData *arg2 = 0 ;
28532 wxRect result;
28533 void *argp1 = 0 ;
28534 int res1 = 0 ;
28535 void *argp2 = 0 ;
28536 int res2 = 0 ;
28537 PyObject * obj0 = 0 ;
28538 PyObject * obj1 = 0 ;
28539 char * kwnames[] = {
28540 (char *) "self",(char *) "pageSetupData", NULL
28541 };
28542
28543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28545 if (!SWIG_IsOK(res1)) {
28546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28547 }
28548 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28549 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28550 if (!SWIG_IsOK(res2)) {
28551 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28552 }
28553 if (!argp2) {
28554 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28555 }
28556 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28557 {
28558 PyThreadState* __tstate = wxPyBeginAllowThreads();
28559 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28560 wxPyEndAllowThreads(__tstate);
28561 if (PyErr_Occurred()) SWIG_fail;
28562 }
28563 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28564 return resultobj;
28565 fail:
28566 return NULL;
28567 }
28568
28569
28570 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28571 PyObject *resultobj = 0;
28572 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28573 int arg2 ;
28574 int arg3 ;
28575 void *argp1 = 0 ;
28576 int res1 = 0 ;
28577 int val2 ;
28578 int ecode2 = 0 ;
28579 int val3 ;
28580 int ecode3 = 0 ;
28581 PyObject * obj0 = 0 ;
28582 PyObject * obj1 = 0 ;
28583 PyObject * obj2 = 0 ;
28584 char * kwnames[] = {
28585 (char *) "self",(char *) "x",(char *) "y", NULL
28586 };
28587
28588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28590 if (!SWIG_IsOK(res1)) {
28591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28592 }
28593 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28594 ecode2 = SWIG_AsVal_int(obj1, &val2);
28595 if (!SWIG_IsOK(ecode2)) {
28596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28597 }
28598 arg2 = static_cast< int >(val2);
28599 ecode3 = SWIG_AsVal_int(obj2, &val3);
28600 if (!SWIG_IsOK(ecode3)) {
28601 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28602 }
28603 arg3 = static_cast< int >(val3);
28604 {
28605 PyThreadState* __tstate = wxPyBeginAllowThreads();
28606 (arg1)->SetLogicalOrigin(arg2,arg3);
28607 wxPyEndAllowThreads(__tstate);
28608 if (PyErr_Occurred()) SWIG_fail;
28609 }
28610 resultobj = SWIG_Py_Void();
28611 return resultobj;
28612 fail:
28613 return NULL;
28614 }
28615
28616
28617 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28618 PyObject *resultobj = 0;
28619 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28620 int arg2 ;
28621 int arg3 ;
28622 void *argp1 = 0 ;
28623 int res1 = 0 ;
28624 int val2 ;
28625 int ecode2 = 0 ;
28626 int val3 ;
28627 int ecode3 = 0 ;
28628 PyObject * obj0 = 0 ;
28629 PyObject * obj1 = 0 ;
28630 PyObject * obj2 = 0 ;
28631 char * kwnames[] = {
28632 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28633 };
28634
28635 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28636 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28637 if (!SWIG_IsOK(res1)) {
28638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28639 }
28640 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28641 ecode2 = SWIG_AsVal_int(obj1, &val2);
28642 if (!SWIG_IsOK(ecode2)) {
28643 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28644 }
28645 arg2 = static_cast< int >(val2);
28646 ecode3 = SWIG_AsVal_int(obj2, &val3);
28647 if (!SWIG_IsOK(ecode3)) {
28648 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28649 }
28650 arg3 = static_cast< int >(val3);
28651 {
28652 PyThreadState* __tstate = wxPyBeginAllowThreads();
28653 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28654 wxPyEndAllowThreads(__tstate);
28655 if (PyErr_Occurred()) SWIG_fail;
28656 }
28657 resultobj = SWIG_Py_Void();
28658 return resultobj;
28659 fail:
28660 return NULL;
28661 }
28662
28663
28664 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28665 PyObject *resultobj = 0;
28666 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28667 int arg2 ;
28668 int arg3 ;
28669 void *argp1 = 0 ;
28670 int res1 = 0 ;
28671 int val2 ;
28672 int ecode2 = 0 ;
28673 int val3 ;
28674 int ecode3 = 0 ;
28675 PyObject * obj0 = 0 ;
28676 PyObject * obj1 = 0 ;
28677 PyObject * obj2 = 0 ;
28678 char * kwnames[] = {
28679 (char *) "self",(char *) "w",(char *) "h", NULL
28680 };
28681
28682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28684 if (!SWIG_IsOK(res1)) {
28685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28686 }
28687 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28688 ecode2 = SWIG_AsVal_int(obj1, &val2);
28689 if (!SWIG_IsOK(ecode2)) {
28690 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28691 }
28692 arg2 = static_cast< int >(val2);
28693 ecode3 = SWIG_AsVal_int(obj2, &val3);
28694 if (!SWIG_IsOK(ecode3)) {
28695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28696 }
28697 arg3 = static_cast< int >(val3);
28698 {
28699 PyThreadState* __tstate = wxPyBeginAllowThreads();
28700 (arg1)->SetPageSizePixels(arg2,arg3);
28701 wxPyEndAllowThreads(__tstate);
28702 if (PyErr_Occurred()) SWIG_fail;
28703 }
28704 resultobj = SWIG_Py_Void();
28705 return resultobj;
28706 fail:
28707 return NULL;
28708 }
28709
28710
28711 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28712 PyObject *resultobj = 0;
28713 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28714 int *arg2 = (int *) 0 ;
28715 int *arg3 = (int *) 0 ;
28716 void *argp1 = 0 ;
28717 int res1 = 0 ;
28718 int temp2 ;
28719 int res2 = SWIG_TMPOBJ ;
28720 int temp3 ;
28721 int res3 = SWIG_TMPOBJ ;
28722 PyObject *swig_obj[1] ;
28723
28724 arg2 = &temp2;
28725 arg3 = &temp3;
28726 if (!args) SWIG_fail;
28727 swig_obj[0] = args;
28728 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28729 if (!SWIG_IsOK(res1)) {
28730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28731 }
28732 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28733 {
28734 PyThreadState* __tstate = wxPyBeginAllowThreads();
28735 (arg1)->GetPageSizePixels(arg2,arg3);
28736 wxPyEndAllowThreads(__tstate);
28737 if (PyErr_Occurred()) SWIG_fail;
28738 }
28739 resultobj = SWIG_Py_Void();
28740 if (SWIG_IsTmpObj(res2)) {
28741 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28742 } else {
28743 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28744 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28745 }
28746 if (SWIG_IsTmpObj(res3)) {
28747 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28748 } else {
28749 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28750 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28751 }
28752 return resultobj;
28753 fail:
28754 return NULL;
28755 }
28756
28757
28758 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28759 PyObject *resultobj = 0;
28760 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28761 int arg2 ;
28762 int arg3 ;
28763 void *argp1 = 0 ;
28764 int res1 = 0 ;
28765 int val2 ;
28766 int ecode2 = 0 ;
28767 int val3 ;
28768 int ecode3 = 0 ;
28769 PyObject * obj0 = 0 ;
28770 PyObject * obj1 = 0 ;
28771 PyObject * obj2 = 0 ;
28772 char * kwnames[] = {
28773 (char *) "self",(char *) "w",(char *) "h", NULL
28774 };
28775
28776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28778 if (!SWIG_IsOK(res1)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28780 }
28781 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28782 ecode2 = SWIG_AsVal_int(obj1, &val2);
28783 if (!SWIG_IsOK(ecode2)) {
28784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28785 }
28786 arg2 = static_cast< int >(val2);
28787 ecode3 = SWIG_AsVal_int(obj2, &val3);
28788 if (!SWIG_IsOK(ecode3)) {
28789 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28790 }
28791 arg3 = static_cast< int >(val3);
28792 {
28793 PyThreadState* __tstate = wxPyBeginAllowThreads();
28794 (arg1)->SetPageSizeMM(arg2,arg3);
28795 wxPyEndAllowThreads(__tstate);
28796 if (PyErr_Occurred()) SWIG_fail;
28797 }
28798 resultobj = SWIG_Py_Void();
28799 return resultobj;
28800 fail:
28801 return NULL;
28802 }
28803
28804
28805 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28806 PyObject *resultobj = 0;
28807 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28808 int *arg2 = (int *) 0 ;
28809 int *arg3 = (int *) 0 ;
28810 void *argp1 = 0 ;
28811 int res1 = 0 ;
28812 int temp2 ;
28813 int res2 = SWIG_TMPOBJ ;
28814 int temp3 ;
28815 int res3 = SWIG_TMPOBJ ;
28816 PyObject *swig_obj[1] ;
28817
28818 arg2 = &temp2;
28819 arg3 = &temp3;
28820 if (!args) SWIG_fail;
28821 swig_obj[0] = args;
28822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28823 if (!SWIG_IsOK(res1)) {
28824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28825 }
28826 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28827 {
28828 PyThreadState* __tstate = wxPyBeginAllowThreads();
28829 (arg1)->GetPageSizeMM(arg2,arg3);
28830 wxPyEndAllowThreads(__tstate);
28831 if (PyErr_Occurred()) SWIG_fail;
28832 }
28833 resultobj = SWIG_Py_Void();
28834 if (SWIG_IsTmpObj(res2)) {
28835 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28836 } else {
28837 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28838 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28839 }
28840 if (SWIG_IsTmpObj(res3)) {
28841 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28842 } else {
28843 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28844 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28845 }
28846 return resultobj;
28847 fail:
28848 return NULL;
28849 }
28850
28851
28852 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28853 PyObject *resultobj = 0;
28854 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28855 int arg2 ;
28856 int arg3 ;
28857 void *argp1 = 0 ;
28858 int res1 = 0 ;
28859 int val2 ;
28860 int ecode2 = 0 ;
28861 int val3 ;
28862 int ecode3 = 0 ;
28863 PyObject * obj0 = 0 ;
28864 PyObject * obj1 = 0 ;
28865 PyObject * obj2 = 0 ;
28866 char * kwnames[] = {
28867 (char *) "self",(char *) "x",(char *) "y", NULL
28868 };
28869
28870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28872 if (!SWIG_IsOK(res1)) {
28873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28874 }
28875 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28876 ecode2 = SWIG_AsVal_int(obj1, &val2);
28877 if (!SWIG_IsOK(ecode2)) {
28878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28879 }
28880 arg2 = static_cast< int >(val2);
28881 ecode3 = SWIG_AsVal_int(obj2, &val3);
28882 if (!SWIG_IsOK(ecode3)) {
28883 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28884 }
28885 arg3 = static_cast< int >(val3);
28886 {
28887 PyThreadState* __tstate = wxPyBeginAllowThreads();
28888 (arg1)->SetPPIScreen(arg2,arg3);
28889 wxPyEndAllowThreads(__tstate);
28890 if (PyErr_Occurred()) SWIG_fail;
28891 }
28892 resultobj = SWIG_Py_Void();
28893 return resultobj;
28894 fail:
28895 return NULL;
28896 }
28897
28898
28899 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28900 PyObject *resultobj = 0;
28901 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28902 int *arg2 = (int *) 0 ;
28903 int *arg3 = (int *) 0 ;
28904 void *argp1 = 0 ;
28905 int res1 = 0 ;
28906 int temp2 ;
28907 int res2 = SWIG_TMPOBJ ;
28908 int temp3 ;
28909 int res3 = SWIG_TMPOBJ ;
28910 PyObject *swig_obj[1] ;
28911
28912 arg2 = &temp2;
28913 arg3 = &temp3;
28914 if (!args) SWIG_fail;
28915 swig_obj[0] = args;
28916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28917 if (!SWIG_IsOK(res1)) {
28918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28919 }
28920 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28921 {
28922 PyThreadState* __tstate = wxPyBeginAllowThreads();
28923 (arg1)->GetPPIScreen(arg2,arg3);
28924 wxPyEndAllowThreads(__tstate);
28925 if (PyErr_Occurred()) SWIG_fail;
28926 }
28927 resultobj = SWIG_Py_Void();
28928 if (SWIG_IsTmpObj(res2)) {
28929 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28930 } else {
28931 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28932 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28933 }
28934 if (SWIG_IsTmpObj(res3)) {
28935 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28936 } else {
28937 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28938 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28939 }
28940 return resultobj;
28941 fail:
28942 return NULL;
28943 }
28944
28945
28946 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28947 PyObject *resultobj = 0;
28948 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28949 int arg2 ;
28950 int arg3 ;
28951 void *argp1 = 0 ;
28952 int res1 = 0 ;
28953 int val2 ;
28954 int ecode2 = 0 ;
28955 int val3 ;
28956 int ecode3 = 0 ;
28957 PyObject * obj0 = 0 ;
28958 PyObject * obj1 = 0 ;
28959 PyObject * obj2 = 0 ;
28960 char * kwnames[] = {
28961 (char *) "self",(char *) "x",(char *) "y", NULL
28962 };
28963
28964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28966 if (!SWIG_IsOK(res1)) {
28967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28968 }
28969 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28970 ecode2 = SWIG_AsVal_int(obj1, &val2);
28971 if (!SWIG_IsOK(ecode2)) {
28972 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28973 }
28974 arg2 = static_cast< int >(val2);
28975 ecode3 = SWIG_AsVal_int(obj2, &val3);
28976 if (!SWIG_IsOK(ecode3)) {
28977 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28978 }
28979 arg3 = static_cast< int >(val3);
28980 {
28981 PyThreadState* __tstate = wxPyBeginAllowThreads();
28982 (arg1)->SetPPIPrinter(arg2,arg3);
28983 wxPyEndAllowThreads(__tstate);
28984 if (PyErr_Occurred()) SWIG_fail;
28985 }
28986 resultobj = SWIG_Py_Void();
28987 return resultobj;
28988 fail:
28989 return NULL;
28990 }
28991
28992
28993 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28994 PyObject *resultobj = 0;
28995 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28996 int *arg2 = (int *) 0 ;
28997 int *arg3 = (int *) 0 ;
28998 void *argp1 = 0 ;
28999 int res1 = 0 ;
29000 int temp2 ;
29001 int res2 = SWIG_TMPOBJ ;
29002 int temp3 ;
29003 int res3 = SWIG_TMPOBJ ;
29004 PyObject *swig_obj[1] ;
29005
29006 arg2 = &temp2;
29007 arg3 = &temp3;
29008 if (!args) SWIG_fail;
29009 swig_obj[0] = args;
29010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29011 if (!SWIG_IsOK(res1)) {
29012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29013 }
29014 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29015 {
29016 PyThreadState* __tstate = wxPyBeginAllowThreads();
29017 (arg1)->GetPPIPrinter(arg2,arg3);
29018 wxPyEndAllowThreads(__tstate);
29019 if (PyErr_Occurred()) SWIG_fail;
29020 }
29021 resultobj = SWIG_Py_Void();
29022 if (SWIG_IsTmpObj(res2)) {
29023 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29024 } else {
29025 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29026 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29027 }
29028 if (SWIG_IsTmpObj(res3)) {
29029 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29030 } else {
29031 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29032 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29033 }
29034 return resultobj;
29035 fail:
29036 return NULL;
29037 }
29038
29039
29040 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29041 PyObject *resultobj = 0;
29042 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29043 wxRect *arg2 = 0 ;
29044 void *argp1 = 0 ;
29045 int res1 = 0 ;
29046 wxRect temp2 ;
29047 PyObject * obj0 = 0 ;
29048 PyObject * obj1 = 0 ;
29049 char * kwnames[] = {
29050 (char *) "self",(char *) "paperRectPixels", NULL
29051 };
29052
29053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
29054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29055 if (!SWIG_IsOK(res1)) {
29056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29057 }
29058 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29059 {
29060 arg2 = &temp2;
29061 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
29062 }
29063 {
29064 PyThreadState* __tstate = wxPyBeginAllowThreads();
29065 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
29066 wxPyEndAllowThreads(__tstate);
29067 if (PyErr_Occurred()) SWIG_fail;
29068 }
29069 resultobj = SWIG_Py_Void();
29070 return resultobj;
29071 fail:
29072 return NULL;
29073 }
29074
29075
29076 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29077 PyObject *resultobj = 0;
29078 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29079 wxRect result;
29080 void *argp1 = 0 ;
29081 int res1 = 0 ;
29082 PyObject *swig_obj[1] ;
29083
29084 if (!args) SWIG_fail;
29085 swig_obj[0] = args;
29086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29087 if (!SWIG_IsOK(res1)) {
29088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
29089 }
29090 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29091 {
29092 PyThreadState* __tstate = wxPyBeginAllowThreads();
29093 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
29094 wxPyEndAllowThreads(__tstate);
29095 if (PyErr_Occurred()) SWIG_fail;
29096 }
29097 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
29098 return resultobj;
29099 fail:
29100 return NULL;
29101 }
29102
29103
29104 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29105 PyObject *resultobj = 0;
29106 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29107 bool result;
29108 void *argp1 = 0 ;
29109 int res1 = 0 ;
29110 PyObject *swig_obj[1] ;
29111
29112 if (!args) SWIG_fail;
29113 swig_obj[0] = args;
29114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29115 if (!SWIG_IsOK(res1)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29117 }
29118 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29119 {
29120 PyThreadState* __tstate = wxPyBeginAllowThreads();
29121 result = (bool)(arg1)->IsPreview();
29122 wxPyEndAllowThreads(__tstate);
29123 if (PyErr_Occurred()) SWIG_fail;
29124 }
29125 {
29126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29127 }
29128 return resultobj;
29129 fail:
29130 return NULL;
29131 }
29132
29133
29134 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29135 PyObject *resultobj = 0;
29136 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29137 bool arg2 ;
29138 void *argp1 = 0 ;
29139 int res1 = 0 ;
29140 bool val2 ;
29141 int ecode2 = 0 ;
29142 PyObject * obj0 = 0 ;
29143 PyObject * obj1 = 0 ;
29144 char * kwnames[] = {
29145 (char *) "self",(char *) "p", NULL
29146 };
29147
29148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
29149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29150 if (!SWIG_IsOK(res1)) {
29151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29152 }
29153 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29154 ecode2 = SWIG_AsVal_bool(obj1, &val2);
29155 if (!SWIG_IsOK(ecode2)) {
29156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29157 }
29158 arg2 = static_cast< bool >(val2);
29159 {
29160 PyThreadState* __tstate = wxPyBeginAllowThreads();
29161 (arg1)->SetIsPreview(arg2);
29162 wxPyEndAllowThreads(__tstate);
29163 if (PyErr_Occurred()) SWIG_fail;
29164 }
29165 resultobj = SWIG_Py_Void();
29166 return resultobj;
29167 fail:
29168 return NULL;
29169 }
29170
29171
29172 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29173 PyObject *resultobj = 0;
29174 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29175 int arg2 ;
29176 int arg3 ;
29177 bool result;
29178 void *argp1 = 0 ;
29179 int res1 = 0 ;
29180 int val2 ;
29181 int ecode2 = 0 ;
29182 int val3 ;
29183 int ecode3 = 0 ;
29184 PyObject * obj0 = 0 ;
29185 PyObject * obj1 = 0 ;
29186 PyObject * obj2 = 0 ;
29187 char * kwnames[] = {
29188 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29189 };
29190
29191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
29192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29193 if (!SWIG_IsOK(res1)) {
29194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29195 }
29196 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29197 ecode2 = SWIG_AsVal_int(obj1, &val2);
29198 if (!SWIG_IsOK(ecode2)) {
29199 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29200 }
29201 arg2 = static_cast< int >(val2);
29202 ecode3 = SWIG_AsVal_int(obj2, &val3);
29203 if (!SWIG_IsOK(ecode3)) {
29204 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29205 }
29206 arg3 = static_cast< int >(val3);
29207 {
29208 PyThreadState* __tstate = wxPyBeginAllowThreads();
29209 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
29210 wxPyEndAllowThreads(__tstate);
29211 if (PyErr_Occurred()) SWIG_fail;
29212 }
29213 {
29214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29215 }
29216 return resultobj;
29217 fail:
29218 return NULL;
29219 }
29220
29221
29222 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29223 PyObject *resultobj = 0;
29224 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29225 void *argp1 = 0 ;
29226 int res1 = 0 ;
29227 PyObject *swig_obj[1] ;
29228
29229 if (!args) SWIG_fail;
29230 swig_obj[0] = args;
29231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29232 if (!SWIG_IsOK(res1)) {
29233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29234 }
29235 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29236 {
29237 PyThreadState* __tstate = wxPyBeginAllowThreads();
29238 (arg1)->OnEndDocument();
29239 wxPyEndAllowThreads(__tstate);
29240 if (PyErr_Occurred()) SWIG_fail;
29241 }
29242 resultobj = SWIG_Py_Void();
29243 return resultobj;
29244 fail:
29245 return NULL;
29246 }
29247
29248
29249 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29250 PyObject *resultobj = 0;
29251 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29252 void *argp1 = 0 ;
29253 int res1 = 0 ;
29254 PyObject *swig_obj[1] ;
29255
29256 if (!args) SWIG_fail;
29257 swig_obj[0] = args;
29258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29259 if (!SWIG_IsOK(res1)) {
29260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29261 }
29262 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29263 {
29264 PyThreadState* __tstate = wxPyBeginAllowThreads();
29265 (arg1)->OnBeginPrinting();
29266 wxPyEndAllowThreads(__tstate);
29267 if (PyErr_Occurred()) SWIG_fail;
29268 }
29269 resultobj = SWIG_Py_Void();
29270 return resultobj;
29271 fail:
29272 return NULL;
29273 }
29274
29275
29276 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29277 PyObject *resultobj = 0;
29278 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29279 void *argp1 = 0 ;
29280 int res1 = 0 ;
29281 PyObject *swig_obj[1] ;
29282
29283 if (!args) SWIG_fail;
29284 swig_obj[0] = args;
29285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29286 if (!SWIG_IsOK(res1)) {
29287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29288 }
29289 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29290 {
29291 PyThreadState* __tstate = wxPyBeginAllowThreads();
29292 (arg1)->OnEndPrinting();
29293 wxPyEndAllowThreads(__tstate);
29294 if (PyErr_Occurred()) SWIG_fail;
29295 }
29296 resultobj = SWIG_Py_Void();
29297 return resultobj;
29298 fail:
29299 return NULL;
29300 }
29301
29302
29303 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29304 PyObject *resultobj = 0;
29305 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29306 void *argp1 = 0 ;
29307 int res1 = 0 ;
29308 PyObject *swig_obj[1] ;
29309
29310 if (!args) SWIG_fail;
29311 swig_obj[0] = args;
29312 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29313 if (!SWIG_IsOK(res1)) {
29314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29315 }
29316 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29317 {
29318 PyThreadState* __tstate = wxPyBeginAllowThreads();
29319 (arg1)->OnPreparePrinting();
29320 wxPyEndAllowThreads(__tstate);
29321 if (PyErr_Occurred()) SWIG_fail;
29322 }
29323 resultobj = SWIG_Py_Void();
29324 return resultobj;
29325 fail:
29326 return NULL;
29327 }
29328
29329
29330 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29331 PyObject *resultobj = 0;
29332 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29333 int arg2 ;
29334 bool result;
29335 void *argp1 = 0 ;
29336 int res1 = 0 ;
29337 int val2 ;
29338 int ecode2 = 0 ;
29339 PyObject * obj0 = 0 ;
29340 PyObject * obj1 = 0 ;
29341 char * kwnames[] = {
29342 (char *) "self",(char *) "page", NULL
29343 };
29344
29345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
29346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29347 if (!SWIG_IsOK(res1)) {
29348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29349 }
29350 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29351 ecode2 = SWIG_AsVal_int(obj1, &val2);
29352 if (!SWIG_IsOK(ecode2)) {
29353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29354 }
29355 arg2 = static_cast< int >(val2);
29356 {
29357 PyThreadState* __tstate = wxPyBeginAllowThreads();
29358 result = (bool)(arg1)->HasPage(arg2);
29359 wxPyEndAllowThreads(__tstate);
29360 if (PyErr_Occurred()) SWIG_fail;
29361 }
29362 {
29363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29364 }
29365 return resultobj;
29366 fail:
29367 return NULL;
29368 }
29369
29370
29371 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29372 PyObject *resultobj = 0;
29373 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29374 int *arg2 = (int *) 0 ;
29375 int *arg3 = (int *) 0 ;
29376 int *arg4 = (int *) 0 ;
29377 int *arg5 = (int *) 0 ;
29378 void *argp1 = 0 ;
29379 int res1 = 0 ;
29380 int temp2 ;
29381 int res2 = SWIG_TMPOBJ ;
29382 int temp3 ;
29383 int res3 = SWIG_TMPOBJ ;
29384 int temp4 ;
29385 int res4 = SWIG_TMPOBJ ;
29386 int temp5 ;
29387 int res5 = SWIG_TMPOBJ ;
29388 PyObject *swig_obj[1] ;
29389
29390 arg2 = &temp2;
29391 arg3 = &temp3;
29392 arg4 = &temp4;
29393 arg5 = &temp5;
29394 if (!args) SWIG_fail;
29395 swig_obj[0] = args;
29396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29397 if (!SWIG_IsOK(res1)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29399 }
29400 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29401 {
29402 PyThreadState* __tstate = wxPyBeginAllowThreads();
29403 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29404 wxPyEndAllowThreads(__tstate);
29405 if (PyErr_Occurred()) SWIG_fail;
29406 }
29407 resultobj = SWIG_Py_Void();
29408 if (SWIG_IsTmpObj(res2)) {
29409 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29410 } else {
29411 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29412 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29413 }
29414 if (SWIG_IsTmpObj(res3)) {
29415 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29416 } else {
29417 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29418 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29419 }
29420 if (SWIG_IsTmpObj(res4)) {
29421 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29422 } else {
29423 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29424 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29425 }
29426 if (SWIG_IsTmpObj(res5)) {
29427 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29428 } else {
29429 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29430 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29431 }
29432 return resultobj;
29433 fail:
29434 return NULL;
29435 }
29436
29437
29438 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29439 PyObject *obj;
29440 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29441 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29442 return SWIG_Py_Void();
29443 }
29444
29445 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29446 return SWIG_Python_InitShadowInstance(args);
29447 }
29448
29449 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29450 PyObject *resultobj = 0;
29451 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29452 wxWindow *arg2 = (wxWindow *) 0 ;
29453 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29454 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29455 wxSize const &arg4_defvalue = wxDefaultSize ;
29456 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29457 long arg5 = (long) 0 ;
29458 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29459 wxString *arg6 = (wxString *) &arg6_defvalue ;
29460 wxPreviewCanvas *result = 0 ;
29461 void *argp1 = 0 ;
29462 int res1 = 0 ;
29463 void *argp2 = 0 ;
29464 int res2 = 0 ;
29465 wxPoint temp3 ;
29466 wxSize temp4 ;
29467 long val5 ;
29468 int ecode5 = 0 ;
29469 bool temp6 = false ;
29470 PyObject * obj0 = 0 ;
29471 PyObject * obj1 = 0 ;
29472 PyObject * obj2 = 0 ;
29473 PyObject * obj3 = 0 ;
29474 PyObject * obj4 = 0 ;
29475 PyObject * obj5 = 0 ;
29476 char * kwnames[] = {
29477 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29478 };
29479
29480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29482 if (!SWIG_IsOK(res1)) {
29483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29484 }
29485 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29486 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29487 if (!SWIG_IsOK(res2)) {
29488 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29489 }
29490 arg2 = reinterpret_cast< wxWindow * >(argp2);
29491 if (obj2) {
29492 {
29493 arg3 = &temp3;
29494 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29495 }
29496 }
29497 if (obj3) {
29498 {
29499 arg4 = &temp4;
29500 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29501 }
29502 }
29503 if (obj4) {
29504 ecode5 = SWIG_AsVal_long(obj4, &val5);
29505 if (!SWIG_IsOK(ecode5)) {
29506 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29507 }
29508 arg5 = static_cast< long >(val5);
29509 }
29510 if (obj5) {
29511 {
29512 arg6 = wxString_in_helper(obj5);
29513 if (arg6 == NULL) SWIG_fail;
29514 temp6 = true;
29515 }
29516 }
29517 {
29518 if (!wxPyCheckForApp()) SWIG_fail;
29519 PyThreadState* __tstate = wxPyBeginAllowThreads();
29520 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29521 wxPyEndAllowThreads(__tstate);
29522 if (PyErr_Occurred()) SWIG_fail;
29523 }
29524 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29525 {
29526 if (temp6)
29527 delete arg6;
29528 }
29529 return resultobj;
29530 fail:
29531 {
29532 if (temp6)
29533 delete arg6;
29534 }
29535 return NULL;
29536 }
29537
29538
29539 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29540 PyObject *obj;
29541 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29542 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29543 return SWIG_Py_Void();
29544 }
29545
29546 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29547 return SWIG_Python_InitShadowInstance(args);
29548 }
29549
29550 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29551 PyObject *resultobj = 0;
29552 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29553 wxFrame *arg2 = (wxFrame *) 0 ;
29554 wxString *arg3 = 0 ;
29555 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29556 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29557 wxSize const &arg5_defvalue = wxDefaultSize ;
29558 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29559 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29560 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29561 wxString *arg7 = (wxString *) &arg7_defvalue ;
29562 wxPreviewFrame *result = 0 ;
29563 int res1 = 0 ;
29564 void *argp2 = 0 ;
29565 int res2 = 0 ;
29566 bool temp3 = false ;
29567 wxPoint temp4 ;
29568 wxSize temp5 ;
29569 long val6 ;
29570 int ecode6 = 0 ;
29571 bool temp7 = false ;
29572 PyObject * obj0 = 0 ;
29573 PyObject * obj1 = 0 ;
29574 PyObject * obj2 = 0 ;
29575 PyObject * obj3 = 0 ;
29576 PyObject * obj4 = 0 ;
29577 PyObject * obj5 = 0 ;
29578 PyObject * obj6 = 0 ;
29579 char * kwnames[] = {
29580 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29581 };
29582
29583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29584 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29585 if (!SWIG_IsOK(res1)) {
29586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29587 }
29588 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29589 if (!SWIG_IsOK(res2)) {
29590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29591 }
29592 arg2 = reinterpret_cast< wxFrame * >(argp2);
29593 {
29594 arg3 = wxString_in_helper(obj2);
29595 if (arg3 == NULL) SWIG_fail;
29596 temp3 = true;
29597 }
29598 if (obj3) {
29599 {
29600 arg4 = &temp4;
29601 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29602 }
29603 }
29604 if (obj4) {
29605 {
29606 arg5 = &temp5;
29607 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29608 }
29609 }
29610 if (obj5) {
29611 ecode6 = SWIG_AsVal_long(obj5, &val6);
29612 if (!SWIG_IsOK(ecode6)) {
29613 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29614 }
29615 arg6 = static_cast< long >(val6);
29616 }
29617 if (obj6) {
29618 {
29619 arg7 = wxString_in_helper(obj6);
29620 if (arg7 == NULL) SWIG_fail;
29621 temp7 = true;
29622 }
29623 }
29624 {
29625 if (!wxPyCheckForApp()) SWIG_fail;
29626 PyThreadState* __tstate = wxPyBeginAllowThreads();
29627 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29628 wxPyEndAllowThreads(__tstate);
29629 if (PyErr_Occurred()) SWIG_fail;
29630 }
29631 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29632 {
29633 if (temp3)
29634 delete arg3;
29635 }
29636 {
29637 if (temp7)
29638 delete arg7;
29639 }
29640 return resultobj;
29641 fail:
29642 {
29643 if (temp3)
29644 delete arg3;
29645 }
29646 {
29647 if (temp7)
29648 delete arg7;
29649 }
29650 return NULL;
29651 }
29652
29653
29654 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29655 PyObject *resultobj = 0;
29656 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29657 void *argp1 = 0 ;
29658 int res1 = 0 ;
29659 PyObject *swig_obj[1] ;
29660
29661 if (!args) SWIG_fail;
29662 swig_obj[0] = args;
29663 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29664 if (!SWIG_IsOK(res1)) {
29665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29666 }
29667 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29668 {
29669 PyThreadState* __tstate = wxPyBeginAllowThreads();
29670 (arg1)->Initialize();
29671 wxPyEndAllowThreads(__tstate);
29672 if (PyErr_Occurred()) SWIG_fail;
29673 }
29674 resultobj = SWIG_Py_Void();
29675 return resultobj;
29676 fail:
29677 return NULL;
29678 }
29679
29680
29681 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29682 PyObject *resultobj = 0;
29683 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29684 void *argp1 = 0 ;
29685 int res1 = 0 ;
29686 PyObject *swig_obj[1] ;
29687
29688 if (!args) SWIG_fail;
29689 swig_obj[0] = args;
29690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29691 if (!SWIG_IsOK(res1)) {
29692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29693 }
29694 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29695 {
29696 PyThreadState* __tstate = wxPyBeginAllowThreads();
29697 (arg1)->CreateControlBar();
29698 wxPyEndAllowThreads(__tstate);
29699 if (PyErr_Occurred()) SWIG_fail;
29700 }
29701 resultobj = SWIG_Py_Void();
29702 return resultobj;
29703 fail:
29704 return NULL;
29705 }
29706
29707
29708 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29709 PyObject *resultobj = 0;
29710 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29711 void *argp1 = 0 ;
29712 int res1 = 0 ;
29713 PyObject *swig_obj[1] ;
29714
29715 if (!args) SWIG_fail;
29716 swig_obj[0] = args;
29717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29718 if (!SWIG_IsOK(res1)) {
29719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29720 }
29721 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29722 {
29723 PyThreadState* __tstate = wxPyBeginAllowThreads();
29724 (arg1)->CreateCanvas();
29725 wxPyEndAllowThreads(__tstate);
29726 if (PyErr_Occurred()) SWIG_fail;
29727 }
29728 resultobj = SWIG_Py_Void();
29729 return resultobj;
29730 fail:
29731 return NULL;
29732 }
29733
29734
29735 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29736 PyObject *resultobj = 0;
29737 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29738 wxPreviewControlBar *result = 0 ;
29739 void *argp1 = 0 ;
29740 int res1 = 0 ;
29741 PyObject *swig_obj[1] ;
29742
29743 if (!args) SWIG_fail;
29744 swig_obj[0] = args;
29745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29746 if (!SWIG_IsOK(res1)) {
29747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29748 }
29749 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29750 {
29751 PyThreadState* __tstate = wxPyBeginAllowThreads();
29752 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29753 wxPyEndAllowThreads(__tstate);
29754 if (PyErr_Occurred()) SWIG_fail;
29755 }
29756 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29757 return resultobj;
29758 fail:
29759 return NULL;
29760 }
29761
29762
29763 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29764 PyObject *obj;
29765 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29766 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29767 return SWIG_Py_Void();
29768 }
29769
29770 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29771 return SWIG_Python_InitShadowInstance(args);
29772 }
29773
29774 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29775 PyObject *resultobj = 0;
29776 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29777 long arg2 ;
29778 wxWindow *arg3 = (wxWindow *) 0 ;
29779 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29780 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29781 wxSize const &arg5_defvalue = wxDefaultSize ;
29782 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29783 long arg6 = (long) wxTAB_TRAVERSAL ;
29784 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29785 wxString *arg7 = (wxString *) &arg7_defvalue ;
29786 wxPreviewControlBar *result = 0 ;
29787 void *argp1 = 0 ;
29788 int res1 = 0 ;
29789 long val2 ;
29790 int ecode2 = 0 ;
29791 void *argp3 = 0 ;
29792 int res3 = 0 ;
29793 wxPoint temp4 ;
29794 wxSize temp5 ;
29795 long val6 ;
29796 int ecode6 = 0 ;
29797 bool temp7 = false ;
29798 PyObject * obj0 = 0 ;
29799 PyObject * obj1 = 0 ;
29800 PyObject * obj2 = 0 ;
29801 PyObject * obj3 = 0 ;
29802 PyObject * obj4 = 0 ;
29803 PyObject * obj5 = 0 ;
29804 PyObject * obj6 = 0 ;
29805 char * kwnames[] = {
29806 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29807 };
29808
29809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29811 if (!SWIG_IsOK(res1)) {
29812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29813 }
29814 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29815 ecode2 = SWIG_AsVal_long(obj1, &val2);
29816 if (!SWIG_IsOK(ecode2)) {
29817 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29818 }
29819 arg2 = static_cast< long >(val2);
29820 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29821 if (!SWIG_IsOK(res3)) {
29822 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29823 }
29824 arg3 = reinterpret_cast< wxWindow * >(argp3);
29825 if (obj3) {
29826 {
29827 arg4 = &temp4;
29828 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29829 }
29830 }
29831 if (obj4) {
29832 {
29833 arg5 = &temp5;
29834 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29835 }
29836 }
29837 if (obj5) {
29838 ecode6 = SWIG_AsVal_long(obj5, &val6);
29839 if (!SWIG_IsOK(ecode6)) {
29840 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29841 }
29842 arg6 = static_cast< long >(val6);
29843 }
29844 if (obj6) {
29845 {
29846 arg7 = wxString_in_helper(obj6);
29847 if (arg7 == NULL) SWIG_fail;
29848 temp7 = true;
29849 }
29850 }
29851 {
29852 if (!wxPyCheckForApp()) SWIG_fail;
29853 PyThreadState* __tstate = wxPyBeginAllowThreads();
29854 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29855 wxPyEndAllowThreads(__tstate);
29856 if (PyErr_Occurred()) SWIG_fail;
29857 }
29858 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29859 {
29860 if (temp7)
29861 delete arg7;
29862 }
29863 return resultobj;
29864 fail:
29865 {
29866 if (temp7)
29867 delete arg7;
29868 }
29869 return NULL;
29870 }
29871
29872
29873 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29874 PyObject *resultobj = 0;
29875 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29876 int result;
29877 void *argp1 = 0 ;
29878 int res1 = 0 ;
29879 PyObject *swig_obj[1] ;
29880
29881 if (!args) SWIG_fail;
29882 swig_obj[0] = args;
29883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29884 if (!SWIG_IsOK(res1)) {
29885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29886 }
29887 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29888 {
29889 PyThreadState* __tstate = wxPyBeginAllowThreads();
29890 result = (int)(arg1)->GetZoomControl();
29891 wxPyEndAllowThreads(__tstate);
29892 if (PyErr_Occurred()) SWIG_fail;
29893 }
29894 resultobj = SWIG_From_int(static_cast< int >(result));
29895 return resultobj;
29896 fail:
29897 return NULL;
29898 }
29899
29900
29901 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29902 PyObject *resultobj = 0;
29903 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29904 int arg2 ;
29905 void *argp1 = 0 ;
29906 int res1 = 0 ;
29907 int val2 ;
29908 int ecode2 = 0 ;
29909 PyObject * obj0 = 0 ;
29910 PyObject * obj1 = 0 ;
29911 char * kwnames[] = {
29912 (char *) "self",(char *) "zoom", NULL
29913 };
29914
29915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29917 if (!SWIG_IsOK(res1)) {
29918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29919 }
29920 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29921 ecode2 = SWIG_AsVal_int(obj1, &val2);
29922 if (!SWIG_IsOK(ecode2)) {
29923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29924 }
29925 arg2 = static_cast< int >(val2);
29926 {
29927 PyThreadState* __tstate = wxPyBeginAllowThreads();
29928 (arg1)->SetZoomControl(arg2);
29929 wxPyEndAllowThreads(__tstate);
29930 if (PyErr_Occurred()) SWIG_fail;
29931 }
29932 resultobj = SWIG_Py_Void();
29933 return resultobj;
29934 fail:
29935 return NULL;
29936 }
29937
29938
29939 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29940 PyObject *resultobj = 0;
29941 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29942 wxPrintPreview *result = 0 ;
29943 void *argp1 = 0 ;
29944 int res1 = 0 ;
29945 PyObject *swig_obj[1] ;
29946
29947 if (!args) SWIG_fail;
29948 swig_obj[0] = args;
29949 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29950 if (!SWIG_IsOK(res1)) {
29951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29952 }
29953 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29954 {
29955 PyThreadState* __tstate = wxPyBeginAllowThreads();
29956 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29957 wxPyEndAllowThreads(__tstate);
29958 if (PyErr_Occurred()) SWIG_fail;
29959 }
29960 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29961 return resultobj;
29962 fail:
29963 return NULL;
29964 }
29965
29966
29967 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29968 PyObject *resultobj = 0;
29969 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29970 void *argp1 = 0 ;
29971 int res1 = 0 ;
29972 PyObject *swig_obj[1] ;
29973
29974 if (!args) SWIG_fail;
29975 swig_obj[0] = args;
29976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29977 if (!SWIG_IsOK(res1)) {
29978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29979 }
29980 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29981 {
29982 PyThreadState* __tstate = wxPyBeginAllowThreads();
29983 (arg1)->OnNext();
29984 wxPyEndAllowThreads(__tstate);
29985 if (PyErr_Occurred()) SWIG_fail;
29986 }
29987 resultobj = SWIG_Py_Void();
29988 return resultobj;
29989 fail:
29990 return NULL;
29991 }
29992
29993
29994 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29995 PyObject *resultobj = 0;
29996 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29997 void *argp1 = 0 ;
29998 int res1 = 0 ;
29999 PyObject *swig_obj[1] ;
30000
30001 if (!args) SWIG_fail;
30002 swig_obj[0] = args;
30003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30004 if (!SWIG_IsOK(res1)) {
30005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30006 }
30007 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30008 {
30009 PyThreadState* __tstate = wxPyBeginAllowThreads();
30010 (arg1)->OnPrevious();
30011 wxPyEndAllowThreads(__tstate);
30012 if (PyErr_Occurred()) SWIG_fail;
30013 }
30014 resultobj = SWIG_Py_Void();
30015 return resultobj;
30016 fail:
30017 return NULL;
30018 }
30019
30020
30021 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30022 PyObject *resultobj = 0;
30023 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30024 void *argp1 = 0 ;
30025 int res1 = 0 ;
30026 PyObject *swig_obj[1] ;
30027
30028 if (!args) SWIG_fail;
30029 swig_obj[0] = args;
30030 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30031 if (!SWIG_IsOK(res1)) {
30032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30033 }
30034 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30035 {
30036 PyThreadState* __tstate = wxPyBeginAllowThreads();
30037 (arg1)->OnFirst();
30038 wxPyEndAllowThreads(__tstate);
30039 if (PyErr_Occurred()) SWIG_fail;
30040 }
30041 resultobj = SWIG_Py_Void();
30042 return resultobj;
30043 fail:
30044 return NULL;
30045 }
30046
30047
30048 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30049 PyObject *resultobj = 0;
30050 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30051 void *argp1 = 0 ;
30052 int res1 = 0 ;
30053 PyObject *swig_obj[1] ;
30054
30055 if (!args) SWIG_fail;
30056 swig_obj[0] = args;
30057 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30058 if (!SWIG_IsOK(res1)) {
30059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30060 }
30061 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30062 {
30063 PyThreadState* __tstate = wxPyBeginAllowThreads();
30064 (arg1)->OnLast();
30065 wxPyEndAllowThreads(__tstate);
30066 if (PyErr_Occurred()) SWIG_fail;
30067 }
30068 resultobj = SWIG_Py_Void();
30069 return resultobj;
30070 fail:
30071 return NULL;
30072 }
30073
30074
30075 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30076 PyObject *resultobj = 0;
30077 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
30078 void *argp1 = 0 ;
30079 int res1 = 0 ;
30080 PyObject *swig_obj[1] ;
30081
30082 if (!args) SWIG_fail;
30083 swig_obj[0] = args;
30084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
30085 if (!SWIG_IsOK(res1)) {
30086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
30087 }
30088 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
30089 {
30090 PyThreadState* __tstate = wxPyBeginAllowThreads();
30091 (arg1)->OnGoto();
30092 wxPyEndAllowThreads(__tstate);
30093 if (PyErr_Occurred()) SWIG_fail;
30094 }
30095 resultobj = SWIG_Py_Void();
30096 return resultobj;
30097 fail:
30098 return NULL;
30099 }
30100
30101
30102 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30103 PyObject *obj;
30104 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30105 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
30106 return SWIG_Py_Void();
30107 }
30108
30109 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30110 return SWIG_Python_InitShadowInstance(args);
30111 }
30112
30113 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30114 PyObject *resultobj = 0;
30115 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30116 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30117 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30118 wxPrintPreview *result = 0 ;
30119 int res1 = 0 ;
30120 int res2 = 0 ;
30121 void *argp3 = 0 ;
30122 int res3 = 0 ;
30123
30124 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30125 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30126 if (!SWIG_IsOK(res1)) {
30127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30128 }
30129 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30130 if (!SWIG_IsOK(res2)) {
30131 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30132 }
30133 if (swig_obj[2]) {
30134 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30135 if (!SWIG_IsOK(res3)) {
30136 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30137 }
30138 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30139 }
30140 {
30141 if (!wxPyCheckForApp()) SWIG_fail;
30142 PyThreadState* __tstate = wxPyBeginAllowThreads();
30143 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30144 wxPyEndAllowThreads(__tstate);
30145 if (PyErr_Occurred()) SWIG_fail;
30146 }
30147 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30148 return resultobj;
30149 fail:
30150 return NULL;
30151 }
30152
30153
30154 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30155 PyObject *resultobj = 0;
30156 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30157 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30158 wxPrintData *arg3 = (wxPrintData *) 0 ;
30159 wxPrintPreview *result = 0 ;
30160 int res1 = 0 ;
30161 int res2 = 0 ;
30162 void *argp3 = 0 ;
30163 int res3 = 0 ;
30164
30165 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30166 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30167 if (!SWIG_IsOK(res1)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30169 }
30170 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30171 if (!SWIG_IsOK(res2)) {
30172 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30173 }
30174 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30175 if (!SWIG_IsOK(res3)) {
30176 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30177 }
30178 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30179 {
30180 if (!wxPyCheckForApp()) SWIG_fail;
30181 PyThreadState* __tstate = wxPyBeginAllowThreads();
30182 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
30183 wxPyEndAllowThreads(__tstate);
30184 if (PyErr_Occurred()) SWIG_fail;
30185 }
30186 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
30187 return resultobj;
30188 fail:
30189 return NULL;
30190 }
30191
30192
30193 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
30194 int argc;
30195 PyObject *argv[4];
30196
30197 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
30198 --argc;
30199 if ((argc >= 2) && (argc <= 3)) {
30200 int _v = 0;
30201 if (argc > 2) {
30202 {
30203 void *vptr = 0;
30204 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30205 _v = SWIG_CheckState(res);
30206 }
30207 if (!_v) goto check_1;
30208 }
30209 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
30210 }
30211 check_1:
30212
30213 if (argc == 3) {
30214 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
30215 }
30216
30217 fail:
30218 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
30219 return NULL;
30220 }
30221
30222
30223 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30224 PyObject *resultobj = 0;
30225 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30226 void *argp1 = 0 ;
30227 int res1 = 0 ;
30228 PyObject *swig_obj[1] ;
30229
30230 if (!args) SWIG_fail;
30231 swig_obj[0] = args;
30232 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30233 if (!SWIG_IsOK(res1)) {
30234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30235 }
30236 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30237 {
30238 PyThreadState* __tstate = wxPyBeginAllowThreads();
30239 delete arg1;
30240
30241 wxPyEndAllowThreads(__tstate);
30242 if (PyErr_Occurred()) SWIG_fail;
30243 }
30244 resultobj = SWIG_Py_Void();
30245 return resultobj;
30246 fail:
30247 return NULL;
30248 }
30249
30250
30251 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30252 PyObject *resultobj = 0;
30253 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30254 int arg2 ;
30255 bool result;
30256 void *argp1 = 0 ;
30257 int res1 = 0 ;
30258 int val2 ;
30259 int ecode2 = 0 ;
30260 PyObject * obj0 = 0 ;
30261 PyObject * obj1 = 0 ;
30262 char * kwnames[] = {
30263 (char *) "self",(char *) "pageNum", NULL
30264 };
30265
30266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
30267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30268 if (!SWIG_IsOK(res1)) {
30269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30270 }
30271 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30272 ecode2 = SWIG_AsVal_int(obj1, &val2);
30273 if (!SWIG_IsOK(ecode2)) {
30274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30275 }
30276 arg2 = static_cast< int >(val2);
30277 {
30278 PyThreadState* __tstate = wxPyBeginAllowThreads();
30279 result = (bool)(arg1)->SetCurrentPage(arg2);
30280 wxPyEndAllowThreads(__tstate);
30281 if (PyErr_Occurred()) SWIG_fail;
30282 }
30283 {
30284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30285 }
30286 return resultobj;
30287 fail:
30288 return NULL;
30289 }
30290
30291
30292 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30293 PyObject *resultobj = 0;
30294 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30295 int result;
30296 void *argp1 = 0 ;
30297 int res1 = 0 ;
30298 PyObject *swig_obj[1] ;
30299
30300 if (!args) SWIG_fail;
30301 swig_obj[0] = args;
30302 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30303 if (!SWIG_IsOK(res1)) {
30304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30305 }
30306 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30307 {
30308 PyThreadState* __tstate = wxPyBeginAllowThreads();
30309 result = (int)(arg1)->GetCurrentPage();
30310 wxPyEndAllowThreads(__tstate);
30311 if (PyErr_Occurred()) SWIG_fail;
30312 }
30313 resultobj = SWIG_From_int(static_cast< int >(result));
30314 return resultobj;
30315 fail:
30316 return NULL;
30317 }
30318
30319
30320 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30321 PyObject *resultobj = 0;
30322 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30323 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30324 void *argp1 = 0 ;
30325 int res1 = 0 ;
30326 int res2 = 0 ;
30327 PyObject * obj0 = 0 ;
30328 PyObject * obj1 = 0 ;
30329 char * kwnames[] = {
30330 (char *) "self",(char *) "printout", NULL
30331 };
30332
30333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
30334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30335 if (!SWIG_IsOK(res1)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30337 }
30338 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30339 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30340 if (!SWIG_IsOK(res2)) {
30341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30342 }
30343 {
30344 PyThreadState* __tstate = wxPyBeginAllowThreads();
30345 (arg1)->SetPrintout(arg2);
30346 wxPyEndAllowThreads(__tstate);
30347 if (PyErr_Occurred()) SWIG_fail;
30348 }
30349 resultobj = SWIG_Py_Void();
30350 return resultobj;
30351 fail:
30352 return NULL;
30353 }
30354
30355
30356 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30357 PyObject *resultobj = 0;
30358 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30359 wxPyPrintout *result = 0 ;
30360 void *argp1 = 0 ;
30361 int res1 = 0 ;
30362 PyObject *swig_obj[1] ;
30363
30364 if (!args) SWIG_fail;
30365 swig_obj[0] = args;
30366 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30367 if (!SWIG_IsOK(res1)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30369 }
30370 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30371 {
30372 PyThreadState* __tstate = wxPyBeginAllowThreads();
30373 result = (wxPyPrintout *)(arg1)->GetPrintout();
30374 wxPyEndAllowThreads(__tstate);
30375 if (PyErr_Occurred()) SWIG_fail;
30376 }
30377 {
30378 resultobj = wxPyMake_wxObject(result, 0);
30379 }
30380 return resultobj;
30381 fail:
30382 return NULL;
30383 }
30384
30385
30386 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30387 PyObject *resultobj = 0;
30388 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30389 wxPyPrintout *result = 0 ;
30390 void *argp1 = 0 ;
30391 int res1 = 0 ;
30392 PyObject *swig_obj[1] ;
30393
30394 if (!args) SWIG_fail;
30395 swig_obj[0] = args;
30396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30397 if (!SWIG_IsOK(res1)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30399 }
30400 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30401 {
30402 PyThreadState* __tstate = wxPyBeginAllowThreads();
30403 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30404 wxPyEndAllowThreads(__tstate);
30405 if (PyErr_Occurred()) SWIG_fail;
30406 }
30407 {
30408 resultobj = wxPyMake_wxObject(result, 0);
30409 }
30410 return resultobj;
30411 fail:
30412 return NULL;
30413 }
30414
30415
30416 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30417 PyObject *resultobj = 0;
30418 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30419 wxFrame *arg2 = (wxFrame *) 0 ;
30420 void *argp1 = 0 ;
30421 int res1 = 0 ;
30422 void *argp2 = 0 ;
30423 int res2 = 0 ;
30424 PyObject * obj0 = 0 ;
30425 PyObject * obj1 = 0 ;
30426 char * kwnames[] = {
30427 (char *) "self",(char *) "frame", NULL
30428 };
30429
30430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30432 if (!SWIG_IsOK(res1)) {
30433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30434 }
30435 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30436 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30437 if (!SWIG_IsOK(res2)) {
30438 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30439 }
30440 arg2 = reinterpret_cast< wxFrame * >(argp2);
30441 {
30442 PyThreadState* __tstate = wxPyBeginAllowThreads();
30443 (arg1)->SetFrame(arg2);
30444 wxPyEndAllowThreads(__tstate);
30445 if (PyErr_Occurred()) SWIG_fail;
30446 }
30447 resultobj = SWIG_Py_Void();
30448 return resultobj;
30449 fail:
30450 return NULL;
30451 }
30452
30453
30454 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30455 PyObject *resultobj = 0;
30456 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30457 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30458 void *argp1 = 0 ;
30459 int res1 = 0 ;
30460 void *argp2 = 0 ;
30461 int res2 = 0 ;
30462 PyObject * obj0 = 0 ;
30463 PyObject * obj1 = 0 ;
30464 char * kwnames[] = {
30465 (char *) "self",(char *) "canvas", NULL
30466 };
30467
30468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30470 if (!SWIG_IsOK(res1)) {
30471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30472 }
30473 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30474 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30475 if (!SWIG_IsOK(res2)) {
30476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30477 }
30478 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30479 {
30480 PyThreadState* __tstate = wxPyBeginAllowThreads();
30481 (arg1)->SetCanvas(arg2);
30482 wxPyEndAllowThreads(__tstate);
30483 if (PyErr_Occurred()) SWIG_fail;
30484 }
30485 resultobj = SWIG_Py_Void();
30486 return resultobj;
30487 fail:
30488 return NULL;
30489 }
30490
30491
30492 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30493 PyObject *resultobj = 0;
30494 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30495 wxFrame *result = 0 ;
30496 void *argp1 = 0 ;
30497 int res1 = 0 ;
30498 PyObject *swig_obj[1] ;
30499
30500 if (!args) SWIG_fail;
30501 swig_obj[0] = args;
30502 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30503 if (!SWIG_IsOK(res1)) {
30504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30505 }
30506 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30507 {
30508 PyThreadState* __tstate = wxPyBeginAllowThreads();
30509 result = (wxFrame *)(arg1)->GetFrame();
30510 wxPyEndAllowThreads(__tstate);
30511 if (PyErr_Occurred()) SWIG_fail;
30512 }
30513 {
30514 resultobj = wxPyMake_wxObject(result, 0);
30515 }
30516 return resultobj;
30517 fail:
30518 return NULL;
30519 }
30520
30521
30522 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30523 PyObject *resultobj = 0;
30524 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30525 wxPreviewCanvas *result = 0 ;
30526 void *argp1 = 0 ;
30527 int res1 = 0 ;
30528 PyObject *swig_obj[1] ;
30529
30530 if (!args) SWIG_fail;
30531 swig_obj[0] = args;
30532 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30533 if (!SWIG_IsOK(res1)) {
30534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30535 }
30536 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30537 {
30538 PyThreadState* __tstate = wxPyBeginAllowThreads();
30539 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30540 wxPyEndAllowThreads(__tstate);
30541 if (PyErr_Occurred()) SWIG_fail;
30542 }
30543 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30544 return resultobj;
30545 fail:
30546 return NULL;
30547 }
30548
30549
30550 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30551 PyObject *resultobj = 0;
30552 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30553 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30554 wxDC *arg3 = 0 ;
30555 bool result;
30556 void *argp1 = 0 ;
30557 int res1 = 0 ;
30558 void *argp2 = 0 ;
30559 int res2 = 0 ;
30560 void *argp3 = 0 ;
30561 int res3 = 0 ;
30562 PyObject * obj0 = 0 ;
30563 PyObject * obj1 = 0 ;
30564 PyObject * obj2 = 0 ;
30565 char * kwnames[] = {
30566 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30567 };
30568
30569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30571 if (!SWIG_IsOK(res1)) {
30572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30573 }
30574 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30575 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30576 if (!SWIG_IsOK(res2)) {
30577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30578 }
30579 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30580 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30581 if (!SWIG_IsOK(res3)) {
30582 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30583 }
30584 if (!argp3) {
30585 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30586 }
30587 arg3 = reinterpret_cast< wxDC * >(argp3);
30588 {
30589 PyThreadState* __tstate = wxPyBeginAllowThreads();
30590 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30591 wxPyEndAllowThreads(__tstate);
30592 if (PyErr_Occurred()) SWIG_fail;
30593 }
30594 {
30595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30596 }
30597 return resultobj;
30598 fail:
30599 return NULL;
30600 }
30601
30602
30603 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30604 PyObject *resultobj = 0;
30605 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30606 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30607 wxDC *arg3 = 0 ;
30608 bool result;
30609 void *argp1 = 0 ;
30610 int res1 = 0 ;
30611 void *argp2 = 0 ;
30612 int res2 = 0 ;
30613 void *argp3 = 0 ;
30614 int res3 = 0 ;
30615 PyObject * obj0 = 0 ;
30616 PyObject * obj1 = 0 ;
30617 PyObject * obj2 = 0 ;
30618 char * kwnames[] = {
30619 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30620 };
30621
30622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30624 if (!SWIG_IsOK(res1)) {
30625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30626 }
30627 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30628 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30629 if (!SWIG_IsOK(res2)) {
30630 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30631 }
30632 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30633 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30634 if (!SWIG_IsOK(res3)) {
30635 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30636 }
30637 if (!argp3) {
30638 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30639 }
30640 arg3 = reinterpret_cast< wxDC * >(argp3);
30641 {
30642 PyThreadState* __tstate = wxPyBeginAllowThreads();
30643 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30644 wxPyEndAllowThreads(__tstate);
30645 if (PyErr_Occurred()) SWIG_fail;
30646 }
30647 {
30648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30649 }
30650 return resultobj;
30651 fail:
30652 return NULL;
30653 }
30654
30655
30656 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30657 PyObject *resultobj = 0;
30658 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30659 int arg2 ;
30660 bool result;
30661 void *argp1 = 0 ;
30662 int res1 = 0 ;
30663 int val2 ;
30664 int ecode2 = 0 ;
30665 PyObject * obj0 = 0 ;
30666 PyObject * obj1 = 0 ;
30667 char * kwnames[] = {
30668 (char *) "self",(char *) "pageNum", NULL
30669 };
30670
30671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30673 if (!SWIG_IsOK(res1)) {
30674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30675 }
30676 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30677 ecode2 = SWIG_AsVal_int(obj1, &val2);
30678 if (!SWIG_IsOK(ecode2)) {
30679 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30680 }
30681 arg2 = static_cast< int >(val2);
30682 {
30683 PyThreadState* __tstate = wxPyBeginAllowThreads();
30684 result = (bool)(arg1)->RenderPage(arg2);
30685 wxPyEndAllowThreads(__tstate);
30686 if (PyErr_Occurred()) SWIG_fail;
30687 }
30688 {
30689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30690 }
30691 return resultobj;
30692 fail:
30693 return NULL;
30694 }
30695
30696
30697 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30698 PyObject *resultobj = 0;
30699 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30700 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30701 void *argp1 = 0 ;
30702 int res1 = 0 ;
30703 void *argp2 = 0 ;
30704 int res2 = 0 ;
30705 PyObject * obj0 = 0 ;
30706 PyObject * obj1 = 0 ;
30707 char * kwnames[] = {
30708 (char *) "self",(char *) "canvas", NULL
30709 };
30710
30711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30713 if (!SWIG_IsOK(res1)) {
30714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30715 }
30716 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30717 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30718 if (!SWIG_IsOK(res2)) {
30719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30720 }
30721 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30722 {
30723 PyThreadState* __tstate = wxPyBeginAllowThreads();
30724 (arg1)->AdjustScrollbars(arg2);
30725 wxPyEndAllowThreads(__tstate);
30726 if (PyErr_Occurred()) SWIG_fail;
30727 }
30728 resultobj = SWIG_Py_Void();
30729 return resultobj;
30730 fail:
30731 return NULL;
30732 }
30733
30734
30735 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30736 PyObject *resultobj = 0;
30737 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30738 wxPrintDialogData *result = 0 ;
30739 void *argp1 = 0 ;
30740 int res1 = 0 ;
30741 PyObject *swig_obj[1] ;
30742
30743 if (!args) SWIG_fail;
30744 swig_obj[0] = args;
30745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30746 if (!SWIG_IsOK(res1)) {
30747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30748 }
30749 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30750 {
30751 PyThreadState* __tstate = wxPyBeginAllowThreads();
30752 {
30753 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30754 result = (wxPrintDialogData *) &_result_ref;
30755 }
30756 wxPyEndAllowThreads(__tstate);
30757 if (PyErr_Occurred()) SWIG_fail;
30758 }
30759 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30760 return resultobj;
30761 fail:
30762 return NULL;
30763 }
30764
30765
30766 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30767 PyObject *resultobj = 0;
30768 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30769 int arg2 ;
30770 void *argp1 = 0 ;
30771 int res1 = 0 ;
30772 int val2 ;
30773 int ecode2 = 0 ;
30774 PyObject * obj0 = 0 ;
30775 PyObject * obj1 = 0 ;
30776 char * kwnames[] = {
30777 (char *) "self",(char *) "percent", NULL
30778 };
30779
30780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30782 if (!SWIG_IsOK(res1)) {
30783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30784 }
30785 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30786 ecode2 = SWIG_AsVal_int(obj1, &val2);
30787 if (!SWIG_IsOK(ecode2)) {
30788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30789 }
30790 arg2 = static_cast< int >(val2);
30791 {
30792 PyThreadState* __tstate = wxPyBeginAllowThreads();
30793 (arg1)->SetZoom(arg2);
30794 wxPyEndAllowThreads(__tstate);
30795 if (PyErr_Occurred()) SWIG_fail;
30796 }
30797 resultobj = SWIG_Py_Void();
30798 return resultobj;
30799 fail:
30800 return NULL;
30801 }
30802
30803
30804 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30805 PyObject *resultobj = 0;
30806 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30807 int result;
30808 void *argp1 = 0 ;
30809 int res1 = 0 ;
30810 PyObject *swig_obj[1] ;
30811
30812 if (!args) SWIG_fail;
30813 swig_obj[0] = args;
30814 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30815 if (!SWIG_IsOK(res1)) {
30816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30817 }
30818 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30819 {
30820 PyThreadState* __tstate = wxPyBeginAllowThreads();
30821 result = (int)(arg1)->GetZoom();
30822 wxPyEndAllowThreads(__tstate);
30823 if (PyErr_Occurred()) SWIG_fail;
30824 }
30825 resultobj = SWIG_From_int(static_cast< int >(result));
30826 return resultobj;
30827 fail:
30828 return NULL;
30829 }
30830
30831
30832 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30833 PyObject *resultobj = 0;
30834 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30835 int result;
30836 void *argp1 = 0 ;
30837 int res1 = 0 ;
30838 PyObject *swig_obj[1] ;
30839
30840 if (!args) SWIG_fail;
30841 swig_obj[0] = args;
30842 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30843 if (!SWIG_IsOK(res1)) {
30844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30845 }
30846 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30847 {
30848 PyThreadState* __tstate = wxPyBeginAllowThreads();
30849 result = (int)(arg1)->GetMaxPage();
30850 wxPyEndAllowThreads(__tstate);
30851 if (PyErr_Occurred()) SWIG_fail;
30852 }
30853 resultobj = SWIG_From_int(static_cast< int >(result));
30854 return resultobj;
30855 fail:
30856 return NULL;
30857 }
30858
30859
30860 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30861 PyObject *resultobj = 0;
30862 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30863 int result;
30864 void *argp1 = 0 ;
30865 int res1 = 0 ;
30866 PyObject *swig_obj[1] ;
30867
30868 if (!args) SWIG_fail;
30869 swig_obj[0] = args;
30870 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30871 if (!SWIG_IsOK(res1)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30873 }
30874 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30875 {
30876 PyThreadState* __tstate = wxPyBeginAllowThreads();
30877 result = (int)(arg1)->GetMinPage();
30878 wxPyEndAllowThreads(__tstate);
30879 if (PyErr_Occurred()) SWIG_fail;
30880 }
30881 resultobj = SWIG_From_int(static_cast< int >(result));
30882 return resultobj;
30883 fail:
30884 return NULL;
30885 }
30886
30887
30888 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30889 PyObject *resultobj = 0;
30890 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30891 bool result;
30892 void *argp1 = 0 ;
30893 int res1 = 0 ;
30894 PyObject *swig_obj[1] ;
30895
30896 if (!args) SWIG_fail;
30897 swig_obj[0] = args;
30898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30899 if (!SWIG_IsOK(res1)) {
30900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30901 }
30902 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30903 {
30904 PyThreadState* __tstate = wxPyBeginAllowThreads();
30905 result = (bool)(arg1)->IsOk();
30906 wxPyEndAllowThreads(__tstate);
30907 if (PyErr_Occurred()) SWIG_fail;
30908 }
30909 {
30910 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30911 }
30912 return resultobj;
30913 fail:
30914 return NULL;
30915 }
30916
30917
30918 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30919 PyObject *resultobj = 0;
30920 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30921 bool arg2 ;
30922 void *argp1 = 0 ;
30923 int res1 = 0 ;
30924 bool val2 ;
30925 int ecode2 = 0 ;
30926 PyObject * obj0 = 0 ;
30927 PyObject * obj1 = 0 ;
30928 char * kwnames[] = {
30929 (char *) "self",(char *) "ok", NULL
30930 };
30931
30932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30934 if (!SWIG_IsOK(res1)) {
30935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30936 }
30937 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30938 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30939 if (!SWIG_IsOK(ecode2)) {
30940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30941 }
30942 arg2 = static_cast< bool >(val2);
30943 {
30944 PyThreadState* __tstate = wxPyBeginAllowThreads();
30945 (arg1)->SetOk(arg2);
30946 wxPyEndAllowThreads(__tstate);
30947 if (PyErr_Occurred()) SWIG_fail;
30948 }
30949 resultobj = SWIG_Py_Void();
30950 return resultobj;
30951 fail:
30952 return NULL;
30953 }
30954
30955
30956 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30957 PyObject *resultobj = 0;
30958 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30959 bool arg2 ;
30960 bool result;
30961 void *argp1 = 0 ;
30962 int res1 = 0 ;
30963 bool val2 ;
30964 int ecode2 = 0 ;
30965 PyObject * obj0 = 0 ;
30966 PyObject * obj1 = 0 ;
30967 char * kwnames[] = {
30968 (char *) "self",(char *) "interactive", NULL
30969 };
30970
30971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30973 if (!SWIG_IsOK(res1)) {
30974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30975 }
30976 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30977 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30978 if (!SWIG_IsOK(ecode2)) {
30979 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30980 }
30981 arg2 = static_cast< bool >(val2);
30982 {
30983 PyThreadState* __tstate = wxPyBeginAllowThreads();
30984 result = (bool)(arg1)->Print(arg2);
30985 wxPyEndAllowThreads(__tstate);
30986 if (PyErr_Occurred()) SWIG_fail;
30987 }
30988 {
30989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30990 }
30991 return resultobj;
30992 fail:
30993 return NULL;
30994 }
30995
30996
30997 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30998 PyObject *resultobj = 0;
30999 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31000 void *argp1 = 0 ;
31001 int res1 = 0 ;
31002 PyObject *swig_obj[1] ;
31003
31004 if (!args) SWIG_fail;
31005 swig_obj[0] = args;
31006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
31007 if (!SWIG_IsOK(res1)) {
31008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31009 }
31010 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
31011 {
31012 PyThreadState* __tstate = wxPyBeginAllowThreads();
31013 (arg1)->DetermineScaling();
31014 wxPyEndAllowThreads(__tstate);
31015 if (PyErr_Occurred()) SWIG_fail;
31016 }
31017 resultobj = SWIG_Py_Void();
31018 return resultobj;
31019 fail:
31020 return NULL;
31021 }
31022
31023
31024 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31025 PyObject *obj;
31026 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
31028 return SWIG_Py_Void();
31029 }
31030
31031 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31032 return SWIG_Python_InitShadowInstance(args);
31033 }
31034
31035 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31036 PyObject *resultobj = 0;
31037 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31038 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31039 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
31040 wxPyPrintPreview *result = 0 ;
31041 int res1 = 0 ;
31042 int res2 = 0 ;
31043 void *argp3 = 0 ;
31044 int res3 = 0 ;
31045
31046 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
31047 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31048 if (!SWIG_IsOK(res1)) {
31049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31050 }
31051 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31052 if (!SWIG_IsOK(res2)) {
31053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31054 }
31055 if (swig_obj[2]) {
31056 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
31057 if (!SWIG_IsOK(res3)) {
31058 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
31059 }
31060 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
31061 }
31062 {
31063 if (!wxPyCheckForApp()) SWIG_fail;
31064 PyThreadState* __tstate = wxPyBeginAllowThreads();
31065 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31066 wxPyEndAllowThreads(__tstate);
31067 if (PyErr_Occurred()) SWIG_fail;
31068 }
31069 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31070 return resultobj;
31071 fail:
31072 return NULL;
31073 }
31074
31075
31076 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
31077 PyObject *resultobj = 0;
31078 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
31079 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
31080 wxPrintData *arg3 = (wxPrintData *) 0 ;
31081 wxPyPrintPreview *result = 0 ;
31082 int res1 = 0 ;
31083 int res2 = 0 ;
31084 void *argp3 = 0 ;
31085 int res3 = 0 ;
31086
31087 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
31088 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31089 if (!SWIG_IsOK(res1)) {
31090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
31091 }
31092 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
31093 if (!SWIG_IsOK(res2)) {
31094 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
31095 }
31096 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
31097 if (!SWIG_IsOK(res3)) {
31098 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
31099 }
31100 arg3 = reinterpret_cast< wxPrintData * >(argp3);
31101 {
31102 if (!wxPyCheckForApp()) SWIG_fail;
31103 PyThreadState* __tstate = wxPyBeginAllowThreads();
31104 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
31105 wxPyEndAllowThreads(__tstate);
31106 if (PyErr_Occurred()) SWIG_fail;
31107 }
31108 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
31109 return resultobj;
31110 fail:
31111 return NULL;
31112 }
31113
31114
31115 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
31116 int argc;
31117 PyObject *argv[4];
31118
31119 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
31120 --argc;
31121 if ((argc >= 2) && (argc <= 3)) {
31122 int _v = 0;
31123 if (argc > 2) {
31124 {
31125 void *vptr = 0;
31126 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
31127 _v = SWIG_CheckState(res);
31128 }
31129 if (!_v) goto check_1;
31130 }
31131 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
31132 }
31133 check_1:
31134
31135 if (argc == 3) {
31136 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
31137 }
31138
31139 fail:
31140 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
31141 return NULL;
31142 }
31143
31144
31145 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31146 PyObject *resultobj = 0;
31147 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
31148 PyObject *arg2 = (PyObject *) 0 ;
31149 PyObject *arg3 = (PyObject *) 0 ;
31150 void *argp1 = 0 ;
31151 int res1 = 0 ;
31152 PyObject * obj0 = 0 ;
31153 PyObject * obj1 = 0 ;
31154 PyObject * obj2 = 0 ;
31155 char * kwnames[] = {
31156 (char *) "self",(char *) "self",(char *) "_class", NULL
31157 };
31158
31159 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31160 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
31161 if (!SWIG_IsOK(res1)) {
31162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31163 }
31164 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
31165 arg2 = obj1;
31166 arg3 = obj2;
31167 {
31168 PyThreadState* __tstate = wxPyBeginAllowThreads();
31169 (arg1)->_setCallbackInfo(arg2,arg3);
31170 wxPyEndAllowThreads(__tstate);
31171 if (PyErr_Occurred()) SWIG_fail;
31172 }
31173 resultobj = SWIG_Py_Void();
31174 return resultobj;
31175 fail:
31176 return NULL;
31177 }
31178
31179
31180 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31181 PyObject *obj;
31182 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31183 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
31184 return SWIG_Py_Void();
31185 }
31186
31187 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31188 return SWIG_Python_InitShadowInstance(args);
31189 }
31190
31191 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31192 PyObject *resultobj = 0;
31193 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31194 wxFrame *arg2 = (wxFrame *) 0 ;
31195 wxString *arg3 = 0 ;
31196 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31197 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31198 wxSize const &arg5_defvalue = wxDefaultSize ;
31199 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31200 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
31201 wxString const &arg7_defvalue = wxPyFrameNameStr ;
31202 wxString *arg7 = (wxString *) &arg7_defvalue ;
31203 wxPyPreviewFrame *result = 0 ;
31204 int res1 = 0 ;
31205 void *argp2 = 0 ;
31206 int res2 = 0 ;
31207 bool temp3 = false ;
31208 wxPoint temp4 ;
31209 wxSize temp5 ;
31210 long val6 ;
31211 int ecode6 = 0 ;
31212 bool temp7 = false ;
31213 PyObject * obj0 = 0 ;
31214 PyObject * obj1 = 0 ;
31215 PyObject * obj2 = 0 ;
31216 PyObject * obj3 = 0 ;
31217 PyObject * obj4 = 0 ;
31218 PyObject * obj5 = 0 ;
31219 PyObject * obj6 = 0 ;
31220 char * kwnames[] = {
31221 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31222 };
31223
31224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31225 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31226 if (!SWIG_IsOK(res1)) {
31227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31228 }
31229 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
31230 if (!SWIG_IsOK(res2)) {
31231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31232 }
31233 arg2 = reinterpret_cast< wxFrame * >(argp2);
31234 {
31235 arg3 = wxString_in_helper(obj2);
31236 if (arg3 == NULL) SWIG_fail;
31237 temp3 = true;
31238 }
31239 if (obj3) {
31240 {
31241 arg4 = &temp4;
31242 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31243 }
31244 }
31245 if (obj4) {
31246 {
31247 arg5 = &temp5;
31248 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31249 }
31250 }
31251 if (obj5) {
31252 ecode6 = SWIG_AsVal_long(obj5, &val6);
31253 if (!SWIG_IsOK(ecode6)) {
31254 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31255 }
31256 arg6 = static_cast< long >(val6);
31257 }
31258 if (obj6) {
31259 {
31260 arg7 = wxString_in_helper(obj6);
31261 if (arg7 == NULL) SWIG_fail;
31262 temp7 = true;
31263 }
31264 }
31265 {
31266 if (!wxPyCheckForApp()) SWIG_fail;
31267 PyThreadState* __tstate = wxPyBeginAllowThreads();
31268 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31269 wxPyEndAllowThreads(__tstate);
31270 if (PyErr_Occurred()) SWIG_fail;
31271 }
31272 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
31273 {
31274 if (temp3)
31275 delete arg3;
31276 }
31277 {
31278 if (temp7)
31279 delete arg7;
31280 }
31281 return resultobj;
31282 fail:
31283 {
31284 if (temp3)
31285 delete arg3;
31286 }
31287 {
31288 if (temp7)
31289 delete arg7;
31290 }
31291 return NULL;
31292 }
31293
31294
31295 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31296 PyObject *resultobj = 0;
31297 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31298 PyObject *arg2 = (PyObject *) 0 ;
31299 PyObject *arg3 = (PyObject *) 0 ;
31300 void *argp1 = 0 ;
31301 int res1 = 0 ;
31302 PyObject * obj0 = 0 ;
31303 PyObject * obj1 = 0 ;
31304 PyObject * obj2 = 0 ;
31305 char * kwnames[] = {
31306 (char *) "self",(char *) "self",(char *) "_class", NULL
31307 };
31308
31309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31310 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31311 if (!SWIG_IsOK(res1)) {
31312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31313 }
31314 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31315 arg2 = obj1;
31316 arg3 = obj2;
31317 {
31318 PyThreadState* __tstate = wxPyBeginAllowThreads();
31319 (arg1)->_setCallbackInfo(arg2,arg3);
31320 wxPyEndAllowThreads(__tstate);
31321 if (PyErr_Occurred()) SWIG_fail;
31322 }
31323 resultobj = SWIG_Py_Void();
31324 return resultobj;
31325 fail:
31326 return NULL;
31327 }
31328
31329
31330 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31331 PyObject *resultobj = 0;
31332 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31333 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
31334 void *argp1 = 0 ;
31335 int res1 = 0 ;
31336 void *argp2 = 0 ;
31337 int res2 = 0 ;
31338 PyObject * obj0 = 0 ;
31339 PyObject * obj1 = 0 ;
31340 char * kwnames[] = {
31341 (char *) "self",(char *) "canvas", NULL
31342 };
31343
31344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
31345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31346 if (!SWIG_IsOK(res1)) {
31347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31348 }
31349 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31350 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31351 if (!SWIG_IsOK(res2)) {
31352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31353 }
31354 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31355 {
31356 PyThreadState* __tstate = wxPyBeginAllowThreads();
31357 (arg1)->SetPreviewCanvas(arg2);
31358 wxPyEndAllowThreads(__tstate);
31359 if (PyErr_Occurred()) SWIG_fail;
31360 }
31361 resultobj = SWIG_Py_Void();
31362 return resultobj;
31363 fail:
31364 return NULL;
31365 }
31366
31367
31368 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31369 PyObject *resultobj = 0;
31370 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31371 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31372 void *argp1 = 0 ;
31373 int res1 = 0 ;
31374 void *argp2 = 0 ;
31375 int res2 = 0 ;
31376 PyObject * obj0 = 0 ;
31377 PyObject * obj1 = 0 ;
31378 char * kwnames[] = {
31379 (char *) "self",(char *) "bar", NULL
31380 };
31381
31382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31384 if (!SWIG_IsOK(res1)) {
31385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31386 }
31387 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31388 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31389 if (!SWIG_IsOK(res2)) {
31390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31391 }
31392 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31393 {
31394 PyThreadState* __tstate = wxPyBeginAllowThreads();
31395 (arg1)->SetControlBar(arg2);
31396 wxPyEndAllowThreads(__tstate);
31397 if (PyErr_Occurred()) SWIG_fail;
31398 }
31399 resultobj = SWIG_Py_Void();
31400 return resultobj;
31401 fail:
31402 return NULL;
31403 }
31404
31405
31406 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31407 PyObject *resultobj = 0;
31408 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31409 void *argp1 = 0 ;
31410 int res1 = 0 ;
31411 PyObject *swig_obj[1] ;
31412
31413 if (!args) SWIG_fail;
31414 swig_obj[0] = args;
31415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31416 if (!SWIG_IsOK(res1)) {
31417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31418 }
31419 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31420 {
31421 PyThreadState* __tstate = wxPyBeginAllowThreads();
31422 (arg1)->Initialize();
31423 wxPyEndAllowThreads(__tstate);
31424 if (PyErr_Occurred()) SWIG_fail;
31425 }
31426 resultobj = SWIG_Py_Void();
31427 return resultobj;
31428 fail:
31429 return NULL;
31430 }
31431
31432
31433 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31434 PyObject *resultobj = 0;
31435 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31436 void *argp1 = 0 ;
31437 int res1 = 0 ;
31438 PyObject *swig_obj[1] ;
31439
31440 if (!args) SWIG_fail;
31441 swig_obj[0] = args;
31442 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31443 if (!SWIG_IsOK(res1)) {
31444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31445 }
31446 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31447 {
31448 PyThreadState* __tstate = wxPyBeginAllowThreads();
31449 (arg1)->CreateCanvas();
31450 wxPyEndAllowThreads(__tstate);
31451 if (PyErr_Occurred()) SWIG_fail;
31452 }
31453 resultobj = SWIG_Py_Void();
31454 return resultobj;
31455 fail:
31456 return NULL;
31457 }
31458
31459
31460 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31461 PyObject *resultobj = 0;
31462 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31463 void *argp1 = 0 ;
31464 int res1 = 0 ;
31465 PyObject *swig_obj[1] ;
31466
31467 if (!args) SWIG_fail;
31468 swig_obj[0] = args;
31469 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31470 if (!SWIG_IsOK(res1)) {
31471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31472 }
31473 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31474 {
31475 PyThreadState* __tstate = wxPyBeginAllowThreads();
31476 (arg1)->CreateControlBar();
31477 wxPyEndAllowThreads(__tstate);
31478 if (PyErr_Occurred()) SWIG_fail;
31479 }
31480 resultobj = SWIG_Py_Void();
31481 return resultobj;
31482 fail:
31483 return NULL;
31484 }
31485
31486
31487 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31488 PyObject *obj;
31489 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31490 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31491 return SWIG_Py_Void();
31492 }
31493
31494 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31495 return SWIG_Python_InitShadowInstance(args);
31496 }
31497
31498 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31499 PyObject *resultobj = 0;
31500 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31501 long arg2 ;
31502 wxWindow *arg3 = (wxWindow *) 0 ;
31503 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31504 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31505 wxSize const &arg5_defvalue = wxDefaultSize ;
31506 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31507 long arg6 = (long) 0 ;
31508 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31509 wxString *arg7 = (wxString *) &arg7_defvalue ;
31510 wxPyPreviewControlBar *result = 0 ;
31511 int res1 = 0 ;
31512 long val2 ;
31513 int ecode2 = 0 ;
31514 void *argp3 = 0 ;
31515 int res3 = 0 ;
31516 wxPoint temp4 ;
31517 wxSize temp5 ;
31518 long val6 ;
31519 int ecode6 = 0 ;
31520 bool temp7 = false ;
31521 PyObject * obj0 = 0 ;
31522 PyObject * obj1 = 0 ;
31523 PyObject * obj2 = 0 ;
31524 PyObject * obj3 = 0 ;
31525 PyObject * obj4 = 0 ;
31526 PyObject * obj5 = 0 ;
31527 PyObject * obj6 = 0 ;
31528 char * kwnames[] = {
31529 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31530 };
31531
31532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31533 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31534 if (!SWIG_IsOK(res1)) {
31535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31536 }
31537 ecode2 = SWIG_AsVal_long(obj1, &val2);
31538 if (!SWIG_IsOK(ecode2)) {
31539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31540 }
31541 arg2 = static_cast< long >(val2);
31542 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31543 if (!SWIG_IsOK(res3)) {
31544 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31545 }
31546 arg3 = reinterpret_cast< wxWindow * >(argp3);
31547 if (obj3) {
31548 {
31549 arg4 = &temp4;
31550 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31551 }
31552 }
31553 if (obj4) {
31554 {
31555 arg5 = &temp5;
31556 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31557 }
31558 }
31559 if (obj5) {
31560 ecode6 = SWIG_AsVal_long(obj5, &val6);
31561 if (!SWIG_IsOK(ecode6)) {
31562 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31563 }
31564 arg6 = static_cast< long >(val6);
31565 }
31566 if (obj6) {
31567 {
31568 arg7 = wxString_in_helper(obj6);
31569 if (arg7 == NULL) SWIG_fail;
31570 temp7 = true;
31571 }
31572 }
31573 {
31574 if (!wxPyCheckForApp()) SWIG_fail;
31575 PyThreadState* __tstate = wxPyBeginAllowThreads();
31576 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31577 wxPyEndAllowThreads(__tstate);
31578 if (PyErr_Occurred()) SWIG_fail;
31579 }
31580 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31581 {
31582 if (temp7)
31583 delete arg7;
31584 }
31585 return resultobj;
31586 fail:
31587 {
31588 if (temp7)
31589 delete arg7;
31590 }
31591 return NULL;
31592 }
31593
31594
31595 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31596 PyObject *resultobj = 0;
31597 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31598 PyObject *arg2 = (PyObject *) 0 ;
31599 PyObject *arg3 = (PyObject *) 0 ;
31600 void *argp1 = 0 ;
31601 int res1 = 0 ;
31602 PyObject * obj0 = 0 ;
31603 PyObject * obj1 = 0 ;
31604 PyObject * obj2 = 0 ;
31605 char * kwnames[] = {
31606 (char *) "self",(char *) "self",(char *) "_class", NULL
31607 };
31608
31609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31611 if (!SWIG_IsOK(res1)) {
31612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31613 }
31614 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31615 arg2 = obj1;
31616 arg3 = obj2;
31617 {
31618 PyThreadState* __tstate = wxPyBeginAllowThreads();
31619 (arg1)->_setCallbackInfo(arg2,arg3);
31620 wxPyEndAllowThreads(__tstate);
31621 if (PyErr_Occurred()) SWIG_fail;
31622 }
31623 resultobj = SWIG_Py_Void();
31624 return resultobj;
31625 fail:
31626 return NULL;
31627 }
31628
31629
31630 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31631 PyObject *resultobj = 0;
31632 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31633 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31634 void *argp1 = 0 ;
31635 int res1 = 0 ;
31636 int res2 = 0 ;
31637 PyObject * obj0 = 0 ;
31638 PyObject * obj1 = 0 ;
31639 char * kwnames[] = {
31640 (char *) "self",(char *) "preview", NULL
31641 };
31642
31643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31645 if (!SWIG_IsOK(res1)) {
31646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31647 }
31648 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31649 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31650 if (!SWIG_IsOK(res2)) {
31651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31652 }
31653 {
31654 PyThreadState* __tstate = wxPyBeginAllowThreads();
31655 (arg1)->SetPrintPreview(arg2);
31656 wxPyEndAllowThreads(__tstate);
31657 if (PyErr_Occurred()) SWIG_fail;
31658 }
31659 resultobj = SWIG_Py_Void();
31660 return resultobj;
31661 fail:
31662 return NULL;
31663 }
31664
31665
31666 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31667 PyObject *resultobj = 0;
31668 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31669 void *argp1 = 0 ;
31670 int res1 = 0 ;
31671 PyObject *swig_obj[1] ;
31672
31673 if (!args) SWIG_fail;
31674 swig_obj[0] = args;
31675 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31676 if (!SWIG_IsOK(res1)) {
31677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31678 }
31679 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31680 {
31681 PyThreadState* __tstate = wxPyBeginAllowThreads();
31682 (arg1)->CreateButtons();
31683 wxPyEndAllowThreads(__tstate);
31684 if (PyErr_Occurred()) SWIG_fail;
31685 }
31686 resultobj = SWIG_Py_Void();
31687 return resultobj;
31688 fail:
31689 return NULL;
31690 }
31691
31692
31693 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31694 PyObject *resultobj = 0;
31695 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31696 int arg2 ;
31697 void *argp1 = 0 ;
31698 int res1 = 0 ;
31699 int val2 ;
31700 int ecode2 = 0 ;
31701 PyObject * obj0 = 0 ;
31702 PyObject * obj1 = 0 ;
31703 char * kwnames[] = {
31704 (char *) "self",(char *) "zoom", NULL
31705 };
31706
31707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31709 if (!SWIG_IsOK(res1)) {
31710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31711 }
31712 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31713 ecode2 = SWIG_AsVal_int(obj1, &val2);
31714 if (!SWIG_IsOK(ecode2)) {
31715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31716 }
31717 arg2 = static_cast< int >(val2);
31718 {
31719 PyThreadState* __tstate = wxPyBeginAllowThreads();
31720 (arg1)->SetZoomControl(arg2);
31721 wxPyEndAllowThreads(__tstate);
31722 if (PyErr_Occurred()) SWIG_fail;
31723 }
31724 resultobj = SWIG_Py_Void();
31725 return resultobj;
31726 fail:
31727 return NULL;
31728 }
31729
31730
31731 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31732 PyObject *obj;
31733 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31734 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31735 return SWIG_Py_Void();
31736 }
31737
31738 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31739 return SWIG_Python_InitShadowInstance(args);
31740 }
31741
31742 static PyMethodDef SwigMethods[] = {
31743 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31744 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31745 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31746 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31747 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31748 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31749 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31750 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31752 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31755 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31756 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31757 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31758 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31759 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31760 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31761 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31762 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31763 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31764 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31765 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31766 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31767 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31768 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31769 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31770 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31771 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31772 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31773 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31774 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31775 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31776 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31777 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31778 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31779 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31780 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31781 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31782 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31783 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31784 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31785 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31786 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31787 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31788 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31789 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31790 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31791 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31792 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31793 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31794 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31795 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31796 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31797 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31798 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31799 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31800 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31801 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31803 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31805 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31806 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31807 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31808 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31809 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31810 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31813 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31814 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31815 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31817 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31818 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31819 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31820 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31821 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31822 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31823 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31824 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31825 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31827 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31828 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31829 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31830 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31831 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31832 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31833 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31834 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31835 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31836 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31837 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31838 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31839 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31840 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31841 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31842 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31844 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31846 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31847 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31849 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31850 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31851 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31852 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31853 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31854 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31855 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31856 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31857 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31858 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31859 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31860 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31861 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31862 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31863 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31864 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31865 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31866 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31867 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31869 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31870 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31872 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31873 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31874 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31875 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31876 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31878 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31879 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31880 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31881 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31882 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31883 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31884 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31885 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31886 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31887 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31889 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31890 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31891 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31893 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31894 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31895 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31896 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31897 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31898 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31899 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31900 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31901 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31902 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31903 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31904 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31905 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31906 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31907 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31908 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31910 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31911 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31912 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31913 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31914 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31915 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31916 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31917 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31918 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31919 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31920 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31921 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31922 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31923 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31924 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31925 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31926 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31927 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31928 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31929 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31930 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31931 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31932 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31933 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31934 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31935 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31936 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31937 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31940 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31941 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31942 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31944 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31945 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31946 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31949 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31951 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31953 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31954 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31955 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31956 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31957 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31958 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31959 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31962 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31963 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31964 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31965 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31966 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31967 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31968 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31969 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31970 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31971 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31972 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31973 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31974 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31975 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31976 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31977 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31978 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31982 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31983 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31985 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31986 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31987 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31988 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31989 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31990 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31991 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31992 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31993 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31994 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31995 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31996 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31997 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31998 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31999 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
32000 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
32001 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32002 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
32003 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32004 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32005 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
32006 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
32007 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
32009 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
32012 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
32013 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
32014 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
32015 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
32017 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
32018 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
32019 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
32020 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
32021 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
32022 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32023 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
32024 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32025 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32026 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
32027 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
32028 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
32029 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
32031 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
32032 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
32033 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
32034 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
32035 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
32036 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
32037 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
32038 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32039 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
32041 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
32043 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
32044 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32045 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
32046 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32047 { (char *)"VListBox_RefreshSelected", (PyCFunction)_wrap_VListBox_RefreshSelected, METH_O, NULL},
32048 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
32049 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
32051 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
32052 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32053 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
32054 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
32058 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
32059 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
32060 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
32061 { (char *)"new_SimpleHtmlListBox", (PyCFunction) _wrap_new_SimpleHtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
32062 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction)_wrap_new_PreSimpleHtmlListBox, METH_NOARGS, NULL},
32063 { (char *)"SimpleHtmlListBox_Create", (PyCFunction) _wrap_SimpleHtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32064 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister, METH_VARARGS, NULL},
32065 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit, METH_VARARGS, NULL},
32066 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
32067 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
32068 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32069 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
32070 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
32071 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
32072 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
32073 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
32074 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
32075 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
32076 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
32077 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32078 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
32079 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
32080 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
32081 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
32082 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
32083 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
32084 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32085 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
32086 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32087 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
32088 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
32089 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
32090 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32091 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
32092 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
32093 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
32094 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32095 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32096 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
32097 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
32098 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32099 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32100 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
32101 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
32102 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32103 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
32104 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
32105 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
32106 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32107 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
32108 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
32109 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
32110 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
32111 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
32112 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
32113 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
32114 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
32115 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
32116 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
32117 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
32118 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
32119 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32120 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
32122 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
32123 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
32124 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32125 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
32126 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
32127 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32128 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
32129 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
32130 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32131 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
32132 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
32133 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
32134 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
32135 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32136 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
32137 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
32138 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32139 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
32140 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
32141 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
32142 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
32143 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
32144 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
32145 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
32146 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
32147 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
32148 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
32149 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
32150 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
32151 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
32152 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32154 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
32155 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
32156 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32157 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
32158 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
32159 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32160 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
32161 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
32162 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
32163 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
32164 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32165 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
32166 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
32167 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32168 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
32169 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
32170 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
32171 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
32172 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
32173 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
32174 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
32175 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
32176 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
32177 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
32178 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32179 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32180 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32181 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
32182 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
32183 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
32184 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
32185 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
32186 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
32187 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
32188 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
32189 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
32190 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
32191 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
32192 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
32193 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32194 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
32195 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32196 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
32197 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
32198 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
32199 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
32200 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32201 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
32202 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32203 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
32204 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
32205 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
32206 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
32207 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
32208 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
32209 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
32210 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
32211 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
32212 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32213 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
32214 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32215 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
32216 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
32217 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
32218 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32219 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
32220 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
32221 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
32222 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
32223 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32224 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
32225 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32226 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32227 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32228 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32229 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32230 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32231 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
32232 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
32233 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
32234 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
32235 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
32236 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
32237 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
32238 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
32239 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
32240 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
32241 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
32242 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32243 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32244 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32245 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32246 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32247 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32248 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
32249 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
32250 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
32251 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
32252 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
32253 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
32254 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
32255 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
32256 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
32257 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32258 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
32259 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32260 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
32261 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32262 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
32263 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
32264 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
32265 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
32266 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
32267 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
32268 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
32269 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
32270 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
32271 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
32272 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
32273 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
32274 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
32275 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
32276 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
32277 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
32278 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
32279 { (char *)"PrintData_IsOrientationReversed", (PyCFunction)_wrap_PrintData_IsOrientationReversed, METH_O, NULL},
32280 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
32281 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
32282 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
32283 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
32284 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
32285 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
32286 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
32287 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
32288 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
32289 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
32290 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32291 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32292 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32293 { (char *)"PrintData_SetOrientationReversed", (PyCFunction) _wrap_PrintData_SetOrientationReversed, METH_VARARGS | METH_KEYWORDS, NULL},
32294 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
32295 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
32296 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
32297 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32298 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32299 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
32300 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
32301 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
32302 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
32303 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
32304 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
32305 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
32306 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
32307 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
32308 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
32309 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
32310 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
32311 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32312 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32313 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
32314 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
32315 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32316 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
32317 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
32318 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
32319 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
32320 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
32321 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
32322 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
32323 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
32324 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
32325 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
32326 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
32327 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
32328 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
32329 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
32330 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
32331 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32332 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32333 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32334 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32335 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
32336 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
32337 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
32338 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
32339 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32340 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
32341 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
32342 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
32343 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
32344 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32345 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
32346 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
32347 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
32348 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
32349 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
32350 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
32351 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
32352 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
32353 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
32354 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32355 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32356 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32357 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32358 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32359 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32360 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32361 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32362 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32363 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32364 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32365 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32366 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32367 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32368 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32369 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32370 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32371 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32372 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32373 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32374 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32375 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32376 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32377 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32378 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32379 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32380 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32381 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32382 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32383 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32384 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32385 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32386 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32387 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32388 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32389 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32390 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32391 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32392 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32393 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32394 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32395 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32396 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32397 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32398 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32399 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32400 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32401 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32402 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32403 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32404 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32405 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32406 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32407 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32408 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32409 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32410 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32411 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32412 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32413 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32414 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32415 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32416 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32417 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32418 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32419 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32420 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32421 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32422 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32423 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32424 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32425 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32426 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32427 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32428 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32429 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32430 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32431 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32432 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32433 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32434 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32435 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32436 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32437 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32438 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32439 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32440 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32441 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32442 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32443 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32444 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32445 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32446 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32447 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32448 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32449 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32450 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32451 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32452 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32453 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32454 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32455 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32456 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32457 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32458 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32459 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32460 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32461 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32462 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32463 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32464 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32465 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32466 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32467 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32468 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32469 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32470 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32471 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32472 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32473 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32474 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32475 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32476 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32477 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32478 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32479 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32480 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32481 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32482 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32483 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32484 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32485 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32486 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32487 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32488 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32489 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32490 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32491 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32492 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32493 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32494 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32495 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32496 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32497 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32498 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32499 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32500 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32501 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32502 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32503 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32504 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32505 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32506 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32507 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32508 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32509 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32510 { NULL, NULL, 0, NULL }
32511 };
32512
32513
32514 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32515
32516 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32517 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32518 }
32519 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32520 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32521 }
32522 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32523 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32524 }
32525 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32526 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32527 }
32528 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32529 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32530 }
32531 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32532 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32533 }
32534 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32535 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32536 }
32537 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32538 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32539 }
32540 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32541 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32542 }
32543 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32544 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32545 }
32546 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32547 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32548 }
32549 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32550 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32551 }
32552 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32553 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32554 }
32555 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32556 return (void *)((wxEvent *) ((wxPyEvent *) x));
32557 }
32558 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32559 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32560 }
32561 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32562 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32563 }
32564 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32565 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32566 }
32567 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32568 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32569 }
32570 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32571 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32572 }
32573 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32574 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32575 }
32576 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32577 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32578 }
32579 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32580 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32581 }
32582 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32583 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32584 }
32585 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32586 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32587 }
32588 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32589 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32590 }
32591 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32592 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32593 }
32594 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32595 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32596 }
32597 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32598 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32599 }
32600 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32601 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32602 }
32603 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32604 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32605 }
32606 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32607 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32608 }
32609 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32610 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32611 }
32612 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32613 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32614 }
32615 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32616 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32617 }
32618 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32619 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32620 }
32621 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32622 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32623 }
32624 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32625 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32626 }
32627 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32628 return (void *)((wxEvent *) ((wxShowEvent *) x));
32629 }
32630 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32631 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32632 }
32633 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32634 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32635 }
32636 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32637 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32638 }
32639 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32640 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32641 }
32642 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32643 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32644 }
32645 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32646 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32647 }
32648 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32649 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32650 }
32651 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32652 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32653 }
32654 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x) {
32655 return (void *)((wxItemContainer *) ((wxSimpleHtmlListBox *) x));
32656 }
32657 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32658 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32659 }
32660 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32661 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32662 }
32663 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32664 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32665 }
32666 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32667 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32668 }
32669 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
32670 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
32671 }
32672 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32673 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32674 }
32675 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32676 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32677 }
32678 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32679 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32680 }
32681 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32682 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32683 }
32684 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32685 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32686 }
32687 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32688 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32689 }
32690 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32691 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32692 }
32693 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32694 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32695 }
32696 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32697 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32698 }
32699 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32700 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32701 }
32702 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32703 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32704 }
32705 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32706 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32707 }
32708 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32709 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32710 }
32711 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32712 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32713 }
32714 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32715 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32716 }
32717 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32718 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32719 }
32720 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32721 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32722 }
32723 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32724 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32725 }
32726 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32727 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32728 }
32729 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32730 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32731 }
32732 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32733 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32734 }
32735 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32736 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32737 }
32738 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32739 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32740 }
32741 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32742 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32743 }
32744 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32745 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32746 }
32747 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32748 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32749 }
32750 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32751 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32752 }
32753 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32754 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32755 }
32756 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32757 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32758 }
32759 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32760 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32761 }
32762 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32763 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32764 }
32765 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32766 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32767 }
32768 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32769 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32770 }
32771 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32772 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32773 }
32774 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32775 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32776 }
32777 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32778 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32779 }
32780 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32781 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32782 }
32783 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
32784 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32785 }
32786 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32787 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32788 }
32789 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32790 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32791 }
32792 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32793 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32794 }
32795 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32796 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32797 }
32798 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32799 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32800 }
32801 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32802 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32803 }
32804 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32805 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32806 }
32807 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32808 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32809 }
32810 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32811 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32812 }
32813 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32814 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32815 }
32816 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32817 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32818 }
32819 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32820 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32821 }
32822 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x) {
32823 return (void *)((wxPyVListBox *) (wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32824 }
32825 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x) {
32826 return (void *)((wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
32827 }
32828 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32829 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32830 }
32831 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32832 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32833 }
32834 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32835 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32836 }
32837 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32838 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32839 }
32840 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32841 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32842 }
32843 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32844 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32845 }
32846 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32847 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32848 }
32849 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32850 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32851 }
32852 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32853 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32854 }
32855 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
32856 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
32857 }
32858 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32860 }
32861 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32863 }
32864 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32865 return (void *)((wxObject *) ((wxSizerItem *) x));
32866 }
32867 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32868 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32869 }
32870 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32871 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32872 }
32873 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32874 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32875 }
32876 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32877 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32878 }
32879 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32880 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32881 }
32882 static void *_p_wxSizerTo_p_wxObject(void *x) {
32883 return (void *)((wxObject *) ((wxSizer *) x));
32884 }
32885 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32886 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32887 }
32888 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32889 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32890 }
32891 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32893 }
32894 static void *_p_wxEventTo_p_wxObject(void *x) {
32895 return (void *)((wxObject *) ((wxEvent *) x));
32896 }
32897 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32898 return (void *)((wxObject *) ((wxFontData *) x));
32899 }
32900 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32901 return (void *)((wxObject *) ((wxPrintData *) x));
32902 }
32903 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32904 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32905 }
32906 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32907 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32908 }
32909 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32910 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32911 }
32912 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32913 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32914 }
32915 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32916 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32917 }
32918 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32919 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32920 }
32921 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32922 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32923 }
32924 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32925 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32926 }
32927 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32928 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32929 }
32930 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32931 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32932 }
32933 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32934 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32935 }
32936 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32937 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32938 }
32939 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32940 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32941 }
32942 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32944 }
32945 static void *_p_wxControlTo_p_wxObject(void *x) {
32946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32947 }
32948 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32949 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32950 }
32951 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32952 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32953 }
32954 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32955 return (void *)((wxObject *) ((wxFSFile *) x));
32956 }
32957 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32958 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32959 }
32960 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32961 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32962 }
32963 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32965 }
32966 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32967 return (void *)((wxObject *) ((wxColourData *) x));
32968 }
32969 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32970 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32971 }
32972 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32973 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32974 }
32975 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32977 }
32978 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32980 }
32981 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32982 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32983 }
32984 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32986 }
32987 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32989 }
32990 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32992 }
32993 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32995 }
32996 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32998 }
32999 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
33000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33001 }
33002 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
33003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33004 }
33005 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
33006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33007 }
33008 static void *_p_wxShowEventTo_p_wxObject(void *x) {
33009 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
33010 }
33011 static void *_p_wxPrinterTo_p_wxObject(void *x) {
33012 return (void *)((wxObject *) ((wxPrinter *) x));
33013 }
33014 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
33015 return (void *)((wxObject *) ((wxMenuItem *) x));
33016 }
33017 static void *_p_wxDateEventTo_p_wxObject(void *x) {
33018 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
33019 }
33020 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
33021 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
33022 }
33023 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
33024 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
33025 }
33026 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
33027 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
33028 }
33029 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
33030 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
33031 }
33032 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
33033 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
33034 }
33035 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
33036 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
33037 }
33038 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
33039 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
33040 }
33041 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
33042 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
33043 }
33044 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
33045 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
33046 }
33047 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
33048 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
33049 }
33050 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
33051 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
33052 }
33053 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
33054 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
33055 }
33056 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
33057 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
33058 }
33059 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
33060 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
33061 }
33062 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
33063 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
33064 }
33065 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
33066 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
33067 }
33068 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
33069 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
33070 }
33071 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
33072 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
33073 }
33074 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
33075 return (void *)((wxObject *) ((wxImageHandler *) x));
33076 }
33077 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
33078 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
33079 }
33080 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
33081 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
33082 }
33083 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
33084 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
33085 }
33086 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
33087 return (void *)((wxObject *) ((wxEvtHandler *) x));
33088 }
33089 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
33090 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
33091 }
33092 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
33093 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
33094 }
33095 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
33096 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33097 }
33098 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
33099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33100 }
33101 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
33102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33103 }
33104 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33105 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33106 }
33107 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
33108 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
33109 }
33110 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
33111 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33112 }
33113 static void *_p_wxImageTo_p_wxObject(void *x) {
33114 return (void *)((wxObject *) ((wxImage *) x));
33115 }
33116 static void *_p_wxFrameTo_p_wxObject(void *x) {
33117 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
33118 }
33119 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
33120 return (void *)((wxObject *) ((wxPyPrintout *) x));
33121 }
33122 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33123 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33124 }
33125 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
33126 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
33127 }
33128 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
33129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
33130 }
33131 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
33132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33133 }
33134 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33135 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33136 }
33137 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33138 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33139 }
33140 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33141 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33142 }
33143 static void *_p_wxWindowTo_p_wxObject(void *x) {
33144 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33145 }
33146 static void *_p_wxMenuTo_p_wxObject(void *x) {
33147 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33148 }
33149 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33151 }
33152 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
33153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
33154 }
33155 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
33156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
33157 }
33158 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
33159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
33160 }
33161 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
33162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
33163 }
33164 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
33165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
33166 }
33167 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
33168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
33169 }
33170 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
33171 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
33172 }
33173 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
33174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33175 }
33176 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
33177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33178 }
33179 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
33180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
33181 }
33182 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
33183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
33184 }
33185 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
33186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33187 }
33188 static void *_p_wxSashEventTo_p_wxObject(void *x) {
33189 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
33190 }
33191 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
33192 return (void *)((wxObject *) ((wxPrintPreview *) x));
33193 }
33194 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
33195 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
33196 }
33197 static void *_p_wxPanelTo_p_wxObject(void *x) {
33198 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
33199 }
33200 static void *_p_wxDialogTo_p_wxObject(void *x) {
33201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
33202 }
33203 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
33204 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33205 }
33206 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
33207 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33208 }
33209 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
33210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33211 }
33212 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
33213 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
33214 }
33215 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
33216 return (void *)((wxObject *) ((wxPrintDialog *) x));
33217 }
33218 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33219 return (void *)((wxObject *) ((wxFileSystem *) x));
33220 }
33221 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33222 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33223 }
33224 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33225 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33226 }
33227 static void *_p_wxPyAppTo_p_wxObject(void *x) {
33228 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33229 }
33230 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33231 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33232 }
33233 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33234 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33235 }
33236 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33237 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33238 }
33239 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33240 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33241 }
33242 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33243 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33244 }
33245 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
33246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
33247 }
33248 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
33249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33250 }
33251 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33252 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33253 }
33254 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33255 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33256 }
33257 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33258 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33259 }
33260 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33261 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33262 }
33263 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
33264 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
33265 }
33266 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
33267 return (void *)((wxObject *) ((wxPrintDialogData *) x));
33268 }
33269 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33270 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33271 }
33272 static void *_p_wxValidatorTo_p_wxObject(void *x) {
33273 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33274 }
33275 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
33276 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33277 }
33278 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33279 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
33280 }
33281 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
33282 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33283 }
33284 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
33285 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33286 }
33287 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
33288 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33289 }
33290 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
33291 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33292 }
33293 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
33294 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
33295 }
33296 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
33297 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
33298 }
33299 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
33300 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
33301 }
33302 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
33303 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
33304 }
33305 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
33306 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
33307 }
33308 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
33309 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
33310 }
33311 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
33312 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
33313 }
33314 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
33315 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
33316 }
33317 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
33318 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
33319 }
33320 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
33321 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
33322 }
33323 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
33324 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
33325 }
33326 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
33327 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
33328 }
33329 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
33330 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33331 }
33332 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
33333 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
33334 }
33335 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33336 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
33337 }
33338 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
33339 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
33340 }
33341 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
33342 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
33343 }
33344 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
33345 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
33346 }
33347 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
33348 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
33349 }
33350 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33351 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
33352 }
33353 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
33354 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33355 }
33356 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
33357 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
33358 }
33359 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
33360 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
33361 }
33362 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
33363 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
33364 }
33365 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33366 return (void *)((wxWindow *) ((wxMenuBar *) x));
33367 }
33368 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
33369 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
33370 }
33371 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
33372 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
33373 }
33374 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
33375 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
33376 }
33377 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
33378 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
33379 }
33380 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
33381 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33382 }
33383 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33384 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33385 }
33386 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33387 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33388 }
33389 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33390 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33391 }
33392 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33393 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33394 }
33395 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33396 return (void *)((wxWindow *) ((wxPanel *) x));
33397 }
33398 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33399 return (void *)((wxWindow *) ((wxStatusBar *) x));
33400 }
33401 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33402 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33403 }
33404 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33405 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33406 }
33407 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33408 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33409 }
33410 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33411 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33412 }
33413 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33414 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33415 }
33416 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33417 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33418 }
33419 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33420 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33421 }
33422 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33423 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33424 }
33425 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33426 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33427 }
33428 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33429 return (void *)((wxWindow *) ((wxSashWindow *) x));
33430 }
33431 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33432 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33433 }
33434 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33435 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33436 }
33437 static void *_p_wxControlTo_p_wxWindow(void *x) {
33438 return (void *)((wxWindow *) ((wxControl *) x));
33439 }
33440 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33441 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33442 }
33443 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33444 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33445 }
33446 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33447 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33448 }
33449 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33450 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33451 }
33452 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33453 return (void *)((wxWindow *) ((wxPyWindow *) x));
33454 }
33455 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33456 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33457 }
33458 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
33459 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33460 }
33461 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33462 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33463 }
33464 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33465 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33466 }
33467 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33468 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33469 }
33470 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33471 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33472 }
33473 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33474 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33475 }
33476 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33477 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33478 }
33479 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33480 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33481 }
33482 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33483 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33484 }
33485 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33486 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33487 }
33488 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33489 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33490 }
33491 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33492 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33493 }
33494 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33495 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33496 }
33497 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33498 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33499 }
33500 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33501 return (void *)((wxDialog *) ((wxColourDialog *) x));
33502 }
33503 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33504 return (void *)((wxDialog *) ((wxDirDialog *) x));
33505 }
33506 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33507 return (void *)((wxDialog *) ((wxFontDialog *) x));
33508 }
33509 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33510 return (void *)((wxDialog *) ((wxFileDialog *) x));
33511 }
33512 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33513 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33514 }
33515 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33516 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33517 }
33518 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33519 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33520 }
33521 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33522 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33523 }
33524 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33525 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33526 }
33527 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33528 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33529 }
33530 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33531 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33532 }
33533 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33534 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33535 }
33536 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33537 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33538 }
33539 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33540 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33541 }
33542 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33543 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33544 }
33545 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33546 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33547 }
33548 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
33549 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
33550 }
33551 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33552 return (void *)((wxPanel *) ((wxPyPanel *) x));
33553 }
33554 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33555 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33556 }
33557 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33558 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33559 }
33560 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33561 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33562 }
33563 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33564 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33565 }
33566 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33567 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33568 }
33569 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33570 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33571 }
33572 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33573 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33574 }
33575 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33576 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33577 }
33578 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33579 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33580 }
33581 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33582 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33583 }
33584 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33585 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33586 }
33587 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33588 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33589 }
33590 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33591 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33592 }
33593 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33594 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33595 }
33596 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33597 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33598 }
33599 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33600 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33601 }
33602 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33603 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33604 }
33605 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33606 return (void *)((wxValidator *) ((wxPyValidator *) x));
33607 }
33608 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33609 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33610 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};
33611 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33612 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33613 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33614 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33615 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33616 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33617 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33618 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33619 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33620 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33621 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33622 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33623 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33624 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33625 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33626 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33627 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33628 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33629 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33630 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33631 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33632 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33633 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33634 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33635 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33636 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33637 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33638 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33639 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33640 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33641 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33642 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33643 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33644 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33645 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33646 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33647 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33648 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33649 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33650 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33651 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33652 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33653 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33654 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33655 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33656 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33657 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33658 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33659 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33660 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33661 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33662 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33663 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33664 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
33665 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33666 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33667 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33668 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33669 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33670 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33671 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33672 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33673 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33674 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33675 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33676 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33677 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33678 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33679 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33680 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33681 static swig_type_info _swigt__p_wxItemContainer = {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33682 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33683 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33684 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33685 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33686 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33687 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33688 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33689 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33690 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33691 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33692 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33693 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33694 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33695 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33696 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33697 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33698 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33699 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33700 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33701 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33702 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33703 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33704 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33705 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33706 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33707 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33708 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33709 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33710 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33711 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33712 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33713 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33714 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33715 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33716 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33717 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33718 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33719 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33720 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33721 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33722 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33723 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33724 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33725 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33726 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33727 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33728 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33729 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33730 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33731 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33732 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33733 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33734 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33735 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33736 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33737 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33738 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33739 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33740 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33741 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33742 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33743 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33744 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33745 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33746 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33747 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33748 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33749 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33750 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33751 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33752 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33753 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33754 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33755 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33756 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33757 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33758 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33759 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33760 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33761 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33762 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33763 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33764 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33765 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33766 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33767 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33768 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33769 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33770 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33771 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33772 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33773 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33774 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33775 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33776 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33777 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33778
33779 static swig_type_info *swig_type_initial[] = {
33780 &_swigt__p_bool,
33781 &_swigt__p_char,
33782 &_swigt__p_form_ops_t,
33783 &_swigt__p_int,
33784 &_swigt__p_unsigned_char,
33785 &_swigt__p_unsigned_int,
33786 &_swigt__p_unsigned_long,
33787 &_swigt__p_wxANIHandler,
33788 &_swigt__p_wxAcceleratorTable,
33789 &_swigt__p_wxActivateEvent,
33790 &_swigt__p_wxArrayInt,
33791 &_swigt__p_wxArrayString,
33792 &_swigt__p_wxBMPHandler,
33793 &_swigt__p_wxBitmap,
33794 &_swigt__p_wxBoxSizer,
33795 &_swigt__p_wxCURHandler,
33796 &_swigt__p_wxCalculateLayoutEvent,
33797 &_swigt__p_wxChildFocusEvent,
33798 &_swigt__p_wxClipboardTextEvent,
33799 &_swigt__p_wxCloseEvent,
33800 &_swigt__p_wxColour,
33801 &_swigt__p_wxColourData,
33802 &_swigt__p_wxColourDialog,
33803 &_swigt__p_wxCommandEvent,
33804 &_swigt__p_wxContextMenuEvent,
33805 &_swigt__p_wxControl,
33806 &_swigt__p_wxControlWithItems,
33807 &_swigt__p_wxDC,
33808 &_swigt__p_wxDateEvent,
33809 &_swigt__p_wxDialog,
33810 &_swigt__p_wxDirDialog,
33811 &_swigt__p_wxDisplayChangedEvent,
33812 &_swigt__p_wxDropFilesEvent,
33813 &_swigt__p_wxDuplexMode,
33814 &_swigt__p_wxEraseEvent,
33815 &_swigt__p_wxEvent,
33816 &_swigt__p_wxEventBlocker,
33817 &_swigt__p_wxEvtHandler,
33818 &_swigt__p_wxFSFile,
33819 &_swigt__p_wxFileDialog,
33820 &_swigt__p_wxFileSystem,
33821 &_swigt__p_wxFindDialogEvent,
33822 &_swigt__p_wxFindReplaceData,
33823 &_swigt__p_wxFindReplaceDialog,
33824 &_swigt__p_wxFlexGridSizer,
33825 &_swigt__p_wxFocusEvent,
33826 &_swigt__p_wxFont,
33827 &_swigt__p_wxFontData,
33828 &_swigt__p_wxFontDialog,
33829 &_swigt__p_wxFrame,
33830 &_swigt__p_wxGBSizerItem,
33831 &_swigt__p_wxGIFHandler,
33832 &_swigt__p_wxGridBagSizer,
33833 &_swigt__p_wxGridSizer,
33834 &_swigt__p_wxHtmlLinkInfo,
33835 &_swigt__p_wxICOHandler,
33836 &_swigt__p_wxIcon,
33837 &_swigt__p_wxIconBundle,
33838 &_swigt__p_wxIconizeEvent,
33839 &_swigt__p_wxIdleEvent,
33840 &_swigt__p_wxImage,
33841 &_swigt__p_wxImageHandler,
33842 &_swigt__p_wxIndividualLayoutConstraint,
33843 &_swigt__p_wxInitDialogEvent,
33844 &_swigt__p_wxItemContainer,
33845 &_swigt__p_wxJPEGHandler,
33846 &_swigt__p_wxKeyEvent,
33847 &_swigt__p_wxLayoutAlgorithm,
33848 &_swigt__p_wxLayoutConstraints,
33849 &_swigt__p_wxMDIChildFrame,
33850 &_swigt__p_wxMDIClientWindow,
33851 &_swigt__p_wxMDIParentFrame,
33852 &_swigt__p_wxMaximizeEvent,
33853 &_swigt__p_wxMenu,
33854 &_swigt__p_wxMenuBar,
33855 &_swigt__p_wxMenuEvent,
33856 &_swigt__p_wxMenuItem,
33857 &_swigt__p_wxMessageDialog,
33858 &_swigt__p_wxMiniFrame,
33859 &_swigt__p_wxMouseCaptureChangedEvent,
33860 &_swigt__p_wxMouseCaptureLostEvent,
33861 &_swigt__p_wxMouseEvent,
33862 &_swigt__p_wxMoveEvent,
33863 &_swigt__p_wxMultiChoiceDialog,
33864 &_swigt__p_wxNavigationKeyEvent,
33865 &_swigt__p_wxNcPaintEvent,
33866 &_swigt__p_wxNotifyEvent,
33867 &_swigt__p_wxNumberEntryDialog,
33868 &_swigt__p_wxObject,
33869 &_swigt__p_wxPCXHandler,
33870 &_swigt__p_wxPNGHandler,
33871 &_swigt__p_wxPNMHandler,
33872 &_swigt__p_wxPageSetupDialog,
33873 &_swigt__p_wxPageSetupDialogData,
33874 &_swigt__p_wxPaintEvent,
33875 &_swigt__p_wxPaletteChangedEvent,
33876 &_swigt__p_wxPanel,
33877 &_swigt__p_wxPaperSize,
33878 &_swigt__p_wxPasswordEntryDialog,
33879 &_swigt__p_wxPoint,
33880 &_swigt__p_wxPopupWindow,
33881 &_swigt__p_wxPreviewCanvas,
33882 &_swigt__p_wxPreviewControlBar,
33883 &_swigt__p_wxPreviewFrame,
33884 &_swigt__p_wxPrintData,
33885 &_swigt__p_wxPrintDialog,
33886 &_swigt__p_wxPrintDialogData,
33887 &_swigt__p_wxPrintPreview,
33888 &_swigt__p_wxPrinter,
33889 &_swigt__p_wxProgressDialog,
33890 &_swigt__p_wxPyApp,
33891 &_swigt__p_wxPyCommandEvent,
33892 &_swigt__p_wxPyEvent,
33893 &_swigt__p_wxPyHtmlListBox,
33894 &_swigt__p_wxPyImageHandler,
33895 &_swigt__p_wxPyPanel,
33896 &_swigt__p_wxPyPopupTransientWindow,
33897 &_swigt__p_wxPyPreviewControlBar,
33898 &_swigt__p_wxPyPreviewFrame,
33899 &_swigt__p_wxPyPrintPreview,
33900 &_swigt__p_wxPyPrintout,
33901 &_swigt__p_wxPyScrolledWindow,
33902 &_swigt__p_wxPySizer,
33903 &_swigt__p_wxPyTaskBarIcon,
33904 &_swigt__p_wxPyVListBox,
33905 &_swigt__p_wxPyVScrolledWindow,
33906 &_swigt__p_wxPyValidator,
33907 &_swigt__p_wxPyWindow,
33908 &_swigt__p_wxQueryLayoutInfoEvent,
33909 &_swigt__p_wxQueryNewPaletteEvent,
33910 &_swigt__p_wxRect,
33911 &_swigt__p_wxRegion,
33912 &_swigt__p_wxSashEvent,
33913 &_swigt__p_wxSashLayoutWindow,
33914 &_swigt__p_wxSashWindow,
33915 &_swigt__p_wxScrollEvent,
33916 &_swigt__p_wxScrollWinEvent,
33917 &_swigt__p_wxScrolledWindow,
33918 &_swigt__p_wxSetCursorEvent,
33919 &_swigt__p_wxShowEvent,
33920 &_swigt__p_wxSimpleHtmlListBox,
33921 &_swigt__p_wxSingleChoiceDialog,
33922 &_swigt__p_wxSize,
33923 &_swigt__p_wxSizeEvent,
33924 &_swigt__p_wxSizer,
33925 &_swigt__p_wxSizerItem,
33926 &_swigt__p_wxSplashScreen,
33927 &_swigt__p_wxSplashScreenWindow,
33928 &_swigt__p_wxSplitterEvent,
33929 &_swigt__p_wxSplitterWindow,
33930 &_swigt__p_wxStaticBoxSizer,
33931 &_swigt__p_wxStatusBar,
33932 &_swigt__p_wxStdDialogButtonSizer,
33933 &_swigt__p_wxString,
33934 &_swigt__p_wxSysColourChangedEvent,
33935 &_swigt__p_wxTGAHandler,
33936 &_swigt__p_wxTIFFHandler,
33937 &_swigt__p_wxTaskBarIcon,
33938 &_swigt__p_wxTaskBarIconEvent,
33939 &_swigt__p_wxTextEntryDialog,
33940 &_swigt__p_wxTipWindow,
33941 &_swigt__p_wxToolBar,
33942 &_swigt__p_wxTopLevelWindow,
33943 &_swigt__p_wxUpdateUIEvent,
33944 &_swigt__p_wxValidator,
33945 &_swigt__p_wxVisualAttributes,
33946 &_swigt__p_wxWindow,
33947 &_swigt__p_wxWindowCreateEvent,
33948 &_swigt__p_wxWindowDestroyEvent,
33949 &_swigt__p_wxXPMHandler,
33950 };
33951
33952 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33953 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33954 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33955 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33956 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33957 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33958 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33959 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33960 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
33961 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33962 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33963 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33964 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33965 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33966 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33967 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33968 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33969 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33970 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33971 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33972 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33973 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33974 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33975 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}};
33976 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33977 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}};
33978 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33979 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33980 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33981 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33982 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33983 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33984 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33985 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33986 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33987 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33988 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33989 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33990 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33991 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33992 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33993 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33994 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33995 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33996 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33997 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33998 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33999 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34000 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
34001 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
34002 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
34003 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
34004 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34005 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
34006 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
34007 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
34008 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
34009 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
34010 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
34011 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
34012 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
34013 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
34014 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
34015 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
34016 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
34017 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
34018 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
34019 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
34020 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
34021 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}};
34022 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
34023 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
34024 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
34025 static swig_cast_info _swigc__p_wxItemContainer[] = { {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer, 0, 0}, {&_swigt__p_wxItemContainer, 0, 0, 0},{0, 0, 0, 0}};
34026 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
34027 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
34028 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
34029 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
34030 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
34031 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
34032 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
34033 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
34034 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34035 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}};
34036 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34037 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
34038 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34039 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34040 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
34041 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34042 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
34043 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
34044 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
34045 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34046 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
34047 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
34048 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
34049 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
34050 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
34051 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
34052 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
34053 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
34054 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
34055 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
34056 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
34057 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
34058 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
34059 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34060 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
34061 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
34062 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
34063 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
34064 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
34065 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
34066 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
34067 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
34068 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
34069 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
34070 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
34071 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
34072 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
34073 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}};
34074 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
34075 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}};
34076 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}};
34077 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
34078 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
34079 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
34080 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}};
34081 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
34082 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
34083 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox, 0, 0},{0, 0, 0, 0}};
34084 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
34085 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}};
34086 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
34087 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
34088 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
34089 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
34090 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
34091 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34092 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
34093 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
34094 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
34095 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
34096 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
34097 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
34098 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
34099 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
34100 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}};
34101 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
34102 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}};
34103 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = { {&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
34104 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
34105 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
34106 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
34107 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
34108 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
34109 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
34110 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
34111 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
34112 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
34113 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
34114 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
34115 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}};
34116 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
34117 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
34118 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}};
34119 static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
34120 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
34121 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
34122
34123 static swig_cast_info *swig_cast_initial[] = {
34124 _swigc__p_bool,
34125 _swigc__p_char,
34126 _swigc__p_form_ops_t,
34127 _swigc__p_int,
34128 _swigc__p_unsigned_char,
34129 _swigc__p_unsigned_int,
34130 _swigc__p_unsigned_long,
34131 _swigc__p_wxANIHandler,
34132 _swigc__p_wxAcceleratorTable,
34133 _swigc__p_wxActivateEvent,
34134 _swigc__p_wxArrayInt,
34135 _swigc__p_wxArrayString,
34136 _swigc__p_wxBMPHandler,
34137 _swigc__p_wxBitmap,
34138 _swigc__p_wxBoxSizer,
34139 _swigc__p_wxCURHandler,
34140 _swigc__p_wxCalculateLayoutEvent,
34141 _swigc__p_wxChildFocusEvent,
34142 _swigc__p_wxClipboardTextEvent,
34143 _swigc__p_wxCloseEvent,
34144 _swigc__p_wxColour,
34145 _swigc__p_wxColourData,
34146 _swigc__p_wxColourDialog,
34147 _swigc__p_wxCommandEvent,
34148 _swigc__p_wxContextMenuEvent,
34149 _swigc__p_wxControl,
34150 _swigc__p_wxControlWithItems,
34151 _swigc__p_wxDC,
34152 _swigc__p_wxDateEvent,
34153 _swigc__p_wxDialog,
34154 _swigc__p_wxDirDialog,
34155 _swigc__p_wxDisplayChangedEvent,
34156 _swigc__p_wxDropFilesEvent,
34157 _swigc__p_wxDuplexMode,
34158 _swigc__p_wxEraseEvent,
34159 _swigc__p_wxEvent,
34160 _swigc__p_wxEventBlocker,
34161 _swigc__p_wxEvtHandler,
34162 _swigc__p_wxFSFile,
34163 _swigc__p_wxFileDialog,
34164 _swigc__p_wxFileSystem,
34165 _swigc__p_wxFindDialogEvent,
34166 _swigc__p_wxFindReplaceData,
34167 _swigc__p_wxFindReplaceDialog,
34168 _swigc__p_wxFlexGridSizer,
34169 _swigc__p_wxFocusEvent,
34170 _swigc__p_wxFont,
34171 _swigc__p_wxFontData,
34172 _swigc__p_wxFontDialog,
34173 _swigc__p_wxFrame,
34174 _swigc__p_wxGBSizerItem,
34175 _swigc__p_wxGIFHandler,
34176 _swigc__p_wxGridBagSizer,
34177 _swigc__p_wxGridSizer,
34178 _swigc__p_wxHtmlLinkInfo,
34179 _swigc__p_wxICOHandler,
34180 _swigc__p_wxIcon,
34181 _swigc__p_wxIconBundle,
34182 _swigc__p_wxIconizeEvent,
34183 _swigc__p_wxIdleEvent,
34184 _swigc__p_wxImage,
34185 _swigc__p_wxImageHandler,
34186 _swigc__p_wxIndividualLayoutConstraint,
34187 _swigc__p_wxInitDialogEvent,
34188 _swigc__p_wxItemContainer,
34189 _swigc__p_wxJPEGHandler,
34190 _swigc__p_wxKeyEvent,
34191 _swigc__p_wxLayoutAlgorithm,
34192 _swigc__p_wxLayoutConstraints,
34193 _swigc__p_wxMDIChildFrame,
34194 _swigc__p_wxMDIClientWindow,
34195 _swigc__p_wxMDIParentFrame,
34196 _swigc__p_wxMaximizeEvent,
34197 _swigc__p_wxMenu,
34198 _swigc__p_wxMenuBar,
34199 _swigc__p_wxMenuEvent,
34200 _swigc__p_wxMenuItem,
34201 _swigc__p_wxMessageDialog,
34202 _swigc__p_wxMiniFrame,
34203 _swigc__p_wxMouseCaptureChangedEvent,
34204 _swigc__p_wxMouseCaptureLostEvent,
34205 _swigc__p_wxMouseEvent,
34206 _swigc__p_wxMoveEvent,
34207 _swigc__p_wxMultiChoiceDialog,
34208 _swigc__p_wxNavigationKeyEvent,
34209 _swigc__p_wxNcPaintEvent,
34210 _swigc__p_wxNotifyEvent,
34211 _swigc__p_wxNumberEntryDialog,
34212 _swigc__p_wxObject,
34213 _swigc__p_wxPCXHandler,
34214 _swigc__p_wxPNGHandler,
34215 _swigc__p_wxPNMHandler,
34216 _swigc__p_wxPageSetupDialog,
34217 _swigc__p_wxPageSetupDialogData,
34218 _swigc__p_wxPaintEvent,
34219 _swigc__p_wxPaletteChangedEvent,
34220 _swigc__p_wxPanel,
34221 _swigc__p_wxPaperSize,
34222 _swigc__p_wxPasswordEntryDialog,
34223 _swigc__p_wxPoint,
34224 _swigc__p_wxPopupWindow,
34225 _swigc__p_wxPreviewCanvas,
34226 _swigc__p_wxPreviewControlBar,
34227 _swigc__p_wxPreviewFrame,
34228 _swigc__p_wxPrintData,
34229 _swigc__p_wxPrintDialog,
34230 _swigc__p_wxPrintDialogData,
34231 _swigc__p_wxPrintPreview,
34232 _swigc__p_wxPrinter,
34233 _swigc__p_wxProgressDialog,
34234 _swigc__p_wxPyApp,
34235 _swigc__p_wxPyCommandEvent,
34236 _swigc__p_wxPyEvent,
34237 _swigc__p_wxPyHtmlListBox,
34238 _swigc__p_wxPyImageHandler,
34239 _swigc__p_wxPyPanel,
34240 _swigc__p_wxPyPopupTransientWindow,
34241 _swigc__p_wxPyPreviewControlBar,
34242 _swigc__p_wxPyPreviewFrame,
34243 _swigc__p_wxPyPrintPreview,
34244 _swigc__p_wxPyPrintout,
34245 _swigc__p_wxPyScrolledWindow,
34246 _swigc__p_wxPySizer,
34247 _swigc__p_wxPyTaskBarIcon,
34248 _swigc__p_wxPyVListBox,
34249 _swigc__p_wxPyVScrolledWindow,
34250 _swigc__p_wxPyValidator,
34251 _swigc__p_wxPyWindow,
34252 _swigc__p_wxQueryLayoutInfoEvent,
34253 _swigc__p_wxQueryNewPaletteEvent,
34254 _swigc__p_wxRect,
34255 _swigc__p_wxRegion,
34256 _swigc__p_wxSashEvent,
34257 _swigc__p_wxSashLayoutWindow,
34258 _swigc__p_wxSashWindow,
34259 _swigc__p_wxScrollEvent,
34260 _swigc__p_wxScrollWinEvent,
34261 _swigc__p_wxScrolledWindow,
34262 _swigc__p_wxSetCursorEvent,
34263 _swigc__p_wxShowEvent,
34264 _swigc__p_wxSimpleHtmlListBox,
34265 _swigc__p_wxSingleChoiceDialog,
34266 _swigc__p_wxSize,
34267 _swigc__p_wxSizeEvent,
34268 _swigc__p_wxSizer,
34269 _swigc__p_wxSizerItem,
34270 _swigc__p_wxSplashScreen,
34271 _swigc__p_wxSplashScreenWindow,
34272 _swigc__p_wxSplitterEvent,
34273 _swigc__p_wxSplitterWindow,
34274 _swigc__p_wxStaticBoxSizer,
34275 _swigc__p_wxStatusBar,
34276 _swigc__p_wxStdDialogButtonSizer,
34277 _swigc__p_wxString,
34278 _swigc__p_wxSysColourChangedEvent,
34279 _swigc__p_wxTGAHandler,
34280 _swigc__p_wxTIFFHandler,
34281 _swigc__p_wxTaskBarIcon,
34282 _swigc__p_wxTaskBarIconEvent,
34283 _swigc__p_wxTextEntryDialog,
34284 _swigc__p_wxTipWindow,
34285 _swigc__p_wxToolBar,
34286 _swigc__p_wxTopLevelWindow,
34287 _swigc__p_wxUpdateUIEvent,
34288 _swigc__p_wxValidator,
34289 _swigc__p_wxVisualAttributes,
34290 _swigc__p_wxWindow,
34291 _swigc__p_wxWindowCreateEvent,
34292 _swigc__p_wxWindowDestroyEvent,
34293 _swigc__p_wxXPMHandler,
34294 };
34295
34296
34297 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34298
34299 static swig_const_info swig_const_table[] = {
34300 {0, 0, 0, 0.0, 0, 0}};
34301
34302 #ifdef __cplusplus
34303 }
34304 #endif
34305 /* -----------------------------------------------------------------------------
34306 * Type initialization:
34307 * This problem is tough by the requirement that no dynamic
34308 * memory is used. Also, since swig_type_info structures store pointers to
34309 * swig_cast_info structures and swig_cast_info structures store pointers back
34310 * to swig_type_info structures, we need some lookup code at initialization.
34311 * The idea is that swig generates all the structures that are needed.
34312 * The runtime then collects these partially filled structures.
34313 * The SWIG_InitializeModule function takes these initial arrays out of
34314 * swig_module, and does all the lookup, filling in the swig_module.types
34315 * array with the correct data and linking the correct swig_cast_info
34316 * structures together.
34317 *
34318 * The generated swig_type_info structures are assigned staticly to an initial
34319 * array. We just loop though that array, and handle each type individually.
34320 * First we lookup if this type has been already loaded, and if so, use the
34321 * loaded structure instead of the generated one. Then we have to fill in the
34322 * cast linked list. The cast data is initially stored in something like a
34323 * two-dimensional array. Each row corresponds to a type (there are the same
34324 * number of rows as there are in the swig_type_initial array). Each entry in
34325 * a column is one of the swig_cast_info structures for that type.
34326 * The cast_initial array is actually an array of arrays, because each row has
34327 * a variable number of columns. So to actually build the cast linked list,
34328 * we find the array of casts associated with the type, and loop through it
34329 * adding the casts to the list. The one last trick we need to do is making
34330 * sure the type pointer in the swig_cast_info struct is correct.
34331 *
34332 * First off, we lookup the cast->type name to see if it is already loaded.
34333 * There are three cases to handle:
34334 * 1) If the cast->type has already been loaded AND the type we are adding
34335 * casting info to has not been loaded (it is in this module), THEN we
34336 * replace the cast->type pointer with the type pointer that has already
34337 * been loaded.
34338 * 2) If BOTH types (the one we are adding casting info to, and the
34339 * cast->type) are loaded, THEN the cast info has already been loaded by
34340 * the previous module so we just ignore it.
34341 * 3) Finally, if cast->type has not already been loaded, then we add that
34342 * swig_cast_info to the linked list (because the cast->type) pointer will
34343 * be correct.
34344 * ----------------------------------------------------------------------------- */
34345
34346 #ifdef __cplusplus
34347 extern "C" {
34348 #if 0
34349 } /* c-mode */
34350 #endif
34351 #endif
34352
34353 #if 0
34354 #define SWIGRUNTIME_DEBUG
34355 #endif
34356
34357 SWIGRUNTIME void
34358 SWIG_InitializeModule(void *clientdata) {
34359 size_t i;
34360 swig_module_info *module_head;
34361 static int init_run = 0;
34362
34363 clientdata = clientdata;
34364
34365 if (init_run) return;
34366 init_run = 1;
34367
34368 /* Initialize the swig_module */
34369 swig_module.type_initial = swig_type_initial;
34370 swig_module.cast_initial = swig_cast_initial;
34371
34372 /* Try and load any already created modules */
34373 module_head = SWIG_GetModule(clientdata);
34374 if (module_head) {
34375 swig_module.next = module_head->next;
34376 module_head->next = &swig_module;
34377 } else {
34378 /* This is the first module loaded */
34379 swig_module.next = &swig_module;
34380 SWIG_SetModule(clientdata, &swig_module);
34381 }
34382
34383 /* Now work on filling in swig_module.types */
34384 #ifdef SWIGRUNTIME_DEBUG
34385 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
34386 #endif
34387 for (i = 0; i < swig_module.size; ++i) {
34388 swig_type_info *type = 0;
34389 swig_type_info *ret;
34390 swig_cast_info *cast;
34391
34392 #ifdef SWIGRUNTIME_DEBUG
34393 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34394 #endif
34395
34396 /* if there is another module already loaded */
34397 if (swig_module.next != &swig_module) {
34398 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
34399 }
34400 if (type) {
34401 /* Overwrite clientdata field */
34402 #ifdef SWIGRUNTIME_DEBUG
34403 printf("SWIG_InitializeModule: found type %s\n", type->name);
34404 #endif
34405 if (swig_module.type_initial[i]->clientdata) {
34406 type->clientdata = swig_module.type_initial[i]->clientdata;
34407 #ifdef SWIGRUNTIME_DEBUG
34408 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34409 #endif
34410 }
34411 } else {
34412 type = swig_module.type_initial[i];
34413 }
34414
34415 /* Insert casting types */
34416 cast = swig_module.cast_initial[i];
34417 while (cast->type) {
34418 /* Don't need to add information already in the list */
34419 ret = 0;
34420 #ifdef SWIGRUNTIME_DEBUG
34421 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34422 #endif
34423 if (swig_module.next != &swig_module) {
34424 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34425 #ifdef SWIGRUNTIME_DEBUG
34426 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34427 #endif
34428 }
34429 if (ret) {
34430 if (type == swig_module.type_initial[i]) {
34431 #ifdef SWIGRUNTIME_DEBUG
34432 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34433 #endif
34434 cast->type = ret;
34435 ret = 0;
34436 } else {
34437 /* Check for casting already in the list */
34438 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34439 #ifdef SWIGRUNTIME_DEBUG
34440 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34441 #endif
34442 if (!ocast) ret = 0;
34443 }
34444 }
34445
34446 if (!ret) {
34447 #ifdef SWIGRUNTIME_DEBUG
34448 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34449 #endif
34450 if (type->cast) {
34451 type->cast->prev = cast;
34452 cast->next = type->cast;
34453 }
34454 type->cast = cast;
34455 }
34456 cast++;
34457 }
34458 /* Set entry in modules->types array equal to the type */
34459 swig_module.types[i] = type;
34460 }
34461 swig_module.types[i] = 0;
34462
34463 #ifdef SWIGRUNTIME_DEBUG
34464 printf("**** SWIG_InitializeModule: Cast List ******\n");
34465 for (i = 0; i < swig_module.size; ++i) {
34466 int j = 0;
34467 swig_cast_info *cast = swig_module.cast_initial[i];
34468 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34469 while (cast->type) {
34470 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34471 cast++;
34472 ++j;
34473 }
34474 printf("---- Total casts: %d\n",j);
34475 }
34476 printf("**** SWIG_InitializeModule: Cast List ******\n");
34477 #endif
34478 }
34479
34480 /* This function will propagate the clientdata field of type to
34481 * any new swig_type_info structures that have been added into the list
34482 * of equivalent types. It is like calling
34483 * SWIG_TypeClientData(type, clientdata) a second time.
34484 */
34485 SWIGRUNTIME void
34486 SWIG_PropagateClientData(void) {
34487 size_t i;
34488 swig_cast_info *equiv;
34489 static int init_run = 0;
34490
34491 if (init_run) return;
34492 init_run = 1;
34493
34494 for (i = 0; i < swig_module.size; i++) {
34495 if (swig_module.types[i]->clientdata) {
34496 equiv = swig_module.types[i]->cast;
34497 while (equiv) {
34498 if (!equiv->converter) {
34499 if (equiv->type && !equiv->type->clientdata)
34500 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34501 }
34502 equiv = equiv->next;
34503 }
34504 }
34505 }
34506 }
34507
34508 #ifdef __cplusplus
34509 #if 0
34510 {
34511 /* c-mode */
34512 #endif
34513 }
34514 #endif
34515
34516
34517
34518 #ifdef __cplusplus
34519 extern "C" {
34520 #endif
34521
34522 /* Python-specific SWIG API */
34523 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34524 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34525 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34526
34527 /* -----------------------------------------------------------------------------
34528 * global variable support code.
34529 * ----------------------------------------------------------------------------- */
34530
34531 typedef struct swig_globalvar {
34532 char *name; /* Name of global variable */
34533 PyObject *(*get_attr)(void); /* Return the current value */
34534 int (*set_attr)(PyObject *); /* Set the value */
34535 struct swig_globalvar *next;
34536 } swig_globalvar;
34537
34538 typedef struct swig_varlinkobject {
34539 PyObject_HEAD
34540 swig_globalvar *vars;
34541 } swig_varlinkobject;
34542
34543 SWIGINTERN PyObject *
34544 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34545 return PyString_FromString("<Swig global variables>");
34546 }
34547
34548 SWIGINTERN PyObject *
34549 swig_varlink_str(swig_varlinkobject *v) {
34550 PyObject *str = PyString_FromString("(");
34551 swig_globalvar *var;
34552 for (var = v->vars; var; var=var->next) {
34553 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34554 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34555 }
34556 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34557 return str;
34558 }
34559
34560 SWIGINTERN int
34561 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34562 PyObject *str = swig_varlink_str(v);
34563 fprintf(fp,"Swig global variables ");
34564 fprintf(fp,"%s\n", PyString_AsString(str));
34565 Py_DECREF(str);
34566 return 0;
34567 }
34568
34569 SWIGINTERN void
34570 swig_varlink_dealloc(swig_varlinkobject *v) {
34571 swig_globalvar *var = v->vars;
34572 while (var) {
34573 swig_globalvar *n = var->next;
34574 free(var->name);
34575 free(var);
34576 var = n;
34577 }
34578 }
34579
34580 SWIGINTERN PyObject *
34581 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34582 PyObject *res = NULL;
34583 swig_globalvar *var = v->vars;
34584 while (var) {
34585 if (strcmp(var->name,n) == 0) {
34586 res = (*var->get_attr)();
34587 break;
34588 }
34589 var = var->next;
34590 }
34591 if (res == NULL && !PyErr_Occurred()) {
34592 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34593 }
34594 return res;
34595 }
34596
34597 SWIGINTERN int
34598 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34599 int res = 1;
34600 swig_globalvar *var = v->vars;
34601 while (var) {
34602 if (strcmp(var->name,n) == 0) {
34603 res = (*var->set_attr)(p);
34604 break;
34605 }
34606 var = var->next;
34607 }
34608 if (res == 1 && !PyErr_Occurred()) {
34609 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34610 }
34611 return res;
34612 }
34613
34614 SWIGINTERN PyTypeObject*
34615 swig_varlink_type(void) {
34616 static char varlink__doc__[] = "Swig var link object";
34617 static PyTypeObject varlink_type;
34618 static int type_init = 0;
34619 if (!type_init) {
34620 const PyTypeObject tmp
34621 = {
34622 PyObject_HEAD_INIT(NULL)
34623 0, /* Number of items in variable part (ob_size) */
34624 (char *)"swigvarlink", /* Type name (tp_name) */
34625 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34626 0, /* Itemsize (tp_itemsize) */
34627 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34628 (printfunc) swig_varlink_print, /* Print (tp_print) */
34629 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34630 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34631 0, /* tp_compare */
34632 (reprfunc) swig_varlink_repr, /* tp_repr */
34633 0, /* tp_as_number */
34634 0, /* tp_as_sequence */
34635 0, /* tp_as_mapping */
34636 0, /* tp_hash */
34637 0, /* tp_call */
34638 (reprfunc)swig_varlink_str, /* tp_str */
34639 0, /* tp_getattro */
34640 0, /* tp_setattro */
34641 0, /* tp_as_buffer */
34642 0, /* tp_flags */
34643 varlink__doc__, /* tp_doc */
34644 0, /* tp_traverse */
34645 0, /* tp_clear */
34646 0, /* tp_richcompare */
34647 0, /* tp_weaklistoffset */
34648 #if PY_VERSION_HEX >= 0x02020000
34649 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34650 #endif
34651 #if PY_VERSION_HEX >= 0x02030000
34652 0, /* tp_del */
34653 #endif
34654 #ifdef COUNT_ALLOCS
34655 0,0,0,0 /* tp_alloc -> tp_next */
34656 #endif
34657 };
34658 varlink_type = tmp;
34659 varlink_type.ob_type = &PyType_Type;
34660 type_init = 1;
34661 }
34662 return &varlink_type;
34663 }
34664
34665 /* Create a variable linking object for use later */
34666 SWIGINTERN PyObject *
34667 SWIG_Python_newvarlink(void) {
34668 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34669 if (result) {
34670 result->vars = 0;
34671 }
34672 return ((PyObject*) result);
34673 }
34674
34675 SWIGINTERN void
34676 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34677 swig_varlinkobject *v = (swig_varlinkobject *) p;
34678 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34679 if (gv) {
34680 size_t size = strlen(name)+1;
34681 gv->name = (char *)malloc(size);
34682 if (gv->name) {
34683 strncpy(gv->name,name,size);
34684 gv->get_attr = get_attr;
34685 gv->set_attr = set_attr;
34686 gv->next = v->vars;
34687 }
34688 }
34689 v->vars = gv;
34690 }
34691
34692 SWIGINTERN PyObject *
34693 SWIG_globals() {
34694 static PyObject *_SWIG_globals = 0;
34695 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34696 return _SWIG_globals;
34697 }
34698
34699 /* -----------------------------------------------------------------------------
34700 * constants/methods manipulation
34701 * ----------------------------------------------------------------------------- */
34702
34703 /* Install Constants */
34704 SWIGINTERN void
34705 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34706 PyObject *obj = 0;
34707 size_t i;
34708 for (i = 0; constants[i].type; ++i) {
34709 switch(constants[i].type) {
34710 case SWIG_PY_POINTER:
34711 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34712 break;
34713 case SWIG_PY_BINARY:
34714 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34715 break;
34716 default:
34717 obj = 0;
34718 break;
34719 }
34720 if (obj) {
34721 PyDict_SetItemString(d, constants[i].name, obj);
34722 Py_DECREF(obj);
34723 }
34724 }
34725 }
34726
34727 /* -----------------------------------------------------------------------------*/
34728 /* Fix SwigMethods to carry the callback ptrs when needed */
34729 /* -----------------------------------------------------------------------------*/
34730
34731 SWIGINTERN void
34732 SWIG_Python_FixMethods(PyMethodDef *methods,
34733 swig_const_info *const_table,
34734 swig_type_info **types,
34735 swig_type_info **types_initial) {
34736 size_t i;
34737 for (i = 0; methods[i].ml_name; ++i) {
34738 const char *c = methods[i].ml_doc;
34739 if (c && (c = strstr(c, "swig_ptr: "))) {
34740 int j;
34741 swig_const_info *ci = 0;
34742 const char *name = c + 10;
34743 for (j = 0; const_table[j].type; ++j) {
34744 if (strncmp(const_table[j].name, name,
34745 strlen(const_table[j].name)) == 0) {
34746 ci = &(const_table[j]);
34747 break;
34748 }
34749 }
34750 if (ci) {
34751 size_t shift = (ci->ptype) - types;
34752 swig_type_info *ty = types_initial[shift];
34753 size_t ldoc = (c - methods[i].ml_doc);
34754 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34755 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34756 if (ndoc) {
34757 char *buff = ndoc;
34758 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34759 if (ptr) {
34760 strncpy(buff, methods[i].ml_doc, ldoc);
34761 buff += ldoc;
34762 strncpy(buff, "swig_ptr: ", 10);
34763 buff += 10;
34764 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34765 methods[i].ml_doc = ndoc;
34766 }
34767 }
34768 }
34769 }
34770 }
34771 }
34772
34773 #ifdef __cplusplus
34774 }
34775 #endif
34776
34777 /* -----------------------------------------------------------------------------*
34778 * Partial Init method
34779 * -----------------------------------------------------------------------------*/
34780
34781 #ifdef __cplusplus
34782 extern "C"
34783 #endif
34784 SWIGEXPORT void SWIG_init(void) {
34785 PyObject *m, *d;
34786
34787 /* Fix SwigMethods to carry the callback ptrs when needed */
34788 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34789
34790 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34791 d = PyModule_GetDict(m);
34792
34793 SWIG_InitializeModule(0);
34794 SWIG_InstallConstants(d,swig_const_table);
34795
34796
34797 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34798 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34799 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34800 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34801 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34802 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34803 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34804 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34805 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34806 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34807 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34808 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34809 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34810 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34811 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34812 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34813 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34814 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34815 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34816 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34817 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34818 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34819 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34820 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34821 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34822 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34823 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34824 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34825 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34826 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34827 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34828 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34829 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34830 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34831 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34832 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34833 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34834 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34835 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34836 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34837 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
34838 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34839 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34840 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34841 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34842 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34843 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34844 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34845 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34846 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34847 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34848 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34849 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34850 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34851 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34852 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34853 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34854 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34855 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34856 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34857 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34858 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34859 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34860 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34861 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34862 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34863 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34864 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34865 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34866 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34867 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34868 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34869 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34870 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34871 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34872 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34873 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34874 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34875 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34876 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34877 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34878 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34879 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34880 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34881 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34882 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34883 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34884 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34885 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34886 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34887 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34888 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34889 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34890 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34891 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34892 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34893 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34894 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34895 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34896 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34897 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get, SimpleHtmlListBoxNameStr_set);
34898 SWIG_Python_SetConstant(d, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE)));
34899 SWIG_Python_SetConstant(d, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE)));
34900
34901 // Map renamed classes back to their common name for OOR
34902 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34903 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34904 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34905
34906 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34907 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34908 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34909 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34910 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34911 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34912 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34913 PyDict_SetItemString(d, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK));
34914 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34915 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34916 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34917 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34918 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34919 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34920 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34921 SWIG_Python_SetConstant(d, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST)));
34922 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34923 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34924 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34925 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34926 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34927 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34928 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34929 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34930 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34931 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34932 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34933 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34934 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34935 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34936 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34937 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34938 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34939 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34940 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34941 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34942 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34943 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34944 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34945 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34946 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34947 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34948 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34949 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34950 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34951 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34952 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34953 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34954 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34955 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34956 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34957 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34958 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34959 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34960 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34961 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34962 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34963 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34964 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34965 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34966 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34967 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34968 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34969 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34970 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34971 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34972 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34973 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34974 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34975 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34976 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34977 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34978 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34979 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34980 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34981 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34982 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34983 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34984 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34985 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34986 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34987 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34988 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34989 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34990 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34991 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34992 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34993 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34994 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34995 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34996 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34997 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34998 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34999 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
35000 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
35001 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
35002 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
35003 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
35004 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
35005
35006 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
35007
35008 }
35009