]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_windows_wrap.cpp
GetData can only be called within the DnD operation, so don't make it
[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_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTGAHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTIFFHandler swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIcon swig_types[153]
2620 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTextEntryDialog swig_types[155]
2622 #define SWIGTYPE_p_wxTipWindow swig_types[156]
2623 #define SWIGTYPE_p_wxToolBar swig_types[157]
2624 #define SWIGTYPE_p_wxTopLevelWindow swig_types[158]
2625 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[159]
2626 #define SWIGTYPE_p_wxValidator swig_types[160]
2627 #define SWIGTYPE_p_wxVisualAttributes swig_types[161]
2628 #define SWIGTYPE_p_wxWindow swig_types[162]
2629 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[163]
2630 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[164]
2631 #define SWIGTYPE_p_wxXPMHandler swig_types[165]
2632 static swig_type_info *swig_types[167];
2633 static swig_module_info swig_module = {swig_types, 166, 0, 0, 0, 0};
2634 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2635 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636
2637 /* -------- TYPES TABLE (END) -------- */
2638
2639 #if (PY_VERSION_HEX <= 0x02000000)
2640 # if !defined(SWIG_PYTHON_CLASSIC)
2641 # error "This python version requires to use swig with the '-classic' option"
2642 # endif
2643 #endif
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodern' option"
2646 #endif
2647 #if (PY_VERSION_HEX <= 0x02020000)
2648 # error "This python version requires to use swig with the '-nomodernargs' option"
2649 #endif
2650 #ifndef METH_O
2651 # error "This python version requires to use swig with the '-nofastunpack' option"
2652 #endif
2653
2654 /*-----------------------------------------------
2655 @(target):= _windows_.so
2656 ------------------------------------------------*/
2657 #define SWIG_init init_windows_
2658
2659 #define SWIG_name "_windows_"
2660
2661 #define SWIGVERSION 0x010329
2662
2663
2664 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2665 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2666
2667
2668 #include <stdexcept>
2669
2670
2671 namespace swig {
2672 class PyObject_ptr {
2673 protected:
2674 PyObject *_obj;
2675
2676 public:
2677 PyObject_ptr() :_obj(0)
2678 {
2679 }
2680
2681 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2682 {
2683 Py_XINCREF(_obj);
2684 }
2685
2686 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2687 {
2688 if (initial_ref) Py_XINCREF(_obj);
2689 }
2690
2691 PyObject_ptr & operator=(const PyObject_ptr& item)
2692 {
2693 Py_XINCREF(item._obj);
2694 Py_XDECREF(_obj);
2695 _obj = item._obj;
2696 return *this;
2697 }
2698
2699 ~PyObject_ptr()
2700 {
2701 Py_XDECREF(_obj);
2702 }
2703
2704 operator PyObject *() const
2705 {
2706 return _obj;
2707 }
2708
2709 PyObject *operator->() const
2710 {
2711 return _obj;
2712 }
2713 };
2714 }
2715
2716
2717 namespace swig {
2718 struct PyObject_var : PyObject_ptr {
2719 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2720
2721 PyObject_var & operator = (PyObject* obj)
2722 {
2723 Py_XDECREF(_obj);
2724 _obj = obj;
2725 return *this;
2726 }
2727 };
2728 }
2729
2730
2731 #include "wx/wxPython/wxPython.h"
2732 #include "wx/wxPython/pyclasses.h"
2733
2734
2735 static const wxString wxPyEmptyString(wxEmptyString);
2736 static const wxString wxPyPanelNameStr(wxPanelNameStr);
2737
2738
2739
2740 #include <limits.h>
2741 #ifndef LLONG_MIN
2742 # define LLONG_MIN LONG_LONG_MIN
2743 #endif
2744 #ifndef LLONG_MAX
2745 # define LLONG_MAX LONG_LONG_MAX
2746 #endif
2747 #ifndef ULLONG_MAX
2748 # define ULLONG_MAX ULONG_LONG_MAX
2749 #endif
2750
2751
2752 SWIGINTERN int
2753 SWIG_AsVal_long (PyObject* obj, long* val)
2754 {
2755 if (PyNumber_Check(obj)) {
2756 if (val) *val = PyInt_AsLong(obj);
2757 return SWIG_OK;
2758 }
2759 return SWIG_TypeError;
2760 }
2761
2762
2763 SWIGINTERN int
2764 SWIG_AsVal_int (PyObject * obj, int *val)
2765 {
2766 long v;
2767 int res = SWIG_AsVal_long (obj, &v);
2768 if (SWIG_IsOK(res)) {
2769 if ((v < INT_MIN || v > INT_MAX)) {
2770 return SWIG_OverflowError;
2771 } else {
2772 if (val) *val = static_cast< int >(v);
2773 }
2774 }
2775 return res;
2776 }
2777
2778
2779 SWIGINTERN int
2780 SWIG_AsVal_bool (PyObject *obj, bool *val)
2781 {
2782 if (obj == Py_True) {
2783 if (val) *val = true;
2784 return SWIG_OK;
2785 } else if (obj == Py_False) {
2786 if (val) *val = false;
2787 return SWIG_OK;
2788 } else {
2789 long v = 0;
2790 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2791 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2792 return res;
2793 }
2794 }
2795
2796
2797 #define SWIG_From_long PyInt_FromLong
2798
2799
2800 SWIGINTERNINLINE PyObject *
2801 SWIG_From_int (int value)
2802 {
2803 return SWIG_From_long (value);
2804 }
2805
2806
2807 SWIGINTERN int
2808 SWIG_AsVal_double (PyObject *obj, double* val)
2809 {
2810 if (PyNumber_Check(obj)) {
2811 if (val) *val = PyFloat_AsDouble(obj);
2812 return SWIG_OK;
2813 }
2814 return SWIG_TypeError;
2815 }
2816
2817
2818 #define SWIG_From_double PyFloat_FromDouble
2819
2820 static const wxString wxPyFrameNameStr(wxFrameNameStr);
2821 static const wxString wxPyDialogNameStr(wxDialogNameStr);
2822 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
2823 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
2824 SWIGINTERN void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow *self,bool on){ /*wxPyRaiseNotImplemented();*/ }
2825 SWIGINTERN bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow const *self){ /*wxPyRaiseNotImplemented();*/ return false; }
2826
2827 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2828
2829
2830
2831 SWIGINTERN wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
2832 wxRect r;
2833 self->GetFieldRect(i, r);
2834 return r;
2835 }
2836 static const wxString wxPySplitterNameStr(wxT("splitter"));
2837 static const wxString wxPySashNameStr(wxT("sashWindow"));
2838 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
2839
2840 #include <wx/popupwin.h>
2841
2842
2843 class wxPyPopupTransientWindow : public wxPopupTransientWindow
2844 {
2845 public:
2846 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2847 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
2848 : wxPopupTransientWindow(parent, style) {}
2849
2850 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
2851 DEC_PYCALLBACK__(OnDismiss);
2852 DEC_PYCALLBACK_BOOL_(CanDismiss);
2853 PYPRIVATE;
2854 };
2855
2856
2857 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
2858 IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
2859 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
2860
2861
2862 #include <wx/tipwin.h>
2863
2864 SWIGINTERN wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength=100,wxRect *rectBound=NULL){
2865 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
2866 }
2867
2868 #include <wx/tipwin.h>
2869
2870
2871 #include <wx/vscroll.h>
2872
2873
2874 class wxPyVScrolledWindow : public wxVScrolledWindow
2875 {
2876 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow)
2877 public:
2878 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2879
2880 wxPyVScrolledWindow(wxWindow *parent,
2881 wxWindowID id = wxID_ANY,
2882 const wxPoint& pos = wxDefaultPosition,
2883 const wxSize& size = wxDefaultSize,
2884 long style = 0,
2885 const wxString& name = wxPyPanelNameStr)
2886 : wxVScrolledWindow(parent, id, pos, size, style, name)
2887 {}
2888
2889 // Overridable virtuals
2890
2891 // this function must be overridden in the derived class and it should
2892 // return the height of the given line in pixels
2893 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
2894
2895
2896 // this function doesn't have to be overridden but it may be useful to do
2897 // it if calculating the lines heights is a relatively expensive operation
2898 // as it gives the user code a possibility to calculate several of them at
2899 // once
2900 //
2901 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2902 // shouldn't rely on the latter being called for all lines in the interval
2903 // specified here. It is also possible that OnGetLineHeight() will be
2904 // called for the lines outside of this interval, so this is really just a
2905 // hint, not a promise.
2906 //
2907 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2908 // usual
2909 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
2910
2911
2912 // when the number of lines changes, we try to estimate the total height
2913 // of all lines which is a rather expensive operation in terms of lines
2914 // access, so if the user code may estimate the average height
2915 // better/faster than we do, it should override this function to implement
2916 // its own logic
2917 //
2918 // this function should return the best guess for the total height it may
2919 // make
2920 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
2921
2922
2923 // Also expose some other interesting protected methods
2924
2925
2926 // find the index of the line we need to show at the top of the window such
2927 // that the last (fully or partially) visible line is the given one
2928 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
2929 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
2930
2931 // get the total height of the lines between lineMin (inclusive) and
2932 // lineMax (exclusive)
2933 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
2934 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
2935
2936 // update the thumb size shown by the scrollbar
2937 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2938
2939 // remove the scrollbar completely because we don't need it
2940 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2941
2942 PYPRIVATE;
2943 };
2944
2945 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
2946
2947 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
2948 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
2949 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
2950
2951
2952 SWIGINTERN int
2953 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2954 {
2955 long v = 0;
2956 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2957 return SWIG_TypeError;
2958 }
2959 else if (val)
2960 *val = (unsigned long)v;
2961 return SWIG_OK;
2962 }
2963
2964
2965 SWIGINTERNINLINE int
2966 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2967 {
2968 unsigned long v;
2969 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2970 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2971 return res;
2972 }
2973
2974
2975 SWIGINTERNINLINE PyObject*
2976 SWIG_From_unsigned_SS_long (unsigned long value)
2977 {
2978 return (value > LONG_MAX) ?
2979 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2980 }
2981
2982
2983 SWIGINTERNINLINE PyObject *
2984 SWIG_From_size_t (size_t value)
2985 {
2986 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2987 }
2988
2989
2990 #include <wx/vlbox.h>
2991
2992 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
2993
2994 class wxPyVListBox : public wxVListBox
2995 {
2996 DECLARE_ABSTRACT_CLASS(wxPyVListBox)
2997 public:
2998 wxPyVListBox() : wxVListBox() {}
2999
3000 wxPyVListBox(wxWindow *parent,
3001 wxWindowID id = wxID_ANY,
3002 const wxPoint& pos = wxDefaultPosition,
3003 const wxSize& size = wxDefaultSize,
3004 long style = 0,
3005 const wxString& name = wxPyVListBoxNameStr)
3006 : wxVListBox(parent, id, pos, size, style, name)
3007 {}
3008
3009 // Overridable virtuals
3010
3011 // the derived class must implement this function to actually draw the item
3012 // with the given index on the provided DC
3013 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3014 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
3015
3016
3017 // the derived class must implement this method to return the height of the
3018 // specified item
3019 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3020 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
3021
3022
3023 // this method may be used to draw separators between the lines; note that
3024 // the rectangle may be modified, typically to deflate it a bit before
3025 // passing to OnDrawItem()
3026 //
3027 // the base class version doesn't do anything
3028 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3029 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3030
3031
3032 // this method is used to draw the items background and, maybe, a border
3033 // around it
3034 //
3035 // the base class version implements a reasonable default behaviour which
3036 // consists in drawing the selected item with the standard background
3037 // colour and drawing a border around the item if it is either selected or
3038 // current
3039 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3040 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3041
3042
3043 PYPRIVATE;
3044 };
3045
3046 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
3047
3048 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
3049 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
3050 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox, wxVListBox, OnDrawSeparator);
3051 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
3052
3053
3054 SWIGINTERN PyObject *wxPyVListBox_GetFirstSelected(wxPyVListBox *self){
3055 unsigned long cookie = 0;
3056 int selected = self->GetFirstSelected(cookie);
3057 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3058 PyObject* tup = PyTuple_New(2);
3059 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3060 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3061 wxPyEndBlockThreads(blocked);
3062 return tup;
3063 }
3064 SWIGINTERN PyObject *wxPyVListBox_GetNextSelected(wxPyVListBox *self,unsigned long cookie){
3065 int selected = self->GetNextSelected(cookie);
3066 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3067 PyObject* tup = PyTuple_New(2);
3068 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(selected));
3069 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie));
3070 wxPyEndBlockThreads(blocked);
3071 return tup;
3072 }
3073
3074 #include <wx/htmllbox.h>
3075
3076
3077 class wxPyHtmlListBox : public wxHtmlListBox
3078 {
3079 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox)
3080 public:
3081 wxPyHtmlListBox() : wxHtmlListBox() {}
3082
3083 wxPyHtmlListBox(wxWindow *parent,
3084 wxWindowID id = wxID_ANY,
3085 const wxPoint& pos = wxDefaultPosition,
3086 const wxSize& size = wxDefaultSize,
3087 long style = 0,
3088 const wxString& name = wxPyVListBoxNameStr)
3089 : wxHtmlListBox(parent, id, pos, size, style, name)
3090 {}
3091
3092 // Overridable virtuals
3093
3094 // this method must be implemented in the derived class and should return
3095 // the body (i.e. without <html>) of the HTML for the given item
3096 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
3097
3098 // this function may be overridden to decorate HTML returned by OnGetItem()
3099 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
3100
3101 // These are from wxVListBox
3102 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator);
3103 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
3104
3105 // TODO:
3106 // // this method allows to customize the selection appearance: it may be used
3107 // // to specify the colour of the text which normally has the given colour
3108 // // colFg when it is inside the selection
3109 // //
3110 // // by default, the original colour is not used at all and all text has the
3111 // // same (default for this system) colour inside selection
3112 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3113
3114 // // this is the same as GetSelectedTextColour() but allows to customize the
3115 // // background colour -- this is even more rarely used as you can change it
3116 // // globally using SetSelectionBackground()
3117 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3118
3119
3120 // This method may be overriden to handle clicking on a link in
3121 // the listbox. By default, clicking links is ignored.
3122 virtual void OnLinkClicked(size_t n,
3123 const wxHtmlLinkInfo& link);
3124
3125 PYPRIVATE;
3126 };
3127
3128
3129 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
3130
3131 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
3132 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
3133 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawSeparator);
3134 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox, wxHtmlListBox, OnDrawBackground);
3135
3136
3137 void wxPyHtmlListBox::OnLinkClicked(size_t n,
3138 const wxHtmlLinkInfo& link) {
3139 bool found;
3140 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3141 if ((found = wxPyCBH_findCallback(m_myInst, "OnLinkClicked"))) {
3142 PyObject* obj = wxPyConstructObject((void*)&link, wxT("wxHtmlLinkInfo"), 0);
3143 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(iO)", n, obj));
3144 Py_DECREF(obj);
3145 }
3146 wxPyEndBlockThreads(blocked);
3147 if (! found)
3148 wxPyHtmlListBox::OnLinkClicked(n, link);
3149 }
3150
3151
3152
3153
3154
3155 #ifndef wxHAS_TASK_BAR_ICON
3156 // implement dummy classes for platforms that don't have it
3157
3158 class wxTaskBarIcon : public wxEvtHandler
3159 {
3160 public:
3161 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3162 };
3163
3164
3165 class wxTaskBarIconEvent : public wxEvent
3166 {
3167 public:
3168 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
3169 { wxPyRaiseNotImplemented(); }
3170 virtual wxEvent* Clone() const { return NULL; }
3171 bool IsOk() const { return false; }
3172 bool IsIconInstalled() const { return false; }
3173 bool SetIcon(const wxIcon& icon, const wxString& tooltip = wxPyEmptyString) { return false; }
3174 bool RemoveIcon() { return false; }
3175 bool PopupMenu(wxMenu *menu) { return false; }
3176 };
3177
3178 enum {
3179 wxEVT_TASKBAR_MOVE = 0,
3180 wxEVT_TASKBAR_LEFT_DOWN = 0,
3181 wxEVT_TASKBAR_LEFT_UP = 0,
3182 wxEVT_TASKBAR_RIGHT_DOWN = 0,
3183 wxEVT_TASKBAR_RIGHT_UP = 0,
3184 wxEVT_TASKBAR_LEFT_DCLICK = 0,
3185 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
3186 };
3187
3188
3189 #else
3190 // Otherwise make a class that can virtualize CreatePopupMenu
3191 class wxPyTaskBarIcon : public wxTaskBarIcon
3192 {
3193 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon)
3194 public:
3195 wxPyTaskBarIcon() : wxTaskBarIcon()
3196 {}
3197
3198 wxMenu* CreatePopupMenu() {
3199 wxMenu *rval = NULL;
3200 bool found;
3201 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3202 if ((found = wxPyCBH_findCallback(m_myInst, "CreatePopupMenu"))) {
3203 PyObject* ro;
3204 wxMenu* ptr;
3205 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3206 if (ro) {
3207 if (wxPyConvertSwigPtr(ro, (void **)&ptr, wxT("wxMenu")))
3208 rval = ptr;
3209 Py_DECREF(ro);
3210 }
3211 }
3212 wxPyEndBlockThreads(blocked);
3213 if (! found)
3214 rval = wxTaskBarIcon::CreatePopupMenu();
3215 return rval;
3216 }
3217
3218 PYPRIVATE;
3219 };
3220
3221 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon, wxTaskBarIcon);
3222
3223 #endif
3224
3225 SWIGINTERN void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon *self){
3226 self->RemoveIcon();
3227 delete self;
3228 }
3229 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
3230 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
3231 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
3232 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
3233 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
3234 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
3235
3236 // for compatibility only
3237 #define wxHIDE_READONLY 0
3238
3239 SWIGINTERN PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
3240 wxArrayString arr;
3241 self->GetFilenames(arr);
3242 return wxArrayString2PyList_helper(arr);
3243 }
3244 SWIGINTERN PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
3245 wxArrayString arr;
3246 self->GetPaths(arr);
3247 return wxArrayString2PyList_helper(arr);
3248 }
3249 SWIGINTERN PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
3250 return wxArrayInt2PyList_helper(self->GetSelections());
3251 }
3252 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){
3253 return new wxSingleChoiceDialog(parent, message, caption,
3254 choices, choices_array, NULL, style, pos);
3255 }
3256 static const wxString wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr);
3257
3258 SWIGINTERNINLINE PyObject*
3259 SWIG_From_bool (bool value)
3260 {
3261 return PyBool_FromLong(value ? 1 : 0);
3262 }
3263
3264
3265 #include <wx/mdi.h>
3266
3267 // C++ version of Python aware wxWindow
3268 class wxPyWindow : public wxWindow
3269 {
3270 DECLARE_DYNAMIC_CLASS(wxPyWindow)
3271 public:
3272 wxPyWindow() : wxWindow() {}
3273 wxPyWindow(wxWindow* parent, const wxWindowID id,
3274 const wxPoint& pos = wxDefaultPosition,
3275 const wxSize& size = wxDefaultSize,
3276 long style = 0,
3277 const wxString& name = wxPyPanelNameStr)
3278 : wxWindow(parent, id, pos, size, style, name) {}
3279
3280
3281 bool DoEraseBackground(wxDC* dc) {
3282 #ifdef __WXMSW__
3283 return wxWindow::DoEraseBackground(dc->GetHDC());
3284 #else
3285 dc->SetBackground(wxBrush(GetBackgroundColour()));
3286 dc->Clear();
3287 return true;
3288 #endif
3289 }
3290
3291 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3292 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3294 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3295
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3298 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3299
3300 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3301 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3302
3303 DEC_PYCALLBACK__(InitDialog);
3304 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3305 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3306 DEC_PYCALLBACK_BOOL_(Validate);
3307
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3309 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3310 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3311
3312 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3313 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3314
3315 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3316 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3317
3318 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3319
3320 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3321
3322 PYPRIVATE;
3323 };
3324
3325 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
3326
3327 IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
3328 IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
3329 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
3330 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
3331
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
3334 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
3335
3336 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
3337 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
3338
3339 IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
3342 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
3343
3344 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
3345 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
3346 IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
3347
3348 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
3349 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
3350
3351 IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, ShouldInheritColours);
3352 IMP_PYCALLBACK_VIZATTR_(wxPyWindow, wxWindow, GetDefaultAttributes);
3353
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, HasTransparentBackground);
3355
3356 IMP_PYCALLBACK_VOID_(wxPyWindow, wxWindow, OnInternalIdle);
3357
3358 // C++ version of Python aware wxPanel
3359 class wxPyPanel : public wxPanel
3360 {
3361 DECLARE_DYNAMIC_CLASS(wxPyPanel)
3362 public:
3363 wxPyPanel() : wxPanel() {}
3364 wxPyPanel(wxWindow* parent, const wxWindowID id,
3365 const wxPoint& pos = wxDefaultPosition,
3366 const wxSize& size = wxDefaultSize,
3367 long style = 0,
3368 const wxString& name = wxPyPanelNameStr)
3369 : wxPanel(parent, id, pos, size, style, name) {}
3370
3371 bool DoEraseBackground(wxDC* dc) {
3372 #ifdef __WXMSW__
3373 return wxWindow::DoEraseBackground(dc->GetHDC());
3374 #else
3375 dc->SetBackground(wxBrush(GetBackgroundColour()));
3376 dc->Clear();
3377 return true;
3378 #endif
3379 }
3380
3381
3382 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3383 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3386
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3390
3391 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3392 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3393
3394 DEC_PYCALLBACK__(InitDialog);
3395 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3396 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3397 DEC_PYCALLBACK_BOOL_(Validate);
3398
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3401 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3402
3403 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3405
3406 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3407 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3408
3409 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3410
3411 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3412
3413 PYPRIVATE;
3414 };
3415
3416 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
3417
3418 IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
3419 IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
3421 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
3422
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
3425 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
3426
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
3428 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
3429
3430 IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
3434
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
3436 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
3438
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
3440 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
3441
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, ShouldInheritColours);
3443 IMP_PYCALLBACK_VIZATTR_(wxPyPanel, wxPanel, GetDefaultAttributes);
3444
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, HasTransparentBackground);
3446
3447 IMP_PYCALLBACK_VOID_(wxPyPanel, wxPanel, OnInternalIdle);
3448
3449 // C++ version of Python aware wxScrolledWindow
3450 class wxPyScrolledWindow : public wxScrolledWindow
3451 {
3452 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow)
3453 public:
3454 wxPyScrolledWindow() : wxScrolledWindow() {}
3455 wxPyScrolledWindow(wxWindow* parent, const wxWindowID id,
3456 const wxPoint& pos = wxDefaultPosition,
3457 const wxSize& size = wxDefaultSize,
3458 long style = 0,
3459 const wxString& name = wxPyPanelNameStr)
3460 : wxScrolledWindow(parent, id, pos, size, style, name) {}
3461
3462 bool DoEraseBackground(wxDC* dc) {
3463 #ifdef __WXMSW__
3464 return wxWindow::DoEraseBackground(dc->GetHDC());
3465 #else
3466 dc->SetBackground(wxBrush(GetBackgroundColour()));
3467 dc->Clear();
3468 return true;
3469 #endif
3470 }
3471
3472 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
3473 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
3474 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
3476
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
3480
3481 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
3482 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
3483
3484 DEC_PYCALLBACK__(InitDialog);
3485 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
3486 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
3487 DEC_PYCALLBACK_BOOL_(Validate);
3488
3489 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
3491 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
3492
3493 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
3495
3496 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
3497 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
3498
3499 DEC_PYCALLBACK_BOOL_(HasTransparentBackground);
3500
3501 DEC_PYCALLBACK_VOID_(OnInternalIdle);
3502
3503 PYPRIVATE;
3504 };
3505
3506 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow, wxScrolledWindow);
3507
3508 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow, wxScrolledWindow, DoMoveWindow);
3509 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow, wxScrolledWindow, DoSetSize);
3510 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetClientSize);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow, wxScrolledWindow, DoSetVirtualSize);
3512
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetSize);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetClientSize);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow, wxScrolledWindow, DoGetPosition);
3516
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetVirtualSize);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, DoGetBestSize);
3519
3520 IMP_PYCALLBACK__(wxPyScrolledWindow, wxScrolledWindow, InitDialog);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataFromWindow);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, TransferDataToWindow);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, Validate);
3524
3525 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocus);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, AcceptsFocusFromKeyboard);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow, wxScrolledWindow, GetMaxSize);
3528
3529 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, AddChild);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow, wxScrolledWindow, RemoveChild);
3531
3532 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow, wxScrolledWindow, ShouldInheritColours);
3533 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow, wxScrolledWindow, GetDefaultAttributes);
3534
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow, wxScrolledWindow, HasTransparentBackground);
3536
3537 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow, wxScrolledWindow, OnInternalIdle);
3538
3539
3540 #include "wx/wxPython/printfw.h"
3541
3542
3543 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
3544 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3545 SWIGINTERN PyObject *wxPrintData_GetPrivData(wxPrintData *self){
3546 PyObject* data;
3547 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3548 data = PyString_FromStringAndSize(self->GetPrivData(),
3549 self->GetPrivDataLen());
3550 wxPyEndBlockThreads(blocked);
3551 return data;
3552 }
3553 SWIGINTERN void wxPrintData_SetPrivData(wxPrintData *self,PyObject *data){
3554 if (! PyString_Check(data)) {
3555 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError,
3556 "Expected string object"));
3557 return /* NULL */ ;
3558 }
3559
3560 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3561 self->SetPrivData(PyString_AS_STRING(data), PyString_GET_SIZE(data));
3562 wxPyEndBlockThreads(blocked);
3563 }
3564
3565
3566 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout, wxPrintout);
3567
3568 // Since this one would be tough and ugly to do with the Macros...
3569 void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
3570 bool hadErr = false;
3571 bool found;
3572
3573 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3574 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
3575 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
3576 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
3577 PyObject* val;
3578
3579 val = PyTuple_GetItem(result, 0);
3580 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
3581 else hadErr = true;
3582
3583 val = PyTuple_GetItem(result, 1);
3584 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
3585 else hadErr = true;
3586
3587 val = PyTuple_GetItem(result, 2);
3588 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
3589 else hadErr = true;
3590
3591 val = PyTuple_GetItem(result, 3);
3592 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
3593 else hadErr = true;
3594 }
3595 else
3596 hadErr = true;
3597
3598 if (hadErr) {
3599 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
3600 PyErr_Print();
3601 }
3602 Py_DECREF(result);
3603 }
3604 wxPyEndBlockThreads(blocked);
3605 if (! found)
3606 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
3607 }
3608
3609
3610
3611 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
3612 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
3613 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
3614 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
3615 IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
3616 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
3617 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
3618
3619
3620
3621
3622
3623 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3624 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3625
3626
3627 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3628 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3629 bool rval=false; \
3630 bool found; \
3631 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3632 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3633 PyObject* win = wxPyMake_wxObject(a,false); \
3634 PyObject* dc = wxPyMake_wxObject(&b,false); \
3635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3636 Py_DECREF(win); \
3637 Py_DECREF(dc); \
3638 } \
3639 wxPyEndBlockThreads(blocked); \
3640 if (! found) \
3641 rval = PCLASS::CBNAME(a, b); \
3642 return rval; \
3643 }
3644
3645
3646
3647
3648 class wxPyPrintPreview : public wxPrintPreview
3649 {
3650 DECLARE_CLASS(wxPyPrintPreview)
3651 public:
3652 wxPyPrintPreview(wxPyPrintout* printout,
3653 wxPyPrintout* printoutForPrinting,
3654 wxPrintDialogData* data=NULL)
3655 : wxPrintPreview(printout, printoutForPrinting, data)
3656 {}
3657 wxPyPrintPreview(wxPyPrintout* printout,
3658 wxPyPrintout* printoutForPrinting,
3659 wxPrintData* data)
3660 : wxPrintPreview(printout, printoutForPrinting, data)
3661 {}
3662
3663 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
3664 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
3666 DEC_PYCALLBACK_BOOL_INT(RenderPage);
3667 DEC_PYCALLBACK_VOID_INT(SetZoom);
3668 DEC_PYCALLBACK_BOOL_BOOL(Print);
3669 DEC_PYCALLBACK_VOID_(DetermineScaling);
3670
3671 PYPRIVATE;
3672 };
3673
3674 // Stupid renamed classes... Fix this in 2.5...
3675 #if defined(__WXMSW__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
3677 #elif defined(__WXMAC__)
3678 IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
3679 #else
3680 IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
3681 #endif
3682
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
3684 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
3686 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
3687 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
3688 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
3689 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
3690
3691
3692 class wxPyPreviewFrame : public wxPreviewFrame
3693 {
3694 DECLARE_CLASS(wxPyPreviewFrame)
3695 public:
3696 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
3697 const wxString& title,
3698 const wxPoint& pos = wxDefaultPosition,
3699 const wxSize& size = wxDefaultSize,
3700 long style = wxDEFAULT_FRAME_STYLE,
3701 const wxString& name = wxPyFrameNameStr)
3702 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
3703 {}
3704
3705 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
3706 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
3707
3708 DEC_PYCALLBACK_VOID_(Initialize);
3709 DEC_PYCALLBACK_VOID_(CreateCanvas);
3710 DEC_PYCALLBACK_VOID_(CreateControlBar);
3711
3712 PYPRIVATE;
3713 };
3714
3715 IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
3716
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
3720
3721
3722 class wxPyPreviewControlBar : public wxPreviewControlBar
3723 {
3724 DECLARE_CLASS(wxPyPreviewControlBar)
3725 public:
3726 wxPyPreviewControlBar(wxPrintPreview *preview,
3727 long buttons,
3728 wxWindow *parent,
3729 const wxPoint& pos = wxDefaultPosition,
3730 const wxSize& size = wxDefaultSize,
3731 long style = 0,
3732 const wxString& name = wxPyPanelNameStr)
3733 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
3734 {}
3735
3736 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
3737
3738 DEC_PYCALLBACK_VOID_(CreateButtons);
3739 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
3740
3741 PYPRIVATE;
3742 };
3743
3744 IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
3745 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
3746 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
3747
3748 #ifdef __cplusplus
3749 extern "C" {
3750 #endif
3751 SWIGINTERN PyObject *_wrap_new_Panel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj = 0;
3753 wxWindow *arg1 = (wxWindow *) 0 ;
3754 int arg2 = (int) (int)-1 ;
3755 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3756 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3757 wxSize const &arg4_defvalue = wxDefaultSize ;
3758 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3759 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3760 wxString const &arg6_defvalue = wxPyPanelNameStr ;
3761 wxString *arg6 = (wxString *) &arg6_defvalue ;
3762 wxPanel *result = 0 ;
3763 void *argp1 = 0 ;
3764 int res1 = 0 ;
3765 int val2 ;
3766 int ecode2 = 0 ;
3767 wxPoint temp3 ;
3768 wxSize temp4 ;
3769 long val5 ;
3770 int ecode5 = 0 ;
3771 bool temp6 = false ;
3772 PyObject * obj0 = 0 ;
3773 PyObject * obj1 = 0 ;
3774 PyObject * obj2 = 0 ;
3775 PyObject * obj3 = 0 ;
3776 PyObject * obj4 = 0 ;
3777 PyObject * obj5 = 0 ;
3778 char * kwnames[] = {
3779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3780 };
3781
3782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3784 if (!SWIG_IsOK(res1)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3786 }
3787 arg1 = reinterpret_cast< wxWindow * >(argp1);
3788 if (obj1) {
3789 ecode2 = SWIG_AsVal_int(obj1, &val2);
3790 if (!SWIG_IsOK(ecode2)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3792 }
3793 arg2 = static_cast< int >(val2);
3794 }
3795 if (obj2) {
3796 {
3797 arg3 = &temp3;
3798 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3799 }
3800 }
3801 if (obj3) {
3802 {
3803 arg4 = &temp4;
3804 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3805 }
3806 }
3807 if (obj4) {
3808 ecode5 = SWIG_AsVal_long(obj4, &val5);
3809 if (!SWIG_IsOK(ecode5)) {
3810 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3811 }
3812 arg5 = static_cast< long >(val5);
3813 }
3814 if (obj5) {
3815 {
3816 arg6 = wxString_in_helper(obj5);
3817 if (arg6 == NULL) SWIG_fail;
3818 temp6 = true;
3819 }
3820 }
3821 {
3822 if (!wxPyCheckForApp()) SWIG_fail;
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3825 wxPyEndAllowThreads(__tstate);
3826 if (PyErr_Occurred()) SWIG_fail;
3827 }
3828 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_NEW | 0 );
3829 {
3830 if (temp6)
3831 delete arg6;
3832 }
3833 return resultobj;
3834 fail:
3835 {
3836 if (temp6)
3837 delete arg6;
3838 }
3839 return NULL;
3840 }
3841
3842
3843 SWIGINTERN PyObject *_wrap_new_PrePanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3844 PyObject *resultobj = 0;
3845 wxPanel *result = 0 ;
3846
3847 if (!SWIG_Python_UnpackTuple(args,"new_PrePanel",0,0,0)) SWIG_fail;
3848 {
3849 if (!wxPyCheckForApp()) SWIG_fail;
3850 PyThreadState* __tstate = wxPyBeginAllowThreads();
3851 result = (wxPanel *)new wxPanel();
3852 wxPyEndAllowThreads(__tstate);
3853 if (PyErr_Occurred()) SWIG_fail;
3854 }
3855 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPanel, SWIG_POINTER_OWN | 0 );
3856 return resultobj;
3857 fail:
3858 return NULL;
3859 }
3860
3861
3862 SWIGINTERN PyObject *_wrap_Panel_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj = 0;
3864 wxPanel *arg1 = (wxPanel *) 0 ;
3865 wxWindow *arg2 = (wxWindow *) 0 ;
3866 int arg3 = (int) (int)-1 ;
3867 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3868 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3869 wxSize const &arg5_defvalue = wxDefaultSize ;
3870 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3871 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
3872 wxString const &arg7_defvalue = wxPyPanelNameStr ;
3873 wxString *arg7 = (wxString *) &arg7_defvalue ;
3874 bool result;
3875 void *argp1 = 0 ;
3876 int res1 = 0 ;
3877 void *argp2 = 0 ;
3878 int res2 = 0 ;
3879 int val3 ;
3880 int ecode3 = 0 ;
3881 wxPoint temp4 ;
3882 wxSize temp5 ;
3883 long val6 ;
3884 int ecode6 = 0 ;
3885 bool temp7 = false ;
3886 PyObject * obj0 = 0 ;
3887 PyObject * obj1 = 0 ;
3888 PyObject * obj2 = 0 ;
3889 PyObject * obj3 = 0 ;
3890 PyObject * obj4 = 0 ;
3891 PyObject * obj5 = 0 ;
3892 PyObject * obj6 = 0 ;
3893 char * kwnames[] = {
3894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3895 };
3896
3897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3899 if (!SWIG_IsOK(res1)) {
3900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3901 }
3902 arg1 = reinterpret_cast< wxPanel * >(argp1);
3903 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3904 if (!SWIG_IsOK(res2)) {
3905 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3906 }
3907 arg2 = reinterpret_cast< wxWindow * >(argp2);
3908 if (obj2) {
3909 ecode3 = SWIG_AsVal_int(obj2, &val3);
3910 if (!SWIG_IsOK(ecode3)) {
3911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3912 }
3913 arg3 = static_cast< int >(val3);
3914 }
3915 if (obj3) {
3916 {
3917 arg4 = &temp4;
3918 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3919 }
3920 }
3921 if (obj4) {
3922 {
3923 arg5 = &temp5;
3924 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3925 }
3926 }
3927 if (obj5) {
3928 ecode6 = SWIG_AsVal_long(obj5, &val6);
3929 if (!SWIG_IsOK(ecode6)) {
3930 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3931 }
3932 arg6 = static_cast< long >(val6);
3933 }
3934 if (obj6) {
3935 {
3936 arg7 = wxString_in_helper(obj6);
3937 if (arg7 == NULL) SWIG_fail;
3938 temp7 = true;
3939 }
3940 }
3941 {
3942 PyThreadState* __tstate = wxPyBeginAllowThreads();
3943 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 {
3948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3949 }
3950 {
3951 if (temp7)
3952 delete arg7;
3953 }
3954 return resultobj;
3955 fail:
3956 {
3957 if (temp7)
3958 delete arg7;
3959 }
3960 return NULL;
3961 }
3962
3963
3964 SWIGINTERN PyObject *_wrap_Panel_SetFocusIgnoringChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3965 PyObject *resultobj = 0;
3966 wxPanel *arg1 = (wxPanel *) 0 ;
3967 void *argp1 = 0 ;
3968 int res1 = 0 ;
3969 PyObject *swig_obj[1] ;
3970
3971 if (!args) SWIG_fail;
3972 swig_obj[0] = args;
3973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPanel, 0 | 0 );
3974 if (!SWIG_IsOK(res1)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3976 }
3977 arg1 = reinterpret_cast< wxPanel * >(argp1);
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 (arg1)->SetFocusIgnoringChildren();
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 resultobj = SWIG_Py_Void();
3985 return resultobj;
3986 fail:
3987 return NULL;
3988 }
3989
3990
3991 SWIGINTERN PyObject *_wrap_Panel_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj = 0;
3993 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
3994 SwigValueWrapper<wxVisualAttributes > result;
3995 int val1 ;
3996 int ecode1 = 0 ;
3997 PyObject * obj0 = 0 ;
3998 char * kwnames[] = {
3999 (char *) "variant", NULL
4000 };
4001
4002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
4003 if (obj0) {
4004 ecode1 = SWIG_AsVal_int(obj0, &val1);
4005 if (!SWIG_IsOK(ecode1)) {
4006 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4007 }
4008 arg1 = static_cast< wxWindowVariant >(val1);
4009 }
4010 {
4011 if (!wxPyCheckForApp()) SWIG_fail;
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = wxPanel::GetClassDefaultAttributes(arg1);
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
4018 return resultobj;
4019 fail:
4020 return NULL;
4021 }
4022
4023
4024 SWIGINTERN PyObject *Panel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4025 PyObject *obj;
4026 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4027 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel, SWIG_NewClientData(obj));
4028 return SWIG_Py_Void();
4029 }
4030
4031 SWIGINTERN PyObject *Panel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4032 return SWIG_Python_InitShadowInstance(args);
4033 }
4034
4035 SWIGINTERN PyObject *_wrap_new_ScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4036 PyObject *resultobj = 0;
4037 wxWindow *arg1 = (wxWindow *) 0 ;
4038 int arg2 = (int) (int)-1 ;
4039 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4040 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4041 wxSize const &arg4_defvalue = wxDefaultSize ;
4042 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4043 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
4044 wxString const &arg6_defvalue = wxPyPanelNameStr ;
4045 wxString *arg6 = (wxString *) &arg6_defvalue ;
4046 wxScrolledWindow *result = 0 ;
4047 void *argp1 = 0 ;
4048 int res1 = 0 ;
4049 int val2 ;
4050 int ecode2 = 0 ;
4051 wxPoint temp3 ;
4052 wxSize temp4 ;
4053 long val5 ;
4054 int ecode5 = 0 ;
4055 bool temp6 = false ;
4056 PyObject * obj0 = 0 ;
4057 PyObject * obj1 = 0 ;
4058 PyObject * obj2 = 0 ;
4059 PyObject * obj3 = 0 ;
4060 PyObject * obj4 = 0 ;
4061 PyObject * obj5 = 0 ;
4062 char * kwnames[] = {
4063 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4064 };
4065
4066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4068 if (!SWIG_IsOK(res1)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4070 }
4071 arg1 = reinterpret_cast< wxWindow * >(argp1);
4072 if (obj1) {
4073 ecode2 = SWIG_AsVal_int(obj1, &val2);
4074 if (!SWIG_IsOK(ecode2)) {
4075 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4076 }
4077 arg2 = static_cast< int >(val2);
4078 }
4079 if (obj2) {
4080 {
4081 arg3 = &temp3;
4082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4083 }
4084 }
4085 if (obj3) {
4086 {
4087 arg4 = &temp4;
4088 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4089 }
4090 }
4091 if (obj4) {
4092 ecode5 = SWIG_AsVal_long(obj4, &val5);
4093 if (!SWIG_IsOK(ecode5)) {
4094 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4095 }
4096 arg5 = static_cast< long >(val5);
4097 }
4098 if (obj5) {
4099 {
4100 arg6 = wxString_in_helper(obj5);
4101 if (arg6 == NULL) SWIG_fail;
4102 temp6 = true;
4103 }
4104 }
4105 {
4106 if (!wxPyCheckForApp()) SWIG_fail;
4107 PyThreadState* __tstate = wxPyBeginAllowThreads();
4108 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
4112 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_NEW | 0 );
4113 {
4114 if (temp6)
4115 delete arg6;
4116 }
4117 return resultobj;
4118 fail:
4119 {
4120 if (temp6)
4121 delete arg6;
4122 }
4123 return NULL;
4124 }
4125
4126
4127 SWIGINTERN PyObject *_wrap_new_PreScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4128 PyObject *resultobj = 0;
4129 wxScrolledWindow *result = 0 ;
4130
4131 if (!SWIG_Python_UnpackTuple(args,"new_PreScrolledWindow",0,0,0)) SWIG_fail;
4132 {
4133 if (!wxPyCheckForApp()) SWIG_fail;
4134 PyThreadState* __tstate = wxPyBeginAllowThreads();
4135 result = (wxScrolledWindow *)new wxScrolledWindow();
4136 wxPyEndAllowThreads(__tstate);
4137 if (PyErr_Occurred()) SWIG_fail;
4138 }
4139 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrolledWindow, SWIG_POINTER_OWN | 0 );
4140 return resultobj;
4141 fail:
4142 return NULL;
4143 }
4144
4145
4146 SWIGINTERN PyObject *_wrap_ScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4147 PyObject *resultobj = 0;
4148 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4149 wxWindow *arg2 = (wxWindow *) 0 ;
4150 int arg3 = (int) (int)-1 ;
4151 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4152 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4153 wxSize const &arg5_defvalue = wxDefaultSize ;
4154 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4155 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
4156 wxString const &arg7_defvalue = wxPyPanelNameStr ;
4157 wxString *arg7 = (wxString *) &arg7_defvalue ;
4158 bool result;
4159 void *argp1 = 0 ;
4160 int res1 = 0 ;
4161 void *argp2 = 0 ;
4162 int res2 = 0 ;
4163 int val3 ;
4164 int ecode3 = 0 ;
4165 wxPoint temp4 ;
4166 wxSize temp5 ;
4167 long val6 ;
4168 int ecode6 = 0 ;
4169 bool temp7 = false ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4172 PyObject * obj2 = 0 ;
4173 PyObject * obj3 = 0 ;
4174 PyObject * obj4 = 0 ;
4175 PyObject * obj5 = 0 ;
4176 PyObject * obj6 = 0 ;
4177 char * kwnames[] = {
4178 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4179 };
4180
4181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
4182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4183 if (!SWIG_IsOK(res1)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4185 }
4186 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4187 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4188 if (!SWIG_IsOK(res2)) {
4189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4190 }
4191 arg2 = reinterpret_cast< wxWindow * >(argp2);
4192 if (obj2) {
4193 ecode3 = SWIG_AsVal_int(obj2, &val3);
4194 if (!SWIG_IsOK(ecode3)) {
4195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4196 }
4197 arg3 = static_cast< int >(val3);
4198 }
4199 if (obj3) {
4200 {
4201 arg4 = &temp4;
4202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4203 }
4204 }
4205 if (obj4) {
4206 {
4207 arg5 = &temp5;
4208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4209 }
4210 }
4211 if (obj5) {
4212 ecode6 = SWIG_AsVal_long(obj5, &val6);
4213 if (!SWIG_IsOK(ecode6)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4215 }
4216 arg6 = static_cast< long >(val6);
4217 }
4218 if (obj6) {
4219 {
4220 arg7 = wxString_in_helper(obj6);
4221 if (arg7 == NULL) SWIG_fail;
4222 temp7 = true;
4223 }
4224 }
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 {
4232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4233 }
4234 {
4235 if (temp7)
4236 delete arg7;
4237 }
4238 return resultobj;
4239 fail:
4240 {
4241 if (temp7)
4242 delete arg7;
4243 }
4244 return NULL;
4245 }
4246
4247
4248 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4249 PyObject *resultobj = 0;
4250 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4251 int arg2 ;
4252 int arg3 ;
4253 int arg4 ;
4254 int arg5 ;
4255 int arg6 = (int) 0 ;
4256 int arg7 = (int) 0 ;
4257 bool arg8 = (bool) false ;
4258 void *argp1 = 0 ;
4259 int res1 = 0 ;
4260 int val2 ;
4261 int ecode2 = 0 ;
4262 int val3 ;
4263 int ecode3 = 0 ;
4264 int val4 ;
4265 int ecode4 = 0 ;
4266 int val5 ;
4267 int ecode5 = 0 ;
4268 int val6 ;
4269 int ecode6 = 0 ;
4270 int val7 ;
4271 int ecode7 = 0 ;
4272 bool val8 ;
4273 int ecode8 = 0 ;
4274 PyObject * obj0 = 0 ;
4275 PyObject * obj1 = 0 ;
4276 PyObject * obj2 = 0 ;
4277 PyObject * obj3 = 0 ;
4278 PyObject * obj4 = 0 ;
4279 PyObject * obj5 = 0 ;
4280 PyObject * obj6 = 0 ;
4281 PyObject * obj7 = 0 ;
4282 char * kwnames[] = {
4283 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4284 };
4285
4286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
4287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4288 if (!SWIG_IsOK(res1)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4290 }
4291 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4292 ecode2 = SWIG_AsVal_int(obj1, &val2);
4293 if (!SWIG_IsOK(ecode2)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4295 }
4296 arg2 = static_cast< int >(val2);
4297 ecode3 = SWIG_AsVal_int(obj2, &val3);
4298 if (!SWIG_IsOK(ecode3)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4300 }
4301 arg3 = static_cast< int >(val3);
4302 ecode4 = SWIG_AsVal_int(obj3, &val4);
4303 if (!SWIG_IsOK(ecode4)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4305 }
4306 arg4 = static_cast< int >(val4);
4307 ecode5 = SWIG_AsVal_int(obj4, &val5);
4308 if (!SWIG_IsOK(ecode5)) {
4309 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4310 }
4311 arg5 = static_cast< int >(val5);
4312 if (obj5) {
4313 ecode6 = SWIG_AsVal_int(obj5, &val6);
4314 if (!SWIG_IsOK(ecode6)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4316 }
4317 arg6 = static_cast< int >(val6);
4318 }
4319 if (obj6) {
4320 ecode7 = SWIG_AsVal_int(obj6, &val7);
4321 if (!SWIG_IsOK(ecode7)) {
4322 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4323 }
4324 arg7 = static_cast< int >(val7);
4325 }
4326 if (obj7) {
4327 ecode8 = SWIG_AsVal_bool(obj7, &val8);
4328 if (!SWIG_IsOK(ecode8)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4330 }
4331 arg8 = static_cast< bool >(val8);
4332 }
4333 {
4334 PyThreadState* __tstate = wxPyBeginAllowThreads();
4335 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 resultobj = SWIG_Py_Void();
4340 return resultobj;
4341 fail:
4342 return NULL;
4343 }
4344
4345
4346 SWIGINTERN PyObject *_wrap_ScrolledWindow_Scroll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4347 PyObject *resultobj = 0;
4348 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4349 int arg2 ;
4350 int arg3 ;
4351 void *argp1 = 0 ;
4352 int res1 = 0 ;
4353 int val2 ;
4354 int ecode2 = 0 ;
4355 int val3 ;
4356 int ecode3 = 0 ;
4357 PyObject * obj0 = 0 ;
4358 PyObject * obj1 = 0 ;
4359 PyObject * obj2 = 0 ;
4360 char * kwnames[] = {
4361 (char *) "self",(char *) "x",(char *) "y", NULL
4362 };
4363
4364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4366 if (!SWIG_IsOK(res1)) {
4367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4368 }
4369 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4370 ecode2 = SWIG_AsVal_int(obj1, &val2);
4371 if (!SWIG_IsOK(ecode2)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4373 }
4374 arg2 = static_cast< int >(val2);
4375 ecode3 = SWIG_AsVal_int(obj2, &val3);
4376 if (!SWIG_IsOK(ecode3)) {
4377 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4378 }
4379 arg3 = static_cast< int >(val3);
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 (arg1)->Scroll(arg2,arg3);
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 resultobj = SWIG_Py_Void();
4387 return resultobj;
4388 fail:
4389 return NULL;
4390 }
4391
4392
4393 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj = 0;
4395 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4396 int arg2 ;
4397 int result;
4398 void *argp1 = 0 ;
4399 int res1 = 0 ;
4400 int val2 ;
4401 int ecode2 = 0 ;
4402 PyObject * obj0 = 0 ;
4403 PyObject * obj1 = 0 ;
4404 char * kwnames[] = {
4405 (char *) "self",(char *) "orient", NULL
4406 };
4407
4408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) SWIG_fail;
4409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4410 if (!SWIG_IsOK(res1)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4412 }
4413 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4414 ecode2 = SWIG_AsVal_int(obj1, &val2);
4415 if (!SWIG_IsOK(ecode2)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4417 }
4418 arg2 = static_cast< int >(val2);
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_From_int(static_cast< int >(result));
4426 return resultobj;
4427 fail:
4428 return NULL;
4429 }
4430
4431
4432 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj = 0;
4434 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4435 int arg2 ;
4436 int arg3 ;
4437 void *argp1 = 0 ;
4438 int res1 = 0 ;
4439 int val2 ;
4440 int ecode2 = 0 ;
4441 int val3 ;
4442 int ecode3 = 0 ;
4443 PyObject * obj0 = 0 ;
4444 PyObject * obj1 = 0 ;
4445 PyObject * obj2 = 0 ;
4446 char * kwnames[] = {
4447 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4448 };
4449
4450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4452 if (!SWIG_IsOK(res1)) {
4453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4454 }
4455 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4456 ecode2 = SWIG_AsVal_int(obj1, &val2);
4457 if (!SWIG_IsOK(ecode2)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4459 }
4460 arg2 = static_cast< int >(val2);
4461 ecode3 = SWIG_AsVal_int(obj2, &val3);
4462 if (!SWIG_IsOK(ecode3)) {
4463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4464 }
4465 arg3 = static_cast< int >(val3);
4466 {
4467 PyThreadState* __tstate = wxPyBeginAllowThreads();
4468 (arg1)->SetScrollPageSize(arg2,arg3);
4469 wxPyEndAllowThreads(__tstate);
4470 if (PyErr_Occurred()) SWIG_fail;
4471 }
4472 resultobj = SWIG_Py_Void();
4473 return resultobj;
4474 fail:
4475 return NULL;
4476 }
4477
4478
4479 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj = 0;
4481 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4482 int arg2 ;
4483 int arg3 ;
4484 void *argp1 = 0 ;
4485 int res1 = 0 ;
4486 int val2 ;
4487 int ecode2 = 0 ;
4488 int val3 ;
4489 int ecode3 = 0 ;
4490 PyObject * obj0 = 0 ;
4491 PyObject * obj1 = 0 ;
4492 PyObject * obj2 = 0 ;
4493 char * kwnames[] = {
4494 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4495 };
4496
4497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4499 if (!SWIG_IsOK(res1)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4501 }
4502 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4503 ecode2 = SWIG_AsVal_int(obj1, &val2);
4504 if (!SWIG_IsOK(ecode2)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4506 }
4507 arg2 = static_cast< int >(val2);
4508 ecode3 = SWIG_AsVal_int(obj2, &val3);
4509 if (!SWIG_IsOK(ecode3)) {
4510 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4511 }
4512 arg3 = static_cast< int >(val3);
4513 {
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 (arg1)->SetScrollRate(arg2,arg3);
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 resultobj = SWIG_Py_Void();
4520 return resultobj;
4521 fail:
4522 return NULL;
4523 }
4524
4525
4526 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4527 PyObject *resultobj = 0;
4528 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4529 int *arg2 = (int *) 0 ;
4530 int *arg3 = (int *) 0 ;
4531 void *argp1 = 0 ;
4532 int res1 = 0 ;
4533 int temp2 ;
4534 int res2 = SWIG_TMPOBJ ;
4535 int temp3 ;
4536 int res3 = SWIG_TMPOBJ ;
4537 PyObject *swig_obj[1] ;
4538
4539 arg2 = &temp2;
4540 arg3 = &temp3;
4541 if (!args) SWIG_fail;
4542 swig_obj[0] = args;
4543 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4544 if (!SWIG_IsOK(res1)) {
4545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4546 }
4547 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 resultobj = SWIG_Py_Void();
4555 if (SWIG_IsTmpObj(res2)) {
4556 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4557 } else {
4558 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4559 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4560 }
4561 if (SWIG_IsTmpObj(res3)) {
4562 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4563 } else {
4564 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4565 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4566 }
4567 return resultobj;
4568 fail:
4569 return NULL;
4570 }
4571
4572
4573 SWIGINTERN PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj = 0;
4575 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4576 bool arg2 ;
4577 bool arg3 ;
4578 void *argp1 = 0 ;
4579 int res1 = 0 ;
4580 bool val2 ;
4581 int ecode2 = 0 ;
4582 bool val3 ;
4583 int ecode3 = 0 ;
4584 PyObject * obj0 = 0 ;
4585 PyObject * obj1 = 0 ;
4586 PyObject * obj2 = 0 ;
4587 char * kwnames[] = {
4588 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4589 };
4590
4591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4593 if (!SWIG_IsOK(res1)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4595 }
4596 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4597 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4598 if (!SWIG_IsOK(ecode2)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4600 }
4601 arg2 = static_cast< bool >(val2);
4602 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4603 if (!SWIG_IsOK(ecode3)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4605 }
4606 arg3 = static_cast< bool >(val3);
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 (arg1)->EnableScrolling(arg2,arg3);
4610 wxPyEndAllowThreads(__tstate);
4611 if (PyErr_Occurred()) SWIG_fail;
4612 }
4613 resultobj = SWIG_Py_Void();
4614 return resultobj;
4615 fail:
4616 return NULL;
4617 }
4618
4619
4620 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4621 PyObject *resultobj = 0;
4622 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4623 int *arg2 = (int *) 0 ;
4624 int *arg3 = (int *) 0 ;
4625 void *argp1 = 0 ;
4626 int res1 = 0 ;
4627 int temp2 ;
4628 int res2 = SWIG_TMPOBJ ;
4629 int temp3 ;
4630 int res3 = SWIG_TMPOBJ ;
4631 PyObject *swig_obj[1] ;
4632
4633 arg2 = &temp2;
4634 arg3 = &temp3;
4635 if (!args) SWIG_fail;
4636 swig_obj[0] = args;
4637 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4638 if (!SWIG_IsOK(res1)) {
4639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4640 }
4641 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 resultobj = SWIG_Py_Void();
4649 if (SWIG_IsTmpObj(res2)) {
4650 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
4651 } else {
4652 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4653 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
4654 }
4655 if (SWIG_IsTmpObj(res3)) {
4656 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
4657 } else {
4658 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4659 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
4660 }
4661 return resultobj;
4662 fail:
4663 return NULL;
4664 }
4665
4666
4667 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj = 0;
4669 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4670 double arg2 ;
4671 double arg3 ;
4672 void *argp1 = 0 ;
4673 int res1 = 0 ;
4674 double val2 ;
4675 int ecode2 = 0 ;
4676 double val3 ;
4677 int ecode3 = 0 ;
4678 PyObject * obj0 = 0 ;
4679 PyObject * obj1 = 0 ;
4680 PyObject * obj2 = 0 ;
4681 char * kwnames[] = {
4682 (char *) "self",(char *) "xs",(char *) "ys", NULL
4683 };
4684
4685 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4686 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4687 if (!SWIG_IsOK(res1)) {
4688 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4689 }
4690 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4691 ecode2 = SWIG_AsVal_double(obj1, &val2);
4692 if (!SWIG_IsOK(ecode2)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4694 }
4695 arg2 = static_cast< double >(val2);
4696 ecode3 = SWIG_AsVal_double(obj2, &val3);
4697 if (!SWIG_IsOK(ecode3)) {
4698 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4699 }
4700 arg3 = static_cast< double >(val3);
4701 {
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 (arg1)->SetScale(arg2,arg3);
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 resultobj = SWIG_Py_Void();
4708 return resultobj;
4709 fail:
4710 return NULL;
4711 }
4712
4713
4714 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4715 PyObject *resultobj = 0;
4716 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4717 double result;
4718 void *argp1 = 0 ;
4719 int res1 = 0 ;
4720 PyObject *swig_obj[1] ;
4721
4722 if (!args) SWIG_fail;
4723 swig_obj[0] = args;
4724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4725 if (!SWIG_IsOK(res1)) {
4726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4727 }
4728 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4729 {
4730 PyThreadState* __tstate = wxPyBeginAllowThreads();
4731 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 resultobj = SWIG_From_double(static_cast< double >(result));
4736 return resultobj;
4737 fail:
4738 return NULL;
4739 }
4740
4741
4742 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4743 PyObject *resultobj = 0;
4744 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4745 double result;
4746 void *argp1 = 0 ;
4747 int res1 = 0 ;
4748 PyObject *swig_obj[1] ;
4749
4750 if (!args) SWIG_fail;
4751 swig_obj[0] = args;
4752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4753 if (!SWIG_IsOK(res1)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4755 }
4756 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4757 {
4758 PyThreadState* __tstate = wxPyBeginAllowThreads();
4759 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
4763 resultobj = SWIG_From_double(static_cast< double >(result));
4764 return resultobj;
4765 fail:
4766 return NULL;
4767 }
4768
4769
4770 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4771 PyObject *resultobj = 0;
4772 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4773 wxPoint *arg2 = 0 ;
4774 wxPoint result;
4775 void *argp1 = 0 ;
4776 int res1 = 0 ;
4777 wxPoint temp2 ;
4778
4779 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4781 if (!SWIG_IsOK(res1)) {
4782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4783 }
4784 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4785 {
4786 arg2 = &temp2;
4787 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4788 }
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
4795 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4796 return resultobj;
4797 fail:
4798 return NULL;
4799 }
4800
4801
4802 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4803 PyObject *resultobj = 0;
4804 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4805 int arg2 ;
4806 int arg3 ;
4807 int *arg4 = (int *) 0 ;
4808 int *arg5 = (int *) 0 ;
4809 void *argp1 = 0 ;
4810 int res1 = 0 ;
4811 int val2 ;
4812 int ecode2 = 0 ;
4813 int val3 ;
4814 int ecode3 = 0 ;
4815 int temp4 ;
4816 int res4 = SWIG_TMPOBJ ;
4817 int temp5 ;
4818 int res5 = SWIG_TMPOBJ ;
4819
4820 arg4 = &temp4;
4821 arg5 = &temp5;
4822 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4824 if (!SWIG_IsOK(res1)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4826 }
4827 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4828 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4829 if (!SWIG_IsOK(ecode2)) {
4830 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4831 }
4832 arg2 = static_cast< int >(val2);
4833 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4834 if (!SWIG_IsOK(ecode3)) {
4835 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4836 }
4837 arg3 = static_cast< int >(val3);
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
4841 wxPyEndAllowThreads(__tstate);
4842 if (PyErr_Occurred()) SWIG_fail;
4843 }
4844 resultobj = SWIG_Py_Void();
4845 if (SWIG_IsTmpObj(res4)) {
4846 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4847 } else {
4848 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4849 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4850 }
4851 if (SWIG_IsTmpObj(res5)) {
4852 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4853 } else {
4854 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4855 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4856 }
4857 return resultobj;
4858 fail:
4859 return NULL;
4860 }
4861
4862
4863 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
4864 int argc;
4865 PyObject *argv[4];
4866
4867 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcScrolledPosition",0,3,argv))) SWIG_fail;
4868 --argc;
4869 if (argc == 2) {
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self, argc, argv);
4871 }
4872 if (argc == 3) {
4873 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self, argc, argv);
4874 }
4875
4876 fail:
4877 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4878 return NULL;
4879 }
4880
4881
4882 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4883 PyObject *resultobj = 0;
4884 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4885 wxPoint *arg2 = 0 ;
4886 wxPoint result;
4887 void *argp1 = 0 ;
4888 int res1 = 0 ;
4889 wxPoint temp2 ;
4890
4891 if ((nobjs < 2) || (nobjs > 2)) SWIG_fail;
4892 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4893 if (!SWIG_IsOK(res1)) {
4894 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4895 }
4896 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4897 {
4898 arg2 = &temp2;
4899 if ( ! wxPoint_helper(swig_obj[1], &arg2)) SWIG_fail;
4900 }
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
4908 return resultobj;
4909 fail:
4910 return NULL;
4911 }
4912
4913
4914 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
4915 PyObject *resultobj = 0;
4916 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4917 int arg2 ;
4918 int arg3 ;
4919 int *arg4 = (int *) 0 ;
4920 int *arg5 = (int *) 0 ;
4921 void *argp1 = 0 ;
4922 int res1 = 0 ;
4923 int val2 ;
4924 int ecode2 = 0 ;
4925 int val3 ;
4926 int ecode3 = 0 ;
4927 int temp4 ;
4928 int res4 = SWIG_TMPOBJ ;
4929 int temp5 ;
4930 int res5 = SWIG_TMPOBJ ;
4931
4932 arg4 = &temp4;
4933 arg5 = &temp5;
4934 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
4935 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
4936 if (!SWIG_IsOK(res1)) {
4937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4938 }
4939 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
4940 ecode2 = SWIG_AsVal_int(swig_obj[1], &val2);
4941 if (!SWIG_IsOK(ecode2)) {
4942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4943 }
4944 arg2 = static_cast< int >(val2);
4945 ecode3 = SWIG_AsVal_int(swig_obj[2], &val3);
4946 if (!SWIG_IsOK(ecode3)) {
4947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4948 }
4949 arg3 = static_cast< int >(val3);
4950 {
4951 PyThreadState* __tstate = wxPyBeginAllowThreads();
4952 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
4953 wxPyEndAllowThreads(__tstate);
4954 if (PyErr_Occurred()) SWIG_fail;
4955 }
4956 resultobj = SWIG_Py_Void();
4957 if (SWIG_IsTmpObj(res4)) {
4958 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
4959 } else {
4960 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4961 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
4962 }
4963 if (SWIG_IsTmpObj(res5)) {
4964 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
4965 } else {
4966 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
4967 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
4968 }
4969 return resultobj;
4970 fail:
4971 return NULL;
4972 }
4973
4974
4975 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
4976 int argc;
4977 PyObject *argv[4];
4978
4979 if (!(argc = SWIG_Python_UnpackTuple(args,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv))) SWIG_fail;
4980 --argc;
4981 if (argc == 2) {
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self, argc, argv);
4983 }
4984 if (argc == 3) {
4985 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self, argc, argv);
4986 }
4987
4988 fail:
4989 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4990 return NULL;
4991 }
4992
4993
4994 SWIGINTERN PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4995 PyObject *resultobj = 0;
4996 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
4997 void *argp1 = 0 ;
4998 int res1 = 0 ;
4999 PyObject *swig_obj[1] ;
5000
5001 if (!args) SWIG_fail;
5002 swig_obj[0] = args;
5003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5004 if (!SWIG_IsOK(res1)) {
5005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5006 }
5007 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5008 {
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 (arg1)->AdjustScrollbars();
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 resultobj = SWIG_Py_Void();
5015 return resultobj;
5016 fail:
5017 return NULL;
5018 }
5019
5020
5021 SWIGINTERN PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj = 0;
5023 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5024 wxScrollWinEvent *arg2 = 0 ;
5025 int result;
5026 void *argp1 = 0 ;
5027 int res1 = 0 ;
5028 void *argp2 = 0 ;
5029 int res2 = 0 ;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 char * kwnames[] = {
5033 (char *) "self",(char *) "event", NULL
5034 };
5035
5036 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) SWIG_fail;
5037 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5038 if (!SWIG_IsOK(res1)) {
5039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5040 }
5041 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5042 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxScrollWinEvent, 0 );
5043 if (!SWIG_IsOK(res2)) {
5044 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 }
5046 if (!argp2) {
5047 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 }
5049 arg2 = reinterpret_cast< wxScrollWinEvent * >(argp2);
5050 {
5051 PyThreadState* __tstate = wxPyBeginAllowThreads();
5052 result = (int)(arg1)->CalcScrollInc(*arg2);
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 resultobj = SWIG_From_int(static_cast< int >(result));
5057 return resultobj;
5058 fail:
5059 return NULL;
5060 }
5061
5062
5063 SWIGINTERN PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5064 PyObject *resultobj = 0;
5065 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5066 wxWindow *arg2 = (wxWindow *) 0 ;
5067 void *argp1 = 0 ;
5068 int res1 = 0 ;
5069 void *argp2 = 0 ;
5070 int res2 = 0 ;
5071 PyObject * obj0 = 0 ;
5072 PyObject * obj1 = 0 ;
5073 char * kwnames[] = {
5074 (char *) "self",(char *) "target", NULL
5075 };
5076
5077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) SWIG_fail;
5078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5079 if (!SWIG_IsOK(res1)) {
5080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5081 }
5082 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5083 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5084 if (!SWIG_IsOK(res2)) {
5085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5086 }
5087 arg2 = reinterpret_cast< wxWindow * >(argp2);
5088 {
5089 PyThreadState* __tstate = wxPyBeginAllowThreads();
5090 (arg1)->SetTargetWindow(arg2);
5091 wxPyEndAllowThreads(__tstate);
5092 if (PyErr_Occurred()) SWIG_fail;
5093 }
5094 resultobj = SWIG_Py_Void();
5095 return resultobj;
5096 fail:
5097 return NULL;
5098 }
5099
5100
5101 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5102 PyObject *resultobj = 0;
5103 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5104 wxWindow *result = 0 ;
5105 void *argp1 = 0 ;
5106 int res1 = 0 ;
5107 PyObject *swig_obj[1] ;
5108
5109 if (!args) SWIG_fail;
5110 swig_obj[0] = args;
5111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5112 if (!SWIG_IsOK(res1)) {
5113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5114 }
5115 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5116 {
5117 PyThreadState* __tstate = wxPyBeginAllowThreads();
5118 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
5119 wxPyEndAllowThreads(__tstate);
5120 if (PyErr_Occurred()) SWIG_fail;
5121 }
5122 {
5123 resultobj = wxPyMake_wxObject(result, 0);
5124 }
5125 return resultobj;
5126 fail:
5127 return NULL;
5128 }
5129
5130
5131 SWIGINTERN PyObject *_wrap_ScrolledWindow_DoPrepareDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj = 0;
5133 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
5134 wxDC *arg2 = 0 ;
5135 void *argp1 = 0 ;
5136 int res1 = 0 ;
5137 void *argp2 = 0 ;
5138 int res2 = 0 ;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 char * kwnames[] = {
5142 (char *) "self",(char *) "dc", NULL
5143 };
5144
5145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames,&obj0,&obj1)) SWIG_fail;
5146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxScrolledWindow, 0 | 0 );
5147 if (!SWIG_IsOK(res1)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5149 }
5150 arg1 = reinterpret_cast< wxScrolledWindow * >(argp1);
5151 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
5152 if (!SWIG_IsOK(res2)) {
5153 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5154 }
5155 if (!argp2) {
5156 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5157 }
5158 arg2 = reinterpret_cast< wxDC * >(argp2);
5159 {
5160 PyThreadState* __tstate = wxPyBeginAllowThreads();
5161 (arg1)->DoPrepareDC(*arg2);
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 resultobj = SWIG_Py_Void();
5166 return resultobj;
5167 fail:
5168 return NULL;
5169 }
5170
5171
5172 SWIGINTERN PyObject *_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5173 PyObject *resultobj = 0;
5174 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
5175 SwigValueWrapper<wxVisualAttributes > result;
5176 int val1 ;
5177 int ecode1 = 0 ;
5178 PyObject * obj0 = 0 ;
5179 char * kwnames[] = {
5180 (char *) "variant", NULL
5181 };
5182
5183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
5184 if (obj0) {
5185 ecode1 = SWIG_AsVal_int(obj0, &val1);
5186 if (!SWIG_IsOK(ecode1)) {
5187 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5188 }
5189 arg1 = static_cast< wxWindowVariant >(val1);
5190 }
5191 {
5192 if (!wxPyCheckForApp()) SWIG_fail;
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 result = wxScrolledWindow::GetClassDefaultAttributes(arg1);
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
5199 return resultobj;
5200 fail:
5201 return NULL;
5202 }
5203
5204
5205 SWIGINTERN PyObject *ScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5206 PyObject *obj;
5207 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5208 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow, SWIG_NewClientData(obj));
5209 return SWIG_Py_Void();
5210 }
5211
5212 SWIGINTERN PyObject *ScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5213 return SWIG_Python_InitShadowInstance(args);
5214 }
5215
5216 SWIGINTERN int FrameNameStr_set(PyObject *) {
5217 SWIG_Error(SWIG_AttributeError,"Variable FrameNameStr is read-only.");
5218 return 1;
5219 }
5220
5221
5222 SWIGINTERN PyObject *FrameNameStr_get(void) {
5223 PyObject *pyobj = 0;
5224
5225 {
5226 #if wxUSE_UNICODE
5227 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5228 #else
5229 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
5230 #endif
5231 }
5232 return pyobj;
5233 }
5234
5235
5236 SWIGINTERN int DialogNameStr_set(PyObject *) {
5237 SWIG_Error(SWIG_AttributeError,"Variable DialogNameStr is read-only.");
5238 return 1;
5239 }
5240
5241
5242 SWIGINTERN PyObject *DialogNameStr_get(void) {
5243 PyObject *pyobj = 0;
5244
5245 {
5246 #if wxUSE_UNICODE
5247 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5248 #else
5249 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
5250 #endif
5251 }
5252 return pyobj;
5253 }
5254
5255
5256 SWIGINTERN int StatusLineNameStr_set(PyObject *) {
5257 SWIG_Error(SWIG_AttributeError,"Variable StatusLineNameStr is read-only.");
5258 return 1;
5259 }
5260
5261
5262 SWIGINTERN PyObject *StatusLineNameStr_get(void) {
5263 PyObject *pyobj = 0;
5264
5265 {
5266 #if wxUSE_UNICODE
5267 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5268 #else
5269 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
5270 #endif
5271 }
5272 return pyobj;
5273 }
5274
5275
5276 SWIGINTERN int ToolBarNameStr_set(PyObject *) {
5277 SWIG_Error(SWIG_AttributeError,"Variable ToolBarNameStr is read-only.");
5278 return 1;
5279 }
5280
5281
5282 SWIGINTERN PyObject *ToolBarNameStr_get(void) {
5283 PyObject *pyobj = 0;
5284
5285 {
5286 #if wxUSE_UNICODE
5287 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5288 #else
5289 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
5290 #endif
5291 }
5292 return pyobj;
5293 }
5294
5295
5296 SWIGINTERN PyObject *_wrap_TopLevelWindow_Maximize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5297 PyObject *resultobj = 0;
5298 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5299 bool arg2 = (bool) true ;
5300 void *argp1 = 0 ;
5301 int res1 = 0 ;
5302 bool val2 ;
5303 int ecode2 = 0 ;
5304 PyObject * obj0 = 0 ;
5305 PyObject * obj1 = 0 ;
5306 char * kwnames[] = {
5307 (char *) "self",(char *) "maximize", NULL
5308 };
5309
5310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) SWIG_fail;
5311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5312 if (!SWIG_IsOK(res1)) {
5313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5314 }
5315 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5316 if (obj1) {
5317 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5318 if (!SWIG_IsOK(ecode2)) {
5319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5320 }
5321 arg2 = static_cast< bool >(val2);
5322 }
5323 {
5324 PyThreadState* __tstate = wxPyBeginAllowThreads();
5325 (arg1)->Maximize(arg2);
5326 wxPyEndAllowThreads(__tstate);
5327 if (PyErr_Occurred()) SWIG_fail;
5328 }
5329 resultobj = SWIG_Py_Void();
5330 return resultobj;
5331 fail:
5332 return NULL;
5333 }
5334
5335
5336 SWIGINTERN PyObject *_wrap_TopLevelWindow_Restore(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5337 PyObject *resultobj = 0;
5338 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5339 void *argp1 = 0 ;
5340 int res1 = 0 ;
5341 PyObject *swig_obj[1] ;
5342
5343 if (!args) SWIG_fail;
5344 swig_obj[0] = args;
5345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5346 if (!SWIG_IsOK(res1)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5348 }
5349 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 (arg1)->Restore();
5353 wxPyEndAllowThreads(__tstate);
5354 if (PyErr_Occurred()) SWIG_fail;
5355 }
5356 resultobj = SWIG_Py_Void();
5357 return resultobj;
5358 fail:
5359 return NULL;
5360 }
5361
5362
5363 SWIGINTERN PyObject *_wrap_TopLevelWindow_Iconize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5364 PyObject *resultobj = 0;
5365 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5366 bool arg2 = (bool) true ;
5367 void *argp1 = 0 ;
5368 int res1 = 0 ;
5369 bool val2 ;
5370 int ecode2 = 0 ;
5371 PyObject * obj0 = 0 ;
5372 PyObject * obj1 = 0 ;
5373 char * kwnames[] = {
5374 (char *) "self",(char *) "iconize", NULL
5375 };
5376
5377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) SWIG_fail;
5378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5379 if (!SWIG_IsOK(res1)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5381 }
5382 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5383 if (obj1) {
5384 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5385 if (!SWIG_IsOK(ecode2)) {
5386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5387 }
5388 arg2 = static_cast< bool >(val2);
5389 }
5390 {
5391 PyThreadState* __tstate = wxPyBeginAllowThreads();
5392 (arg1)->Iconize(arg2);
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 resultobj = SWIG_Py_Void();
5397 return resultobj;
5398 fail:
5399 return NULL;
5400 }
5401
5402
5403 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5404 PyObject *resultobj = 0;
5405 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5406 bool result;
5407 void *argp1 = 0 ;
5408 int res1 = 0 ;
5409 PyObject *swig_obj[1] ;
5410
5411 if (!args) SWIG_fail;
5412 swig_obj[0] = args;
5413 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5414 if (!SWIG_IsOK(res1)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5416 }
5417 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 {
5425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5426 }
5427 return resultobj;
5428 fail:
5429 return NULL;
5430 }
5431
5432
5433 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5434 PyObject *resultobj = 0;
5435 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5436 bool result;
5437 void *argp1 = 0 ;
5438 int res1 = 0 ;
5439 PyObject *swig_obj[1] ;
5440
5441 if (!args) SWIG_fail;
5442 swig_obj[0] = args;
5443 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5444 if (!SWIG_IsOK(res1)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5446 }
5447 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5448 {
5449 PyThreadState* __tstate = wxPyBeginAllowThreads();
5450 result = (bool)((wxTopLevelWindow const *)arg1)->IsAlwaysMaximized();
5451 wxPyEndAllowThreads(__tstate);
5452 if (PyErr_Occurred()) SWIG_fail;
5453 }
5454 {
5455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5456 }
5457 return resultobj;
5458 fail:
5459 return NULL;
5460 }
5461
5462
5463 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5464 PyObject *resultobj = 0;
5465 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5466 bool result;
5467 void *argp1 = 0 ;
5468 int res1 = 0 ;
5469 PyObject *swig_obj[1] ;
5470
5471 if (!args) SWIG_fail;
5472 swig_obj[0] = args;
5473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5474 if (!SWIG_IsOK(res1)) {
5475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5476 }
5477 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5478 {
5479 PyThreadState* __tstate = wxPyBeginAllowThreads();
5480 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 {
5485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5486 }
5487 return resultobj;
5488 fail:
5489 return NULL;
5490 }
5491
5492
5493 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5494 PyObject *resultobj = 0;
5495 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5496 wxIcon result;
5497 void *argp1 = 0 ;
5498 int res1 = 0 ;
5499 PyObject *swig_obj[1] ;
5500
5501 if (!args) SWIG_fail;
5502 swig_obj[0] = args;
5503 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5504 if (!SWIG_IsOK(res1)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5506 }
5507 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5508 {
5509 PyThreadState* __tstate = wxPyBeginAllowThreads();
5510 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
5511 wxPyEndAllowThreads(__tstate);
5512 if (PyErr_Occurred()) SWIG_fail;
5513 }
5514 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
5515 return resultobj;
5516 fail:
5517 return NULL;
5518 }
5519
5520
5521 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5522 PyObject *resultobj = 0;
5523 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5524 wxIcon *arg2 = 0 ;
5525 void *argp1 = 0 ;
5526 int res1 = 0 ;
5527 void *argp2 = 0 ;
5528 int res2 = 0 ;
5529 PyObject * obj0 = 0 ;
5530 PyObject * obj1 = 0 ;
5531 char * kwnames[] = {
5532 (char *) "self",(char *) "icon", NULL
5533 };
5534
5535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
5536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5537 if (!SWIG_IsOK(res1)) {
5538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5539 }
5540 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5541 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
5542 if (!SWIG_IsOK(res2)) {
5543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5544 }
5545 if (!argp2) {
5546 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5547 }
5548 arg2 = reinterpret_cast< wxIcon * >(argp2);
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 (arg1)->SetIcon((wxIcon const &)*arg2);
5552 wxPyEndAllowThreads(__tstate);
5553 if (PyErr_Occurred()) SWIG_fail;
5554 }
5555 resultobj = SWIG_Py_Void();
5556 return resultobj;
5557 fail:
5558 return NULL;
5559 }
5560
5561
5562 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5563 PyObject *resultobj = 0;
5564 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5565 wxIconBundle *arg2 = 0 ;
5566 void *argp1 = 0 ;
5567 int res1 = 0 ;
5568 void *argp2 = 0 ;
5569 int res2 = 0 ;
5570 PyObject * obj0 = 0 ;
5571 PyObject * obj1 = 0 ;
5572 char * kwnames[] = {
5573 (char *) "self",(char *) "icons", NULL
5574 };
5575
5576 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) SWIG_fail;
5577 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5578 if (!SWIG_IsOK(res1)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5580 }
5581 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5582 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIconBundle, 0 | 0);
5583 if (!SWIG_IsOK(res2)) {
5584 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5585 }
5586 if (!argp2) {
5587 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5588 }
5589 arg2 = reinterpret_cast< wxIconBundle * >(argp2);
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 (arg1)->SetIcons((wxIconBundle const &)*arg2);
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
5596 resultobj = SWIG_Py_Void();
5597 return resultobj;
5598 fail:
5599 return NULL;
5600 }
5601
5602
5603 SWIGINTERN PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5604 PyObject *resultobj = 0;
5605 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5606 bool arg2 ;
5607 long arg3 = (long) wxFULLSCREEN_ALL ;
5608 bool result;
5609 void *argp1 = 0 ;
5610 int res1 = 0 ;
5611 bool val2 ;
5612 int ecode2 = 0 ;
5613 long val3 ;
5614 int ecode3 = 0 ;
5615 PyObject * obj0 = 0 ;
5616 PyObject * obj1 = 0 ;
5617 PyObject * obj2 = 0 ;
5618 char * kwnames[] = {
5619 (char *) "self",(char *) "show",(char *) "style", NULL
5620 };
5621
5622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5624 if (!SWIG_IsOK(res1)) {
5625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5626 }
5627 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5628 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5629 if (!SWIG_IsOK(ecode2)) {
5630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5631 }
5632 arg2 = static_cast< bool >(val2);
5633 if (obj2) {
5634 ecode3 = SWIG_AsVal_long(obj2, &val3);
5635 if (!SWIG_IsOK(ecode3)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5637 }
5638 arg3 = static_cast< long >(val3);
5639 }
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 {
5647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5648 }
5649 return resultobj;
5650 fail:
5651 return NULL;
5652 }
5653
5654
5655 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5656 PyObject *resultobj = 0;
5657 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5658 bool result;
5659 void *argp1 = 0 ;
5660 int res1 = 0 ;
5661 PyObject *swig_obj[1] ;
5662
5663 if (!args) SWIG_fail;
5664 swig_obj[0] = args;
5665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5666 if (!SWIG_IsOK(res1)) {
5667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5668 }
5669 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 {
5677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5678 }
5679 return resultobj;
5680 fail:
5681 return NULL;
5682 }
5683
5684
5685 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5686 PyObject *resultobj = 0;
5687 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5688 wxString *arg2 = 0 ;
5689 void *argp1 = 0 ;
5690 int res1 = 0 ;
5691 bool temp2 = false ;
5692 PyObject * obj0 = 0 ;
5693 PyObject * obj1 = 0 ;
5694 char * kwnames[] = {
5695 (char *) "self",(char *) "title", NULL
5696 };
5697
5698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) SWIG_fail;
5699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5700 if (!SWIG_IsOK(res1)) {
5701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5702 }
5703 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5704 {
5705 arg2 = wxString_in_helper(obj1);
5706 if (arg2 == NULL) SWIG_fail;
5707 temp2 = true;
5708 }
5709 {
5710 PyThreadState* __tstate = wxPyBeginAllowThreads();
5711 (arg1)->SetTitle((wxString const &)*arg2);
5712 wxPyEndAllowThreads(__tstate);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 resultobj = SWIG_Py_Void();
5716 {
5717 if (temp2)
5718 delete arg2;
5719 }
5720 return resultobj;
5721 fail:
5722 {
5723 if (temp2)
5724 delete arg2;
5725 }
5726 return NULL;
5727 }
5728
5729
5730 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5731 PyObject *resultobj = 0;
5732 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5733 wxString result;
5734 void *argp1 = 0 ;
5735 int res1 = 0 ;
5736 PyObject *swig_obj[1] ;
5737
5738 if (!args) SWIG_fail;
5739 swig_obj[0] = args;
5740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5741 if (!SWIG_IsOK(res1)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5743 }
5744 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 {
5752 #if wxUSE_UNICODE
5753 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5754 #else
5755 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5756 #endif
5757 }
5758 return resultobj;
5759 fail:
5760 return NULL;
5761 }
5762
5763
5764 SWIGINTERN PyObject *_wrap_TopLevelWindow_EnableCloseButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5765 PyObject *resultobj = 0;
5766 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5767 bool arg2 ;
5768 bool result;
5769 void *argp1 = 0 ;
5770 int res1 = 0 ;
5771 bool val2 ;
5772 int ecode2 = 0 ;
5773 PyObject * obj0 = 0 ;
5774 PyObject * obj1 = 0 ;
5775 char * kwnames[] = {
5776 (char *) "self",(char *) "enable", NULL
5777 };
5778
5779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames,&obj0,&obj1)) SWIG_fail;
5780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5781 if (!SWIG_IsOK(res1)) {
5782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5783 }
5784 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5785 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5786 if (!SWIG_IsOK(ecode2)) {
5787 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5788 }
5789 arg2 = static_cast< bool >(val2);
5790 {
5791 PyThreadState* __tstate = wxPyBeginAllowThreads();
5792 result = (bool)(arg1)->EnableCloseButton(arg2);
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 {
5797 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5798 }
5799 return resultobj;
5800 fail:
5801 return NULL;
5802 }
5803
5804
5805 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetShape(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5806 PyObject *resultobj = 0;
5807 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5808 wxRegion *arg2 = 0 ;
5809 bool result;
5810 void *argp1 = 0 ;
5811 int res1 = 0 ;
5812 void *argp2 = 0 ;
5813 int res2 = 0 ;
5814 PyObject * obj0 = 0 ;
5815 PyObject * obj1 = 0 ;
5816 char * kwnames[] = {
5817 (char *) "self",(char *) "region", NULL
5818 };
5819
5820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) SWIG_fail;
5821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5822 if (!SWIG_IsOK(res1)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5824 }
5825 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5826 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxRegion, 0 | 0);
5827 if (!SWIG_IsOK(res2)) {
5828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5829 }
5830 if (!argp2) {
5831 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5832 }
5833 arg2 = reinterpret_cast< wxRegion * >(argp2);
5834 {
5835 PyThreadState* __tstate = wxPyBeginAllowThreads();
5836 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
5837 wxPyEndAllowThreads(__tstate);
5838 if (PyErr_Occurred()) SWIG_fail;
5839 }
5840 {
5841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5842 }
5843 return resultobj;
5844 fail:
5845 return NULL;
5846 }
5847
5848
5849 SWIGINTERN PyObject *_wrap_TopLevelWindow_RequestUserAttention(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj = 0;
5851 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5852 int arg2 = (int) wxUSER_ATTENTION_INFO ;
5853 void *argp1 = 0 ;
5854 int res1 = 0 ;
5855 int val2 ;
5856 int ecode2 = 0 ;
5857 PyObject * obj0 = 0 ;
5858 PyObject * obj1 = 0 ;
5859 char * kwnames[] = {
5860 (char *) "self",(char *) "flags", NULL
5861 };
5862
5863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames,&obj0,&obj1)) SWIG_fail;
5864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5865 if (!SWIG_IsOK(res1)) {
5866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5867 }
5868 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5869 if (obj1) {
5870 ecode2 = SWIG_AsVal_int(obj1, &val2);
5871 if (!SWIG_IsOK(ecode2)) {
5872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5873 }
5874 arg2 = static_cast< int >(val2);
5875 }
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 (arg1)->RequestUserAttention(arg2);
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 resultobj = SWIG_Py_Void();
5883 return resultobj;
5884 fail:
5885 return NULL;
5886 }
5887
5888
5889 SWIGINTERN PyObject *_wrap_TopLevelWindow_IsActive(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5890 PyObject *resultobj = 0;
5891 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5892 bool result;
5893 void *argp1 = 0 ;
5894 int res1 = 0 ;
5895 PyObject *swig_obj[1] ;
5896
5897 if (!args) SWIG_fail;
5898 swig_obj[0] = args;
5899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5900 if (!SWIG_IsOK(res1)) {
5901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5902 }
5903 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 result = (bool)(arg1)->IsActive();
5907 wxPyEndAllowThreads(__tstate);
5908 if (PyErr_Occurred()) SWIG_fail;
5909 }
5910 {
5911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5912 }
5913 return resultobj;
5914 fail:
5915 return NULL;
5916 }
5917
5918
5919 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5920 PyObject *resultobj = 0;
5921 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5922 bool arg2 ;
5923 void *argp1 = 0 ;
5924 int res1 = 0 ;
5925 bool val2 ;
5926 int ecode2 = 0 ;
5927 PyObject * obj0 = 0 ;
5928 PyObject * obj1 = 0 ;
5929 char * kwnames[] = {
5930 (char *) "self",(char *) "on", NULL
5931 };
5932
5933 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames,&obj0,&obj1)) SWIG_fail;
5934 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5935 if (!SWIG_IsOK(res1)) {
5936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5937 }
5938 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5939 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5940 if (!SWIG_IsOK(ecode2)) {
5941 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5942 }
5943 arg2 = static_cast< bool >(val2);
5944 {
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 wxTopLevelWindow_MacSetMetalAppearance(arg1,arg2);
5947 wxPyEndAllowThreads(__tstate);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 resultobj = SWIG_Py_Void();
5951 return resultobj;
5952 fail:
5953 return NULL;
5954 }
5955
5956
5957 SWIGINTERN PyObject *_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5958 PyObject *resultobj = 0;
5959 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5960 bool result;
5961 void *argp1 = 0 ;
5962 int res1 = 0 ;
5963 PyObject *swig_obj[1] ;
5964
5965 if (!args) SWIG_fail;
5966 swig_obj[0] = args;
5967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
5968 if (!SWIG_IsOK(res1)) {
5969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5970 }
5971 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
5972 {
5973 PyThreadState* __tstate = wxPyBeginAllowThreads();
5974 result = (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow const *)arg1);
5975 wxPyEndAllowThreads(__tstate);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
5978 {
5979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5980 }
5981 return resultobj;
5982 fail:
5983 return NULL;
5984 }
5985
5986
5987 SWIGINTERN PyObject *_wrap_TopLevelWindow_CenterOnScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5988 PyObject *resultobj = 0;
5989 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
5990 int arg2 = (int) wxBOTH ;
5991 void *argp1 = 0 ;
5992 int res1 = 0 ;
5993 int val2 ;
5994 int ecode2 = 0 ;
5995 PyObject * obj0 = 0 ;
5996 PyObject * obj1 = 0 ;
5997 char * kwnames[] = {
5998 (char *) "self",(char *) "dir", NULL
5999 };
6000
6001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames,&obj0,&obj1)) SWIG_fail;
6002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6003 if (!SWIG_IsOK(res1)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6005 }
6006 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6007 if (obj1) {
6008 ecode2 = SWIG_AsVal_int(obj1, &val2);
6009 if (!SWIG_IsOK(ecode2)) {
6010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6011 }
6012 arg2 = static_cast< int >(val2);
6013 }
6014 {
6015 PyThreadState* __tstate = wxPyBeginAllowThreads();
6016 (arg1)->CenterOnScreen(arg2);
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 resultobj = SWIG_Py_Void();
6021 return resultobj;
6022 fail:
6023 return NULL;
6024 }
6025
6026
6027 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6028 PyObject *resultobj = 0;
6029 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6030 wxWindow *result = 0 ;
6031 void *argp1 = 0 ;
6032 int res1 = 0 ;
6033 PyObject *swig_obj[1] ;
6034
6035 if (!args) SWIG_fail;
6036 swig_obj[0] = args;
6037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6038 if (!SWIG_IsOK(res1)) {
6039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6040 }
6041 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6042 {
6043 PyThreadState* __tstate = wxPyBeginAllowThreads();
6044 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetDefaultItem();
6045 wxPyEndAllowThreads(__tstate);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 {
6049 resultobj = wxPyMake_wxObject(result, 0);
6050 }
6051 return resultobj;
6052 fail:
6053 return NULL;
6054 }
6055
6056
6057 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6058 PyObject *resultobj = 0;
6059 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6060 wxWindow *arg2 = (wxWindow *) 0 ;
6061 wxWindow *result = 0 ;
6062 void *argp1 = 0 ;
6063 int res1 = 0 ;
6064 void *argp2 = 0 ;
6065 int res2 = 0 ;
6066 PyObject * obj0 = 0 ;
6067 PyObject * obj1 = 0 ;
6068 char * kwnames[] = {
6069 (char *) "self",(char *) "child", NULL
6070 };
6071
6072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6074 if (!SWIG_IsOK(res1)) {
6075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6076 }
6077 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6078 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6079 if (!SWIG_IsOK(res2)) {
6080 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6081 }
6082 arg2 = reinterpret_cast< wxWindow * >(argp2);
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
6086 wxPyEndAllowThreads(__tstate);
6087 if (PyErr_Occurred()) SWIG_fail;
6088 }
6089 {
6090 resultobj = wxPyMake_wxObject(result, 0);
6091 }
6092 return resultobj;
6093 fail:
6094 return NULL;
6095 }
6096
6097
6098 SWIGINTERN PyObject *_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj = 0;
6100 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6101 wxWindow *arg2 = (wxWindow *) 0 ;
6102 void *argp1 = 0 ;
6103 int res1 = 0 ;
6104 void *argp2 = 0 ;
6105 int res2 = 0 ;
6106 PyObject * obj0 = 0 ;
6107 PyObject * obj1 = 0 ;
6108 char * kwnames[] = {
6109 (char *) "self",(char *) "win", NULL
6110 };
6111
6112 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames,&obj0,&obj1)) SWIG_fail;
6113 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6114 if (!SWIG_IsOK(res1)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6116 }
6117 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6118 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6119 if (!SWIG_IsOK(res2)) {
6120 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6121 }
6122 arg2 = reinterpret_cast< wxWindow * >(argp2);
6123 {
6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6125 (arg1)->SetTmpDefaultItem(arg2);
6126 wxPyEndAllowThreads(__tstate);
6127 if (PyErr_Occurred()) SWIG_fail;
6128 }
6129 resultobj = SWIG_Py_Void();
6130 return resultobj;
6131 fail:
6132 return NULL;
6133 }
6134
6135
6136 SWIGINTERN PyObject *_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6137 PyObject *resultobj = 0;
6138 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
6139 wxWindow *result = 0 ;
6140 void *argp1 = 0 ;
6141 int res1 = 0 ;
6142 PyObject *swig_obj[1] ;
6143
6144 if (!args) SWIG_fail;
6145 swig_obj[0] = args;
6146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTopLevelWindow, 0 | 0 );
6147 if (!SWIG_IsOK(res1)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6149 }
6150 arg1 = reinterpret_cast< wxTopLevelWindow * >(argp1);
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 result = (wxWindow *)((wxTopLevelWindow const *)arg1)->GetTmpDefaultItem();
6154 wxPyEndAllowThreads(__tstate);
6155 if (PyErr_Occurred()) SWIG_fail;
6156 }
6157 {
6158 resultobj = wxPyMake_wxObject(result, 0);
6159 }
6160 return resultobj;
6161 fail:
6162 return NULL;
6163 }
6164
6165
6166 SWIGINTERN PyObject *TopLevelWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6167 PyObject *obj;
6168 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
6169 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow, SWIG_NewClientData(obj));
6170 return SWIG_Py_Void();
6171 }
6172
6173 SWIGINTERN PyObject *_wrap_new_Frame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6174 PyObject *resultobj = 0;
6175 wxWindow *arg1 = (wxWindow *) 0 ;
6176 int arg2 = (int) (int)-1 ;
6177 wxString const &arg3_defvalue = wxPyEmptyString ;
6178 wxString *arg3 = (wxString *) &arg3_defvalue ;
6179 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6180 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6181 wxSize const &arg5_defvalue = wxDefaultSize ;
6182 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6183 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
6184 wxString const &arg7_defvalue = wxPyFrameNameStr ;
6185 wxString *arg7 = (wxString *) &arg7_defvalue ;
6186 wxFrame *result = 0 ;
6187 void *argp1 = 0 ;
6188 int res1 = 0 ;
6189 int val2 ;
6190 int ecode2 = 0 ;
6191 bool temp3 = false ;
6192 wxPoint temp4 ;
6193 wxSize temp5 ;
6194 long val6 ;
6195 int ecode6 = 0 ;
6196 bool temp7 = false ;
6197 PyObject * obj0 = 0 ;
6198 PyObject * obj1 = 0 ;
6199 PyObject * obj2 = 0 ;
6200 PyObject * obj3 = 0 ;
6201 PyObject * obj4 = 0 ;
6202 PyObject * obj5 = 0 ;
6203 PyObject * obj6 = 0 ;
6204 char * kwnames[] = {
6205 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6206 };
6207
6208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
6210 if (!SWIG_IsOK(res1)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6212 }
6213 arg1 = reinterpret_cast< wxWindow * >(argp1);
6214 if (obj1) {
6215 ecode2 = SWIG_AsVal_int(obj1, &val2);
6216 if (!SWIG_IsOK(ecode2)) {
6217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6218 }
6219 arg2 = static_cast< int >(val2);
6220 }
6221 if (obj2) {
6222 {
6223 arg3 = wxString_in_helper(obj2);
6224 if (arg3 == NULL) SWIG_fail;
6225 temp3 = true;
6226 }
6227 }
6228 if (obj3) {
6229 {
6230 arg4 = &temp4;
6231 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6232 }
6233 }
6234 if (obj4) {
6235 {
6236 arg5 = &temp5;
6237 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6238 }
6239 }
6240 if (obj5) {
6241 ecode6 = SWIG_AsVal_long(obj5, &val6);
6242 if (!SWIG_IsOK(ecode6)) {
6243 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6244 }
6245 arg6 = static_cast< long >(val6);
6246 }
6247 if (obj6) {
6248 {
6249 arg7 = wxString_in_helper(obj6);
6250 if (arg7 == NULL) SWIG_fail;
6251 temp7 = true;
6252 }
6253 }
6254 {
6255 if (!wxPyCheckForApp()) SWIG_fail;
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_NEW | 0 );
6262 {
6263 if (temp3)
6264 delete arg3;
6265 }
6266 {
6267 if (temp7)
6268 delete arg7;
6269 }
6270 return resultobj;
6271 fail:
6272 {
6273 if (temp3)
6274 delete arg3;
6275 }
6276 {
6277 if (temp7)
6278 delete arg7;
6279 }
6280 return NULL;
6281 }
6282
6283
6284 SWIGINTERN PyObject *_wrap_new_PreFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6285 PyObject *resultobj = 0;
6286 wxFrame *result = 0 ;
6287
6288 if (!SWIG_Python_UnpackTuple(args,"new_PreFrame",0,0,0)) SWIG_fail;
6289 {
6290 if (!wxPyCheckForApp()) SWIG_fail;
6291 PyThreadState* __tstate = wxPyBeginAllowThreads();
6292 result = (wxFrame *)new wxFrame();
6293 wxPyEndAllowThreads(__tstate);
6294 if (PyErr_Occurred()) SWIG_fail;
6295 }
6296 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFrame, SWIG_POINTER_OWN | 0 );
6297 return resultobj;
6298 fail:
6299 return NULL;
6300 }
6301
6302
6303 SWIGINTERN PyObject *_wrap_Frame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj = 0;
6305 wxFrame *arg1 = (wxFrame *) 0 ;
6306 wxWindow *arg2 = (wxWindow *) 0 ;
6307 int arg3 = (int) (int)-1 ;
6308 wxString const &arg4_defvalue = wxPyEmptyString ;
6309 wxString *arg4 = (wxString *) &arg4_defvalue ;
6310 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6311 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6312 wxSize const &arg6_defvalue = wxDefaultSize ;
6313 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6314 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
6315 wxString const &arg8_defvalue = wxPyFrameNameStr ;
6316 wxString *arg8 = (wxString *) &arg8_defvalue ;
6317 bool result;
6318 void *argp1 = 0 ;
6319 int res1 = 0 ;
6320 void *argp2 = 0 ;
6321 int res2 = 0 ;
6322 int val3 ;
6323 int ecode3 = 0 ;
6324 bool temp4 = false ;
6325 wxPoint temp5 ;
6326 wxSize temp6 ;
6327 long val7 ;
6328 int ecode7 = 0 ;
6329 bool temp8 = false ;
6330 PyObject * obj0 = 0 ;
6331 PyObject * obj1 = 0 ;
6332 PyObject * obj2 = 0 ;
6333 PyObject * obj3 = 0 ;
6334 PyObject * obj4 = 0 ;
6335 PyObject * obj5 = 0 ;
6336 PyObject * obj6 = 0 ;
6337 PyObject * obj7 = 0 ;
6338 char * kwnames[] = {
6339 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6340 };
6341
6342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6344 if (!SWIG_IsOK(res1)) {
6345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6346 }
6347 arg1 = reinterpret_cast< wxFrame * >(argp1);
6348 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
6349 if (!SWIG_IsOK(res2)) {
6350 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6351 }
6352 arg2 = reinterpret_cast< wxWindow * >(argp2);
6353 if (obj2) {
6354 ecode3 = SWIG_AsVal_int(obj2, &val3);
6355 if (!SWIG_IsOK(ecode3)) {
6356 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6357 }
6358 arg3 = static_cast< int >(val3);
6359 }
6360 if (obj3) {
6361 {
6362 arg4 = wxString_in_helper(obj3);
6363 if (arg4 == NULL) SWIG_fail;
6364 temp4 = true;
6365 }
6366 }
6367 if (obj4) {
6368 {
6369 arg5 = &temp5;
6370 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6371 }
6372 }
6373 if (obj5) {
6374 {
6375 arg6 = &temp6;
6376 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6377 }
6378 }
6379 if (obj6) {
6380 ecode7 = SWIG_AsVal_long(obj6, &val7);
6381 if (!SWIG_IsOK(ecode7)) {
6382 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6383 }
6384 arg7 = static_cast< long >(val7);
6385 }
6386 if (obj7) {
6387 {
6388 arg8 = wxString_in_helper(obj7);
6389 if (arg8 == NULL) SWIG_fail;
6390 temp8 = true;
6391 }
6392 }
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
6396 wxPyEndAllowThreads(__tstate);
6397 if (PyErr_Occurred()) SWIG_fail;
6398 }
6399 {
6400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6401 }
6402 {
6403 if (temp4)
6404 delete arg4;
6405 }
6406 {
6407 if (temp8)
6408 delete arg8;
6409 }
6410 return resultobj;
6411 fail:
6412 {
6413 if (temp4)
6414 delete arg4;
6415 }
6416 {
6417 if (temp8)
6418 delete arg8;
6419 }
6420 return NULL;
6421 }
6422
6423
6424 SWIGINTERN PyObject *_wrap_Frame_SendSizeEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6425 PyObject *resultobj = 0;
6426 wxFrame *arg1 = (wxFrame *) 0 ;
6427 void *argp1 = 0 ;
6428 int res1 = 0 ;
6429 PyObject *swig_obj[1] ;
6430
6431 if (!args) SWIG_fail;
6432 swig_obj[0] = args;
6433 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6434 if (!SWIG_IsOK(res1)) {
6435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6436 }
6437 arg1 = reinterpret_cast< wxFrame * >(argp1);
6438 {
6439 PyThreadState* __tstate = wxPyBeginAllowThreads();
6440 (arg1)->SendSizeEvent();
6441 wxPyEndAllowThreads(__tstate);
6442 if (PyErr_Occurred()) SWIG_fail;
6443 }
6444 resultobj = SWIG_Py_Void();
6445 return resultobj;
6446 fail:
6447 return NULL;
6448 }
6449
6450
6451 SWIGINTERN PyObject *_wrap_Frame_SetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6452 PyObject *resultobj = 0;
6453 wxFrame *arg1 = (wxFrame *) 0 ;
6454 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
6455 void *argp1 = 0 ;
6456 int res1 = 0 ;
6457 void *argp2 = 0 ;
6458 int res2 = 0 ;
6459 PyObject * obj0 = 0 ;
6460 PyObject * obj1 = 0 ;
6461 char * kwnames[] = {
6462 (char *) "self",(char *) "menubar", NULL
6463 };
6464
6465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) SWIG_fail;
6466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6467 if (!SWIG_IsOK(res1)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6469 }
6470 arg1 = reinterpret_cast< wxFrame * >(argp1);
6471 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenuBar, 0 | 0 );
6472 if (!SWIG_IsOK(res2)) {
6473 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6474 }
6475 arg2 = reinterpret_cast< wxMenuBar * >(argp2);
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 (arg1)->SetMenuBar(arg2);
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 resultobj = SWIG_Py_Void();
6483 return resultobj;
6484 fail:
6485 return NULL;
6486 }
6487
6488
6489 SWIGINTERN PyObject *_wrap_Frame_GetMenuBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6490 PyObject *resultobj = 0;
6491 wxFrame *arg1 = (wxFrame *) 0 ;
6492 wxMenuBar *result = 0 ;
6493 void *argp1 = 0 ;
6494 int res1 = 0 ;
6495 PyObject *swig_obj[1] ;
6496
6497 if (!args) SWIG_fail;
6498 swig_obj[0] = args;
6499 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6500 if (!SWIG_IsOK(res1)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6502 }
6503 arg1 = reinterpret_cast< wxFrame * >(argp1);
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
6507 wxPyEndAllowThreads(__tstate);
6508 if (PyErr_Occurred()) SWIG_fail;
6509 }
6510 {
6511 resultobj = wxPyMake_wxObject(result, 0);
6512 }
6513 return resultobj;
6514 fail:
6515 return NULL;
6516 }
6517
6518
6519 SWIGINTERN PyObject *_wrap_Frame_ProcessCommand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6520 PyObject *resultobj = 0;
6521 wxFrame *arg1 = (wxFrame *) 0 ;
6522 int arg2 ;
6523 bool result;
6524 void *argp1 = 0 ;
6525 int res1 = 0 ;
6526 int val2 ;
6527 int ecode2 = 0 ;
6528 PyObject * obj0 = 0 ;
6529 PyObject * obj1 = 0 ;
6530 char * kwnames[] = {
6531 (char *) "self",(char *) "winid", NULL
6532 };
6533
6534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) SWIG_fail;
6535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6536 if (!SWIG_IsOK(res1)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6538 }
6539 arg1 = reinterpret_cast< wxFrame * >(argp1);
6540 ecode2 = SWIG_AsVal_int(obj1, &val2);
6541 if (!SWIG_IsOK(ecode2)) {
6542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6543 }
6544 arg2 = static_cast< int >(val2);
6545 {
6546 PyThreadState* __tstate = wxPyBeginAllowThreads();
6547 result = (bool)(arg1)->ProcessCommand(arg2);
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 {
6552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6553 }
6554 return resultobj;
6555 fail:
6556 return NULL;
6557 }
6558
6559
6560 SWIGINTERN PyObject *_wrap_Frame_CreateStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj = 0;
6562 wxFrame *arg1 = (wxFrame *) 0 ;
6563 int arg2 = (int) 1 ;
6564 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
6565 int arg4 = (int) 0 ;
6566 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
6567 wxString *arg5 = (wxString *) &arg5_defvalue ;
6568 wxStatusBar *result = 0 ;
6569 void *argp1 = 0 ;
6570 int res1 = 0 ;
6571 int val2 ;
6572 int ecode2 = 0 ;
6573 long val3 ;
6574 int ecode3 = 0 ;
6575 int val4 ;
6576 int ecode4 = 0 ;
6577 bool temp5 = false ;
6578 PyObject * obj0 = 0 ;
6579 PyObject * obj1 = 0 ;
6580 PyObject * obj2 = 0 ;
6581 PyObject * obj3 = 0 ;
6582 PyObject * obj4 = 0 ;
6583 char * kwnames[] = {
6584 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6585 };
6586
6587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
6588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6589 if (!SWIG_IsOK(res1)) {
6590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6591 }
6592 arg1 = reinterpret_cast< wxFrame * >(argp1);
6593 if (obj1) {
6594 ecode2 = SWIG_AsVal_int(obj1, &val2);
6595 if (!SWIG_IsOK(ecode2)) {
6596 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6597 }
6598 arg2 = static_cast< int >(val2);
6599 }
6600 if (obj2) {
6601 ecode3 = SWIG_AsVal_long(obj2, &val3);
6602 if (!SWIG_IsOK(ecode3)) {
6603 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6604 }
6605 arg3 = static_cast< long >(val3);
6606 }
6607 if (obj3) {
6608 ecode4 = SWIG_AsVal_int(obj3, &val4);
6609 if (!SWIG_IsOK(ecode4)) {
6610 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6611 }
6612 arg4 = static_cast< int >(val4);
6613 }
6614 if (obj4) {
6615 {
6616 arg5 = wxString_in_helper(obj4);
6617 if (arg5 == NULL) SWIG_fail;
6618 temp5 = true;
6619 }
6620 }
6621 {
6622 PyThreadState* __tstate = wxPyBeginAllowThreads();
6623 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
6624 wxPyEndAllowThreads(__tstate);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 }
6627 {
6628 resultobj = wxPyMake_wxObject(result, (bool)0);
6629 }
6630 {
6631 if (temp5)
6632 delete arg5;
6633 }
6634 return resultobj;
6635 fail:
6636 {
6637 if (temp5)
6638 delete arg5;
6639 }
6640 return NULL;
6641 }
6642
6643
6644 SWIGINTERN PyObject *_wrap_Frame_GetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6645 PyObject *resultobj = 0;
6646 wxFrame *arg1 = (wxFrame *) 0 ;
6647 wxStatusBar *result = 0 ;
6648 void *argp1 = 0 ;
6649 int res1 = 0 ;
6650 PyObject *swig_obj[1] ;
6651
6652 if (!args) SWIG_fail;
6653 swig_obj[0] = args;
6654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6655 if (!SWIG_IsOK(res1)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6657 }
6658 arg1 = reinterpret_cast< wxFrame * >(argp1);
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 {
6666 resultobj = wxPyMake_wxObject(result, (bool)0);
6667 }
6668 return resultobj;
6669 fail:
6670 return NULL;
6671 }
6672
6673
6674 SWIGINTERN PyObject *_wrap_Frame_SetStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj = 0;
6676 wxFrame *arg1 = (wxFrame *) 0 ;
6677 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
6678 void *argp1 = 0 ;
6679 int res1 = 0 ;
6680 void *argp2 = 0 ;
6681 int res2 = 0 ;
6682 PyObject * obj0 = 0 ;
6683 PyObject * obj1 = 0 ;
6684 char * kwnames[] = {
6685 (char *) "self",(char *) "statBar", NULL
6686 };
6687
6688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) SWIG_fail;
6689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6690 if (!SWIG_IsOK(res1)) {
6691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6692 }
6693 arg1 = reinterpret_cast< wxFrame * >(argp1);
6694 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxStatusBar, 0 | 0 );
6695 if (!SWIG_IsOK(res2)) {
6696 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6697 }
6698 arg2 = reinterpret_cast< wxStatusBar * >(argp2);
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 (arg1)->SetStatusBar(arg2);
6702 wxPyEndAllowThreads(__tstate);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 }
6705 resultobj = SWIG_Py_Void();
6706 return resultobj;
6707 fail:
6708 return NULL;
6709 }
6710
6711
6712 SWIGINTERN PyObject *_wrap_Frame_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6713 PyObject *resultobj = 0;
6714 wxFrame *arg1 = (wxFrame *) 0 ;
6715 wxString *arg2 = 0 ;
6716 int arg3 = (int) 0 ;
6717 void *argp1 = 0 ;
6718 int res1 = 0 ;
6719 bool temp2 = false ;
6720 int val3 ;
6721 int ecode3 = 0 ;
6722 PyObject * obj0 = 0 ;
6723 PyObject * obj1 = 0 ;
6724 PyObject * obj2 = 0 ;
6725 char * kwnames[] = {
6726 (char *) "self",(char *) "text",(char *) "number", NULL
6727 };
6728
6729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6731 if (!SWIG_IsOK(res1)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6733 }
6734 arg1 = reinterpret_cast< wxFrame * >(argp1);
6735 {
6736 arg2 = wxString_in_helper(obj1);
6737 if (arg2 == NULL) SWIG_fail;
6738 temp2 = true;
6739 }
6740 if (obj2) {
6741 ecode3 = SWIG_AsVal_int(obj2, &val3);
6742 if (!SWIG_IsOK(ecode3)) {
6743 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6744 }
6745 arg3 = static_cast< int >(val3);
6746 }
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 resultobj = SWIG_Py_Void();
6754 {
6755 if (temp2)
6756 delete arg2;
6757 }
6758 return resultobj;
6759 fail:
6760 {
6761 if (temp2)
6762 delete arg2;
6763 }
6764 return NULL;
6765 }
6766
6767
6768 SWIGINTERN PyObject *_wrap_Frame_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj = 0;
6770 wxFrame *arg1 = (wxFrame *) 0 ;
6771 int arg2 ;
6772 int *arg3 = (int *) 0 ;
6773 void *argp1 = 0 ;
6774 int res1 = 0 ;
6775 PyObject * obj0 = 0 ;
6776 PyObject * obj1 = 0 ;
6777 char * kwnames[] = {
6778 (char *) "self",(char *) "widths", NULL
6779 };
6780
6781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
6782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6783 if (!SWIG_IsOK(res1)) {
6784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6785 }
6786 arg1 = reinterpret_cast< wxFrame * >(argp1);
6787 {
6788 arg2 = PyList_Size(obj1);
6789 arg3 = int_LIST_helper(obj1);
6790 if (arg3 == NULL) SWIG_fail;
6791 }
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 resultobj = SWIG_Py_Void();
6799 {
6800 if (arg3) delete [] arg3;
6801 }
6802 return resultobj;
6803 fail:
6804 {
6805 if (arg3) delete [] arg3;
6806 }
6807 return NULL;
6808 }
6809
6810
6811 SWIGINTERN PyObject *_wrap_Frame_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6812 PyObject *resultobj = 0;
6813 wxFrame *arg1 = (wxFrame *) 0 ;
6814 wxString *arg2 = 0 ;
6815 int arg3 = (int) 0 ;
6816 void *argp1 = 0 ;
6817 int res1 = 0 ;
6818 bool temp2 = false ;
6819 int val3 ;
6820 int ecode3 = 0 ;
6821 PyObject * obj0 = 0 ;
6822 PyObject * obj1 = 0 ;
6823 PyObject * obj2 = 0 ;
6824 char * kwnames[] = {
6825 (char *) "self",(char *) "text",(char *) "number", NULL
6826 };
6827
6828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6830 if (!SWIG_IsOK(res1)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6832 }
6833 arg1 = reinterpret_cast< wxFrame * >(argp1);
6834 {
6835 arg2 = wxString_in_helper(obj1);
6836 if (arg2 == NULL) SWIG_fail;
6837 temp2 = true;
6838 }
6839 if (obj2) {
6840 ecode3 = SWIG_AsVal_int(obj2, &val3);
6841 if (!SWIG_IsOK(ecode3)) {
6842 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6843 }
6844 arg3 = static_cast< int >(val3);
6845 }
6846 {
6847 PyThreadState* __tstate = wxPyBeginAllowThreads();
6848 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
6849 wxPyEndAllowThreads(__tstate);
6850 if (PyErr_Occurred()) SWIG_fail;
6851 }
6852 resultobj = SWIG_Py_Void();
6853 {
6854 if (temp2)
6855 delete arg2;
6856 }
6857 return resultobj;
6858 fail:
6859 {
6860 if (temp2)
6861 delete arg2;
6862 }
6863 return NULL;
6864 }
6865
6866
6867 SWIGINTERN PyObject *_wrap_Frame_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6868 PyObject *resultobj = 0;
6869 wxFrame *arg1 = (wxFrame *) 0 ;
6870 int arg2 = (int) 0 ;
6871 void *argp1 = 0 ;
6872 int res1 = 0 ;
6873 int val2 ;
6874 int ecode2 = 0 ;
6875 PyObject * obj0 = 0 ;
6876 PyObject * obj1 = 0 ;
6877 char * kwnames[] = {
6878 (char *) "self",(char *) "number", NULL
6879 };
6880
6881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
6882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6883 if (!SWIG_IsOK(res1)) {
6884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6885 }
6886 arg1 = reinterpret_cast< wxFrame * >(argp1);
6887 if (obj1) {
6888 ecode2 = SWIG_AsVal_int(obj1, &val2);
6889 if (!SWIG_IsOK(ecode2)) {
6890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6891 }
6892 arg2 = static_cast< int >(val2);
6893 }
6894 {
6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6896 (arg1)->PopStatusText(arg2);
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 resultobj = SWIG_Py_Void();
6901 return resultobj;
6902 fail:
6903 return NULL;
6904 }
6905
6906
6907 SWIGINTERN PyObject *_wrap_Frame_SetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6908 PyObject *resultobj = 0;
6909 wxFrame *arg1 = (wxFrame *) 0 ;
6910 int arg2 ;
6911 void *argp1 = 0 ;
6912 int res1 = 0 ;
6913 int val2 ;
6914 int ecode2 = 0 ;
6915 PyObject * obj0 = 0 ;
6916 PyObject * obj1 = 0 ;
6917 char * kwnames[] = {
6918 (char *) "self",(char *) "n", NULL
6919 };
6920
6921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) SWIG_fail;
6922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6923 if (!SWIG_IsOK(res1)) {
6924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6925 }
6926 arg1 = reinterpret_cast< wxFrame * >(argp1);
6927 ecode2 = SWIG_AsVal_int(obj1, &val2);
6928 if (!SWIG_IsOK(ecode2)) {
6929 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6930 }
6931 arg2 = static_cast< int >(val2);
6932 {
6933 PyThreadState* __tstate = wxPyBeginAllowThreads();
6934 (arg1)->SetStatusBarPane(arg2);
6935 wxPyEndAllowThreads(__tstate);
6936 if (PyErr_Occurred()) SWIG_fail;
6937 }
6938 resultobj = SWIG_Py_Void();
6939 return resultobj;
6940 fail:
6941 return NULL;
6942 }
6943
6944
6945 SWIGINTERN PyObject *_wrap_Frame_GetStatusBarPane(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6946 PyObject *resultobj = 0;
6947 wxFrame *arg1 = (wxFrame *) 0 ;
6948 int result;
6949 void *argp1 = 0 ;
6950 int res1 = 0 ;
6951 PyObject *swig_obj[1] ;
6952
6953 if (!args) SWIG_fail;
6954 swig_obj[0] = args;
6955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6956 if (!SWIG_IsOK(res1)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6958 }
6959 arg1 = reinterpret_cast< wxFrame * >(argp1);
6960 {
6961 PyThreadState* __tstate = wxPyBeginAllowThreads();
6962 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
6963 wxPyEndAllowThreads(__tstate);
6964 if (PyErr_Occurred()) SWIG_fail;
6965 }
6966 resultobj = SWIG_From_int(static_cast< int >(result));
6967 return resultobj;
6968 fail:
6969 return NULL;
6970 }
6971
6972
6973 SWIGINTERN PyObject *_wrap_Frame_CreateToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6974 PyObject *resultobj = 0;
6975 wxFrame *arg1 = (wxFrame *) 0 ;
6976 long arg2 = (long) -1 ;
6977 int arg3 = (int) -1 ;
6978 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
6979 wxString *arg4 = (wxString *) &arg4_defvalue ;
6980 wxToolBar *result = 0 ;
6981 void *argp1 = 0 ;
6982 int res1 = 0 ;
6983 long val2 ;
6984 int ecode2 = 0 ;
6985 int val3 ;
6986 int ecode3 = 0 ;
6987 bool temp4 = false ;
6988 PyObject * obj0 = 0 ;
6989 PyObject * obj1 = 0 ;
6990 PyObject * obj2 = 0 ;
6991 PyObject * obj3 = 0 ;
6992 char * kwnames[] = {
6993 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6994 };
6995
6996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
6997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
6998 if (!SWIG_IsOK(res1)) {
6999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7000 }
7001 arg1 = reinterpret_cast< wxFrame * >(argp1);
7002 if (obj1) {
7003 ecode2 = SWIG_AsVal_long(obj1, &val2);
7004 if (!SWIG_IsOK(ecode2)) {
7005 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7006 }
7007 arg2 = static_cast< long >(val2);
7008 }
7009 if (obj2) {
7010 ecode3 = SWIG_AsVal_int(obj2, &val3);
7011 if (!SWIG_IsOK(ecode3)) {
7012 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7013 }
7014 arg3 = static_cast< int >(val3);
7015 }
7016 if (obj3) {
7017 {
7018 arg4 = wxString_in_helper(obj3);
7019 if (arg4 == NULL) SWIG_fail;
7020 temp4 = true;
7021 }
7022 }
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 {
7030 resultobj = wxPyMake_wxObject(result, (bool)0);
7031 }
7032 {
7033 if (temp4)
7034 delete arg4;
7035 }
7036 return resultobj;
7037 fail:
7038 {
7039 if (temp4)
7040 delete arg4;
7041 }
7042 return NULL;
7043 }
7044
7045
7046 SWIGINTERN PyObject *_wrap_Frame_GetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7047 PyObject *resultobj = 0;
7048 wxFrame *arg1 = (wxFrame *) 0 ;
7049 wxToolBar *result = 0 ;
7050 void *argp1 = 0 ;
7051 int res1 = 0 ;
7052 PyObject *swig_obj[1] ;
7053
7054 if (!args) SWIG_fail;
7055 swig_obj[0] = args;
7056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7057 if (!SWIG_IsOK(res1)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7059 }
7060 arg1 = reinterpret_cast< wxFrame * >(argp1);
7061 {
7062 PyThreadState* __tstate = wxPyBeginAllowThreads();
7063 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
7064 wxPyEndAllowThreads(__tstate);
7065 if (PyErr_Occurred()) SWIG_fail;
7066 }
7067 {
7068 resultobj = wxPyMake_wxObject(result, (bool)0);
7069 }
7070 return resultobj;
7071 fail:
7072 return NULL;
7073 }
7074
7075
7076 SWIGINTERN PyObject *_wrap_Frame_SetToolBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7077 PyObject *resultobj = 0;
7078 wxFrame *arg1 = (wxFrame *) 0 ;
7079 wxToolBar *arg2 = (wxToolBar *) 0 ;
7080 void *argp1 = 0 ;
7081 int res1 = 0 ;
7082 void *argp2 = 0 ;
7083 int res2 = 0 ;
7084 PyObject * obj0 = 0 ;
7085 PyObject * obj1 = 0 ;
7086 char * kwnames[] = {
7087 (char *) "self",(char *) "toolbar", NULL
7088 };
7089
7090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) SWIG_fail;
7091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7092 if (!SWIG_IsOK(res1)) {
7093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7094 }
7095 arg1 = reinterpret_cast< wxFrame * >(argp1);
7096 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxToolBar, 0 | 0 );
7097 if (!SWIG_IsOK(res2)) {
7098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7099 }
7100 arg2 = reinterpret_cast< wxToolBar * >(argp2);
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 (arg1)->SetToolBar(arg2);
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 resultobj = SWIG_Py_Void();
7108 return resultobj;
7109 fail:
7110 return NULL;
7111 }
7112
7113
7114 SWIGINTERN PyObject *_wrap_Frame_DoGiveHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj = 0;
7116 wxFrame *arg1 = (wxFrame *) 0 ;
7117 wxString *arg2 = 0 ;
7118 bool arg3 ;
7119 void *argp1 = 0 ;
7120 int res1 = 0 ;
7121 bool temp2 = false ;
7122 bool val3 ;
7123 int ecode3 = 0 ;
7124 PyObject * obj0 = 0 ;
7125 PyObject * obj1 = 0 ;
7126 PyObject * obj2 = 0 ;
7127 char * kwnames[] = {
7128 (char *) "self",(char *) "text",(char *) "show", NULL
7129 };
7130
7131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7133 if (!SWIG_IsOK(res1)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7135 }
7136 arg1 = reinterpret_cast< wxFrame * >(argp1);
7137 {
7138 arg2 = wxString_in_helper(obj1);
7139 if (arg2 == NULL) SWIG_fail;
7140 temp2 = true;
7141 }
7142 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7143 if (!SWIG_IsOK(ecode3)) {
7144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7145 }
7146 arg3 = static_cast< bool >(val3);
7147 {
7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
7149 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 resultobj = SWIG_Py_Void();
7154 {
7155 if (temp2)
7156 delete arg2;
7157 }
7158 return resultobj;
7159 fail:
7160 {
7161 if (temp2)
7162 delete arg2;
7163 }
7164 return NULL;
7165 }
7166
7167
7168 SWIGINTERN PyObject *_wrap_Frame_DoMenuUpdates(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7169 PyObject *resultobj = 0;
7170 wxFrame *arg1 = (wxFrame *) 0 ;
7171 wxMenu *arg2 = (wxMenu *) NULL ;
7172 void *argp1 = 0 ;
7173 int res1 = 0 ;
7174 void *argp2 = 0 ;
7175 int res2 = 0 ;
7176 PyObject * obj0 = 0 ;
7177 PyObject * obj1 = 0 ;
7178 char * kwnames[] = {
7179 (char *) "self",(char *) "menu", NULL
7180 };
7181
7182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) SWIG_fail;
7183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFrame, 0 | 0 );
7184 if (!SWIG_IsOK(res1)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7186 }
7187 arg1 = reinterpret_cast< wxFrame * >(argp1);
7188 if (obj1) {
7189 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
7190 if (!SWIG_IsOK(res2)) {
7191 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7192 }
7193 arg2 = reinterpret_cast< wxMenu * >(argp2);
7194 }
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 (arg1)->DoMenuUpdates(arg2);
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 resultobj = SWIG_Py_Void();
7202 return resultobj;
7203 fail:
7204 return NULL;
7205 }
7206
7207
7208 SWIGINTERN PyObject *_wrap_Frame_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7209 PyObject *resultobj = 0;
7210 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7211 SwigValueWrapper<wxVisualAttributes > result;
7212 int val1 ;
7213 int ecode1 = 0 ;
7214 PyObject * obj0 = 0 ;
7215 char * kwnames[] = {
7216 (char *) "variant", NULL
7217 };
7218
7219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7220 if (obj0) {
7221 ecode1 = SWIG_AsVal_int(obj0, &val1);
7222 if (!SWIG_IsOK(ecode1)) {
7223 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7224 }
7225 arg1 = static_cast< wxWindowVariant >(val1);
7226 }
7227 {
7228 if (!wxPyCheckForApp()) SWIG_fail;
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 result = wxFrame::GetClassDefaultAttributes(arg1);
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7235 return resultobj;
7236 fail:
7237 return NULL;
7238 }
7239
7240
7241 SWIGINTERN PyObject *Frame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7242 PyObject *obj;
7243 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
7244 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame, SWIG_NewClientData(obj));
7245 return SWIG_Py_Void();
7246 }
7247
7248 SWIGINTERN PyObject *Frame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7249 return SWIG_Python_InitShadowInstance(args);
7250 }
7251
7252 SWIGINTERN PyObject *_wrap_new_Dialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj = 0;
7254 wxWindow *arg1 = (wxWindow *) 0 ;
7255 int arg2 = (int) (int)-1 ;
7256 wxString const &arg3_defvalue = wxPyEmptyString ;
7257 wxString *arg3 = (wxString *) &arg3_defvalue ;
7258 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7259 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7260 wxSize const &arg5_defvalue = wxDefaultSize ;
7261 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7262 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
7263 wxString const &arg7_defvalue = wxPyDialogNameStr ;
7264 wxString *arg7 = (wxString *) &arg7_defvalue ;
7265 wxDialog *result = 0 ;
7266 void *argp1 = 0 ;
7267 int res1 = 0 ;
7268 int val2 ;
7269 int ecode2 = 0 ;
7270 bool temp3 = false ;
7271 wxPoint temp4 ;
7272 wxSize temp5 ;
7273 long val6 ;
7274 int ecode6 = 0 ;
7275 bool temp7 = false ;
7276 PyObject * obj0 = 0 ;
7277 PyObject * obj1 = 0 ;
7278 PyObject * obj2 = 0 ;
7279 PyObject * obj3 = 0 ;
7280 PyObject * obj4 = 0 ;
7281 PyObject * obj5 = 0 ;
7282 PyObject * obj6 = 0 ;
7283 char * kwnames[] = {
7284 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7285 };
7286
7287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
7288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
7289 if (!SWIG_IsOK(res1)) {
7290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7291 }
7292 arg1 = reinterpret_cast< wxWindow * >(argp1);
7293 if (obj1) {
7294 ecode2 = SWIG_AsVal_int(obj1, &val2);
7295 if (!SWIG_IsOK(ecode2)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7297 }
7298 arg2 = static_cast< int >(val2);
7299 }
7300 if (obj2) {
7301 {
7302 arg3 = wxString_in_helper(obj2);
7303 if (arg3 == NULL) SWIG_fail;
7304 temp3 = true;
7305 }
7306 }
7307 if (obj3) {
7308 {
7309 arg4 = &temp4;
7310 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7311 }
7312 }
7313 if (obj4) {
7314 {
7315 arg5 = &temp5;
7316 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7317 }
7318 }
7319 if (obj5) {
7320 ecode6 = SWIG_AsVal_long(obj5, &val6);
7321 if (!SWIG_IsOK(ecode6)) {
7322 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7323 }
7324 arg6 = static_cast< long >(val6);
7325 }
7326 if (obj6) {
7327 {
7328 arg7 = wxString_in_helper(obj6);
7329 if (arg7 == NULL) SWIG_fail;
7330 temp7 = true;
7331 }
7332 }
7333 {
7334 if (!wxPyCheckForApp()) SWIG_fail;
7335 PyThreadState* __tstate = wxPyBeginAllowThreads();
7336 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7337 wxPyEndAllowThreads(__tstate);
7338 if (PyErr_Occurred()) SWIG_fail;
7339 }
7340 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_NEW | 0 );
7341 {
7342 if (temp3)
7343 delete arg3;
7344 }
7345 {
7346 if (temp7)
7347 delete arg7;
7348 }
7349 return resultobj;
7350 fail:
7351 {
7352 if (temp3)
7353 delete arg3;
7354 }
7355 {
7356 if (temp7)
7357 delete arg7;
7358 }
7359 return NULL;
7360 }
7361
7362
7363 SWIGINTERN PyObject *_wrap_new_PreDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7364 PyObject *resultobj = 0;
7365 wxDialog *result = 0 ;
7366
7367 if (!SWIG_Python_UnpackTuple(args,"new_PreDialog",0,0,0)) SWIG_fail;
7368 {
7369 if (!wxPyCheckForApp()) SWIG_fail;
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 result = (wxDialog *)new wxDialog();
7372 wxPyEndAllowThreads(__tstate);
7373 if (PyErr_Occurred()) SWIG_fail;
7374 }
7375 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDialog, SWIG_POINTER_OWN | 0 );
7376 return resultobj;
7377 fail:
7378 return NULL;
7379 }
7380
7381
7382 SWIGINTERN PyObject *_wrap_Dialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7383 PyObject *resultobj = 0;
7384 wxDialog *arg1 = (wxDialog *) 0 ;
7385 wxWindow *arg2 = (wxWindow *) 0 ;
7386 int arg3 = (int) (int)-1 ;
7387 wxString const &arg4_defvalue = wxPyEmptyString ;
7388 wxString *arg4 = (wxString *) &arg4_defvalue ;
7389 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7390 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7391 wxSize const &arg6_defvalue = wxDefaultSize ;
7392 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7393 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
7394 wxString const &arg8_defvalue = wxPyDialogNameStr ;
7395 wxString *arg8 = (wxString *) &arg8_defvalue ;
7396 bool result;
7397 void *argp1 = 0 ;
7398 int res1 = 0 ;
7399 void *argp2 = 0 ;
7400 int res2 = 0 ;
7401 int val3 ;
7402 int ecode3 = 0 ;
7403 bool temp4 = false ;
7404 wxPoint temp5 ;
7405 wxSize temp6 ;
7406 long val7 ;
7407 int ecode7 = 0 ;
7408 bool temp8 = false ;
7409 PyObject * obj0 = 0 ;
7410 PyObject * obj1 = 0 ;
7411 PyObject * obj2 = 0 ;
7412 PyObject * obj3 = 0 ;
7413 PyObject * obj4 = 0 ;
7414 PyObject * obj5 = 0 ;
7415 PyObject * obj6 = 0 ;
7416 PyObject * obj7 = 0 ;
7417 char * kwnames[] = {
7418 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7419 };
7420
7421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
7422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7423 if (!SWIG_IsOK(res1)) {
7424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7425 }
7426 arg1 = reinterpret_cast< wxDialog * >(argp1);
7427 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
7428 if (!SWIG_IsOK(res2)) {
7429 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7430 }
7431 arg2 = reinterpret_cast< wxWindow * >(argp2);
7432 if (obj2) {
7433 ecode3 = SWIG_AsVal_int(obj2, &val3);
7434 if (!SWIG_IsOK(ecode3)) {
7435 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7436 }
7437 arg3 = static_cast< int >(val3);
7438 }
7439 if (obj3) {
7440 {
7441 arg4 = wxString_in_helper(obj3);
7442 if (arg4 == NULL) SWIG_fail;
7443 temp4 = true;
7444 }
7445 }
7446 if (obj4) {
7447 {
7448 arg5 = &temp5;
7449 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7450 }
7451 }
7452 if (obj5) {
7453 {
7454 arg6 = &temp6;
7455 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7456 }
7457 }
7458 if (obj6) {
7459 ecode7 = SWIG_AsVal_long(obj6, &val7);
7460 if (!SWIG_IsOK(ecode7)) {
7461 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7462 }
7463 arg7 = static_cast< long >(val7);
7464 }
7465 if (obj7) {
7466 {
7467 arg8 = wxString_in_helper(obj7);
7468 if (arg8 == NULL) SWIG_fail;
7469 temp8 = true;
7470 }
7471 }
7472 {
7473 PyThreadState* __tstate = wxPyBeginAllowThreads();
7474 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
7475 wxPyEndAllowThreads(__tstate);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 {
7479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7480 }
7481 {
7482 if (temp4)
7483 delete arg4;
7484 }
7485 {
7486 if (temp8)
7487 delete arg8;
7488 }
7489 return resultobj;
7490 fail:
7491 {
7492 if (temp4)
7493 delete arg4;
7494 }
7495 {
7496 if (temp8)
7497 delete arg8;
7498 }
7499 return NULL;
7500 }
7501
7502
7503 SWIGINTERN PyObject *_wrap_Dialog_SetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj = 0;
7505 wxDialog *arg1 = (wxDialog *) 0 ;
7506 int arg2 ;
7507 void *argp1 = 0 ;
7508 int res1 = 0 ;
7509 int val2 ;
7510 int ecode2 = 0 ;
7511 PyObject * obj0 = 0 ;
7512 PyObject * obj1 = 0 ;
7513 char * kwnames[] = {
7514 (char *) "self",(char *) "returnCode", NULL
7515 };
7516
7517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) SWIG_fail;
7518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7519 if (!SWIG_IsOK(res1)) {
7520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7521 }
7522 arg1 = reinterpret_cast< wxDialog * >(argp1);
7523 ecode2 = SWIG_AsVal_int(obj1, &val2);
7524 if (!SWIG_IsOK(ecode2)) {
7525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7526 }
7527 arg2 = static_cast< int >(val2);
7528 {
7529 PyThreadState* __tstate = wxPyBeginAllowThreads();
7530 (arg1)->SetReturnCode(arg2);
7531 wxPyEndAllowThreads(__tstate);
7532 if (PyErr_Occurred()) SWIG_fail;
7533 }
7534 resultobj = SWIG_Py_Void();
7535 return resultobj;
7536 fail:
7537 return NULL;
7538 }
7539
7540
7541 SWIGINTERN PyObject *_wrap_Dialog_GetReturnCode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7542 PyObject *resultobj = 0;
7543 wxDialog *arg1 = (wxDialog *) 0 ;
7544 int result;
7545 void *argp1 = 0 ;
7546 int res1 = 0 ;
7547 PyObject *swig_obj[1] ;
7548
7549 if (!args) SWIG_fail;
7550 swig_obj[0] = args;
7551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7552 if (!SWIG_IsOK(res1)) {
7553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7554 }
7555 arg1 = reinterpret_cast< wxDialog * >(argp1);
7556 {
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 result = (int)((wxDialog const *)arg1)->GetReturnCode();
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 resultobj = SWIG_From_int(static_cast< int >(result));
7563 return resultobj;
7564 fail:
7565 return NULL;
7566 }
7567
7568
7569 SWIGINTERN PyObject *_wrap_Dialog_SetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7570 PyObject *resultobj = 0;
7571 wxDialog *arg1 = (wxDialog *) 0 ;
7572 int arg2 ;
7573 void *argp1 = 0 ;
7574 int res1 = 0 ;
7575 int val2 ;
7576 int ecode2 = 0 ;
7577 PyObject * obj0 = 0 ;
7578 PyObject * obj1 = 0 ;
7579 char * kwnames[] = {
7580 (char *) "self",(char *) "affirmativeId", NULL
7581 };
7582
7583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetAffirmativeId",kwnames,&obj0,&obj1)) SWIG_fail;
7584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7585 if (!SWIG_IsOK(res1)) {
7586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7587 }
7588 arg1 = reinterpret_cast< wxDialog * >(argp1);
7589 ecode2 = SWIG_AsVal_int(obj1, &val2);
7590 if (!SWIG_IsOK(ecode2)) {
7591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7592 }
7593 arg2 = static_cast< int >(val2);
7594 {
7595 PyThreadState* __tstate = wxPyBeginAllowThreads();
7596 (arg1)->SetAffirmativeId(arg2);
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 resultobj = SWIG_Py_Void();
7601 return resultobj;
7602 fail:
7603 return NULL;
7604 }
7605
7606
7607 SWIGINTERN PyObject *_wrap_Dialog_GetAffirmativeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7608 PyObject *resultobj = 0;
7609 wxDialog *arg1 = (wxDialog *) 0 ;
7610 int result;
7611 void *argp1 = 0 ;
7612 int res1 = 0 ;
7613 PyObject *swig_obj[1] ;
7614
7615 if (!args) SWIG_fail;
7616 swig_obj[0] = args;
7617 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7618 if (!SWIG_IsOK(res1)) {
7619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7620 }
7621 arg1 = reinterpret_cast< wxDialog * >(argp1);
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 result = (int)((wxDialog const *)arg1)->GetAffirmativeId();
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 resultobj = SWIG_From_int(static_cast< int >(result));
7629 return resultobj;
7630 fail:
7631 return NULL;
7632 }
7633
7634
7635 SWIGINTERN PyObject *_wrap_Dialog_SetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7636 PyObject *resultobj = 0;
7637 wxDialog *arg1 = (wxDialog *) 0 ;
7638 int arg2 ;
7639 void *argp1 = 0 ;
7640 int res1 = 0 ;
7641 int val2 ;
7642 int ecode2 = 0 ;
7643 PyObject * obj0 = 0 ;
7644 PyObject * obj1 = 0 ;
7645 char * kwnames[] = {
7646 (char *) "self",(char *) "escapeId", NULL
7647 };
7648
7649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetEscapeId",kwnames,&obj0,&obj1)) SWIG_fail;
7650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7651 if (!SWIG_IsOK(res1)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7653 }
7654 arg1 = reinterpret_cast< wxDialog * >(argp1);
7655 ecode2 = SWIG_AsVal_int(obj1, &val2);
7656 if (!SWIG_IsOK(ecode2)) {
7657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7658 }
7659 arg2 = static_cast< int >(val2);
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 (arg1)->SetEscapeId(arg2);
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 resultobj = SWIG_Py_Void();
7667 return resultobj;
7668 fail:
7669 return NULL;
7670 }
7671
7672
7673 SWIGINTERN PyObject *_wrap_Dialog_GetEscapeId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7674 PyObject *resultobj = 0;
7675 wxDialog *arg1 = (wxDialog *) 0 ;
7676 int result;
7677 void *argp1 = 0 ;
7678 int res1 = 0 ;
7679 PyObject *swig_obj[1] ;
7680
7681 if (!args) SWIG_fail;
7682 swig_obj[0] = args;
7683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7684 if (!SWIG_IsOK(res1)) {
7685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7686 }
7687 arg1 = reinterpret_cast< wxDialog * >(argp1);
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 result = (int)((wxDialog const *)arg1)->GetEscapeId();
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 resultobj = SWIG_From_int(static_cast< int >(result));
7695 return resultobj;
7696 fail:
7697 return NULL;
7698 }
7699
7700
7701 SWIGINTERN PyObject *_wrap_Dialog_CreateTextSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7702 PyObject *resultobj = 0;
7703 wxDialog *arg1 = (wxDialog *) 0 ;
7704 wxString *arg2 = 0 ;
7705 wxSizer *result = 0 ;
7706 void *argp1 = 0 ;
7707 int res1 = 0 ;
7708 bool temp2 = false ;
7709 PyObject * obj0 = 0 ;
7710 PyObject * obj1 = 0 ;
7711 char * kwnames[] = {
7712 (char *) "self",(char *) "message", NULL
7713 };
7714
7715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7717 if (!SWIG_IsOK(res1)) {
7718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7719 }
7720 arg1 = reinterpret_cast< wxDialog * >(argp1);
7721 {
7722 arg2 = wxString_in_helper(obj1);
7723 if (arg2 == NULL) SWIG_fail;
7724 temp2 = true;
7725 }
7726 {
7727 PyThreadState* __tstate = wxPyBeginAllowThreads();
7728 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 {
7733 resultobj = wxPyMake_wxObject(result, (bool)0);
7734 }
7735 {
7736 if (temp2)
7737 delete arg2;
7738 }
7739 return resultobj;
7740 fail:
7741 {
7742 if (temp2)
7743 delete arg2;
7744 }
7745 return NULL;
7746 }
7747
7748
7749 SWIGINTERN PyObject *_wrap_Dialog__CreateButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj = 0;
7751 wxDialog *arg1 = (wxDialog *) 0 ;
7752 long arg2 ;
7753 wxSizer *result = 0 ;
7754 void *argp1 = 0 ;
7755 int res1 = 0 ;
7756 long val2 ;
7757 int ecode2 = 0 ;
7758 PyObject * obj0 = 0 ;
7759 PyObject * obj1 = 0 ;
7760 char * kwnames[] = {
7761 (char *) "self",(char *) "flags", NULL
7762 };
7763
7764 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog__CreateButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7765 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7766 if (!SWIG_IsOK(res1)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7768 }
7769 arg1 = reinterpret_cast< wxDialog * >(argp1);
7770 ecode2 = SWIG_AsVal_long(obj1, &val2);
7771 if (!SWIG_IsOK(ecode2)) {
7772 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7773 }
7774 arg2 = static_cast< long >(val2);
7775 {
7776 PyThreadState* __tstate = wxPyBeginAllowThreads();
7777 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
7778 wxPyEndAllowThreads(__tstate);
7779 if (PyErr_Occurred()) SWIG_fail;
7780 }
7781 {
7782 resultobj = wxPyMake_wxObject(result, (bool)0);
7783 }
7784 return resultobj;
7785 fail:
7786 return NULL;
7787 }
7788
7789
7790 SWIGINTERN PyObject *_wrap_Dialog_CreateSeparatedButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7791 PyObject *resultobj = 0;
7792 wxDialog *arg1 = (wxDialog *) 0 ;
7793 long arg2 ;
7794 wxSizer *result = 0 ;
7795 void *argp1 = 0 ;
7796 int res1 = 0 ;
7797 long val2 ;
7798 int ecode2 = 0 ;
7799 PyObject * obj0 = 0 ;
7800 PyObject * obj1 = 0 ;
7801 char * kwnames[] = {
7802 (char *) "self",(char *) "flags", NULL
7803 };
7804
7805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7807 if (!SWIG_IsOK(res1)) {
7808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7809 }
7810 arg1 = reinterpret_cast< wxDialog * >(argp1);
7811 ecode2 = SWIG_AsVal_long(obj1, &val2);
7812 if (!SWIG_IsOK(ecode2)) {
7813 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7814 }
7815 arg2 = static_cast< long >(val2);
7816 {
7817 PyThreadState* __tstate = wxPyBeginAllowThreads();
7818 result = (wxSizer *)(arg1)->CreateSeparatedButtonSizer(arg2);
7819 wxPyEndAllowThreads(__tstate);
7820 if (PyErr_Occurred()) SWIG_fail;
7821 }
7822 {
7823 resultobj = wxPyMake_wxObject(result, (bool)0);
7824 }
7825 return resultobj;
7826 fail:
7827 return NULL;
7828 }
7829
7830
7831 SWIGINTERN PyObject *_wrap_Dialog_CreateStdDialogButtonSizer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7832 PyObject *resultobj = 0;
7833 wxDialog *arg1 = (wxDialog *) 0 ;
7834 long arg2 ;
7835 wxStdDialogButtonSizer *result = 0 ;
7836 void *argp1 = 0 ;
7837 int res1 = 0 ;
7838 long val2 ;
7839 int ecode2 = 0 ;
7840 PyObject * obj0 = 0 ;
7841 PyObject * obj1 = 0 ;
7842 char * kwnames[] = {
7843 (char *) "self",(char *) "flags", NULL
7844 };
7845
7846 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames,&obj0,&obj1)) SWIG_fail;
7847 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7848 if (!SWIG_IsOK(res1)) {
7849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7850 }
7851 arg1 = reinterpret_cast< wxDialog * >(argp1);
7852 ecode2 = SWIG_AsVal_long(obj1, &val2);
7853 if (!SWIG_IsOK(ecode2)) {
7854 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7855 }
7856 arg2 = static_cast< long >(val2);
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 result = (wxStdDialogButtonSizer *)(arg1)->CreateStdDialogButtonSizer(arg2);
7860 wxPyEndAllowThreads(__tstate);
7861 if (PyErr_Occurred()) SWIG_fail;
7862 }
7863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStdDialogButtonSizer, 0 | 0 );
7864 return resultobj;
7865 fail:
7866 return NULL;
7867 }
7868
7869
7870 SWIGINTERN PyObject *_wrap_Dialog_IsModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7871 PyObject *resultobj = 0;
7872 wxDialog *arg1 = (wxDialog *) 0 ;
7873 bool result;
7874 void *argp1 = 0 ;
7875 int res1 = 0 ;
7876 PyObject *swig_obj[1] ;
7877
7878 if (!args) SWIG_fail;
7879 swig_obj[0] = args;
7880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7881 if (!SWIG_IsOK(res1)) {
7882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7883 }
7884 arg1 = reinterpret_cast< wxDialog * >(argp1);
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 result = (bool)((wxDialog const *)arg1)->IsModal();
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 {
7892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7893 }
7894 return resultobj;
7895 fail:
7896 return NULL;
7897 }
7898
7899
7900 SWIGINTERN PyObject *_wrap_Dialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
7901 PyObject *resultobj = 0;
7902 wxDialog *arg1 = (wxDialog *) 0 ;
7903 int result;
7904 void *argp1 = 0 ;
7905 int res1 = 0 ;
7906 PyObject *swig_obj[1] ;
7907
7908 if (!args) SWIG_fail;
7909 swig_obj[0] = args;
7910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7911 if (!SWIG_IsOK(res1)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7913 }
7914 arg1 = reinterpret_cast< wxDialog * >(argp1);
7915 {
7916 PyThreadState* __tstate = wxPyBeginAllowThreads();
7917 result = (int)(arg1)->ShowModal();
7918 wxPyEndAllowThreads(__tstate);
7919 if (PyErr_Occurred()) SWIG_fail;
7920 }
7921 resultobj = SWIG_From_int(static_cast< int >(result));
7922 return resultobj;
7923 fail:
7924 return NULL;
7925 }
7926
7927
7928 SWIGINTERN PyObject *_wrap_Dialog_EndModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7929 PyObject *resultobj = 0;
7930 wxDialog *arg1 = (wxDialog *) 0 ;
7931 int arg2 ;
7932 void *argp1 = 0 ;
7933 int res1 = 0 ;
7934 int val2 ;
7935 int ecode2 = 0 ;
7936 PyObject * obj0 = 0 ;
7937 PyObject * obj1 = 0 ;
7938 char * kwnames[] = {
7939 (char *) "self",(char *) "retCode", NULL
7940 };
7941
7942 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) SWIG_fail;
7943 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDialog, 0 | 0 );
7944 if (!SWIG_IsOK(res1)) {
7945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7946 }
7947 arg1 = reinterpret_cast< wxDialog * >(argp1);
7948 ecode2 = SWIG_AsVal_int(obj1, &val2);
7949 if (!SWIG_IsOK(ecode2)) {
7950 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7951 }
7952 arg2 = static_cast< int >(val2);
7953 {
7954 PyThreadState* __tstate = wxPyBeginAllowThreads();
7955 (arg1)->EndModal(arg2);
7956 wxPyEndAllowThreads(__tstate);
7957 if (PyErr_Occurred()) SWIG_fail;
7958 }
7959 resultobj = SWIG_Py_Void();
7960 return resultobj;
7961 fail:
7962 return NULL;
7963 }
7964
7965
7966 SWIGINTERN PyObject *_wrap_Dialog_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7967 PyObject *resultobj = 0;
7968 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
7969 SwigValueWrapper<wxVisualAttributes > result;
7970 int val1 ;
7971 int ecode1 = 0 ;
7972 PyObject * obj0 = 0 ;
7973 char * kwnames[] = {
7974 (char *) "variant", NULL
7975 };
7976
7977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
7978 if (obj0) {
7979 ecode1 = SWIG_AsVal_int(obj0, &val1);
7980 if (!SWIG_IsOK(ecode1)) {
7981 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7982 }
7983 arg1 = static_cast< wxWindowVariant >(val1);
7984 }
7985 {
7986 if (!wxPyCheckForApp()) SWIG_fail;
7987 PyThreadState* __tstate = wxPyBeginAllowThreads();
7988 result = wxDialog::GetClassDefaultAttributes(arg1);
7989 wxPyEndAllowThreads(__tstate);
7990 if (PyErr_Occurred()) SWIG_fail;
7991 }
7992 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
7993 return resultobj;
7994 fail:
7995 return NULL;
7996 }
7997
7998
7999 SWIGINTERN PyObject *Dialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8000 PyObject *obj;
8001 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8002 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog, SWIG_NewClientData(obj));
8003 return SWIG_Py_Void();
8004 }
8005
8006 SWIGINTERN PyObject *Dialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8007 return SWIG_Python_InitShadowInstance(args);
8008 }
8009
8010 SWIGINTERN PyObject *_wrap_new_MiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj = 0;
8012 wxWindow *arg1 = (wxWindow *) 0 ;
8013 int arg2 = (int) (int)-1 ;
8014 wxString const &arg3_defvalue = wxPyEmptyString ;
8015 wxString *arg3 = (wxString *) &arg3_defvalue ;
8016 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8017 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8018 wxSize const &arg5_defvalue = wxDefaultSize ;
8019 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8020 long arg6 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8021 wxString const &arg7_defvalue = wxPyFrameNameStr ;
8022 wxString *arg7 = (wxString *) &arg7_defvalue ;
8023 wxMiniFrame *result = 0 ;
8024 void *argp1 = 0 ;
8025 int res1 = 0 ;
8026 int val2 ;
8027 int ecode2 = 0 ;
8028 bool temp3 = false ;
8029 wxPoint temp4 ;
8030 wxSize temp5 ;
8031 long val6 ;
8032 int ecode6 = 0 ;
8033 bool temp7 = false ;
8034 PyObject * obj0 = 0 ;
8035 PyObject * obj1 = 0 ;
8036 PyObject * obj2 = 0 ;
8037 PyObject * obj3 = 0 ;
8038 PyObject * obj4 = 0 ;
8039 PyObject * obj5 = 0 ;
8040 PyObject * obj6 = 0 ;
8041 char * kwnames[] = {
8042 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8043 };
8044
8045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
8046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8047 if (!SWIG_IsOK(res1)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8049 }
8050 arg1 = reinterpret_cast< wxWindow * >(argp1);
8051 if (obj1) {
8052 ecode2 = SWIG_AsVal_int(obj1, &val2);
8053 if (!SWIG_IsOK(ecode2)) {
8054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8055 }
8056 arg2 = static_cast< int >(val2);
8057 }
8058 if (obj2) {
8059 {
8060 arg3 = wxString_in_helper(obj2);
8061 if (arg3 == NULL) SWIG_fail;
8062 temp3 = true;
8063 }
8064 }
8065 if (obj3) {
8066 {
8067 arg4 = &temp4;
8068 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8069 }
8070 }
8071 if (obj4) {
8072 {
8073 arg5 = &temp5;
8074 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8075 }
8076 }
8077 if (obj5) {
8078 ecode6 = SWIG_AsVal_long(obj5, &val6);
8079 if (!SWIG_IsOK(ecode6)) {
8080 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8081 }
8082 arg6 = static_cast< long >(val6);
8083 }
8084 if (obj6) {
8085 {
8086 arg7 = wxString_in_helper(obj6);
8087 if (arg7 == NULL) SWIG_fail;
8088 temp7 = true;
8089 }
8090 }
8091 {
8092 if (!wxPyCheckForApp()) SWIG_fail;
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_NEW | 0 );
8099 {
8100 if (temp3)
8101 delete arg3;
8102 }
8103 {
8104 if (temp7)
8105 delete arg7;
8106 }
8107 return resultobj;
8108 fail:
8109 {
8110 if (temp3)
8111 delete arg3;
8112 }
8113 {
8114 if (temp7)
8115 delete arg7;
8116 }
8117 return NULL;
8118 }
8119
8120
8121 SWIGINTERN PyObject *_wrap_new_PreMiniFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8122 PyObject *resultobj = 0;
8123 wxMiniFrame *result = 0 ;
8124
8125 if (!SWIG_Python_UnpackTuple(args,"new_PreMiniFrame",0,0,0)) SWIG_fail;
8126 {
8127 if (!wxPyCheckForApp()) SWIG_fail;
8128 PyThreadState* __tstate = wxPyBeginAllowThreads();
8129 result = (wxMiniFrame *)new wxMiniFrame();
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
8133 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMiniFrame, SWIG_POINTER_OWN | 0 );
8134 return resultobj;
8135 fail:
8136 return NULL;
8137 }
8138
8139
8140 SWIGINTERN PyObject *_wrap_MiniFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8141 PyObject *resultobj = 0;
8142 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
8143 wxWindow *arg2 = (wxWindow *) 0 ;
8144 int arg3 = (int) (int)-1 ;
8145 wxString const &arg4_defvalue = wxPyEmptyString ;
8146 wxString *arg4 = (wxString *) &arg4_defvalue ;
8147 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8148 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8149 wxSize const &arg6_defvalue = wxDefaultSize ;
8150 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8151 long arg7 = (long) wxDEFAULT_MINIFRAME_STYLE ;
8152 wxString const &arg8_defvalue = wxPyFrameNameStr ;
8153 wxString *arg8 = (wxString *) &arg8_defvalue ;
8154 bool result;
8155 void *argp1 = 0 ;
8156 int res1 = 0 ;
8157 void *argp2 = 0 ;
8158 int res2 = 0 ;
8159 int val3 ;
8160 int ecode3 = 0 ;
8161 bool temp4 = false ;
8162 wxPoint temp5 ;
8163 wxSize temp6 ;
8164 long val7 ;
8165 int ecode7 = 0 ;
8166 bool temp8 = false ;
8167 PyObject * obj0 = 0 ;
8168 PyObject * obj1 = 0 ;
8169 PyObject * obj2 = 0 ;
8170 PyObject * obj3 = 0 ;
8171 PyObject * obj4 = 0 ;
8172 PyObject * obj5 = 0 ;
8173 PyObject * obj6 = 0 ;
8174 PyObject * obj7 = 0 ;
8175 char * kwnames[] = {
8176 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8177 };
8178
8179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMiniFrame, 0 | 0 );
8181 if (!SWIG_IsOK(res1)) {
8182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8183 }
8184 arg1 = reinterpret_cast< wxMiniFrame * >(argp1);
8185 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8186 if (!SWIG_IsOK(res2)) {
8187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8188 }
8189 arg2 = reinterpret_cast< wxWindow * >(argp2);
8190 if (obj2) {
8191 ecode3 = SWIG_AsVal_int(obj2, &val3);
8192 if (!SWIG_IsOK(ecode3)) {
8193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8194 }
8195 arg3 = static_cast< int >(val3);
8196 }
8197 if (obj3) {
8198 {
8199 arg4 = wxString_in_helper(obj3);
8200 if (arg4 == NULL) SWIG_fail;
8201 temp4 = true;
8202 }
8203 }
8204 if (obj4) {
8205 {
8206 arg5 = &temp5;
8207 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8208 }
8209 }
8210 if (obj5) {
8211 {
8212 arg6 = &temp6;
8213 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8214 }
8215 }
8216 if (obj6) {
8217 ecode7 = SWIG_AsVal_long(obj6, &val7);
8218 if (!SWIG_IsOK(ecode7)) {
8219 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8220 }
8221 arg7 = static_cast< long >(val7);
8222 }
8223 if (obj7) {
8224 {
8225 arg8 = wxString_in_helper(obj7);
8226 if (arg8 == NULL) SWIG_fail;
8227 temp8 = true;
8228 }
8229 }
8230 {
8231 PyThreadState* __tstate = wxPyBeginAllowThreads();
8232 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8233 wxPyEndAllowThreads(__tstate);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 {
8237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8238 }
8239 {
8240 if (temp4)
8241 delete arg4;
8242 }
8243 {
8244 if (temp8)
8245 delete arg8;
8246 }
8247 return resultobj;
8248 fail:
8249 {
8250 if (temp4)
8251 delete arg4;
8252 }
8253 {
8254 if (temp8)
8255 delete arg8;
8256 }
8257 return NULL;
8258 }
8259
8260
8261 SWIGINTERN PyObject *MiniFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8262 PyObject *obj;
8263 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8264 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame, SWIG_NewClientData(obj));
8265 return SWIG_Py_Void();
8266 }
8267
8268 SWIGINTERN PyObject *MiniFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8269 return SWIG_Python_InitShadowInstance(args);
8270 }
8271
8272 SWIGINTERN PyObject *_wrap_new_SplashScreenWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8273 PyObject *resultobj = 0;
8274 wxBitmap *arg1 = 0 ;
8275 wxWindow *arg2 = (wxWindow *) 0 ;
8276 int arg3 ;
8277 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8278 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8279 wxSize const &arg5_defvalue = wxDefaultSize ;
8280 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8281 long arg6 = (long) wxNO_BORDER ;
8282 wxSplashScreenWindow *result = 0 ;
8283 void *argp1 = 0 ;
8284 int res1 = 0 ;
8285 void *argp2 = 0 ;
8286 int res2 = 0 ;
8287 int val3 ;
8288 int ecode3 = 0 ;
8289 wxPoint temp4 ;
8290 wxSize temp5 ;
8291 long val6 ;
8292 int ecode6 = 0 ;
8293 PyObject * obj0 = 0 ;
8294 PyObject * obj1 = 0 ;
8295 PyObject * obj2 = 0 ;
8296 PyObject * obj3 = 0 ;
8297 PyObject * obj4 = 0 ;
8298 PyObject * obj5 = 0 ;
8299 char * kwnames[] = {
8300 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8301 };
8302
8303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8304 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8305 if (!SWIG_IsOK(res1)) {
8306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8307 }
8308 if (!argp1) {
8309 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8310 }
8311 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8312 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8313 if (!SWIG_IsOK(res2)) {
8314 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8315 }
8316 arg2 = reinterpret_cast< wxWindow * >(argp2);
8317 ecode3 = SWIG_AsVal_int(obj2, &val3);
8318 if (!SWIG_IsOK(ecode3)) {
8319 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8320 }
8321 arg3 = static_cast< int >(val3);
8322 if (obj3) {
8323 {
8324 arg4 = &temp4;
8325 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8326 }
8327 }
8328 if (obj4) {
8329 {
8330 arg5 = &temp5;
8331 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8332 }
8333 }
8334 if (obj5) {
8335 ecode6 = SWIG_AsVal_long(obj5, &val6);
8336 if (!SWIG_IsOK(ecode6)) {
8337 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8338 }
8339 arg6 = static_cast< long >(val6);
8340 }
8341 {
8342 if (!wxPyCheckForApp()) SWIG_fail;
8343 PyThreadState* __tstate = wxPyBeginAllowThreads();
8344 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
8348 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, SWIG_POINTER_NEW | 0 );
8349 return resultobj;
8350 fail:
8351 return NULL;
8352 }
8353
8354
8355 SWIGINTERN PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8356 PyObject *resultobj = 0;
8357 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8358 wxBitmap *arg2 = 0 ;
8359 void *argp1 = 0 ;
8360 int res1 = 0 ;
8361 void *argp2 = 0 ;
8362 int res2 = 0 ;
8363 PyObject * obj0 = 0 ;
8364 PyObject * obj1 = 0 ;
8365 char * kwnames[] = {
8366 (char *) "self",(char *) "bitmap", NULL
8367 };
8368
8369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
8370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8371 if (!SWIG_IsOK(res1)) {
8372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8373 }
8374 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8375 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
8376 if (!SWIG_IsOK(res2)) {
8377 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8378 }
8379 if (!argp2) {
8380 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8381 }
8382 arg2 = reinterpret_cast< wxBitmap * >(argp2);
8383 {
8384 PyThreadState* __tstate = wxPyBeginAllowThreads();
8385 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8386 wxPyEndAllowThreads(__tstate);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 resultobj = SWIG_Py_Void();
8390 return resultobj;
8391 fail:
8392 return NULL;
8393 }
8394
8395
8396 SWIGINTERN PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8397 PyObject *resultobj = 0;
8398 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
8399 wxBitmap *result = 0 ;
8400 void *argp1 = 0 ;
8401 int res1 = 0 ;
8402 PyObject *swig_obj[1] ;
8403
8404 if (!args) SWIG_fail;
8405 swig_obj[0] = args;
8406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8407 if (!SWIG_IsOK(res1)) {
8408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8409 }
8410 arg1 = reinterpret_cast< wxSplashScreenWindow * >(argp1);
8411 {
8412 PyThreadState* __tstate = wxPyBeginAllowThreads();
8413 {
8414 wxBitmap &_result_ref = (arg1)->GetBitmap();
8415 result = (wxBitmap *) &_result_ref;
8416 }
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 {
8421 wxBitmap* resultptr = new wxBitmap(*result);
8422 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8423 }
8424 return resultobj;
8425 fail:
8426 return NULL;
8427 }
8428
8429
8430 SWIGINTERN PyObject *SplashScreenWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8431 PyObject *obj;
8432 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8433 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow, SWIG_NewClientData(obj));
8434 return SWIG_Py_Void();
8435 }
8436
8437 SWIGINTERN PyObject *SplashScreenWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8438 return SWIG_Python_InitShadowInstance(args);
8439 }
8440
8441 SWIGINTERN PyObject *_wrap_new_SplashScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8442 PyObject *resultobj = 0;
8443 wxBitmap *arg1 = 0 ;
8444 long arg2 ;
8445 int arg3 ;
8446 wxWindow *arg4 = (wxWindow *) 0 ;
8447 int arg5 = (int) -1 ;
8448 wxPoint const &arg6_defvalue = wxDefaultPosition ;
8449 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
8450 wxSize const &arg7_defvalue = wxDefaultSize ;
8451 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
8452 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
8453 wxSplashScreen *result = 0 ;
8454 void *argp1 = 0 ;
8455 int res1 = 0 ;
8456 long val2 ;
8457 int ecode2 = 0 ;
8458 int val3 ;
8459 int ecode3 = 0 ;
8460 void *argp4 = 0 ;
8461 int res4 = 0 ;
8462 int val5 ;
8463 int ecode5 = 0 ;
8464 wxPoint temp6 ;
8465 wxSize temp7 ;
8466 long val8 ;
8467 int ecode8 = 0 ;
8468 PyObject * obj0 = 0 ;
8469 PyObject * obj1 = 0 ;
8470 PyObject * obj2 = 0 ;
8471 PyObject * obj3 = 0 ;
8472 PyObject * obj4 = 0 ;
8473 PyObject * obj5 = 0 ;
8474 PyObject * obj6 = 0 ;
8475 PyObject * obj7 = 0 ;
8476 char * kwnames[] = {
8477 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8478 };
8479
8480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
8481 res1 = SWIG_ConvertPtr(obj0, &argp1, SWIGTYPE_p_wxBitmap, 0 | 0);
8482 if (!SWIG_IsOK(res1)) {
8483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8484 }
8485 if (!argp1) {
8486 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8487 }
8488 arg1 = reinterpret_cast< wxBitmap * >(argp1);
8489 ecode2 = SWIG_AsVal_long(obj1, &val2);
8490 if (!SWIG_IsOK(ecode2)) {
8491 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8492 }
8493 arg2 = static_cast< long >(val2);
8494 ecode3 = SWIG_AsVal_int(obj2, &val3);
8495 if (!SWIG_IsOK(ecode3)) {
8496 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8497 }
8498 arg3 = static_cast< int >(val3);
8499 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
8500 if (!SWIG_IsOK(res4)) {
8501 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8502 }
8503 arg4 = reinterpret_cast< wxWindow * >(argp4);
8504 if (obj4) {
8505 ecode5 = SWIG_AsVal_int(obj4, &val5);
8506 if (!SWIG_IsOK(ecode5)) {
8507 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8508 }
8509 arg5 = static_cast< int >(val5);
8510 }
8511 if (obj5) {
8512 {
8513 arg6 = &temp6;
8514 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
8515 }
8516 }
8517 if (obj6) {
8518 {
8519 arg7 = &temp7;
8520 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
8521 }
8522 }
8523 if (obj7) {
8524 ecode8 = SWIG_AsVal_long(obj7, &val8);
8525 if (!SWIG_IsOK(ecode8)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8527 }
8528 arg8 = static_cast< long >(val8);
8529 }
8530 {
8531 if (!wxPyCheckForApp()) SWIG_fail;
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
8534 wxPyEndAllowThreads(__tstate);
8535 if (PyErr_Occurred()) SWIG_fail;
8536 }
8537 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreen, SWIG_POINTER_NEW | 0 );
8538 return resultobj;
8539 fail:
8540 return NULL;
8541 }
8542
8543
8544 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8545 PyObject *resultobj = 0;
8546 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8547 long result;
8548 void *argp1 = 0 ;
8549 int res1 = 0 ;
8550 PyObject *swig_obj[1] ;
8551
8552 if (!args) SWIG_fail;
8553 swig_obj[0] = args;
8554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8555 if (!SWIG_IsOK(res1)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8557 }
8558 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8559 {
8560 PyThreadState* __tstate = wxPyBeginAllowThreads();
8561 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
8562 wxPyEndAllowThreads(__tstate);
8563 if (PyErr_Occurred()) SWIG_fail;
8564 }
8565 resultobj = SWIG_From_long(static_cast< long >(result));
8566 return resultobj;
8567 fail:
8568 return NULL;
8569 }
8570
8571
8572 SWIGINTERN PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8573 PyObject *resultobj = 0;
8574 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8575 wxSplashScreenWindow *result = 0 ;
8576 void *argp1 = 0 ;
8577 int res1 = 0 ;
8578 PyObject *swig_obj[1] ;
8579
8580 if (!args) SWIG_fail;
8581 swig_obj[0] = args;
8582 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8583 if (!SWIG_IsOK(res1)) {
8584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8585 }
8586 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8587 {
8588 PyThreadState* __tstate = wxPyBeginAllowThreads();
8589 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplashScreenWindow, 0 | 0 );
8594 return resultobj;
8595 fail:
8596 return NULL;
8597 }
8598
8599
8600 SWIGINTERN PyObject *_wrap_SplashScreen_GetTimeout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8601 PyObject *resultobj = 0;
8602 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
8603 int result;
8604 void *argp1 = 0 ;
8605 int res1 = 0 ;
8606 PyObject *swig_obj[1] ;
8607
8608 if (!args) SWIG_fail;
8609 swig_obj[0] = args;
8610 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplashScreen, 0 | 0 );
8611 if (!SWIG_IsOK(res1)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8613 }
8614 arg1 = reinterpret_cast< wxSplashScreen * >(argp1);
8615 {
8616 PyThreadState* __tstate = wxPyBeginAllowThreads();
8617 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 resultobj = SWIG_From_int(static_cast< int >(result));
8622 return resultobj;
8623 fail:
8624 return NULL;
8625 }
8626
8627
8628 SWIGINTERN PyObject *SplashScreen_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8629 PyObject *obj;
8630 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
8631 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen, SWIG_NewClientData(obj));
8632 return SWIG_Py_Void();
8633 }
8634
8635 SWIGINTERN PyObject *SplashScreen_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8636 return SWIG_Python_InitShadowInstance(args);
8637 }
8638
8639 SWIGINTERN PyObject *_wrap_new_StatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8640 PyObject *resultobj = 0;
8641 wxWindow *arg1 = (wxWindow *) 0 ;
8642 int arg2 = (int) -1 ;
8643 long arg3 = (long) wxDEFAULT_STATUSBAR_STYLE ;
8644 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
8645 wxString *arg4 = (wxString *) &arg4_defvalue ;
8646 wxStatusBar *result = 0 ;
8647 void *argp1 = 0 ;
8648 int res1 = 0 ;
8649 int val2 ;
8650 int ecode2 = 0 ;
8651 long val3 ;
8652 int ecode3 = 0 ;
8653 bool temp4 = false ;
8654 PyObject * obj0 = 0 ;
8655 PyObject * obj1 = 0 ;
8656 PyObject * obj2 = 0 ;
8657 PyObject * obj3 = 0 ;
8658 char * kwnames[] = {
8659 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8660 };
8661
8662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
8663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
8664 if (!SWIG_IsOK(res1)) {
8665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8666 }
8667 arg1 = reinterpret_cast< wxWindow * >(argp1);
8668 if (obj1) {
8669 ecode2 = SWIG_AsVal_int(obj1, &val2);
8670 if (!SWIG_IsOK(ecode2)) {
8671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8672 }
8673 arg2 = static_cast< int >(val2);
8674 }
8675 if (obj2) {
8676 ecode3 = SWIG_AsVal_long(obj2, &val3);
8677 if (!SWIG_IsOK(ecode3)) {
8678 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8679 }
8680 arg3 = static_cast< long >(val3);
8681 }
8682 if (obj3) {
8683 {
8684 arg4 = wxString_in_helper(obj3);
8685 if (arg4 == NULL) SWIG_fail;
8686 temp4 = true;
8687 }
8688 }
8689 {
8690 if (!wxPyCheckForApp()) SWIG_fail;
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_NEW | 0 );
8697 {
8698 if (temp4)
8699 delete arg4;
8700 }
8701 return resultobj;
8702 fail:
8703 {
8704 if (temp4)
8705 delete arg4;
8706 }
8707 return NULL;
8708 }
8709
8710
8711 SWIGINTERN PyObject *_wrap_new_PreStatusBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8712 PyObject *resultobj = 0;
8713 wxStatusBar *result = 0 ;
8714
8715 if (!SWIG_Python_UnpackTuple(args,"new_PreStatusBar",0,0,0)) SWIG_fail;
8716 {
8717 if (!wxPyCheckForApp()) SWIG_fail;
8718 PyThreadState* __tstate = wxPyBeginAllowThreads();
8719 result = (wxStatusBar *)new wxStatusBar();
8720 wxPyEndAllowThreads(__tstate);
8721 if (PyErr_Occurred()) SWIG_fail;
8722 }
8723 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStatusBar, SWIG_POINTER_OWN | 0 );
8724 return resultobj;
8725 fail:
8726 return NULL;
8727 }
8728
8729
8730 SWIGINTERN PyObject *_wrap_StatusBar_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8731 PyObject *resultobj = 0;
8732 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8733 wxWindow *arg2 = (wxWindow *) 0 ;
8734 int arg3 = (int) -1 ;
8735 long arg4 = (long) wxST_SIZEGRIP ;
8736 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
8737 wxString *arg5 = (wxString *) &arg5_defvalue ;
8738 bool result;
8739 void *argp1 = 0 ;
8740 int res1 = 0 ;
8741 void *argp2 = 0 ;
8742 int res2 = 0 ;
8743 int val3 ;
8744 int ecode3 = 0 ;
8745 long val4 ;
8746 int ecode4 = 0 ;
8747 bool temp5 = false ;
8748 PyObject * obj0 = 0 ;
8749 PyObject * obj1 = 0 ;
8750 PyObject * obj2 = 0 ;
8751 PyObject * obj3 = 0 ;
8752 PyObject * obj4 = 0 ;
8753 char * kwnames[] = {
8754 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8755 };
8756
8757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8759 if (!SWIG_IsOK(res1)) {
8760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8761 }
8762 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8763 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
8764 if (!SWIG_IsOK(res2)) {
8765 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8766 }
8767 arg2 = reinterpret_cast< wxWindow * >(argp2);
8768 if (obj2) {
8769 ecode3 = SWIG_AsVal_int(obj2, &val3);
8770 if (!SWIG_IsOK(ecode3)) {
8771 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8772 }
8773 arg3 = static_cast< int >(val3);
8774 }
8775 if (obj3) {
8776 ecode4 = SWIG_AsVal_long(obj3, &val4);
8777 if (!SWIG_IsOK(ecode4)) {
8778 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8779 }
8780 arg4 = static_cast< long >(val4);
8781 }
8782 if (obj4) {
8783 {
8784 arg5 = wxString_in_helper(obj4);
8785 if (arg5 == NULL) SWIG_fail;
8786 temp5 = true;
8787 }
8788 }
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 {
8796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8797 }
8798 {
8799 if (temp5)
8800 delete arg5;
8801 }
8802 return resultobj;
8803 fail:
8804 {
8805 if (temp5)
8806 delete arg5;
8807 }
8808 return NULL;
8809 }
8810
8811
8812 SWIGINTERN PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj = 0;
8814 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8815 int arg2 = (int) 1 ;
8816 void *argp1 = 0 ;
8817 int res1 = 0 ;
8818 int val2 ;
8819 int ecode2 = 0 ;
8820 PyObject * obj0 = 0 ;
8821 PyObject * obj1 = 0 ;
8822 char * kwnames[] = {
8823 (char *) "self",(char *) "number", NULL
8824 };
8825
8826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) SWIG_fail;
8827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8828 if (!SWIG_IsOK(res1)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8830 }
8831 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8832 if (obj1) {
8833 ecode2 = SWIG_AsVal_int(obj1, &val2);
8834 if (!SWIG_IsOK(ecode2)) {
8835 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8836 }
8837 arg2 = static_cast< int >(val2);
8838 }
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 (arg1)->SetFieldsCount(arg2);
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 resultobj = SWIG_Py_Void();
8846 return resultobj;
8847 fail:
8848 return NULL;
8849 }
8850
8851
8852 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8853 PyObject *resultobj = 0;
8854 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8855 int result;
8856 void *argp1 = 0 ;
8857 int res1 = 0 ;
8858 PyObject *swig_obj[1] ;
8859
8860 if (!args) SWIG_fail;
8861 swig_obj[0] = args;
8862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8863 if (!SWIG_IsOK(res1)) {
8864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8865 }
8866 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8867 {
8868 PyThreadState* __tstate = wxPyBeginAllowThreads();
8869 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
8870 wxPyEndAllowThreads(__tstate);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 }
8873 resultobj = SWIG_From_int(static_cast< int >(result));
8874 return resultobj;
8875 fail:
8876 return NULL;
8877 }
8878
8879
8880 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj = 0;
8882 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8883 wxString *arg2 = 0 ;
8884 int arg3 = (int) 0 ;
8885 void *argp1 = 0 ;
8886 int res1 = 0 ;
8887 bool temp2 = false ;
8888 int val3 ;
8889 int ecode3 = 0 ;
8890 PyObject * obj0 = 0 ;
8891 PyObject * obj1 = 0 ;
8892 PyObject * obj2 = 0 ;
8893 char * kwnames[] = {
8894 (char *) "self",(char *) "text",(char *) "number", NULL
8895 };
8896
8897 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8898 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8899 if (!SWIG_IsOK(res1)) {
8900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8901 }
8902 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8903 {
8904 arg2 = wxString_in_helper(obj1);
8905 if (arg2 == NULL) SWIG_fail;
8906 temp2 = true;
8907 }
8908 if (obj2) {
8909 ecode3 = SWIG_AsVal_int(obj2, &val3);
8910 if (!SWIG_IsOK(ecode3)) {
8911 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8912 }
8913 arg3 = static_cast< int >(val3);
8914 }
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
8918 wxPyEndAllowThreads(__tstate);
8919 if (PyErr_Occurred()) SWIG_fail;
8920 }
8921 resultobj = SWIG_Py_Void();
8922 {
8923 if (temp2)
8924 delete arg2;
8925 }
8926 return resultobj;
8927 fail:
8928 {
8929 if (temp2)
8930 delete arg2;
8931 }
8932 return NULL;
8933 }
8934
8935
8936 SWIGINTERN PyObject *_wrap_StatusBar_GetStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8937 PyObject *resultobj = 0;
8938 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8939 int arg2 = (int) 0 ;
8940 wxString result;
8941 void *argp1 = 0 ;
8942 int res1 = 0 ;
8943 int val2 ;
8944 int ecode2 = 0 ;
8945 PyObject * obj0 = 0 ;
8946 PyObject * obj1 = 0 ;
8947 char * kwnames[] = {
8948 (char *) "self",(char *) "number", NULL
8949 };
8950
8951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
8952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
8953 if (!SWIG_IsOK(res1)) {
8954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8955 }
8956 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
8957 if (obj1) {
8958 ecode2 = SWIG_AsVal_int(obj1, &val2);
8959 if (!SWIG_IsOK(ecode2)) {
8960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8961 }
8962 arg2 = static_cast< int >(val2);
8963 }
8964 {
8965 PyThreadState* __tstate = wxPyBeginAllowThreads();
8966 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
8967 wxPyEndAllowThreads(__tstate);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 }
8970 {
8971 #if wxUSE_UNICODE
8972 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8973 #else
8974 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8975 #endif
8976 }
8977 return resultobj;
8978 fail:
8979 return NULL;
8980 }
8981
8982
8983 SWIGINTERN PyObject *_wrap_StatusBar_PushStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8984 PyObject *resultobj = 0;
8985 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
8986 wxString *arg2 = 0 ;
8987 int arg3 = (int) 0 ;
8988 void *argp1 = 0 ;
8989 int res1 = 0 ;
8990 bool temp2 = false ;
8991 int val3 ;
8992 int ecode3 = 0 ;
8993 PyObject * obj0 = 0 ;
8994 PyObject * obj1 = 0 ;
8995 PyObject * obj2 = 0 ;
8996 char * kwnames[] = {
8997 (char *) "self",(char *) "text",(char *) "number", NULL
8998 };
8999
9000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9002 if (!SWIG_IsOK(res1)) {
9003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9004 }
9005 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9006 {
9007 arg2 = wxString_in_helper(obj1);
9008 if (arg2 == NULL) SWIG_fail;
9009 temp2 = true;
9010 }
9011 if (obj2) {
9012 ecode3 = SWIG_AsVal_int(obj2, &val3);
9013 if (!SWIG_IsOK(ecode3)) {
9014 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9015 }
9016 arg3 = static_cast< int >(val3);
9017 }
9018 {
9019 PyThreadState* __tstate = wxPyBeginAllowThreads();
9020 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 resultobj = SWIG_Py_Void();
9025 {
9026 if (temp2)
9027 delete arg2;
9028 }
9029 return resultobj;
9030 fail:
9031 {
9032 if (temp2)
9033 delete arg2;
9034 }
9035 return NULL;
9036 }
9037
9038
9039 SWIGINTERN PyObject *_wrap_StatusBar_PopStatusText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj = 0;
9041 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9042 int arg2 = (int) 0 ;
9043 void *argp1 = 0 ;
9044 int res1 = 0 ;
9045 int val2 ;
9046 int ecode2 = 0 ;
9047 PyObject * obj0 = 0 ;
9048 PyObject * obj1 = 0 ;
9049 char * kwnames[] = {
9050 (char *) "self",(char *) "number", NULL
9051 };
9052
9053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) SWIG_fail;
9054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9055 if (!SWIG_IsOK(res1)) {
9056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9057 }
9058 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9059 if (obj1) {
9060 ecode2 = SWIG_AsVal_int(obj1, &val2);
9061 if (!SWIG_IsOK(ecode2)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9063 }
9064 arg2 = static_cast< int >(val2);
9065 }
9066 {
9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
9068 (arg1)->PopStatusText(arg2);
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 resultobj = SWIG_Py_Void();
9073 return resultobj;
9074 fail:
9075 return NULL;
9076 }
9077
9078
9079 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9080 PyObject *resultobj = 0;
9081 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9082 int arg2 ;
9083 int *arg3 = (int *) 0 ;
9084 void *argp1 = 0 ;
9085 int res1 = 0 ;
9086 PyObject * obj0 = 0 ;
9087 PyObject * obj1 = 0 ;
9088 char * kwnames[] = {
9089 (char *) "self",(char *) "widths", NULL
9090 };
9091
9092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) SWIG_fail;
9093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9094 if (!SWIG_IsOK(res1)) {
9095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9096 }
9097 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9098 {
9099 arg2 = PyList_Size(obj1);
9100 arg3 = int_LIST_helper(obj1);
9101 if (arg3 == NULL) SWIG_fail;
9102 }
9103 {
9104 PyThreadState* __tstate = wxPyBeginAllowThreads();
9105 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
9106 wxPyEndAllowThreads(__tstate);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 }
9109 resultobj = SWIG_Py_Void();
9110 {
9111 if (arg3) delete [] arg3;
9112 }
9113 return resultobj;
9114 fail:
9115 {
9116 if (arg3) delete [] arg3;
9117 }
9118 return NULL;
9119 }
9120
9121
9122 SWIGINTERN PyObject *_wrap_StatusBar_SetStatusStyles(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj = 0;
9124 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9125 int arg2 ;
9126 int *arg3 = (int *) 0 ;
9127 void *argp1 = 0 ;
9128 int res1 = 0 ;
9129 PyObject * obj0 = 0 ;
9130 PyObject * obj1 = 0 ;
9131 char * kwnames[] = {
9132 (char *) "self",(char *) "styles", NULL
9133 };
9134
9135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusStyles",kwnames,&obj0,&obj1)) SWIG_fail;
9136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9137 if (!SWIG_IsOK(res1)) {
9138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9139 }
9140 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9141 {
9142 arg2 = PyList_Size(obj1);
9143 arg3 = int_LIST_helper(obj1);
9144 if (arg3 == NULL) SWIG_fail;
9145 }
9146 {
9147 PyThreadState* __tstate = wxPyBeginAllowThreads();
9148 (arg1)->SetStatusStyles(arg2,(int const *)arg3);
9149 wxPyEndAllowThreads(__tstate);
9150 if (PyErr_Occurred()) SWIG_fail;
9151 }
9152 resultobj = SWIG_Py_Void();
9153 {
9154 if (arg3) delete [] arg3;
9155 }
9156 return resultobj;
9157 fail:
9158 {
9159 if (arg3) delete [] arg3;
9160 }
9161 return NULL;
9162 }
9163
9164
9165 SWIGINTERN PyObject *_wrap_StatusBar_GetFieldRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9166 PyObject *resultobj = 0;
9167 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9168 int arg2 ;
9169 wxRect result;
9170 void *argp1 = 0 ;
9171 int res1 = 0 ;
9172 int val2 ;
9173 int ecode2 = 0 ;
9174 PyObject * obj0 = 0 ;
9175 PyObject * obj1 = 0 ;
9176 char * kwnames[] = {
9177 (char *) "self",(char *) "i", NULL
9178 };
9179
9180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) SWIG_fail;
9181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9182 if (!SWIG_IsOK(res1)) {
9183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9184 }
9185 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9186 ecode2 = SWIG_AsVal_int(obj1, &val2);
9187 if (!SWIG_IsOK(ecode2)) {
9188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9189 }
9190 arg2 = static_cast< int >(val2);
9191 {
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 result = wxStatusBar_GetFieldRect(arg1,arg2);
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
9198 return resultobj;
9199 fail:
9200 return NULL;
9201 }
9202
9203
9204 SWIGINTERN PyObject *_wrap_StatusBar_SetMinHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9205 PyObject *resultobj = 0;
9206 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9207 int arg2 ;
9208 void *argp1 = 0 ;
9209 int res1 = 0 ;
9210 int val2 ;
9211 int ecode2 = 0 ;
9212 PyObject * obj0 = 0 ;
9213 PyObject * obj1 = 0 ;
9214 char * kwnames[] = {
9215 (char *) "self",(char *) "height", NULL
9216 };
9217
9218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) SWIG_fail;
9219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9220 if (!SWIG_IsOK(res1)) {
9221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9222 }
9223 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9224 ecode2 = SWIG_AsVal_int(obj1, &val2);
9225 if (!SWIG_IsOK(ecode2)) {
9226 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9227 }
9228 arg2 = static_cast< int >(val2);
9229 {
9230 PyThreadState* __tstate = wxPyBeginAllowThreads();
9231 (arg1)->SetMinHeight(arg2);
9232 wxPyEndAllowThreads(__tstate);
9233 if (PyErr_Occurred()) SWIG_fail;
9234 }
9235 resultobj = SWIG_Py_Void();
9236 return resultobj;
9237 fail:
9238 return NULL;
9239 }
9240
9241
9242 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9243 PyObject *resultobj = 0;
9244 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9245 int result;
9246 void *argp1 = 0 ;
9247 int res1 = 0 ;
9248 PyObject *swig_obj[1] ;
9249
9250 if (!args) SWIG_fail;
9251 swig_obj[0] = args;
9252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9253 if (!SWIG_IsOK(res1)) {
9254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9255 }
9256 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
9260 wxPyEndAllowThreads(__tstate);
9261 if (PyErr_Occurred()) SWIG_fail;
9262 }
9263 resultobj = SWIG_From_int(static_cast< int >(result));
9264 return resultobj;
9265 fail:
9266 return NULL;
9267 }
9268
9269
9270 SWIGINTERN PyObject *_wrap_StatusBar_GetBorderY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9271 PyObject *resultobj = 0;
9272 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
9273 int result;
9274 void *argp1 = 0 ;
9275 int res1 = 0 ;
9276 PyObject *swig_obj[1] ;
9277
9278 if (!args) SWIG_fail;
9279 swig_obj[0] = args;
9280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStatusBar, 0 | 0 );
9281 if (!SWIG_IsOK(res1)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9283 }
9284 arg1 = reinterpret_cast< wxStatusBar * >(argp1);
9285 {
9286 PyThreadState* __tstate = wxPyBeginAllowThreads();
9287 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 resultobj = SWIG_From_int(static_cast< int >(result));
9292 return resultobj;
9293 fail:
9294 return NULL;
9295 }
9296
9297
9298 SWIGINTERN PyObject *_wrap_StatusBar_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj = 0;
9300 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
9301 SwigValueWrapper<wxVisualAttributes > result;
9302 int val1 ;
9303 int ecode1 = 0 ;
9304 PyObject * obj0 = 0 ;
9305 char * kwnames[] = {
9306 (char *) "variant", NULL
9307 };
9308
9309 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
9310 if (obj0) {
9311 ecode1 = SWIG_AsVal_int(obj0, &val1);
9312 if (!SWIG_IsOK(ecode1)) {
9313 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9314 }
9315 arg1 = static_cast< wxWindowVariant >(val1);
9316 }
9317 {
9318 if (!wxPyCheckForApp()) SWIG_fail;
9319 PyThreadState* __tstate = wxPyBeginAllowThreads();
9320 result = wxStatusBar::GetClassDefaultAttributes(arg1);
9321 wxPyEndAllowThreads(__tstate);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 }
9324 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
9325 return resultobj;
9326 fail:
9327 return NULL;
9328 }
9329
9330
9331 SWIGINTERN PyObject *StatusBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9332 PyObject *obj;
9333 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
9334 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar, SWIG_NewClientData(obj));
9335 return SWIG_Py_Void();
9336 }
9337
9338 SWIGINTERN PyObject *StatusBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9339 return SWIG_Python_InitShadowInstance(args);
9340 }
9341
9342 SWIGINTERN int SplitterNameStr_set(PyObject *) {
9343 SWIG_Error(SWIG_AttributeError,"Variable SplitterNameStr is read-only.");
9344 return 1;
9345 }
9346
9347
9348 SWIGINTERN PyObject *SplitterNameStr_get(void) {
9349 PyObject *pyobj = 0;
9350
9351 {
9352 #if wxUSE_UNICODE
9353 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9354 #else
9355 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
9356 #endif
9357 }
9358 return pyobj;
9359 }
9360
9361
9362 SWIGINTERN PyObject *_wrap_new_SplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj = 0;
9364 wxWindow *arg1 = (wxWindow *) 0 ;
9365 int arg2 = (int) -1 ;
9366 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9367 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9368 wxSize const &arg4_defvalue = wxDefaultSize ;
9369 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9370 long arg5 = (long) wxSP_3D ;
9371 wxString const &arg6_defvalue = wxPySplitterNameStr ;
9372 wxString *arg6 = (wxString *) &arg6_defvalue ;
9373 wxSplitterWindow *result = 0 ;
9374 void *argp1 = 0 ;
9375 int res1 = 0 ;
9376 int val2 ;
9377 int ecode2 = 0 ;
9378 wxPoint temp3 ;
9379 wxSize temp4 ;
9380 long val5 ;
9381 int ecode5 = 0 ;
9382 bool temp6 = false ;
9383 PyObject * obj0 = 0 ;
9384 PyObject * obj1 = 0 ;
9385 PyObject * obj2 = 0 ;
9386 PyObject * obj3 = 0 ;
9387 PyObject * obj4 = 0 ;
9388 PyObject * obj5 = 0 ;
9389 char * kwnames[] = {
9390 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9391 };
9392
9393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
9395 if (!SWIG_IsOK(res1)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9397 }
9398 arg1 = reinterpret_cast< wxWindow * >(argp1);
9399 if (obj1) {
9400 ecode2 = SWIG_AsVal_int(obj1, &val2);
9401 if (!SWIG_IsOK(ecode2)) {
9402 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9403 }
9404 arg2 = static_cast< int >(val2);
9405 }
9406 if (obj2) {
9407 {
9408 arg3 = &temp3;
9409 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9410 }
9411 }
9412 if (obj3) {
9413 {
9414 arg4 = &temp4;
9415 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9416 }
9417 }
9418 if (obj4) {
9419 ecode5 = SWIG_AsVal_long(obj4, &val5);
9420 if (!SWIG_IsOK(ecode5)) {
9421 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9422 }
9423 arg5 = static_cast< long >(val5);
9424 }
9425 if (obj5) {
9426 {
9427 arg6 = wxString_in_helper(obj5);
9428 if (arg6 == NULL) SWIG_fail;
9429 temp6 = true;
9430 }
9431 }
9432 {
9433 if (!wxPyCheckForApp()) SWIG_fail;
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_NEW | 0 );
9440 {
9441 if (temp6)
9442 delete arg6;
9443 }
9444 return resultobj;
9445 fail:
9446 {
9447 if (temp6)
9448 delete arg6;
9449 }
9450 return NULL;
9451 }
9452
9453
9454 SWIGINTERN PyObject *_wrap_new_PreSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9455 PyObject *resultobj = 0;
9456 wxSplitterWindow *result = 0 ;
9457
9458 if (!SWIG_Python_UnpackTuple(args,"new_PreSplitterWindow",0,0,0)) SWIG_fail;
9459 {
9460 if (!wxPyCheckForApp()) SWIG_fail;
9461 PyThreadState* __tstate = wxPyBeginAllowThreads();
9462 result = (wxSplitterWindow *)new wxSplitterWindow();
9463 wxPyEndAllowThreads(__tstate);
9464 if (PyErr_Occurred()) SWIG_fail;
9465 }
9466 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterWindow, SWIG_POINTER_OWN | 0 );
9467 return resultobj;
9468 fail:
9469 return NULL;
9470 }
9471
9472
9473 SWIGINTERN PyObject *_wrap_SplitterWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9474 PyObject *resultobj = 0;
9475 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9476 wxWindow *arg2 = (wxWindow *) 0 ;
9477 int arg3 = (int) -1 ;
9478 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9479 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9480 wxSize const &arg5_defvalue = wxDefaultSize ;
9481 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9482 long arg6 = (long) wxSP_3D ;
9483 wxString const &arg7_defvalue = wxPySplitterNameStr ;
9484 wxString *arg7 = (wxString *) &arg7_defvalue ;
9485 bool result;
9486 void *argp1 = 0 ;
9487 int res1 = 0 ;
9488 void *argp2 = 0 ;
9489 int res2 = 0 ;
9490 int val3 ;
9491 int ecode3 = 0 ;
9492 wxPoint temp4 ;
9493 wxSize temp5 ;
9494 long val6 ;
9495 int ecode6 = 0 ;
9496 bool temp7 = false ;
9497 PyObject * obj0 = 0 ;
9498 PyObject * obj1 = 0 ;
9499 PyObject * obj2 = 0 ;
9500 PyObject * obj3 = 0 ;
9501 PyObject * obj4 = 0 ;
9502 PyObject * obj5 = 0 ;
9503 PyObject * obj6 = 0 ;
9504 char * kwnames[] = {
9505 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9506 };
9507
9508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9510 if (!SWIG_IsOK(res1)) {
9511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9512 }
9513 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9514 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9515 if (!SWIG_IsOK(res2)) {
9516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9517 }
9518 arg2 = reinterpret_cast< wxWindow * >(argp2);
9519 if (obj2) {
9520 ecode3 = SWIG_AsVal_int(obj2, &val3);
9521 if (!SWIG_IsOK(ecode3)) {
9522 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9523 }
9524 arg3 = static_cast< int >(val3);
9525 }
9526 if (obj3) {
9527 {
9528 arg4 = &temp4;
9529 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9530 }
9531 }
9532 if (obj4) {
9533 {
9534 arg5 = &temp5;
9535 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9536 }
9537 }
9538 if (obj5) {
9539 ecode6 = SWIG_AsVal_long(obj5, &val6);
9540 if (!SWIG_IsOK(ecode6)) {
9541 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9542 }
9543 arg6 = static_cast< long >(val6);
9544 }
9545 if (obj6) {
9546 {
9547 arg7 = wxString_in_helper(obj6);
9548 if (arg7 == NULL) SWIG_fail;
9549 temp7 = true;
9550 }
9551 }
9552 {
9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
9554 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 {
9559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9560 }
9561 {
9562 if (temp7)
9563 delete arg7;
9564 }
9565 return resultobj;
9566 fail:
9567 {
9568 if (temp7)
9569 delete arg7;
9570 }
9571 return NULL;
9572 }
9573
9574
9575 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9576 PyObject *resultobj = 0;
9577 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9578 wxWindow *result = 0 ;
9579 void *argp1 = 0 ;
9580 int res1 = 0 ;
9581 PyObject *swig_obj[1] ;
9582
9583 if (!args) SWIG_fail;
9584 swig_obj[0] = args;
9585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9586 if (!SWIG_IsOK(res1)) {
9587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9588 }
9589 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9590 {
9591 PyThreadState* __tstate = wxPyBeginAllowThreads();
9592 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
9593 wxPyEndAllowThreads(__tstate);
9594 if (PyErr_Occurred()) SWIG_fail;
9595 }
9596 {
9597 resultobj = wxPyMake_wxObject(result, 0);
9598 }
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 SWIGINTERN PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9606 PyObject *resultobj = 0;
9607 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9608 wxWindow *result = 0 ;
9609 void *argp1 = 0 ;
9610 int res1 = 0 ;
9611 PyObject *swig_obj[1] ;
9612
9613 if (!args) SWIG_fail;
9614 swig_obj[0] = args;
9615 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9616 if (!SWIG_IsOK(res1)) {
9617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9618 }
9619 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 }
9626 {
9627 resultobj = wxPyMake_wxObject(result, 0);
9628 }
9629 return resultobj;
9630 fail:
9631 return NULL;
9632 }
9633
9634
9635 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9636 PyObject *resultobj = 0;
9637 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9638 int arg2 ;
9639 void *argp1 = 0 ;
9640 int res1 = 0 ;
9641 int val2 ;
9642 int ecode2 = 0 ;
9643 PyObject * obj0 = 0 ;
9644 PyObject * obj1 = 0 ;
9645 char * kwnames[] = {
9646 (char *) "self",(char *) "mode", NULL
9647 };
9648
9649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) SWIG_fail;
9650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9651 if (!SWIG_IsOK(res1)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9653 }
9654 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9655 ecode2 = SWIG_AsVal_int(obj1, &val2);
9656 if (!SWIG_IsOK(ecode2)) {
9657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9658 }
9659 arg2 = static_cast< int >(val2);
9660 {
9661 PyThreadState* __tstate = wxPyBeginAllowThreads();
9662 (arg1)->SetSplitMode(arg2);
9663 wxPyEndAllowThreads(__tstate);
9664 if (PyErr_Occurred()) SWIG_fail;
9665 }
9666 resultobj = SWIG_Py_Void();
9667 return resultobj;
9668 fail:
9669 return NULL;
9670 }
9671
9672
9673 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9674 PyObject *resultobj = 0;
9675 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9676 wxSplitMode result;
9677 void *argp1 = 0 ;
9678 int res1 = 0 ;
9679 PyObject *swig_obj[1] ;
9680
9681 if (!args) SWIG_fail;
9682 swig_obj[0] = args;
9683 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9684 if (!SWIG_IsOK(res1)) {
9685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9686 }
9687 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9688 {
9689 PyThreadState* __tstate = wxPyBeginAllowThreads();
9690 result = (wxSplitMode)((wxSplitterWindow const *)arg1)->GetSplitMode();
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
9694 resultobj = SWIG_From_int(static_cast< int >(result));
9695 return resultobj;
9696 fail:
9697 return NULL;
9698 }
9699
9700
9701 SWIGINTERN PyObject *_wrap_SplitterWindow_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9702 PyObject *resultobj = 0;
9703 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9704 wxWindow *arg2 = (wxWindow *) 0 ;
9705 void *argp1 = 0 ;
9706 int res1 = 0 ;
9707 void *argp2 = 0 ;
9708 int res2 = 0 ;
9709 PyObject * obj0 = 0 ;
9710 PyObject * obj1 = 0 ;
9711 char * kwnames[] = {
9712 (char *) "self",(char *) "window", NULL
9713 };
9714
9715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) SWIG_fail;
9716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9717 if (!SWIG_IsOK(res1)) {
9718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9719 }
9720 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9721 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9722 if (!SWIG_IsOK(res2)) {
9723 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9724 }
9725 arg2 = reinterpret_cast< wxWindow * >(argp2);
9726 {
9727 PyThreadState* __tstate = wxPyBeginAllowThreads();
9728 (arg1)->Initialize(arg2);
9729 wxPyEndAllowThreads(__tstate);
9730 if (PyErr_Occurred()) SWIG_fail;
9731 }
9732 resultobj = SWIG_Py_Void();
9733 return resultobj;
9734 fail:
9735 return NULL;
9736 }
9737
9738
9739 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9740 PyObject *resultobj = 0;
9741 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9742 wxWindow *arg2 = (wxWindow *) 0 ;
9743 wxWindow *arg3 = (wxWindow *) 0 ;
9744 int arg4 = (int) 0 ;
9745 bool result;
9746 void *argp1 = 0 ;
9747 int res1 = 0 ;
9748 void *argp2 = 0 ;
9749 int res2 = 0 ;
9750 void *argp3 = 0 ;
9751 int res3 = 0 ;
9752 int val4 ;
9753 int ecode4 = 0 ;
9754 PyObject * obj0 = 0 ;
9755 PyObject * obj1 = 0 ;
9756 PyObject * obj2 = 0 ;
9757 PyObject * obj3 = 0 ;
9758 char * kwnames[] = {
9759 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9760 };
9761
9762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9764 if (!SWIG_IsOK(res1)) {
9765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9766 }
9767 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9768 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9769 if (!SWIG_IsOK(res2)) {
9770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9771 }
9772 arg2 = reinterpret_cast< wxWindow * >(argp2);
9773 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9774 if (!SWIG_IsOK(res3)) {
9775 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9776 }
9777 arg3 = reinterpret_cast< wxWindow * >(argp3);
9778 if (obj3) {
9779 ecode4 = SWIG_AsVal_int(obj3, &val4);
9780 if (!SWIG_IsOK(ecode4)) {
9781 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9782 }
9783 arg4 = static_cast< int >(val4);
9784 }
9785 {
9786 PyThreadState* __tstate = wxPyBeginAllowThreads();
9787 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
9791 {
9792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9793 }
9794 return resultobj;
9795 fail:
9796 return NULL;
9797 }
9798
9799
9800 SWIGINTERN PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj = 0;
9802 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9803 wxWindow *arg2 = (wxWindow *) 0 ;
9804 wxWindow *arg3 = (wxWindow *) 0 ;
9805 int arg4 = (int) 0 ;
9806 bool result;
9807 void *argp1 = 0 ;
9808 int res1 = 0 ;
9809 void *argp2 = 0 ;
9810 int res2 = 0 ;
9811 void *argp3 = 0 ;
9812 int res3 = 0 ;
9813 int val4 ;
9814 int ecode4 = 0 ;
9815 PyObject * obj0 = 0 ;
9816 PyObject * obj1 = 0 ;
9817 PyObject * obj2 = 0 ;
9818 PyObject * obj3 = 0 ;
9819 char * kwnames[] = {
9820 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9821 };
9822
9823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9825 if (!SWIG_IsOK(res1)) {
9826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9827 }
9828 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9829 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9830 if (!SWIG_IsOK(res2)) {
9831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9832 }
9833 arg2 = reinterpret_cast< wxWindow * >(argp2);
9834 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9835 if (!SWIG_IsOK(res3)) {
9836 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9837 }
9838 arg3 = reinterpret_cast< wxWindow * >(argp3);
9839 if (obj3) {
9840 ecode4 = SWIG_AsVal_int(obj3, &val4);
9841 if (!SWIG_IsOK(ecode4)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9843 }
9844 arg4 = static_cast< int >(val4);
9845 }
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 {
9853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9854 }
9855 return resultobj;
9856 fail:
9857 return NULL;
9858 }
9859
9860
9861 SWIGINTERN PyObject *_wrap_SplitterWindow_Unsplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj = 0;
9863 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9864 wxWindow *arg2 = (wxWindow *) NULL ;
9865 bool result;
9866 void *argp1 = 0 ;
9867 int res1 = 0 ;
9868 void *argp2 = 0 ;
9869 int res2 = 0 ;
9870 PyObject * obj0 = 0 ;
9871 PyObject * obj1 = 0 ;
9872 char * kwnames[] = {
9873 (char *) "self",(char *) "toRemove", NULL
9874 };
9875
9876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) SWIG_fail;
9877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9878 if (!SWIG_IsOK(res1)) {
9879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9880 }
9881 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9882 if (obj1) {
9883 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9884 if (!SWIG_IsOK(res2)) {
9885 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9886 }
9887 arg2 = reinterpret_cast< wxWindow * >(argp2);
9888 }
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 result = (bool)(arg1)->Unsplit(arg2);
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 {
9896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9897 }
9898 return resultobj;
9899 fail:
9900 return NULL;
9901 }
9902
9903
9904 SWIGINTERN PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9905 PyObject *resultobj = 0;
9906 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9907 wxWindow *arg2 = (wxWindow *) 0 ;
9908 wxWindow *arg3 = (wxWindow *) 0 ;
9909 bool result;
9910 void *argp1 = 0 ;
9911 int res1 = 0 ;
9912 void *argp2 = 0 ;
9913 int res2 = 0 ;
9914 void *argp3 = 0 ;
9915 int res3 = 0 ;
9916 PyObject * obj0 = 0 ;
9917 PyObject * obj1 = 0 ;
9918 PyObject * obj2 = 0 ;
9919 char * kwnames[] = {
9920 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9921 };
9922
9923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9925 if (!SWIG_IsOK(res1)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9927 }
9928 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9929 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
9930 if (!SWIG_IsOK(res2)) {
9931 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9932 }
9933 arg2 = reinterpret_cast< wxWindow * >(argp2);
9934 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
9935 if (!SWIG_IsOK(res3)) {
9936 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9937 }
9938 arg3 = reinterpret_cast< wxWindow * >(argp3);
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
9942 wxPyEndAllowThreads(__tstate);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
9945 {
9946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9947 }
9948 return resultobj;
9949 fail:
9950 return NULL;
9951 }
9952
9953
9954 SWIGINTERN PyObject *_wrap_SplitterWindow_UpdateSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9955 PyObject *resultobj = 0;
9956 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9957 void *argp1 = 0 ;
9958 int res1 = 0 ;
9959 PyObject *swig_obj[1] ;
9960
9961 if (!args) SWIG_fail;
9962 swig_obj[0] = args;
9963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9964 if (!SWIG_IsOK(res1)) {
9965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9966 }
9967 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9968 {
9969 PyThreadState* __tstate = wxPyBeginAllowThreads();
9970 (arg1)->UpdateSize();
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 resultobj = SWIG_Py_Void();
9975 return resultobj;
9976 fail:
9977 return NULL;
9978 }
9979
9980
9981 SWIGINTERN PyObject *_wrap_SplitterWindow_IsSplit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9982 PyObject *resultobj = 0;
9983 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
9984 bool result;
9985 void *argp1 = 0 ;
9986 int res1 = 0 ;
9987 PyObject *swig_obj[1] ;
9988
9989 if (!args) SWIG_fail;
9990 swig_obj[0] = args;
9991 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
9992 if (!SWIG_IsOK(res1)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9994 }
9995 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
9996 {
9997 PyThreadState* __tstate = wxPyBeginAllowThreads();
9998 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
9999 wxPyEndAllowThreads(__tstate);
10000 if (PyErr_Occurred()) SWIG_fail;
10001 }
10002 {
10003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10004 }
10005 return resultobj;
10006 fail:
10007 return NULL;
10008 }
10009
10010
10011 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj = 0;
10013 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10014 int arg2 ;
10015 void *argp1 = 0 ;
10016 int res1 = 0 ;
10017 int val2 ;
10018 int ecode2 = 0 ;
10019 PyObject * obj0 = 0 ;
10020 PyObject * obj1 = 0 ;
10021 char * kwnames[] = {
10022 (char *) "self",(char *) "width", NULL
10023 };
10024
10025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) SWIG_fail;
10026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10027 if (!SWIG_IsOK(res1)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10029 }
10030 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10031 ecode2 = SWIG_AsVal_int(obj1, &val2);
10032 if (!SWIG_IsOK(ecode2)) {
10033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10034 }
10035 arg2 = static_cast< int >(val2);
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 (arg1)->SetSashSize(arg2);
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 resultobj = SWIG_Py_Void();
10043 return resultobj;
10044 fail:
10045 return NULL;
10046 }
10047
10048
10049 SWIGINTERN PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10050 PyObject *resultobj = 0;
10051 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10052 int arg2 ;
10053 void *argp1 = 0 ;
10054 int res1 = 0 ;
10055 int val2 ;
10056 int ecode2 = 0 ;
10057 PyObject * obj0 = 0 ;
10058 PyObject * obj1 = 0 ;
10059 char * kwnames[] = {
10060 (char *) "self",(char *) "width", NULL
10061 };
10062
10063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
10064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10065 if (!SWIG_IsOK(res1)) {
10066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10067 }
10068 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10069 ecode2 = SWIG_AsVal_int(obj1, &val2);
10070 if (!SWIG_IsOK(ecode2)) {
10071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10072 }
10073 arg2 = static_cast< int >(val2);
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 (arg1)->SetBorderSize(arg2);
10077 wxPyEndAllowThreads(__tstate);
10078 if (PyErr_Occurred()) SWIG_fail;
10079 }
10080 resultobj = SWIG_Py_Void();
10081 return resultobj;
10082 fail:
10083 return NULL;
10084 }
10085
10086
10087 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10088 PyObject *resultobj = 0;
10089 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10090 int result;
10091 void *argp1 = 0 ;
10092 int res1 = 0 ;
10093 PyObject *swig_obj[1] ;
10094
10095 if (!args) SWIG_fail;
10096 swig_obj[0] = args;
10097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10098 if (!SWIG_IsOK(res1)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10100 }
10101 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 }
10108 resultobj = SWIG_From_int(static_cast< int >(result));
10109 return resultobj;
10110 fail:
10111 return NULL;
10112 }
10113
10114
10115 SWIGINTERN PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10116 PyObject *resultobj = 0;
10117 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10118 int result;
10119 void *argp1 = 0 ;
10120 int res1 = 0 ;
10121 PyObject *swig_obj[1] ;
10122
10123 if (!args) SWIG_fail;
10124 swig_obj[0] = args;
10125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10126 if (!SWIG_IsOK(res1)) {
10127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10128 }
10129 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 resultobj = SWIG_From_int(static_cast< int >(result));
10137 return resultobj;
10138 fail:
10139 return NULL;
10140 }
10141
10142
10143 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj = 0;
10145 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10146 int arg2 ;
10147 bool arg3 = (bool) true ;
10148 void *argp1 = 0 ;
10149 int res1 = 0 ;
10150 int val2 ;
10151 int ecode2 = 0 ;
10152 bool val3 ;
10153 int ecode3 = 0 ;
10154 PyObject * obj0 = 0 ;
10155 PyObject * obj1 = 0 ;
10156 PyObject * obj2 = 0 ;
10157 char * kwnames[] = {
10158 (char *) "self",(char *) "position",(char *) "redraw", NULL
10159 };
10160
10161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10163 if (!SWIG_IsOK(res1)) {
10164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10165 }
10166 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10167 ecode2 = SWIG_AsVal_int(obj1, &val2);
10168 if (!SWIG_IsOK(ecode2)) {
10169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10170 }
10171 arg2 = static_cast< int >(val2);
10172 if (obj2) {
10173 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10174 if (!SWIG_IsOK(ecode3)) {
10175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10176 }
10177 arg3 = static_cast< bool >(val3);
10178 }
10179 {
10180 PyThreadState* __tstate = wxPyBeginAllowThreads();
10181 (arg1)->SetSashPosition(arg2,arg3);
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 resultobj = SWIG_Py_Void();
10186 return resultobj;
10187 fail:
10188 return NULL;
10189 }
10190
10191
10192 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10193 PyObject *resultobj = 0;
10194 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10195 int result;
10196 void *argp1 = 0 ;
10197 int res1 = 0 ;
10198 PyObject *swig_obj[1] ;
10199
10200 if (!args) SWIG_fail;
10201 swig_obj[0] = args;
10202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10203 if (!SWIG_IsOK(res1)) {
10204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10205 }
10206 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10207 {
10208 PyThreadState* __tstate = wxPyBeginAllowThreads();
10209 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
10210 wxPyEndAllowThreads(__tstate);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 resultobj = SWIG_From_int(static_cast< int >(result));
10214 return resultobj;
10215 fail:
10216 return NULL;
10217 }
10218
10219
10220 SWIGINTERN PyObject *_wrap_SplitterWindow_SetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj = 0;
10222 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10223 double arg2 ;
10224 void *argp1 = 0 ;
10225 int res1 = 0 ;
10226 double val2 ;
10227 int ecode2 = 0 ;
10228 PyObject * obj0 = 0 ;
10229 PyObject * obj1 = 0 ;
10230 char * kwnames[] = {
10231 (char *) "self",(char *) "gravity", NULL
10232 };
10233
10234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashGravity",kwnames,&obj0,&obj1)) SWIG_fail;
10235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10236 if (!SWIG_IsOK(res1)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10238 }
10239 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10240 ecode2 = SWIG_AsVal_double(obj1, &val2);
10241 if (!SWIG_IsOK(ecode2)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10243 }
10244 arg2 = static_cast< double >(val2);
10245 {
10246 PyThreadState* __tstate = wxPyBeginAllowThreads();
10247 (arg1)->SetSashGravity(arg2);
10248 wxPyEndAllowThreads(__tstate);
10249 if (PyErr_Occurred()) SWIG_fail;
10250 }
10251 resultobj = SWIG_Py_Void();
10252 return resultobj;
10253 fail:
10254 return NULL;
10255 }
10256
10257
10258 SWIGINTERN PyObject *_wrap_SplitterWindow_GetSashGravity(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10259 PyObject *resultobj = 0;
10260 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10261 double result;
10262 void *argp1 = 0 ;
10263 int res1 = 0 ;
10264 PyObject *swig_obj[1] ;
10265
10266 if (!args) SWIG_fail;
10267 swig_obj[0] = args;
10268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10269 if (!SWIG_IsOK(res1)) {
10270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10271 }
10272 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10273 {
10274 PyThreadState* __tstate = wxPyBeginAllowThreads();
10275 result = (double)((wxSplitterWindow const *)arg1)->GetSashGravity();
10276 wxPyEndAllowThreads(__tstate);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 resultobj = SWIG_From_double(static_cast< double >(result));
10280 return resultobj;
10281 fail:
10282 return NULL;
10283 }
10284
10285
10286 SWIGINTERN PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10287 PyObject *resultobj = 0;
10288 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10289 int arg2 ;
10290 void *argp1 = 0 ;
10291 int res1 = 0 ;
10292 int val2 ;
10293 int ecode2 = 0 ;
10294 PyObject * obj0 = 0 ;
10295 PyObject * obj1 = 0 ;
10296 char * kwnames[] = {
10297 (char *) "self",(char *) "min", NULL
10298 };
10299
10300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) SWIG_fail;
10301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10302 if (!SWIG_IsOK(res1)) {
10303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10304 }
10305 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10306 ecode2 = SWIG_AsVal_int(obj1, &val2);
10307 if (!SWIG_IsOK(ecode2)) {
10308 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10309 }
10310 arg2 = static_cast< int >(val2);
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 (arg1)->SetMinimumPaneSize(arg2);
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 resultobj = SWIG_Py_Void();
10318 return resultobj;
10319 fail:
10320 return NULL;
10321 }
10322
10323
10324 SWIGINTERN PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10325 PyObject *resultobj = 0;
10326 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10327 int result;
10328 void *argp1 = 0 ;
10329 int res1 = 0 ;
10330 PyObject *swig_obj[1] ;
10331
10332 if (!args) SWIG_fail;
10333 swig_obj[0] = args;
10334 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10335 if (!SWIG_IsOK(res1)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10337 }
10338 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10339 {
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 resultobj = SWIG_From_int(static_cast< int >(result));
10346 return resultobj;
10347 fail:
10348 return NULL;
10349 }
10350
10351
10352 SWIGINTERN PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10353 PyObject *resultobj = 0;
10354 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10355 int arg2 ;
10356 int arg3 ;
10357 int arg4 = (int) 5 ;
10358 bool result;
10359 void *argp1 = 0 ;
10360 int res1 = 0 ;
10361 int val2 ;
10362 int ecode2 = 0 ;
10363 int val3 ;
10364 int ecode3 = 0 ;
10365 int val4 ;
10366 int ecode4 = 0 ;
10367 PyObject * obj0 = 0 ;
10368 PyObject * obj1 = 0 ;
10369 PyObject * obj2 = 0 ;
10370 PyObject * obj3 = 0 ;
10371 char * kwnames[] = {
10372 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10373 };
10374
10375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10377 if (!SWIG_IsOK(res1)) {
10378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10379 }
10380 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10381 ecode2 = SWIG_AsVal_int(obj1, &val2);
10382 if (!SWIG_IsOK(ecode2)) {
10383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10384 }
10385 arg2 = static_cast< int >(val2);
10386 ecode3 = SWIG_AsVal_int(obj2, &val3);
10387 if (!SWIG_IsOK(ecode3)) {
10388 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10389 }
10390 arg3 = static_cast< int >(val3);
10391 if (obj3) {
10392 ecode4 = SWIG_AsVal_int(obj3, &val4);
10393 if (!SWIG_IsOK(ecode4)) {
10394 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10395 }
10396 arg4 = static_cast< int >(val4);
10397 }
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
10401 wxPyEndAllowThreads(__tstate);
10402 if (PyErr_Occurred()) SWIG_fail;
10403 }
10404 {
10405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10406 }
10407 return resultobj;
10408 fail:
10409 return NULL;
10410 }
10411
10412
10413 SWIGINTERN PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10414 PyObject *resultobj = 0;
10415 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10416 void *argp1 = 0 ;
10417 int res1 = 0 ;
10418 PyObject *swig_obj[1] ;
10419
10420 if (!args) SWIG_fail;
10421 swig_obj[0] = args;
10422 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10423 if (!SWIG_IsOK(res1)) {
10424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10425 }
10426 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10427 {
10428 PyThreadState* __tstate = wxPyBeginAllowThreads();
10429 (arg1)->SizeWindows();
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
10433 resultobj = SWIG_Py_Void();
10434 return resultobj;
10435 fail:
10436 return NULL;
10437 }
10438
10439
10440 SWIGINTERN PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10441 PyObject *resultobj = 0;
10442 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10443 bool arg2 ;
10444 void *argp1 = 0 ;
10445 int res1 = 0 ;
10446 bool val2 ;
10447 int ecode2 = 0 ;
10448 PyObject * obj0 = 0 ;
10449 PyObject * obj1 = 0 ;
10450 char * kwnames[] = {
10451 (char *) "self",(char *) "needUpdating", NULL
10452 };
10453
10454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) SWIG_fail;
10455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10456 if (!SWIG_IsOK(res1)) {
10457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10458 }
10459 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10460 ecode2 = SWIG_AsVal_bool(obj1, &val2);
10461 if (!SWIG_IsOK(ecode2)) {
10462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10463 }
10464 arg2 = static_cast< bool >(val2);
10465 {
10466 PyThreadState* __tstate = wxPyBeginAllowThreads();
10467 (arg1)->SetNeedUpdating(arg2);
10468 wxPyEndAllowThreads(__tstate);
10469 if (PyErr_Occurred()) SWIG_fail;
10470 }
10471 resultobj = SWIG_Py_Void();
10472 return resultobj;
10473 fail:
10474 return NULL;
10475 }
10476
10477
10478 SWIGINTERN PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10479 PyObject *resultobj = 0;
10480 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
10481 bool result;
10482 void *argp1 = 0 ;
10483 int res1 = 0 ;
10484 PyObject *swig_obj[1] ;
10485
10486 if (!args) SWIG_fail;
10487 swig_obj[0] = args;
10488 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10489 if (!SWIG_IsOK(res1)) {
10490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10491 }
10492 arg1 = reinterpret_cast< wxSplitterWindow * >(argp1);
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 {
10500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10501 }
10502 return resultobj;
10503 fail:
10504 return NULL;
10505 }
10506
10507
10508 SWIGINTERN PyObject *_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10509 PyObject *resultobj = 0;
10510 wxWindowVariant arg1 = (wxWindowVariant) wxWINDOW_VARIANT_NORMAL ;
10511 SwigValueWrapper<wxVisualAttributes > result;
10512 int val1 ;
10513 int ecode1 = 0 ;
10514 PyObject * obj0 = 0 ;
10515 char * kwnames[] = {
10516 (char *) "variant", NULL
10517 };
10518
10519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames,&obj0)) SWIG_fail;
10520 if (obj0) {
10521 ecode1 = SWIG_AsVal_int(obj0, &val1);
10522 if (!SWIG_IsOK(ecode1)) {
10523 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10524 }
10525 arg1 = static_cast< wxWindowVariant >(val1);
10526 }
10527 {
10528 if (!wxPyCheckForApp()) SWIG_fail;
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 result = wxSplitterWindow::GetClassDefaultAttributes(arg1);
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
10535 return resultobj;
10536 fail:
10537 return NULL;
10538 }
10539
10540
10541 SWIGINTERN PyObject *SplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10542 PyObject *obj;
10543 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10544 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow, SWIG_NewClientData(obj));
10545 return SWIG_Py_Void();
10546 }
10547
10548 SWIGINTERN PyObject *SplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10549 return SWIG_Python_InitShadowInstance(args);
10550 }
10551
10552 SWIGINTERN PyObject *_wrap_new_SplitterEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10553 PyObject *resultobj = 0;
10554 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10555 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
10556 wxSplitterEvent *result = 0 ;
10557 int val1 ;
10558 int ecode1 = 0 ;
10559 void *argp2 = 0 ;
10560 int res2 = 0 ;
10561 PyObject * obj0 = 0 ;
10562 PyObject * obj1 = 0 ;
10563 char * kwnames[] = {
10564 (char *) "type",(char *) "splitter", NULL
10565 };
10566
10567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) SWIG_fail;
10568 if (obj0) {
10569 ecode1 = SWIG_AsVal_int(obj0, &val1);
10570 if (!SWIG_IsOK(ecode1)) {
10571 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10572 }
10573 arg1 = static_cast< wxEventType >(val1);
10574 }
10575 if (obj1) {
10576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxSplitterWindow, 0 | 0 );
10577 if (!SWIG_IsOK(res2)) {
10578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10579 }
10580 arg2 = reinterpret_cast< wxSplitterWindow * >(argp2);
10581 }
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterEvent, SWIG_POINTER_NEW | 0 );
10589 return resultobj;
10590 fail:
10591 return NULL;
10592 }
10593
10594
10595 SWIGINTERN PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj = 0;
10597 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10598 int arg2 ;
10599 void *argp1 = 0 ;
10600 int res1 = 0 ;
10601 int val2 ;
10602 int ecode2 = 0 ;
10603 PyObject * obj0 = 0 ;
10604 PyObject * obj1 = 0 ;
10605 char * kwnames[] = {
10606 (char *) "self",(char *) "pos", NULL
10607 };
10608
10609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) SWIG_fail;
10610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10611 if (!SWIG_IsOK(res1)) {
10612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10613 }
10614 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10615 ecode2 = SWIG_AsVal_int(obj1, &val2);
10616 if (!SWIG_IsOK(ecode2)) {
10617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10618 }
10619 arg2 = static_cast< int >(val2);
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 (arg1)->SetSashPosition(arg2);
10623 wxPyEndAllowThreads(__tstate);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 resultobj = SWIG_Py_Void();
10627 return resultobj;
10628 fail:
10629 return NULL;
10630 }
10631
10632
10633 SWIGINTERN PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10634 PyObject *resultobj = 0;
10635 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10636 int result;
10637 void *argp1 = 0 ;
10638 int res1 = 0 ;
10639 PyObject *swig_obj[1] ;
10640
10641 if (!args) SWIG_fail;
10642 swig_obj[0] = args;
10643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10644 if (!SWIG_IsOK(res1)) {
10645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10646 }
10647 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 resultobj = SWIG_From_int(static_cast< int >(result));
10655 return resultobj;
10656 fail:
10657 return NULL;
10658 }
10659
10660
10661 SWIGINTERN PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10662 PyObject *resultobj = 0;
10663 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10664 wxWindow *result = 0 ;
10665 void *argp1 = 0 ;
10666 int res1 = 0 ;
10667 PyObject *swig_obj[1] ;
10668
10669 if (!args) SWIG_fail;
10670 swig_obj[0] = args;
10671 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10672 if (!SWIG_IsOK(res1)) {
10673 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10674 }
10675 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10676 {
10677 PyThreadState* __tstate = wxPyBeginAllowThreads();
10678 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 {
10683 resultobj = wxPyMake_wxObject(result, 0);
10684 }
10685 return resultobj;
10686 fail:
10687 return NULL;
10688 }
10689
10690
10691 SWIGINTERN PyObject *_wrap_SplitterEvent_GetX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10692 PyObject *resultobj = 0;
10693 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10694 int result;
10695 void *argp1 = 0 ;
10696 int res1 = 0 ;
10697 PyObject *swig_obj[1] ;
10698
10699 if (!args) SWIG_fail;
10700 swig_obj[0] = args;
10701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10702 if (!SWIG_IsOK(res1)) {
10703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10704 }
10705 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10706 {
10707 PyThreadState* __tstate = wxPyBeginAllowThreads();
10708 result = (int)((wxSplitterEvent const *)arg1)->GetX();
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 resultobj = SWIG_From_int(static_cast< int >(result));
10713 return resultobj;
10714 fail:
10715 return NULL;
10716 }
10717
10718
10719 SWIGINTERN PyObject *_wrap_SplitterEvent_GetY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10720 PyObject *resultobj = 0;
10721 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
10722 int result;
10723 void *argp1 = 0 ;
10724 int res1 = 0 ;
10725 PyObject *swig_obj[1] ;
10726
10727 if (!args) SWIG_fail;
10728 swig_obj[0] = args;
10729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSplitterEvent, 0 | 0 );
10730 if (!SWIG_IsOK(res1)) {
10731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10732 }
10733 arg1 = reinterpret_cast< wxSplitterEvent * >(argp1);
10734 {
10735 PyThreadState* __tstate = wxPyBeginAllowThreads();
10736 result = (int)((wxSplitterEvent const *)arg1)->GetY();
10737 wxPyEndAllowThreads(__tstate);
10738 if (PyErr_Occurred()) SWIG_fail;
10739 }
10740 resultobj = SWIG_From_int(static_cast< int >(result));
10741 return resultobj;
10742 fail:
10743 return NULL;
10744 }
10745
10746
10747 SWIGINTERN PyObject *SplitterEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10748 PyObject *obj;
10749 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10750 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent, SWIG_NewClientData(obj));
10751 return SWIG_Py_Void();
10752 }
10753
10754 SWIGINTERN PyObject *SplitterEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10755 return SWIG_Python_InitShadowInstance(args);
10756 }
10757
10758 SWIGINTERN int SashNameStr_set(PyObject *) {
10759 SWIG_Error(SWIG_AttributeError,"Variable SashNameStr is read-only.");
10760 return 1;
10761 }
10762
10763
10764 SWIGINTERN PyObject *SashNameStr_get(void) {
10765 PyObject *pyobj = 0;
10766
10767 {
10768 #if wxUSE_UNICODE
10769 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10770 #else
10771 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
10772 #endif
10773 }
10774 return pyobj;
10775 }
10776
10777
10778 SWIGINTERN int SashLayoutNameStr_set(PyObject *) {
10779 SWIG_Error(SWIG_AttributeError,"Variable SashLayoutNameStr is read-only.");
10780 return 1;
10781 }
10782
10783
10784 SWIGINTERN PyObject *SashLayoutNameStr_get(void) {
10785 PyObject *pyobj = 0;
10786
10787 {
10788 #if wxUSE_UNICODE
10789 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10790 #else
10791 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
10792 #endif
10793 }
10794 return pyobj;
10795 }
10796
10797
10798 SWIGINTERN PyObject *_wrap_new_SashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10799 PyObject *resultobj = 0;
10800 wxWindow *arg1 = (wxWindow *) 0 ;
10801 int arg2 = (int) -1 ;
10802 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10803 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10804 wxSize const &arg4_defvalue = wxDefaultSize ;
10805 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10806 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10807 wxString const &arg6_defvalue = wxPySashNameStr ;
10808 wxString *arg6 = (wxString *) &arg6_defvalue ;
10809 wxSashWindow *result = 0 ;
10810 void *argp1 = 0 ;
10811 int res1 = 0 ;
10812 int val2 ;
10813 int ecode2 = 0 ;
10814 wxPoint temp3 ;
10815 wxSize temp4 ;
10816 long val5 ;
10817 int ecode5 = 0 ;
10818 bool temp6 = false ;
10819 PyObject * obj0 = 0 ;
10820 PyObject * obj1 = 0 ;
10821 PyObject * obj2 = 0 ;
10822 PyObject * obj3 = 0 ;
10823 PyObject * obj4 = 0 ;
10824 PyObject * obj5 = 0 ;
10825 char * kwnames[] = {
10826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10827 };
10828
10829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
10830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10831 if (!SWIG_IsOK(res1)) {
10832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10833 }
10834 arg1 = reinterpret_cast< wxWindow * >(argp1);
10835 if (obj1) {
10836 ecode2 = SWIG_AsVal_int(obj1, &val2);
10837 if (!SWIG_IsOK(ecode2)) {
10838 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10839 }
10840 arg2 = static_cast< int >(val2);
10841 }
10842 if (obj2) {
10843 {
10844 arg3 = &temp3;
10845 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10846 }
10847 }
10848 if (obj3) {
10849 {
10850 arg4 = &temp4;
10851 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10852 }
10853 }
10854 if (obj4) {
10855 ecode5 = SWIG_AsVal_long(obj4, &val5);
10856 if (!SWIG_IsOK(ecode5)) {
10857 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10858 }
10859 arg5 = static_cast< long >(val5);
10860 }
10861 if (obj5) {
10862 {
10863 arg6 = wxString_in_helper(obj5);
10864 if (arg6 == NULL) SWIG_fail;
10865 temp6 = true;
10866 }
10867 }
10868 {
10869 if (!wxPyCheckForApp()) SWIG_fail;
10870 PyThreadState* __tstate = wxPyBeginAllowThreads();
10871 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_NEW | 0 );
10876 {
10877 if (temp6)
10878 delete arg6;
10879 }
10880 return resultobj;
10881 fail:
10882 {
10883 if (temp6)
10884 delete arg6;
10885 }
10886 return NULL;
10887 }
10888
10889
10890 SWIGINTERN PyObject *_wrap_new_PreSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10891 PyObject *resultobj = 0;
10892 wxSashWindow *result = 0 ;
10893
10894 if (!SWIG_Python_UnpackTuple(args,"new_PreSashWindow",0,0,0)) SWIG_fail;
10895 {
10896 if (!wxPyCheckForApp()) SWIG_fail;
10897 PyThreadState* __tstate = wxPyBeginAllowThreads();
10898 result = (wxSashWindow *)new wxSashWindow();
10899 wxPyEndAllowThreads(__tstate);
10900 if (PyErr_Occurred()) SWIG_fail;
10901 }
10902 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashWindow, SWIG_POINTER_OWN | 0 );
10903 return resultobj;
10904 fail:
10905 return NULL;
10906 }
10907
10908
10909 SWIGINTERN PyObject *_wrap_SashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10910 PyObject *resultobj = 0;
10911 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
10912 wxWindow *arg2 = (wxWindow *) 0 ;
10913 int arg3 = (int) -1 ;
10914 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10915 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10916 wxSize const &arg5_defvalue = wxDefaultSize ;
10917 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10918 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
10919 wxString const &arg7_defvalue = wxPySashNameStr ;
10920 wxString *arg7 = (wxString *) &arg7_defvalue ;
10921 bool result;
10922 void *argp1 = 0 ;
10923 int res1 = 0 ;
10924 void *argp2 = 0 ;
10925 int res2 = 0 ;
10926 int val3 ;
10927 int ecode3 = 0 ;
10928 wxPoint temp4 ;
10929 wxSize temp5 ;
10930 long val6 ;
10931 int ecode6 = 0 ;
10932 bool temp7 = false ;
10933 PyObject * obj0 = 0 ;
10934 PyObject * obj1 = 0 ;
10935 PyObject * obj2 = 0 ;
10936 PyObject * obj3 = 0 ;
10937 PyObject * obj4 = 0 ;
10938 PyObject * obj5 = 0 ;
10939 PyObject * obj6 = 0 ;
10940 char * kwnames[] = {
10941 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10942 };
10943
10944 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10945 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
10946 if (!SWIG_IsOK(res1)) {
10947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10948 }
10949 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
10950 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10951 if (!SWIG_IsOK(res2)) {
10952 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10953 }
10954 arg2 = reinterpret_cast< wxWindow * >(argp2);
10955 if (obj2) {
10956 ecode3 = SWIG_AsVal_int(obj2, &val3);
10957 if (!SWIG_IsOK(ecode3)) {
10958 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10959 }
10960 arg3 = static_cast< int >(val3);
10961 }
10962 if (obj3) {
10963 {
10964 arg4 = &temp4;
10965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10966 }
10967 }
10968 if (obj4) {
10969 {
10970 arg5 = &temp5;
10971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10972 }
10973 }
10974 if (obj5) {
10975 ecode6 = SWIG_AsVal_long(obj5, &val6);
10976 if (!SWIG_IsOK(ecode6)) {
10977 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10978 }
10979 arg6 = static_cast< long >(val6);
10980 }
10981 if (obj6) {
10982 {
10983 arg7 = wxString_in_helper(obj6);
10984 if (arg7 == NULL) SWIG_fail;
10985 temp7 = true;
10986 }
10987 }
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10991 wxPyEndAllowThreads(__tstate);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 {
10995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10996 }
10997 {
10998 if (temp7)
10999 delete arg7;
11000 }
11001 return resultobj;
11002 fail:
11003 {
11004 if (temp7)
11005 delete arg7;
11006 }
11007 return NULL;
11008 }
11009
11010
11011 SWIGINTERN PyObject *_wrap_SashWindow_SetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11012 PyObject *resultobj = 0;
11013 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11014 wxSashEdgePosition arg2 ;
11015 bool arg3 ;
11016 void *argp1 = 0 ;
11017 int res1 = 0 ;
11018 int val2 ;
11019 int ecode2 = 0 ;
11020 bool val3 ;
11021 int ecode3 = 0 ;
11022 PyObject * obj0 = 0 ;
11023 PyObject * obj1 = 0 ;
11024 PyObject * obj2 = 0 ;
11025 char * kwnames[] = {
11026 (char *) "self",(char *) "edge",(char *) "sash", NULL
11027 };
11028
11029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11031 if (!SWIG_IsOK(res1)) {
11032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11033 }
11034 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11035 ecode2 = SWIG_AsVal_int(obj1, &val2);
11036 if (!SWIG_IsOK(ecode2)) {
11037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11038 }
11039 arg2 = static_cast< wxSashEdgePosition >(val2);
11040 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11041 if (!SWIG_IsOK(ecode3)) {
11042 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11043 }
11044 arg3 = static_cast< bool >(val3);
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 (arg1)->SetSashVisible(arg2,arg3);
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 resultobj = SWIG_Py_Void();
11052 return resultobj;
11053 fail:
11054 return NULL;
11055 }
11056
11057
11058 SWIGINTERN PyObject *_wrap_SashWindow_GetSashVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11059 PyObject *resultobj = 0;
11060 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11061 wxSashEdgePosition arg2 ;
11062 bool result;
11063 void *argp1 = 0 ;
11064 int res1 = 0 ;
11065 int val2 ;
11066 int ecode2 = 0 ;
11067 PyObject * obj0 = 0 ;
11068 PyObject * obj1 = 0 ;
11069 char * kwnames[] = {
11070 (char *) "self",(char *) "edge", NULL
11071 };
11072
11073 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) SWIG_fail;
11074 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11075 if (!SWIG_IsOK(res1)) {
11076 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11077 }
11078 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11079 ecode2 = SWIG_AsVal_int(obj1, &val2);
11080 if (!SWIG_IsOK(ecode2)) {
11081 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11082 }
11083 arg2 = static_cast< wxSashEdgePosition >(val2);
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible(arg2);
11087 wxPyEndAllowThreads(__tstate);
11088 if (PyErr_Occurred()) SWIG_fail;
11089 }
11090 {
11091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11092 }
11093 return resultobj;
11094 fail:
11095 return NULL;
11096 }
11097
11098
11099 SWIGINTERN PyObject *_wrap_SashWindow_SetSashBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11100 PyObject *resultobj = 0;
11101 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11102 wxSashEdgePosition arg2 ;
11103 bool arg3 ;
11104 void *argp1 = 0 ;
11105 int res1 = 0 ;
11106 int val2 ;
11107 int ecode2 = 0 ;
11108 bool val3 ;
11109 int ecode3 = 0 ;
11110 PyObject * obj0 = 0 ;
11111 PyObject * obj1 = 0 ;
11112 PyObject * obj2 = 0 ;
11113 char * kwnames[] = {
11114 (char *) "self",(char *) "edge",(char *) "border", NULL
11115 };
11116
11117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11119 if (!SWIG_IsOK(res1)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11121 }
11122 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11123 ecode2 = SWIG_AsVal_int(obj1, &val2);
11124 if (!SWIG_IsOK(ecode2)) {
11125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11126 }
11127 arg2 = static_cast< wxSashEdgePosition >(val2);
11128 ecode3 = SWIG_AsVal_bool(obj2, &val3);
11129 if (!SWIG_IsOK(ecode3)) {
11130 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11131 }
11132 arg3 = static_cast< bool >(val3);
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 (arg1)->SetSashBorder(arg2,arg3);
11136 wxPyEndAllowThreads(__tstate);
11137 if (PyErr_Occurred()) SWIG_fail;
11138 }
11139 resultobj = SWIG_Py_Void();
11140 return resultobj;
11141 fail:
11142 return NULL;
11143 }
11144
11145
11146 SWIGINTERN PyObject *_wrap_SashWindow_HasBorder(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11147 PyObject *resultobj = 0;
11148 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11149 wxSashEdgePosition arg2 ;
11150 bool result;
11151 void *argp1 = 0 ;
11152 int res1 = 0 ;
11153 int val2 ;
11154 int ecode2 = 0 ;
11155 PyObject * obj0 = 0 ;
11156 PyObject * obj1 = 0 ;
11157 char * kwnames[] = {
11158 (char *) "self",(char *) "edge", NULL
11159 };
11160
11161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) SWIG_fail;
11162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11163 if (!SWIG_IsOK(res1)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11165 }
11166 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11167 ecode2 = SWIG_AsVal_int(obj1, &val2);
11168 if (!SWIG_IsOK(ecode2)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11170 }
11171 arg2 = static_cast< wxSashEdgePosition >(val2);
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = (bool)((wxSashWindow const *)arg1)->HasBorder(arg2);
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 {
11179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11180 }
11181 return resultobj;
11182 fail:
11183 return NULL;
11184 }
11185
11186
11187 SWIGINTERN PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11188 PyObject *resultobj = 0;
11189 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11190 wxSashEdgePosition arg2 ;
11191 int result;
11192 void *argp1 = 0 ;
11193 int res1 = 0 ;
11194 int val2 ;
11195 int ecode2 = 0 ;
11196 PyObject * obj0 = 0 ;
11197 PyObject * obj1 = 0 ;
11198 char * kwnames[] = {
11199 (char *) "self",(char *) "edge", NULL
11200 };
11201
11202 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) SWIG_fail;
11203 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11204 if (!SWIG_IsOK(res1)) {
11205 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11206 }
11207 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11208 ecode2 = SWIG_AsVal_int(obj1, &val2);
11209 if (!SWIG_IsOK(ecode2)) {
11210 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11211 }
11212 arg2 = static_cast< wxSashEdgePosition >(val2);
11213 {
11214 PyThreadState* __tstate = wxPyBeginAllowThreads();
11215 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin(arg2);
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 resultobj = SWIG_From_int(static_cast< int >(result));
11220 return resultobj;
11221 fail:
11222 return NULL;
11223 }
11224
11225
11226 SWIGINTERN PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11227 PyObject *resultobj = 0;
11228 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11229 int arg2 ;
11230 void *argp1 = 0 ;
11231 int res1 = 0 ;
11232 int val2 ;
11233 int ecode2 = 0 ;
11234 PyObject * obj0 = 0 ;
11235 PyObject * obj1 = 0 ;
11236 char * kwnames[] = {
11237 (char *) "self",(char *) "width", NULL
11238 };
11239
11240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11242 if (!SWIG_IsOK(res1)) {
11243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11244 }
11245 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11246 ecode2 = SWIG_AsVal_int(obj1, &val2);
11247 if (!SWIG_IsOK(ecode2)) {
11248 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11249 }
11250 arg2 = static_cast< int >(val2);
11251 {
11252 PyThreadState* __tstate = wxPyBeginAllowThreads();
11253 (arg1)->SetDefaultBorderSize(arg2);
11254 wxPyEndAllowThreads(__tstate);
11255 if (PyErr_Occurred()) SWIG_fail;
11256 }
11257 resultobj = SWIG_Py_Void();
11258 return resultobj;
11259 fail:
11260 return NULL;
11261 }
11262
11263
11264 SWIGINTERN PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11265 PyObject *resultobj = 0;
11266 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11267 int result;
11268 void *argp1 = 0 ;
11269 int res1 = 0 ;
11270 PyObject *swig_obj[1] ;
11271
11272 if (!args) SWIG_fail;
11273 swig_obj[0] = args;
11274 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11275 if (!SWIG_IsOK(res1)) {
11276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11277 }
11278 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11279 {
11280 PyThreadState* __tstate = wxPyBeginAllowThreads();
11281 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 resultobj = SWIG_From_int(static_cast< int >(result));
11286 return resultobj;
11287 fail:
11288 return NULL;
11289 }
11290
11291
11292 SWIGINTERN PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj = 0;
11294 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11295 int arg2 ;
11296 void *argp1 = 0 ;
11297 int res1 = 0 ;
11298 int val2 ;
11299 int ecode2 = 0 ;
11300 PyObject * obj0 = 0 ;
11301 PyObject * obj1 = 0 ;
11302 char * kwnames[] = {
11303 (char *) "self",(char *) "width", NULL
11304 };
11305
11306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) SWIG_fail;
11307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11308 if (!SWIG_IsOK(res1)) {
11309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11310 }
11311 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11312 ecode2 = SWIG_AsVal_int(obj1, &val2);
11313 if (!SWIG_IsOK(ecode2)) {
11314 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11315 }
11316 arg2 = static_cast< int >(val2);
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 (arg1)->SetExtraBorderSize(arg2);
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 resultobj = SWIG_Py_Void();
11324 return resultobj;
11325 fail:
11326 return NULL;
11327 }
11328
11329
11330 SWIGINTERN PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11331 PyObject *resultobj = 0;
11332 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11333 int result;
11334 void *argp1 = 0 ;
11335 int res1 = 0 ;
11336 PyObject *swig_obj[1] ;
11337
11338 if (!args) SWIG_fail;
11339 swig_obj[0] = args;
11340 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11341 if (!SWIG_IsOK(res1)) {
11342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11343 }
11344 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
11348 wxPyEndAllowThreads(__tstate);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 resultobj = SWIG_From_int(static_cast< int >(result));
11352 return resultobj;
11353 fail:
11354 return NULL;
11355 }
11356
11357
11358 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11359 PyObject *resultobj = 0;
11360 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11361 int arg2 ;
11362 void *argp1 = 0 ;
11363 int res1 = 0 ;
11364 int val2 ;
11365 int ecode2 = 0 ;
11366 PyObject * obj0 = 0 ;
11367 PyObject * obj1 = 0 ;
11368 char * kwnames[] = {
11369 (char *) "self",(char *) "min", NULL
11370 };
11371
11372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11374 if (!SWIG_IsOK(res1)) {
11375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11376 }
11377 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11378 ecode2 = SWIG_AsVal_int(obj1, &val2);
11379 if (!SWIG_IsOK(ecode2)) {
11380 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11381 }
11382 arg2 = static_cast< int >(val2);
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 (arg1)->SetMinimumSizeX(arg2);
11386 wxPyEndAllowThreads(__tstate);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 resultobj = SWIG_Py_Void();
11390 return resultobj;
11391 fail:
11392 return NULL;
11393 }
11394
11395
11396 SWIGINTERN PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11397 PyObject *resultobj = 0;
11398 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11399 int arg2 ;
11400 void *argp1 = 0 ;
11401 int res1 = 0 ;
11402 int val2 ;
11403 int ecode2 = 0 ;
11404 PyObject * obj0 = 0 ;
11405 PyObject * obj1 = 0 ;
11406 char * kwnames[] = {
11407 (char *) "self",(char *) "min", NULL
11408 };
11409
11410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11412 if (!SWIG_IsOK(res1)) {
11413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11414 }
11415 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11416 ecode2 = SWIG_AsVal_int(obj1, &val2);
11417 if (!SWIG_IsOK(ecode2)) {
11418 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11419 }
11420 arg2 = static_cast< int >(val2);
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 (arg1)->SetMinimumSizeY(arg2);
11424 wxPyEndAllowThreads(__tstate);
11425 if (PyErr_Occurred()) SWIG_fail;
11426 }
11427 resultobj = SWIG_Py_Void();
11428 return resultobj;
11429 fail:
11430 return NULL;
11431 }
11432
11433
11434 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11435 PyObject *resultobj = 0;
11436 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11437 int result;
11438 void *argp1 = 0 ;
11439 int res1 = 0 ;
11440 PyObject *swig_obj[1] ;
11441
11442 if (!args) SWIG_fail;
11443 swig_obj[0] = args;
11444 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11445 if (!SWIG_IsOK(res1)) {
11446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11447 }
11448 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11449 {
11450 PyThreadState* __tstate = wxPyBeginAllowThreads();
11451 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
11452 wxPyEndAllowThreads(__tstate);
11453 if (PyErr_Occurred()) SWIG_fail;
11454 }
11455 resultobj = SWIG_From_int(static_cast< int >(result));
11456 return resultobj;
11457 fail:
11458 return NULL;
11459 }
11460
11461
11462 SWIGINTERN PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11463 PyObject *resultobj = 0;
11464 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11465 int result;
11466 void *argp1 = 0 ;
11467 int res1 = 0 ;
11468 PyObject *swig_obj[1] ;
11469
11470 if (!args) SWIG_fail;
11471 swig_obj[0] = args;
11472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11473 if (!SWIG_IsOK(res1)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11475 }
11476 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
11480 wxPyEndAllowThreads(__tstate);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 }
11483 resultobj = SWIG_From_int(static_cast< int >(result));
11484 return resultobj;
11485 fail:
11486 return NULL;
11487 }
11488
11489
11490 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11491 PyObject *resultobj = 0;
11492 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11493 int arg2 ;
11494 void *argp1 = 0 ;
11495 int res1 = 0 ;
11496 int val2 ;
11497 int ecode2 = 0 ;
11498 PyObject * obj0 = 0 ;
11499 PyObject * obj1 = 0 ;
11500 char * kwnames[] = {
11501 (char *) "self",(char *) "max", NULL
11502 };
11503
11504 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) SWIG_fail;
11505 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11506 if (!SWIG_IsOK(res1)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11508 }
11509 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11510 ecode2 = SWIG_AsVal_int(obj1, &val2);
11511 if (!SWIG_IsOK(ecode2)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11513 }
11514 arg2 = static_cast< int >(val2);
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 (arg1)->SetMaximumSizeX(arg2);
11518 wxPyEndAllowThreads(__tstate);
11519 if (PyErr_Occurred()) SWIG_fail;
11520 }
11521 resultobj = SWIG_Py_Void();
11522 return resultobj;
11523 fail:
11524 return NULL;
11525 }
11526
11527
11528 SWIGINTERN PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11529 PyObject *resultobj = 0;
11530 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11531 int arg2 ;
11532 void *argp1 = 0 ;
11533 int res1 = 0 ;
11534 int val2 ;
11535 int ecode2 = 0 ;
11536 PyObject * obj0 = 0 ;
11537 PyObject * obj1 = 0 ;
11538 char * kwnames[] = {
11539 (char *) "self",(char *) "max", NULL
11540 };
11541
11542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) SWIG_fail;
11543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11544 if (!SWIG_IsOK(res1)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11546 }
11547 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11548 ecode2 = SWIG_AsVal_int(obj1, &val2);
11549 if (!SWIG_IsOK(ecode2)) {
11550 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11551 }
11552 arg2 = static_cast< int >(val2);
11553 {
11554 PyThreadState* __tstate = wxPyBeginAllowThreads();
11555 (arg1)->SetMaximumSizeY(arg2);
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 resultobj = SWIG_Py_Void();
11560 return resultobj;
11561 fail:
11562 return NULL;
11563 }
11564
11565
11566 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11567 PyObject *resultobj = 0;
11568 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11569 int result;
11570 void *argp1 = 0 ;
11571 int res1 = 0 ;
11572 PyObject *swig_obj[1] ;
11573
11574 if (!args) SWIG_fail;
11575 swig_obj[0] = args;
11576 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11577 if (!SWIG_IsOK(res1)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11579 }
11580 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
11584 wxPyEndAllowThreads(__tstate);
11585 if (PyErr_Occurred()) SWIG_fail;
11586 }
11587 resultobj = SWIG_From_int(static_cast< int >(result));
11588 return resultobj;
11589 fail:
11590 return NULL;
11591 }
11592
11593
11594 SWIGINTERN PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11595 PyObject *resultobj = 0;
11596 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11597 int result;
11598 void *argp1 = 0 ;
11599 int res1 = 0 ;
11600 PyObject *swig_obj[1] ;
11601
11602 if (!args) SWIG_fail;
11603 swig_obj[0] = args;
11604 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11605 if (!SWIG_IsOK(res1)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11607 }
11608 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11609 {
11610 PyThreadState* __tstate = wxPyBeginAllowThreads();
11611 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 resultobj = SWIG_From_int(static_cast< int >(result));
11616 return resultobj;
11617 fail:
11618 return NULL;
11619 }
11620
11621
11622 SWIGINTERN PyObject *_wrap_SashWindow_SashHitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11623 PyObject *resultobj = 0;
11624 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11625 int arg2 ;
11626 int arg3 ;
11627 int arg4 = (int) 2 ;
11628 wxSashEdgePosition result;
11629 void *argp1 = 0 ;
11630 int res1 = 0 ;
11631 int val2 ;
11632 int ecode2 = 0 ;
11633 int val3 ;
11634 int ecode3 = 0 ;
11635 int val4 ;
11636 int ecode4 = 0 ;
11637 PyObject * obj0 = 0 ;
11638 PyObject * obj1 = 0 ;
11639 PyObject * obj2 = 0 ;
11640 PyObject * obj3 = 0 ;
11641 char * kwnames[] = {
11642 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11643 };
11644
11645 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
11646 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11647 if (!SWIG_IsOK(res1)) {
11648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11649 }
11650 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11651 ecode2 = SWIG_AsVal_int(obj1, &val2);
11652 if (!SWIG_IsOK(ecode2)) {
11653 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11654 }
11655 arg2 = static_cast< int >(val2);
11656 ecode3 = SWIG_AsVal_int(obj2, &val3);
11657 if (!SWIG_IsOK(ecode3)) {
11658 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11659 }
11660 arg3 = static_cast< int >(val3);
11661 if (obj3) {
11662 ecode4 = SWIG_AsVal_int(obj3, &val4);
11663 if (!SWIG_IsOK(ecode4)) {
11664 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11665 }
11666 arg4 = static_cast< int >(val4);
11667 }
11668 {
11669 PyThreadState* __tstate = wxPyBeginAllowThreads();
11670 result = (wxSashEdgePosition)(arg1)->SashHitTest(arg2,arg3,arg4);
11671 wxPyEndAllowThreads(__tstate);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 resultobj = SWIG_From_int(static_cast< int >(result));
11675 return resultobj;
11676 fail:
11677 return NULL;
11678 }
11679
11680
11681 SWIGINTERN PyObject *_wrap_SashWindow_SizeWindows(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11682 PyObject *resultobj = 0;
11683 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
11684 void *argp1 = 0 ;
11685 int res1 = 0 ;
11686 PyObject *swig_obj[1] ;
11687
11688 if (!args) SWIG_fail;
11689 swig_obj[0] = args;
11690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashWindow, 0 | 0 );
11691 if (!SWIG_IsOK(res1)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11693 }
11694 arg1 = reinterpret_cast< wxSashWindow * >(argp1);
11695 {
11696 PyThreadState* __tstate = wxPyBeginAllowThreads();
11697 (arg1)->SizeWindows();
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 resultobj = SWIG_Py_Void();
11702 return resultobj;
11703 fail:
11704 return NULL;
11705 }
11706
11707
11708 SWIGINTERN PyObject *SashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11709 PyObject *obj;
11710 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11711 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow, SWIG_NewClientData(obj));
11712 return SWIG_Py_Void();
11713 }
11714
11715 SWIGINTERN PyObject *SashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11716 return SWIG_Python_InitShadowInstance(args);
11717 }
11718
11719 SWIGINTERN PyObject *_wrap_new_SashEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11720 PyObject *resultobj = 0;
11721 int arg1 = (int) 0 ;
11722 wxSashEdgePosition arg2 = (wxSashEdgePosition) wxSASH_NONE ;
11723 wxSashEvent *result = 0 ;
11724 int val1 ;
11725 int ecode1 = 0 ;
11726 int val2 ;
11727 int ecode2 = 0 ;
11728 PyObject * obj0 = 0 ;
11729 PyObject * obj1 = 0 ;
11730 char * kwnames[] = {
11731 (char *) "id",(char *) "edge", NULL
11732 };
11733
11734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) SWIG_fail;
11735 if (obj0) {
11736 ecode1 = SWIG_AsVal_int(obj0, &val1);
11737 if (!SWIG_IsOK(ecode1)) {
11738 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11739 }
11740 arg1 = static_cast< int >(val1);
11741 }
11742 if (obj1) {
11743 ecode2 = SWIG_AsVal_int(obj1, &val2);
11744 if (!SWIG_IsOK(ecode2)) {
11745 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11746 }
11747 arg2 = static_cast< wxSashEdgePosition >(val2);
11748 }
11749 {
11750 PyThreadState* __tstate = wxPyBeginAllowThreads();
11751 result = (wxSashEvent *)new wxSashEvent(arg1,arg2);
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashEvent, SWIG_POINTER_NEW | 0 );
11756 return resultobj;
11757 fail:
11758 return NULL;
11759 }
11760
11761
11762 SWIGINTERN PyObject *_wrap_SashEvent_SetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj = 0;
11764 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11765 wxSashEdgePosition arg2 ;
11766 void *argp1 = 0 ;
11767 int res1 = 0 ;
11768 int val2 ;
11769 int ecode2 = 0 ;
11770 PyObject * obj0 = 0 ;
11771 PyObject * obj1 = 0 ;
11772 char * kwnames[] = {
11773 (char *) "self",(char *) "edge", NULL
11774 };
11775
11776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) SWIG_fail;
11777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11778 if (!SWIG_IsOK(res1)) {
11779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11780 }
11781 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11782 ecode2 = SWIG_AsVal_int(obj1, &val2);
11783 if (!SWIG_IsOK(ecode2)) {
11784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11785 }
11786 arg2 = static_cast< wxSashEdgePosition >(val2);
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
11789 (arg1)->SetEdge(arg2);
11790 wxPyEndAllowThreads(__tstate);
11791 if (PyErr_Occurred()) SWIG_fail;
11792 }
11793 resultobj = SWIG_Py_Void();
11794 return resultobj;
11795 fail:
11796 return NULL;
11797 }
11798
11799
11800 SWIGINTERN PyObject *_wrap_SashEvent_GetEdge(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11801 PyObject *resultobj = 0;
11802 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11803 wxSashEdgePosition result;
11804 void *argp1 = 0 ;
11805 int res1 = 0 ;
11806 PyObject *swig_obj[1] ;
11807
11808 if (!args) SWIG_fail;
11809 swig_obj[0] = args;
11810 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11811 if (!SWIG_IsOK(res1)) {
11812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11813 }
11814 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11815 {
11816 PyThreadState* __tstate = wxPyBeginAllowThreads();
11817 result = (wxSashEdgePosition)((wxSashEvent const *)arg1)->GetEdge();
11818 wxPyEndAllowThreads(__tstate);
11819 if (PyErr_Occurred()) SWIG_fail;
11820 }
11821 resultobj = SWIG_From_int(static_cast< int >(result));
11822 return resultobj;
11823 fail:
11824 return NULL;
11825 }
11826
11827
11828 SWIGINTERN PyObject *_wrap_SashEvent_SetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11829 PyObject *resultobj = 0;
11830 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11831 wxRect *arg2 = 0 ;
11832 void *argp1 = 0 ;
11833 int res1 = 0 ;
11834 wxRect temp2 ;
11835 PyObject * obj0 = 0 ;
11836 PyObject * obj1 = 0 ;
11837 char * kwnames[] = {
11838 (char *) "self",(char *) "rect", NULL
11839 };
11840
11841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) SWIG_fail;
11842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11843 if (!SWIG_IsOK(res1)) {
11844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11845 }
11846 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11847 {
11848 arg2 = &temp2;
11849 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 (arg1)->SetDragRect((wxRect const &)*arg2);
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 resultobj = SWIG_Py_Void();
11858 return resultobj;
11859 fail:
11860 return NULL;
11861 }
11862
11863
11864 SWIGINTERN PyObject *_wrap_SashEvent_GetDragRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11865 PyObject *resultobj = 0;
11866 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11867 wxRect result;
11868 void *argp1 = 0 ;
11869 int res1 = 0 ;
11870 PyObject *swig_obj[1] ;
11871
11872 if (!args) SWIG_fail;
11873 swig_obj[0] = args;
11874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11875 if (!SWIG_IsOK(res1)) {
11876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11877 }
11878 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11879 {
11880 PyThreadState* __tstate = wxPyBeginAllowThreads();
11881 result = ((wxSashEvent const *)arg1)->GetDragRect();
11882 wxPyEndAllowThreads(__tstate);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
11885 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
11886 return resultobj;
11887 fail:
11888 return NULL;
11889 }
11890
11891
11892 SWIGINTERN PyObject *_wrap_SashEvent_SetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11893 PyObject *resultobj = 0;
11894 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11895 wxSashDragStatus arg2 ;
11896 void *argp1 = 0 ;
11897 int res1 = 0 ;
11898 int val2 ;
11899 int ecode2 = 0 ;
11900 PyObject * obj0 = 0 ;
11901 PyObject * obj1 = 0 ;
11902 char * kwnames[] = {
11903 (char *) "self",(char *) "status", NULL
11904 };
11905
11906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) SWIG_fail;
11907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11908 if (!SWIG_IsOK(res1)) {
11909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11910 }
11911 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11912 ecode2 = SWIG_AsVal_int(obj1, &val2);
11913 if (!SWIG_IsOK(ecode2)) {
11914 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11915 }
11916 arg2 = static_cast< wxSashDragStatus >(val2);
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 (arg1)->SetDragStatus(arg2);
11920 wxPyEndAllowThreads(__tstate);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 resultobj = SWIG_Py_Void();
11924 return resultobj;
11925 fail:
11926 return NULL;
11927 }
11928
11929
11930 SWIGINTERN PyObject *_wrap_SashEvent_GetDragStatus(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11931 PyObject *resultobj = 0;
11932 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
11933 wxSashDragStatus result;
11934 void *argp1 = 0 ;
11935 int res1 = 0 ;
11936 PyObject *swig_obj[1] ;
11937
11938 if (!args) SWIG_fail;
11939 swig_obj[0] = args;
11940 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashEvent, 0 | 0 );
11941 if (!SWIG_IsOK(res1)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11943 }
11944 arg1 = reinterpret_cast< wxSashEvent * >(argp1);
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 result = (wxSashDragStatus)((wxSashEvent const *)arg1)->GetDragStatus();
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 resultobj = SWIG_From_int(static_cast< int >(result));
11952 return resultobj;
11953 fail:
11954 return NULL;
11955 }
11956
11957
11958 SWIGINTERN PyObject *SashEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11959 PyObject *obj;
11960 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11961 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent, SWIG_NewClientData(obj));
11962 return SWIG_Py_Void();
11963 }
11964
11965 SWIGINTERN PyObject *SashEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11966 return SWIG_Python_InitShadowInstance(args);
11967 }
11968
11969 SWIGINTERN PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11970 PyObject *resultobj = 0;
11971 int arg1 = (int) 0 ;
11972 wxQueryLayoutInfoEvent *result = 0 ;
11973 int val1 ;
11974 int ecode1 = 0 ;
11975 PyObject * obj0 = 0 ;
11976 char * kwnames[] = {
11977 (char *) "id", NULL
11978 };
11979
11980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) SWIG_fail;
11981 if (obj0) {
11982 ecode1 = SWIG_AsVal_int(obj0, &val1);
11983 if (!SWIG_IsOK(ecode1)) {
11984 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11985 }
11986 arg1 = static_cast< int >(val1);
11987 }
11988 {
11989 PyThreadState* __tstate = wxPyBeginAllowThreads();
11990 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
11994 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_POINTER_NEW | 0 );
11995 return resultobj;
11996 fail:
11997 return NULL;
11998 }
11999
12000
12001 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12002 PyObject *resultobj = 0;
12003 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12004 int arg2 ;
12005 void *argp1 = 0 ;
12006 int res1 = 0 ;
12007 int val2 ;
12008 int ecode2 = 0 ;
12009 PyObject * obj0 = 0 ;
12010 PyObject * obj1 = 0 ;
12011 char * kwnames[] = {
12012 (char *) "self",(char *) "length", NULL
12013 };
12014
12015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) SWIG_fail;
12016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12017 if (!SWIG_IsOK(res1)) {
12018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12019 }
12020 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12021 ecode2 = SWIG_AsVal_int(obj1, &val2);
12022 if (!SWIG_IsOK(ecode2)) {
12023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12024 }
12025 arg2 = static_cast< int >(val2);
12026 {
12027 PyThreadState* __tstate = wxPyBeginAllowThreads();
12028 (arg1)->SetRequestedLength(arg2);
12029 wxPyEndAllowThreads(__tstate);
12030 if (PyErr_Occurred()) SWIG_fail;
12031 }
12032 resultobj = SWIG_Py_Void();
12033 return resultobj;
12034 fail:
12035 return NULL;
12036 }
12037
12038
12039 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12040 PyObject *resultobj = 0;
12041 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12042 int result;
12043 void *argp1 = 0 ;
12044 int res1 = 0 ;
12045 PyObject *swig_obj[1] ;
12046
12047 if (!args) SWIG_fail;
12048 swig_obj[0] = args;
12049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12050 if (!SWIG_IsOK(res1)) {
12051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12052 }
12053 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12054 {
12055 PyThreadState* __tstate = wxPyBeginAllowThreads();
12056 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
12057 wxPyEndAllowThreads(__tstate);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 resultobj = SWIG_From_int(static_cast< int >(result));
12061 return resultobj;
12062 fail:
12063 return NULL;
12064 }
12065
12066
12067 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12068 PyObject *resultobj = 0;
12069 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12070 int arg2 ;
12071 void *argp1 = 0 ;
12072 int res1 = 0 ;
12073 int val2 ;
12074 int ecode2 = 0 ;
12075 PyObject * obj0 = 0 ;
12076 PyObject * obj1 = 0 ;
12077 char * kwnames[] = {
12078 (char *) "self",(char *) "flags", NULL
12079 };
12080
12081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12083 if (!SWIG_IsOK(res1)) {
12084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12085 }
12086 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12087 ecode2 = SWIG_AsVal_int(obj1, &val2);
12088 if (!SWIG_IsOK(ecode2)) {
12089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12090 }
12091 arg2 = static_cast< int >(val2);
12092 {
12093 PyThreadState* __tstate = wxPyBeginAllowThreads();
12094 (arg1)->SetFlags(arg2);
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 resultobj = SWIG_Py_Void();
12099 return resultobj;
12100 fail:
12101 return NULL;
12102 }
12103
12104
12105 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12106 PyObject *resultobj = 0;
12107 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12108 int result;
12109 void *argp1 = 0 ;
12110 int res1 = 0 ;
12111 PyObject *swig_obj[1] ;
12112
12113 if (!args) SWIG_fail;
12114 swig_obj[0] = args;
12115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12116 if (!SWIG_IsOK(res1)) {
12117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12118 }
12119 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 resultobj = SWIG_From_int(static_cast< int >(result));
12127 return resultobj;
12128 fail:
12129 return NULL;
12130 }
12131
12132
12133 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj = 0;
12135 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12136 wxSize *arg2 = 0 ;
12137 void *argp1 = 0 ;
12138 int res1 = 0 ;
12139 wxSize temp2 ;
12140 PyObject * obj0 = 0 ;
12141 PyObject * obj1 = 0 ;
12142 char * kwnames[] = {
12143 (char *) "self",(char *) "size", NULL
12144 };
12145
12146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) SWIG_fail;
12147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12148 if (!SWIG_IsOK(res1)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12150 }
12151 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12152 {
12153 arg2 = &temp2;
12154 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12155 }
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 (arg1)->SetSize((wxSize const &)*arg2);
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 resultobj = SWIG_Py_Void();
12163 return resultobj;
12164 fail:
12165 return NULL;
12166 }
12167
12168
12169 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12170 PyObject *resultobj = 0;
12171 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12172 wxSize result;
12173 void *argp1 = 0 ;
12174 int res1 = 0 ;
12175 PyObject *swig_obj[1] ;
12176
12177 if (!args) SWIG_fail;
12178 swig_obj[0] = args;
12179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12180 if (!SWIG_IsOK(res1)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12182 }
12183 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12184 {
12185 PyThreadState* __tstate = wxPyBeginAllowThreads();
12186 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
12191 return resultobj;
12192 fail:
12193 return NULL;
12194 }
12195
12196
12197 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj = 0;
12199 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12200 wxLayoutOrientation arg2 ;
12201 void *argp1 = 0 ;
12202 int res1 = 0 ;
12203 int val2 ;
12204 int ecode2 = 0 ;
12205 PyObject * obj0 = 0 ;
12206 PyObject * obj1 = 0 ;
12207 char * kwnames[] = {
12208 (char *) "self",(char *) "orient", NULL
12209 };
12210
12211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12213 if (!SWIG_IsOK(res1)) {
12214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12215 }
12216 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12217 ecode2 = SWIG_AsVal_int(obj1, &val2);
12218 if (!SWIG_IsOK(ecode2)) {
12219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12220 }
12221 arg2 = static_cast< wxLayoutOrientation >(val2);
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 (arg1)->SetOrientation(arg2);
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 resultobj = SWIG_Py_Void();
12229 return resultobj;
12230 fail:
12231 return NULL;
12232 }
12233
12234
12235 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12236 PyObject *resultobj = 0;
12237 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12238 wxLayoutOrientation result;
12239 void *argp1 = 0 ;
12240 int res1 = 0 ;
12241 PyObject *swig_obj[1] ;
12242
12243 if (!args) SWIG_fail;
12244 swig_obj[0] = args;
12245 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12246 if (!SWIG_IsOK(res1)) {
12247 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12248 }
12249 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 result = (wxLayoutOrientation)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 resultobj = SWIG_From_int(static_cast< int >(result));
12257 return resultobj;
12258 fail:
12259 return NULL;
12260 }
12261
12262
12263 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12264 PyObject *resultobj = 0;
12265 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12266 wxLayoutAlignment arg2 ;
12267 void *argp1 = 0 ;
12268 int res1 = 0 ;
12269 int val2 ;
12270 int ecode2 = 0 ;
12271 PyObject * obj0 = 0 ;
12272 PyObject * obj1 = 0 ;
12273 char * kwnames[] = {
12274 (char *) "self",(char *) "align", NULL
12275 };
12276
12277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12279 if (!SWIG_IsOK(res1)) {
12280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12281 }
12282 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12283 ecode2 = SWIG_AsVal_int(obj1, &val2);
12284 if (!SWIG_IsOK(ecode2)) {
12285 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12286 }
12287 arg2 = static_cast< wxLayoutAlignment >(val2);
12288 {
12289 PyThreadState* __tstate = wxPyBeginAllowThreads();
12290 (arg1)->SetAlignment(arg2);
12291 wxPyEndAllowThreads(__tstate);
12292 if (PyErr_Occurred()) SWIG_fail;
12293 }
12294 resultobj = SWIG_Py_Void();
12295 return resultobj;
12296 fail:
12297 return NULL;
12298 }
12299
12300
12301 SWIGINTERN PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12302 PyObject *resultobj = 0;
12303 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
12304 wxLayoutAlignment result;
12305 void *argp1 = 0 ;
12306 int res1 = 0 ;
12307 PyObject *swig_obj[1] ;
12308
12309 if (!args) SWIG_fail;
12310 swig_obj[0] = args;
12311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxQueryLayoutInfoEvent, 0 | 0 );
12312 if (!SWIG_IsOK(res1)) {
12313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12314 }
12315 arg1 = reinterpret_cast< wxQueryLayoutInfoEvent * >(argp1);
12316 {
12317 PyThreadState* __tstate = wxPyBeginAllowThreads();
12318 result = (wxLayoutAlignment)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
12319 wxPyEndAllowThreads(__tstate);
12320 if (PyErr_Occurred()) SWIG_fail;
12321 }
12322 resultobj = SWIG_From_int(static_cast< int >(result));
12323 return resultobj;
12324 fail:
12325 return NULL;
12326 }
12327
12328
12329 SWIGINTERN PyObject *QueryLayoutInfoEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12330 PyObject *obj;
12331 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12332 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, SWIG_NewClientData(obj));
12333 return SWIG_Py_Void();
12334 }
12335
12336 SWIGINTERN PyObject *QueryLayoutInfoEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12337 return SWIG_Python_InitShadowInstance(args);
12338 }
12339
12340 SWIGINTERN PyObject *_wrap_new_CalculateLayoutEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12341 PyObject *resultobj = 0;
12342 int arg1 = (int) 0 ;
12343 wxCalculateLayoutEvent *result = 0 ;
12344 int val1 ;
12345 int ecode1 = 0 ;
12346 PyObject * obj0 = 0 ;
12347 char * kwnames[] = {
12348 (char *) "id", NULL
12349 };
12350
12351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) SWIG_fail;
12352 if (obj0) {
12353 ecode1 = SWIG_AsVal_int(obj0, &val1);
12354 if (!SWIG_IsOK(ecode1)) {
12355 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12356 }
12357 arg1 = static_cast< int >(val1);
12358 }
12359 {
12360 PyThreadState* __tstate = wxPyBeginAllowThreads();
12361 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_POINTER_NEW | 0 );
12366 return resultobj;
12367 fail:
12368 return NULL;
12369 }
12370
12371
12372 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12373 PyObject *resultobj = 0;
12374 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12375 int arg2 ;
12376 void *argp1 = 0 ;
12377 int res1 = 0 ;
12378 int val2 ;
12379 int ecode2 = 0 ;
12380 PyObject * obj0 = 0 ;
12381 PyObject * obj1 = 0 ;
12382 char * kwnames[] = {
12383 (char *) "self",(char *) "flags", NULL
12384 };
12385
12386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
12387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12388 if (!SWIG_IsOK(res1)) {
12389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12390 }
12391 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12392 ecode2 = SWIG_AsVal_int(obj1, &val2);
12393 if (!SWIG_IsOK(ecode2)) {
12394 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12395 }
12396 arg2 = static_cast< int >(val2);
12397 {
12398 PyThreadState* __tstate = wxPyBeginAllowThreads();
12399 (arg1)->SetFlags(arg2);
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 resultobj = SWIG_Py_Void();
12404 return resultobj;
12405 fail:
12406 return NULL;
12407 }
12408
12409
12410 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12411 PyObject *resultobj = 0;
12412 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12413 int result;
12414 void *argp1 = 0 ;
12415 int res1 = 0 ;
12416 PyObject *swig_obj[1] ;
12417
12418 if (!args) SWIG_fail;
12419 swig_obj[0] = args;
12420 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12421 if (!SWIG_IsOK(res1)) {
12422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12423 }
12424 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
12428 wxPyEndAllowThreads(__tstate);
12429 if (PyErr_Occurred()) SWIG_fail;
12430 }
12431 resultobj = SWIG_From_int(static_cast< int >(result));
12432 return resultobj;
12433 fail:
12434 return NULL;
12435 }
12436
12437
12438 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12439 PyObject *resultobj = 0;
12440 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12441 wxRect *arg2 = 0 ;
12442 void *argp1 = 0 ;
12443 int res1 = 0 ;
12444 wxRect temp2 ;
12445 PyObject * obj0 = 0 ;
12446 PyObject * obj1 = 0 ;
12447 char * kwnames[] = {
12448 (char *) "self",(char *) "rect", NULL
12449 };
12450
12451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) SWIG_fail;
12452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12453 if (!SWIG_IsOK(res1)) {
12454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12455 }
12456 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12457 {
12458 arg2 = &temp2;
12459 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
12460 }
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 (arg1)->SetRect((wxRect const &)*arg2);
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 resultobj = SWIG_Py_Void();
12468 return resultobj;
12469 fail:
12470 return NULL;
12471 }
12472
12473
12474 SWIGINTERN PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12475 PyObject *resultobj = 0;
12476 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
12477 wxRect result;
12478 void *argp1 = 0 ;
12479 int res1 = 0 ;
12480 PyObject *swig_obj[1] ;
12481
12482 if (!args) SWIG_fail;
12483 swig_obj[0] = args;
12484 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxCalculateLayoutEvent, 0 | 0 );
12485 if (!SWIG_IsOK(res1)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12487 }
12488 arg1 = reinterpret_cast< wxCalculateLayoutEvent * >(argp1);
12489 {
12490 PyThreadState* __tstate = wxPyBeginAllowThreads();
12491 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
12492 wxPyEndAllowThreads(__tstate);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 }
12495 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
12496 return resultobj;
12497 fail:
12498 return NULL;
12499 }
12500
12501
12502 SWIGINTERN PyObject *CalculateLayoutEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12503 PyObject *obj;
12504 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12505 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent, SWIG_NewClientData(obj));
12506 return SWIG_Py_Void();
12507 }
12508
12509 SWIGINTERN PyObject *CalculateLayoutEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12510 return SWIG_Python_InitShadowInstance(args);
12511 }
12512
12513 SWIGINTERN PyObject *_wrap_new_SashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12514 PyObject *resultobj = 0;
12515 wxWindow *arg1 = (wxWindow *) 0 ;
12516 int arg2 = (int) -1 ;
12517 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12518 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12519 wxSize const &arg4_defvalue = wxDefaultSize ;
12520 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12521 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12522 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
12523 wxString *arg6 = (wxString *) &arg6_defvalue ;
12524 wxSashLayoutWindow *result = 0 ;
12525 void *argp1 = 0 ;
12526 int res1 = 0 ;
12527 int val2 ;
12528 int ecode2 = 0 ;
12529 wxPoint temp3 ;
12530 wxSize temp4 ;
12531 long val5 ;
12532 int ecode5 = 0 ;
12533 bool temp6 = false ;
12534 PyObject * obj0 = 0 ;
12535 PyObject * obj1 = 0 ;
12536 PyObject * obj2 = 0 ;
12537 PyObject * obj3 = 0 ;
12538 PyObject * obj4 = 0 ;
12539 PyObject * obj5 = 0 ;
12540 char * kwnames[] = {
12541 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12542 };
12543
12544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
12545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
12546 if (!SWIG_IsOK(res1)) {
12547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12548 }
12549 arg1 = reinterpret_cast< wxWindow * >(argp1);
12550 if (obj1) {
12551 ecode2 = SWIG_AsVal_int(obj1, &val2);
12552 if (!SWIG_IsOK(ecode2)) {
12553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12554 }
12555 arg2 = static_cast< int >(val2);
12556 }
12557 if (obj2) {
12558 {
12559 arg3 = &temp3;
12560 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12561 }
12562 }
12563 if (obj3) {
12564 {
12565 arg4 = &temp4;
12566 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12567 }
12568 }
12569 if (obj4) {
12570 ecode5 = SWIG_AsVal_long(obj4, &val5);
12571 if (!SWIG_IsOK(ecode5)) {
12572 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12573 }
12574 arg5 = static_cast< long >(val5);
12575 }
12576 if (obj5) {
12577 {
12578 arg6 = wxString_in_helper(obj5);
12579 if (arg6 == NULL) SWIG_fail;
12580 temp6 = true;
12581 }
12582 }
12583 {
12584 if (!wxPyCheckForApp()) SWIG_fail;
12585 PyThreadState* __tstate = wxPyBeginAllowThreads();
12586 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12587 wxPyEndAllowThreads(__tstate);
12588 if (PyErr_Occurred()) SWIG_fail;
12589 }
12590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_NEW | 0 );
12591 {
12592 if (temp6)
12593 delete arg6;
12594 }
12595 return resultobj;
12596 fail:
12597 {
12598 if (temp6)
12599 delete arg6;
12600 }
12601 return NULL;
12602 }
12603
12604
12605 SWIGINTERN PyObject *_wrap_new_PreSashLayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12606 PyObject *resultobj = 0;
12607 wxSashLayoutWindow *result = 0 ;
12608
12609 if (!SWIG_Python_UnpackTuple(args,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail;
12610 {
12611 if (!wxPyCheckForApp()) SWIG_fail;
12612 PyThreadState* __tstate = wxPyBeginAllowThreads();
12613 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSashLayoutWindow, SWIG_POINTER_OWN | 0 );
12618 return resultobj;
12619 fail:
12620 return NULL;
12621 }
12622
12623
12624 SWIGINTERN PyObject *_wrap_SashLayoutWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj = 0;
12626 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12627 wxWindow *arg2 = (wxWindow *) 0 ;
12628 int arg3 = (int) -1 ;
12629 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12630 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12631 wxSize const &arg5_defvalue = wxDefaultSize ;
12632 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12633 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
12634 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
12635 wxString *arg7 = (wxString *) &arg7_defvalue ;
12636 bool result;
12637 void *argp1 = 0 ;
12638 int res1 = 0 ;
12639 void *argp2 = 0 ;
12640 int res2 = 0 ;
12641 int val3 ;
12642 int ecode3 = 0 ;
12643 wxPoint temp4 ;
12644 wxSize temp5 ;
12645 long val6 ;
12646 int ecode6 = 0 ;
12647 bool temp7 = false ;
12648 PyObject * obj0 = 0 ;
12649 PyObject * obj1 = 0 ;
12650 PyObject * obj2 = 0 ;
12651 PyObject * obj3 = 0 ;
12652 PyObject * obj4 = 0 ;
12653 PyObject * obj5 = 0 ;
12654 PyObject * obj6 = 0 ;
12655 char * kwnames[] = {
12656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12657 };
12658
12659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
12660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12661 if (!SWIG_IsOK(res1)) {
12662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12663 }
12664 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12665 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
12666 if (!SWIG_IsOK(res2)) {
12667 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12668 }
12669 arg2 = reinterpret_cast< wxWindow * >(argp2);
12670 if (obj2) {
12671 ecode3 = SWIG_AsVal_int(obj2, &val3);
12672 if (!SWIG_IsOK(ecode3)) {
12673 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12674 }
12675 arg3 = static_cast< int >(val3);
12676 }
12677 if (obj3) {
12678 {
12679 arg4 = &temp4;
12680 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12681 }
12682 }
12683 if (obj4) {
12684 {
12685 arg5 = &temp5;
12686 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12687 }
12688 }
12689 if (obj5) {
12690 ecode6 = SWIG_AsVal_long(obj5, &val6);
12691 if (!SWIG_IsOK(ecode6)) {
12692 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12693 }
12694 arg6 = static_cast< long >(val6);
12695 }
12696 if (obj6) {
12697 {
12698 arg7 = wxString_in_helper(obj6);
12699 if (arg7 == NULL) SWIG_fail;
12700 temp7 = true;
12701 }
12702 }
12703 {
12704 PyThreadState* __tstate = wxPyBeginAllowThreads();
12705 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12706 wxPyEndAllowThreads(__tstate);
12707 if (PyErr_Occurred()) SWIG_fail;
12708 }
12709 {
12710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12711 }
12712 {
12713 if (temp7)
12714 delete arg7;
12715 }
12716 return resultobj;
12717 fail:
12718 {
12719 if (temp7)
12720 delete arg7;
12721 }
12722 return NULL;
12723 }
12724
12725
12726 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12727 PyObject *resultobj = 0;
12728 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12729 wxLayoutAlignment result;
12730 void *argp1 = 0 ;
12731 int res1 = 0 ;
12732 PyObject *swig_obj[1] ;
12733
12734 if (!args) SWIG_fail;
12735 swig_obj[0] = args;
12736 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12737 if (!SWIG_IsOK(res1)) {
12738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12739 }
12740 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12741 {
12742 PyThreadState* __tstate = wxPyBeginAllowThreads();
12743 result = (wxLayoutAlignment)(arg1)->GetAlignment();
12744 wxPyEndAllowThreads(__tstate);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 }
12747 resultobj = SWIG_From_int(static_cast< int >(result));
12748 return resultobj;
12749 fail:
12750 return NULL;
12751 }
12752
12753
12754 SWIGINTERN PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12755 PyObject *resultobj = 0;
12756 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12757 wxLayoutOrientation result;
12758 void *argp1 = 0 ;
12759 int res1 = 0 ;
12760 PyObject *swig_obj[1] ;
12761
12762 if (!args) SWIG_fail;
12763 swig_obj[0] = args;
12764 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12765 if (!SWIG_IsOK(res1)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12767 }
12768 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12769 {
12770 PyThreadState* __tstate = wxPyBeginAllowThreads();
12771 result = (wxLayoutOrientation)(arg1)->GetOrientation();
12772 wxPyEndAllowThreads(__tstate);
12773 if (PyErr_Occurred()) SWIG_fail;
12774 }
12775 resultobj = SWIG_From_int(static_cast< int >(result));
12776 return resultobj;
12777 fail:
12778 return NULL;
12779 }
12780
12781
12782 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12783 PyObject *resultobj = 0;
12784 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12785 wxLayoutAlignment arg2 ;
12786 void *argp1 = 0 ;
12787 int res1 = 0 ;
12788 int val2 ;
12789 int ecode2 = 0 ;
12790 PyObject * obj0 = 0 ;
12791 PyObject * obj1 = 0 ;
12792 char * kwnames[] = {
12793 (char *) "self",(char *) "alignment", NULL
12794 };
12795
12796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
12797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12798 if (!SWIG_IsOK(res1)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12800 }
12801 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12802 ecode2 = SWIG_AsVal_int(obj1, &val2);
12803 if (!SWIG_IsOK(ecode2)) {
12804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12805 }
12806 arg2 = static_cast< wxLayoutAlignment >(val2);
12807 {
12808 PyThreadState* __tstate = wxPyBeginAllowThreads();
12809 (arg1)->SetAlignment(arg2);
12810 wxPyEndAllowThreads(__tstate);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
12813 resultobj = SWIG_Py_Void();
12814 return resultobj;
12815 fail:
12816 return NULL;
12817 }
12818
12819
12820 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12821 PyObject *resultobj = 0;
12822 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12823 wxSize *arg2 = 0 ;
12824 void *argp1 = 0 ;
12825 int res1 = 0 ;
12826 wxSize temp2 ;
12827 PyObject * obj0 = 0 ;
12828 PyObject * obj1 = 0 ;
12829 char * kwnames[] = {
12830 (char *) "self",(char *) "size", NULL
12831 };
12832
12833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) SWIG_fail;
12834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12835 if (!SWIG_IsOK(res1)) {
12836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12837 }
12838 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12839 {
12840 arg2 = &temp2;
12841 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12842 }
12843 {
12844 PyThreadState* __tstate = wxPyBeginAllowThreads();
12845 (arg1)->SetDefaultSize((wxSize const &)*arg2);
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 resultobj = SWIG_Py_Void();
12850 return resultobj;
12851 fail:
12852 return NULL;
12853 }
12854
12855
12856 SWIGINTERN PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12857 PyObject *resultobj = 0;
12858 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
12859 wxLayoutOrientation arg2 ;
12860 void *argp1 = 0 ;
12861 int res1 = 0 ;
12862 int val2 ;
12863 int ecode2 = 0 ;
12864 PyObject * obj0 = 0 ;
12865 PyObject * obj1 = 0 ;
12866 char * kwnames[] = {
12867 (char *) "self",(char *) "orientation", NULL
12868 };
12869
12870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
12871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSashLayoutWindow, 0 | 0 );
12872 if (!SWIG_IsOK(res1)) {
12873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12874 }
12875 arg1 = reinterpret_cast< wxSashLayoutWindow * >(argp1);
12876 ecode2 = SWIG_AsVal_int(obj1, &val2);
12877 if (!SWIG_IsOK(ecode2)) {
12878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12879 }
12880 arg2 = static_cast< wxLayoutOrientation >(val2);
12881 {
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 (arg1)->SetOrientation(arg2);
12884 wxPyEndAllowThreads(__tstate);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 }
12887 resultobj = SWIG_Py_Void();
12888 return resultobj;
12889 fail:
12890 return NULL;
12891 }
12892
12893
12894 SWIGINTERN PyObject *SashLayoutWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12895 PyObject *obj;
12896 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
12897 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow, SWIG_NewClientData(obj));
12898 return SWIG_Py_Void();
12899 }
12900
12901 SWIGINTERN PyObject *SashLayoutWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12902 return SWIG_Python_InitShadowInstance(args);
12903 }
12904
12905 SWIGINTERN PyObject *_wrap_new_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12906 PyObject *resultobj = 0;
12907 wxLayoutAlgorithm *result = 0 ;
12908
12909 if (!SWIG_Python_UnpackTuple(args,"new_LayoutAlgorithm",0,0,0)) SWIG_fail;
12910 {
12911 PyThreadState* __tstate = wxPyBeginAllowThreads();
12912 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
12913 wxPyEndAllowThreads(__tstate);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
12916 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_NEW | 0 );
12917 return resultobj;
12918 fail:
12919 return NULL;
12920 }
12921
12922
12923 SWIGINTERN PyObject *_wrap_delete_LayoutAlgorithm(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
12924 PyObject *resultobj = 0;
12925 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12926 void *argp1 = 0 ;
12927 int res1 = 0 ;
12928 PyObject *swig_obj[1] ;
12929
12930 if (!args) SWIG_fail;
12931 swig_obj[0] = args;
12932 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLayoutAlgorithm, SWIG_POINTER_DISOWN | 0 );
12933 if (!SWIG_IsOK(res1)) {
12934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12935 }
12936 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12937 {
12938 PyThreadState* __tstate = wxPyBeginAllowThreads();
12939 delete arg1;
12940
12941 wxPyEndAllowThreads(__tstate);
12942 if (PyErr_Occurred()) SWIG_fail;
12943 }
12944 resultobj = SWIG_Py_Void();
12945 return resultobj;
12946 fail:
12947 return NULL;
12948 }
12949
12950
12951 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
12952 PyObject *resultobj = 0;
12953 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
12954 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
12955 wxRect *arg3 = (wxRect *) NULL ;
12956 bool result;
12957 void *argp1 = 0 ;
12958 int res1 = 0 ;
12959 void *argp2 = 0 ;
12960 int res2 = 0 ;
12961 void *argp3 = 0 ;
12962 int res3 = 0 ;
12963 PyObject * obj0 = 0 ;
12964 PyObject * obj1 = 0 ;
12965 PyObject * obj2 = 0 ;
12966 char * kwnames[] = {
12967 (char *) "self",(char *) "frame",(char *) "rect", NULL
12968 };
12969
12970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
12971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
12972 if (!SWIG_IsOK(res1)) {
12973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12974 }
12975 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
12976 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
12977 if (!SWIG_IsOK(res2)) {
12978 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12979 }
12980 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
12981 if (obj2) {
12982 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxRect, 0 | 0 );
12983 if (!SWIG_IsOK(res3)) {
12984 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12985 }
12986 arg3 = reinterpret_cast< wxRect * >(argp3);
12987 }
12988 {
12989 PyThreadState* __tstate = wxPyBeginAllowThreads();
12990 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
12991 wxPyEndAllowThreads(__tstate);
12992 if (PyErr_Occurred()) SWIG_fail;
12993 }
12994 {
12995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12996 }
12997 return resultobj;
12998 fail:
12999 return NULL;
13000 }
13001
13002
13003 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13004 PyObject *resultobj = 0;
13005 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13006 wxFrame *arg2 = (wxFrame *) 0 ;
13007 wxWindow *arg3 = (wxWindow *) NULL ;
13008 bool result;
13009 void *argp1 = 0 ;
13010 int res1 = 0 ;
13011 void *argp2 = 0 ;
13012 int res2 = 0 ;
13013 void *argp3 = 0 ;
13014 int res3 = 0 ;
13015 PyObject * obj0 = 0 ;
13016 PyObject * obj1 = 0 ;
13017 PyObject * obj2 = 0 ;
13018 char * kwnames[] = {
13019 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13020 };
13021
13022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13024 if (!SWIG_IsOK(res1)) {
13025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13026 }
13027 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13028 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
13029 if (!SWIG_IsOK(res2)) {
13030 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13031 }
13032 arg2 = reinterpret_cast< wxFrame * >(argp2);
13033 if (obj2) {
13034 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13035 if (!SWIG_IsOK(res3)) {
13036 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13037 }
13038 arg3 = reinterpret_cast< wxWindow * >(argp3);
13039 }
13040 {
13041 PyThreadState* __tstate = wxPyBeginAllowThreads();
13042 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
13043 wxPyEndAllowThreads(__tstate);
13044 if (PyErr_Occurred()) SWIG_fail;
13045 }
13046 {
13047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13048 }
13049 return resultobj;
13050 fail:
13051 return NULL;
13052 }
13053
13054
13055 SWIGINTERN PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13056 PyObject *resultobj = 0;
13057 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
13058 wxWindow *arg2 = (wxWindow *) 0 ;
13059 wxWindow *arg3 = (wxWindow *) NULL ;
13060 bool result;
13061 void *argp1 = 0 ;
13062 int res1 = 0 ;
13063 void *argp2 = 0 ;
13064 int res2 = 0 ;
13065 void *argp3 = 0 ;
13066 int res3 = 0 ;
13067 PyObject * obj0 = 0 ;
13068 PyObject * obj1 = 0 ;
13069 PyObject * obj2 = 0 ;
13070 char * kwnames[] = {
13071 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13072 };
13073
13074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLayoutAlgorithm, 0 | 0 );
13076 if (!SWIG_IsOK(res1)) {
13077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13078 }
13079 arg1 = reinterpret_cast< wxLayoutAlgorithm * >(argp1);
13080 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13081 if (!SWIG_IsOK(res2)) {
13082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13083 }
13084 arg2 = reinterpret_cast< wxWindow * >(argp2);
13085 if (obj2) {
13086 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
13087 if (!SWIG_IsOK(res3)) {
13088 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13089 }
13090 arg3 = reinterpret_cast< wxWindow * >(argp3);
13091 }
13092 {
13093 PyThreadState* __tstate = wxPyBeginAllowThreads();
13094 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
13095 wxPyEndAllowThreads(__tstate);
13096 if (PyErr_Occurred()) SWIG_fail;
13097 }
13098 {
13099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13100 }
13101 return resultobj;
13102 fail:
13103 return NULL;
13104 }
13105
13106
13107 SWIGINTERN PyObject *LayoutAlgorithm_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13108 PyObject *obj;
13109 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13110 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm, SWIG_NewClientData(obj));
13111 return SWIG_Py_Void();
13112 }
13113
13114 SWIGINTERN PyObject *LayoutAlgorithm_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13115 return SWIG_Python_InitShadowInstance(args);
13116 }
13117
13118 SWIGINTERN PyObject *_wrap_new_PopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13119 PyObject *resultobj = 0;
13120 wxWindow *arg1 = (wxWindow *) 0 ;
13121 int arg2 = (int) wxBORDER_NONE ;
13122 wxPopupWindow *result = 0 ;
13123 void *argp1 = 0 ;
13124 int res1 = 0 ;
13125 int val2 ;
13126 int ecode2 = 0 ;
13127 PyObject * obj0 = 0 ;
13128 PyObject * obj1 = 0 ;
13129 char * kwnames[] = {
13130 (char *) "parent",(char *) "flags", NULL
13131 };
13132
13133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13135 if (!SWIG_IsOK(res1)) {
13136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13137 }
13138 arg1 = reinterpret_cast< wxWindow * >(argp1);
13139 if (obj1) {
13140 ecode2 = SWIG_AsVal_int(obj1, &val2);
13141 if (!SWIG_IsOK(ecode2)) {
13142 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13143 }
13144 arg2 = static_cast< int >(val2);
13145 }
13146 {
13147 if (!wxPyCheckForApp()) SWIG_fail;
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
13150 wxPyEndAllowThreads(__tstate);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 }
13153 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_NEW | 0 );
13154 return resultobj;
13155 fail:
13156 return NULL;
13157 }
13158
13159
13160 SWIGINTERN PyObject *_wrap_new_PrePopupWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13161 PyObject *resultobj = 0;
13162 wxPopupWindow *result = 0 ;
13163
13164 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupWindow",0,0,0)) SWIG_fail;
13165 {
13166 if (!wxPyCheckForApp()) SWIG_fail;
13167 PyThreadState* __tstate = wxPyBeginAllowThreads();
13168 result = (wxPopupWindow *)new wxPopupWindow();
13169 wxPyEndAllowThreads(__tstate);
13170 if (PyErr_Occurred()) SWIG_fail;
13171 }
13172 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPopupWindow, SWIG_POINTER_OWN | 0 );
13173 return resultobj;
13174 fail:
13175 return NULL;
13176 }
13177
13178
13179 SWIGINTERN PyObject *_wrap_PopupWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13180 PyObject *resultobj = 0;
13181 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13182 wxWindow *arg2 = (wxWindow *) 0 ;
13183 int arg3 = (int) wxBORDER_NONE ;
13184 bool result;
13185 void *argp1 = 0 ;
13186 int res1 = 0 ;
13187 void *argp2 = 0 ;
13188 int res2 = 0 ;
13189 int val3 ;
13190 int ecode3 = 0 ;
13191 PyObject * obj0 = 0 ;
13192 PyObject * obj1 = 0 ;
13193 PyObject * obj2 = 0 ;
13194 char * kwnames[] = {
13195 (char *) "self",(char *) "parent",(char *) "flags", NULL
13196 };
13197
13198 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13199 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13200 if (!SWIG_IsOK(res1)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13202 }
13203 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13204 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13205 if (!SWIG_IsOK(res2)) {
13206 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13207 }
13208 arg2 = reinterpret_cast< wxWindow * >(argp2);
13209 if (obj2) {
13210 ecode3 = SWIG_AsVal_int(obj2, &val3);
13211 if (!SWIG_IsOK(ecode3)) {
13212 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13213 }
13214 arg3 = static_cast< int >(val3);
13215 }
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 result = (bool)(arg1)->Create(arg2,arg3);
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 {
13223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13224 }
13225 return resultobj;
13226 fail:
13227 return NULL;
13228 }
13229
13230
13231 SWIGINTERN PyObject *_wrap_PopupWindow_Position(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13232 PyObject *resultobj = 0;
13233 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
13234 wxPoint *arg2 = 0 ;
13235 wxSize *arg3 = 0 ;
13236 void *argp1 = 0 ;
13237 int res1 = 0 ;
13238 wxPoint temp2 ;
13239 wxSize temp3 ;
13240 PyObject * obj0 = 0 ;
13241 PyObject * obj1 = 0 ;
13242 PyObject * obj2 = 0 ;
13243 char * kwnames[] = {
13244 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13245 };
13246
13247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPopupWindow, 0 | 0 );
13249 if (!SWIG_IsOK(res1)) {
13250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13251 }
13252 arg1 = reinterpret_cast< wxPopupWindow * >(argp1);
13253 {
13254 arg2 = &temp2;
13255 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
13256 }
13257 {
13258 arg3 = &temp3;
13259 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
13260 }
13261 {
13262 PyThreadState* __tstate = wxPyBeginAllowThreads();
13263 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
13264 wxPyEndAllowThreads(__tstate);
13265 if (PyErr_Occurred()) SWIG_fail;
13266 }
13267 resultobj = SWIG_Py_Void();
13268 return resultobj;
13269 fail:
13270 return NULL;
13271 }
13272
13273
13274 SWIGINTERN PyObject *PopupWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13275 PyObject *obj;
13276 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13277 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow, SWIG_NewClientData(obj));
13278 return SWIG_Py_Void();
13279 }
13280
13281 SWIGINTERN PyObject *PopupWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13282 return SWIG_Python_InitShadowInstance(args);
13283 }
13284
13285 SWIGINTERN PyObject *_wrap_new_PopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13286 PyObject *resultobj = 0;
13287 wxWindow *arg1 = (wxWindow *) 0 ;
13288 int arg2 = (int) wxBORDER_NONE ;
13289 wxPyPopupTransientWindow *result = 0 ;
13290 void *argp1 = 0 ;
13291 int res1 = 0 ;
13292 int val2 ;
13293 int ecode2 = 0 ;
13294 PyObject * obj0 = 0 ;
13295 PyObject * obj1 = 0 ;
13296 char * kwnames[] = {
13297 (char *) "parent",(char *) "style", NULL
13298 };
13299
13300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
13301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13302 if (!SWIG_IsOK(res1)) {
13303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13304 }
13305 arg1 = reinterpret_cast< wxWindow * >(argp1);
13306 if (obj1) {
13307 ecode2 = SWIG_AsVal_int(obj1, &val2);
13308 if (!SWIG_IsOK(ecode2)) {
13309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13310 }
13311 arg2 = static_cast< int >(val2);
13312 }
13313 {
13314 if (!wxPyCheckForApp()) SWIG_fail;
13315 PyThreadState* __tstate = wxPyBeginAllowThreads();
13316 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
13317 wxPyEndAllowThreads(__tstate);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
13320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_NEW | 0 );
13321 return resultobj;
13322 fail:
13323 return NULL;
13324 }
13325
13326
13327 SWIGINTERN PyObject *_wrap_new_PrePopupTransientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13328 PyObject *resultobj = 0;
13329 wxPyPopupTransientWindow *result = 0 ;
13330
13331 if (!SWIG_Python_UnpackTuple(args,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail;
13332 {
13333 if (!wxPyCheckForApp()) SWIG_fail;
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_POINTER_OWN | 0 );
13340 return resultobj;
13341 fail:
13342 return NULL;
13343 }
13344
13345
13346 SWIGINTERN PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj = 0;
13348 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13349 PyObject *arg2 = (PyObject *) 0 ;
13350 PyObject *arg3 = (PyObject *) 0 ;
13351 void *argp1 = 0 ;
13352 int res1 = 0 ;
13353 PyObject * obj0 = 0 ;
13354 PyObject * obj1 = 0 ;
13355 PyObject * obj2 = 0 ;
13356 char * kwnames[] = {
13357 (char *) "self",(char *) "self",(char *) "_class", NULL
13358 };
13359
13360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13362 if (!SWIG_IsOK(res1)) {
13363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13364 }
13365 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13366 arg2 = obj1;
13367 arg3 = obj2;
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 (arg1)->_setCallbackInfo(arg2,arg3);
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 resultobj = SWIG_Py_Void();
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Popup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj = 0;
13383 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13384 wxWindow *arg2 = (wxWindow *) NULL ;
13385 void *argp1 = 0 ;
13386 int res1 = 0 ;
13387 void *argp2 = 0 ;
13388 int res2 = 0 ;
13389 PyObject * obj0 = 0 ;
13390 PyObject * obj1 = 0 ;
13391 char * kwnames[] = {
13392 (char *) "self",(char *) "focus", NULL
13393 };
13394
13395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) SWIG_fail;
13396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13397 if (!SWIG_IsOK(res1)) {
13398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13399 }
13400 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13401 if (obj1) {
13402 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13403 if (!SWIG_IsOK(res2)) {
13404 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13405 }
13406 arg2 = reinterpret_cast< wxWindow * >(argp2);
13407 }
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 (arg1)->Popup(arg2);
13411 wxPyEndAllowThreads(__tstate);
13412 if (PyErr_Occurred()) SWIG_fail;
13413 }
13414 resultobj = SWIG_Py_Void();
13415 return resultobj;
13416 fail:
13417 return NULL;
13418 }
13419
13420
13421 SWIGINTERN PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13422 PyObject *resultobj = 0;
13423 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
13424 void *argp1 = 0 ;
13425 int res1 = 0 ;
13426 PyObject *swig_obj[1] ;
13427
13428 if (!args) SWIG_fail;
13429 swig_obj[0] = args;
13430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPopupTransientWindow, 0 | 0 );
13431 if (!SWIG_IsOK(res1)) {
13432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13433 }
13434 arg1 = reinterpret_cast< wxPyPopupTransientWindow * >(argp1);
13435 {
13436 PyThreadState* __tstate = wxPyBeginAllowThreads();
13437 (arg1)->Dismiss();
13438 wxPyEndAllowThreads(__tstate);
13439 if (PyErr_Occurred()) SWIG_fail;
13440 }
13441 resultobj = SWIG_Py_Void();
13442 return resultobj;
13443 fail:
13444 return NULL;
13445 }
13446
13447
13448 SWIGINTERN PyObject *PopupTransientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13449 PyObject *obj;
13450 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13451 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow, SWIG_NewClientData(obj));
13452 return SWIG_Py_Void();
13453 }
13454
13455 SWIGINTERN PyObject *PopupTransientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13456 return SWIG_Python_InitShadowInstance(args);
13457 }
13458
13459 SWIGINTERN PyObject *_wrap_new_TipWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13460 PyObject *resultobj = 0;
13461 wxWindow *arg1 = (wxWindow *) 0 ;
13462 wxString *arg2 = 0 ;
13463 int arg3 = (int) 100 ;
13464 wxRect *arg4 = (wxRect *) NULL ;
13465 wxTipWindow *result = 0 ;
13466 void *argp1 = 0 ;
13467 int res1 = 0 ;
13468 bool temp2 = false ;
13469 int val3 ;
13470 int ecode3 = 0 ;
13471 void *argp4 = 0 ;
13472 int res4 = 0 ;
13473 PyObject * obj0 = 0 ;
13474 PyObject * obj1 = 0 ;
13475 PyObject * obj2 = 0 ;
13476 PyObject * obj3 = 0 ;
13477 char * kwnames[] = {
13478 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13479 };
13480
13481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
13482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13483 if (!SWIG_IsOK(res1)) {
13484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13485 }
13486 arg1 = reinterpret_cast< wxWindow * >(argp1);
13487 {
13488 arg2 = wxString_in_helper(obj1);
13489 if (arg2 == NULL) SWIG_fail;
13490 temp2 = true;
13491 }
13492 if (obj2) {
13493 ecode3 = SWIG_AsVal_int(obj2, &val3);
13494 if (!SWIG_IsOK(ecode3)) {
13495 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13496 }
13497 arg3 = static_cast< int >(val3);
13498 }
13499 if (obj3) {
13500 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxRect, 0 | 0 );
13501 if (!SWIG_IsOK(res4)) {
13502 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13503 }
13504 arg4 = reinterpret_cast< wxRect * >(argp4);
13505 }
13506 {
13507 if (!wxPyCheckForApp()) SWIG_fail;
13508 PyThreadState* __tstate = wxPyBeginAllowThreads();
13509 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
13510 wxPyEndAllowThreads(__tstate);
13511 if (PyErr_Occurred()) SWIG_fail;
13512 }
13513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTipWindow, SWIG_POINTER_NEW | 0 );
13514 {
13515 if (temp2)
13516 delete arg2;
13517 }
13518 return resultobj;
13519 fail:
13520 {
13521 if (temp2)
13522 delete arg2;
13523 }
13524 return NULL;
13525 }
13526
13527
13528 SWIGINTERN PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13529 PyObject *resultobj = 0;
13530 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13531 wxRect *arg2 = 0 ;
13532 void *argp1 = 0 ;
13533 int res1 = 0 ;
13534 wxRect temp2 ;
13535 PyObject * obj0 = 0 ;
13536 PyObject * obj1 = 0 ;
13537 char * kwnames[] = {
13538 (char *) "self",(char *) "rectBound", NULL
13539 };
13540
13541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) SWIG_fail;
13542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13543 if (!SWIG_IsOK(res1)) {
13544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13545 }
13546 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13547 {
13548 arg2 = &temp2;
13549 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
13550 }
13551 {
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 (arg1)->SetBoundingRect((wxRect const &)*arg2);
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 resultobj = SWIG_Py_Void();
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 SWIGINTERN PyObject *_wrap_TipWindow_Close(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13565 PyObject *resultobj = 0;
13566 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
13567 void *argp1 = 0 ;
13568 int res1 = 0 ;
13569 PyObject *swig_obj[1] ;
13570
13571 if (!args) SWIG_fail;
13572 swig_obj[0] = args;
13573 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTipWindow, 0 | 0 );
13574 if (!SWIG_IsOK(res1)) {
13575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13576 }
13577 arg1 = reinterpret_cast< wxTipWindow * >(argp1);
13578 {
13579 PyThreadState* __tstate = wxPyBeginAllowThreads();
13580 (arg1)->Close();
13581 wxPyEndAllowThreads(__tstate);
13582 if (PyErr_Occurred()) SWIG_fail;
13583 }
13584 resultobj = SWIG_Py_Void();
13585 return resultobj;
13586 fail:
13587 return NULL;
13588 }
13589
13590
13591 SWIGINTERN PyObject *TipWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13592 PyObject *obj;
13593 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
13594 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow, SWIG_NewClientData(obj));
13595 return SWIG_Py_Void();
13596 }
13597
13598 SWIGINTERN PyObject *TipWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13599 return SWIG_Python_InitShadowInstance(args);
13600 }
13601
13602 SWIGINTERN PyObject *_wrap_new_VScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13603 PyObject *resultobj = 0;
13604 wxWindow *arg1 = (wxWindow *) 0 ;
13605 int arg2 = (int) wxID_ANY ;
13606 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13607 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13608 wxSize const &arg4_defvalue = wxDefaultSize ;
13609 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13610 long arg5 = (long) 0 ;
13611 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13612 wxString *arg6 = (wxString *) &arg6_defvalue ;
13613 wxPyVScrolledWindow *result = 0 ;
13614 void *argp1 = 0 ;
13615 int res1 = 0 ;
13616 int val2 ;
13617 int ecode2 = 0 ;
13618 wxPoint temp3 ;
13619 wxSize temp4 ;
13620 long val5 ;
13621 int ecode5 = 0 ;
13622 bool temp6 = false ;
13623 PyObject * obj0 = 0 ;
13624 PyObject * obj1 = 0 ;
13625 PyObject * obj2 = 0 ;
13626 PyObject * obj3 = 0 ;
13627 PyObject * obj4 = 0 ;
13628 PyObject * obj5 = 0 ;
13629 char * kwnames[] = {
13630 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13631 };
13632
13633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
13634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
13635 if (!SWIG_IsOK(res1)) {
13636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13637 }
13638 arg1 = reinterpret_cast< wxWindow * >(argp1);
13639 if (obj1) {
13640 ecode2 = SWIG_AsVal_int(obj1, &val2);
13641 if (!SWIG_IsOK(ecode2)) {
13642 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13643 }
13644 arg2 = static_cast< int >(val2);
13645 }
13646 if (obj2) {
13647 {
13648 arg3 = &temp3;
13649 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13650 }
13651 }
13652 if (obj3) {
13653 {
13654 arg4 = &temp4;
13655 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13656 }
13657 }
13658 if (obj4) {
13659 ecode5 = SWIG_AsVal_long(obj4, &val5);
13660 if (!SWIG_IsOK(ecode5)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13662 }
13663 arg5 = static_cast< long >(val5);
13664 }
13665 if (obj5) {
13666 {
13667 arg6 = wxString_in_helper(obj5);
13668 if (arg6 == NULL) SWIG_fail;
13669 temp6 = true;
13670 }
13671 }
13672 {
13673 if (!wxPyCheckForApp()) SWIG_fail;
13674 PyThreadState* __tstate = wxPyBeginAllowThreads();
13675 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_NEW | 0 );
13680 {
13681 if (temp6)
13682 delete arg6;
13683 }
13684 return resultobj;
13685 fail:
13686 {
13687 if (temp6)
13688 delete arg6;
13689 }
13690 return NULL;
13691 }
13692
13693
13694 SWIGINTERN PyObject *_wrap_new_PreVScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
13695 PyObject *resultobj = 0;
13696 wxPyVScrolledWindow *result = 0 ;
13697
13698 if (!SWIG_Python_UnpackTuple(args,"new_PreVScrolledWindow",0,0,0)) SWIG_fail;
13699 {
13700 if (!wxPyCheckForApp()) SWIG_fail;
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
13703 wxPyEndAllowThreads(__tstate);
13704 if (PyErr_Occurred()) SWIG_fail;
13705 }
13706 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVScrolledWindow, SWIG_POINTER_OWN | 0 );
13707 return resultobj;
13708 fail:
13709 return NULL;
13710 }
13711
13712
13713 SWIGINTERN PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13714 PyObject *resultobj = 0;
13715 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13716 PyObject *arg2 = (PyObject *) 0 ;
13717 PyObject *arg3 = (PyObject *) 0 ;
13718 void *argp1 = 0 ;
13719 int res1 = 0 ;
13720 PyObject * obj0 = 0 ;
13721 PyObject * obj1 = 0 ;
13722 PyObject * obj2 = 0 ;
13723 char * kwnames[] = {
13724 (char *) "self",(char *) "self",(char *) "_class", NULL
13725 };
13726
13727 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13728 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13729 if (!SWIG_IsOK(res1)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13731 }
13732 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13733 arg2 = obj1;
13734 arg3 = obj2;
13735 {
13736 PyThreadState* __tstate = wxPyBeginAllowThreads();
13737 (arg1)->_setCallbackInfo(arg2,arg3);
13738 wxPyEndAllowThreads(__tstate);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 }
13741 resultobj = SWIG_Py_Void();
13742 return resultobj;
13743 fail:
13744 return NULL;
13745 }
13746
13747
13748 SWIGINTERN PyObject *_wrap_VScrolledWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj = 0;
13750 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13751 wxWindow *arg2 = (wxWindow *) 0 ;
13752 int arg3 = (int) wxID_ANY ;
13753 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13754 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13755 wxSize const &arg5_defvalue = wxDefaultSize ;
13756 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13757 long arg6 = (long) 0 ;
13758 wxString const &arg7_defvalue = wxPyPanelNameStr ;
13759 wxString *arg7 = (wxString *) &arg7_defvalue ;
13760 bool result;
13761 void *argp1 = 0 ;
13762 int res1 = 0 ;
13763 void *argp2 = 0 ;
13764 int res2 = 0 ;
13765 int val3 ;
13766 int ecode3 = 0 ;
13767 wxPoint temp4 ;
13768 wxSize temp5 ;
13769 long val6 ;
13770 int ecode6 = 0 ;
13771 bool temp7 = false ;
13772 PyObject * obj0 = 0 ;
13773 PyObject * obj1 = 0 ;
13774 PyObject * obj2 = 0 ;
13775 PyObject * obj3 = 0 ;
13776 PyObject * obj4 = 0 ;
13777 PyObject * obj5 = 0 ;
13778 PyObject * obj6 = 0 ;
13779 char * kwnames[] = {
13780 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13781 };
13782
13783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
13784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13785 if (!SWIG_IsOK(res1)) {
13786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13787 }
13788 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13789 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
13790 if (!SWIG_IsOK(res2)) {
13791 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13792 }
13793 arg2 = reinterpret_cast< wxWindow * >(argp2);
13794 if (obj2) {
13795 ecode3 = SWIG_AsVal_int(obj2, &val3);
13796 if (!SWIG_IsOK(ecode3)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13798 }
13799 arg3 = static_cast< int >(val3);
13800 }
13801 if (obj3) {
13802 {
13803 arg4 = &temp4;
13804 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13805 }
13806 }
13807 if (obj4) {
13808 {
13809 arg5 = &temp5;
13810 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13811 }
13812 }
13813 if (obj5) {
13814 ecode6 = SWIG_AsVal_long(obj5, &val6);
13815 if (!SWIG_IsOK(ecode6)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13817 }
13818 arg6 = static_cast< long >(val6);
13819 }
13820 if (obj6) {
13821 {
13822 arg7 = wxString_in_helper(obj6);
13823 if (arg7 == NULL) SWIG_fail;
13824 temp7 = true;
13825 }
13826 }
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13830 wxPyEndAllowThreads(__tstate);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 }
13833 {
13834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13835 }
13836 {
13837 if (temp7)
13838 delete arg7;
13839 }
13840 return resultobj;
13841 fail:
13842 {
13843 if (temp7)
13844 delete arg7;
13845 }
13846 return NULL;
13847 }
13848
13849
13850 SWIGINTERN PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13851 PyObject *resultobj = 0;
13852 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13853 size_t arg2 ;
13854 void *argp1 = 0 ;
13855 int res1 = 0 ;
13856 size_t val2 ;
13857 int ecode2 = 0 ;
13858 PyObject * obj0 = 0 ;
13859 PyObject * obj1 = 0 ;
13860 char * kwnames[] = {
13861 (char *) "self",(char *) "count", NULL
13862 };
13863
13864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) SWIG_fail;
13865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13866 if (!SWIG_IsOK(res1)) {
13867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13868 }
13869 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13870 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13871 if (!SWIG_IsOK(ecode2)) {
13872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13873 }
13874 arg2 = static_cast< size_t >(val2);
13875 {
13876 PyThreadState* __tstate = wxPyBeginAllowThreads();
13877 (arg1)->SetLineCount(arg2);
13878 wxPyEndAllowThreads(__tstate);
13879 if (PyErr_Occurred()) SWIG_fail;
13880 }
13881 resultobj = SWIG_Py_Void();
13882 return resultobj;
13883 fail:
13884 return NULL;
13885 }
13886
13887
13888 SWIGINTERN PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13889 PyObject *resultobj = 0;
13890 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13891 size_t arg2 ;
13892 bool result;
13893 void *argp1 = 0 ;
13894 int res1 = 0 ;
13895 size_t val2 ;
13896 int ecode2 = 0 ;
13897 PyObject * obj0 = 0 ;
13898 PyObject * obj1 = 0 ;
13899 char * kwnames[] = {
13900 (char *) "self",(char *) "line", NULL
13901 };
13902
13903 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) SWIG_fail;
13904 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13905 if (!SWIG_IsOK(res1)) {
13906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13907 }
13908 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13909 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13910 if (!SWIG_IsOK(ecode2)) {
13911 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13912 }
13913 arg2 = static_cast< size_t >(val2);
13914 {
13915 PyThreadState* __tstate = wxPyBeginAllowThreads();
13916 result = (bool)(arg1)->ScrollToLine(arg2);
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 {
13921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13922 }
13923 return resultobj;
13924 fail:
13925 return NULL;
13926 }
13927
13928
13929 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13930 PyObject *resultobj = 0;
13931 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13932 size_t arg2 ;
13933 void *argp1 = 0 ;
13934 int res1 = 0 ;
13935 size_t val2 ;
13936 int ecode2 = 0 ;
13937 PyObject * obj0 = 0 ;
13938 PyObject * obj1 = 0 ;
13939 char * kwnames[] = {
13940 (char *) "self",(char *) "line", NULL
13941 };
13942
13943 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) SWIG_fail;
13944 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13945 if (!SWIG_IsOK(res1)) {
13946 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13947 }
13948 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13949 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13950 if (!SWIG_IsOK(ecode2)) {
13951 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13952 }
13953 arg2 = static_cast< size_t >(val2);
13954 {
13955 PyThreadState* __tstate = wxPyBeginAllowThreads();
13956 (arg1)->RefreshLine(arg2);
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
13960 resultobj = SWIG_Py_Void();
13961 return resultobj;
13962 fail:
13963 return NULL;
13964 }
13965
13966
13967 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
13968 PyObject *resultobj = 0;
13969 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
13970 size_t arg2 ;
13971 size_t arg3 ;
13972 void *argp1 = 0 ;
13973 int res1 = 0 ;
13974 size_t val2 ;
13975 int ecode2 = 0 ;
13976 size_t val3 ;
13977 int ecode3 = 0 ;
13978 PyObject * obj0 = 0 ;
13979 PyObject * obj1 = 0 ;
13980 PyObject * obj2 = 0 ;
13981 char * kwnames[] = {
13982 (char *) "self",(char *) "from",(char *) "to", NULL
13983 };
13984
13985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
13986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
13987 if (!SWIG_IsOK(res1)) {
13988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13989 }
13990 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
13991 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
13992 if (!SWIG_IsOK(ecode2)) {
13993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13994 }
13995 arg2 = static_cast< size_t >(val2);
13996 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
13997 if (!SWIG_IsOK(ecode3)) {
13998 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13999 }
14000 arg3 = static_cast< size_t >(val3);
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 (arg1)->RefreshLines(arg2,arg3);
14004 wxPyEndAllowThreads(__tstate);
14005 if (PyErr_Occurred()) SWIG_fail;
14006 }
14007 resultobj = SWIG_Py_Void();
14008 return resultobj;
14009 fail:
14010 return NULL;
14011 }
14012
14013
14014 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTestXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14015 PyObject *resultobj = 0;
14016 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14017 int arg2 ;
14018 int arg3 ;
14019 int result;
14020 void *argp1 = 0 ;
14021 int res1 = 0 ;
14022 int val2 ;
14023 int ecode2 = 0 ;
14024 int val3 ;
14025 int ecode3 = 0 ;
14026 PyObject * obj0 = 0 ;
14027 PyObject * obj1 = 0 ;
14028 PyObject * obj2 = 0 ;
14029 char * kwnames[] = {
14030 (char *) "self",(char *) "x",(char *) "y", NULL
14031 };
14032
14033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14035 if (!SWIG_IsOK(res1)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14037 }
14038 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14039 ecode2 = SWIG_AsVal_int(obj1, &val2);
14040 if (!SWIG_IsOK(ecode2)) {
14041 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14042 }
14043 arg2 = static_cast< int >(val2);
14044 ecode3 = SWIG_AsVal_int(obj2, &val3);
14045 if (!SWIG_IsOK(ecode3)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14047 }
14048 arg3 = static_cast< int >(val3);
14049 {
14050 PyThreadState* __tstate = wxPyBeginAllowThreads();
14051 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
14052 wxPyEndAllowThreads(__tstate);
14053 if (PyErr_Occurred()) SWIG_fail;
14054 }
14055 resultobj = SWIG_From_int(static_cast< int >(result));
14056 return resultobj;
14057 fail:
14058 return NULL;
14059 }
14060
14061
14062 SWIGINTERN PyObject *_wrap_VScrolledWindow_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14063 PyObject *resultobj = 0;
14064 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14065 wxPoint *arg2 = 0 ;
14066 int result;
14067 void *argp1 = 0 ;
14068 int res1 = 0 ;
14069 wxPoint temp2 ;
14070 PyObject * obj0 = 0 ;
14071 PyObject * obj1 = 0 ;
14072 char * kwnames[] = {
14073 (char *) "self",(char *) "pt", NULL
14074 };
14075
14076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
14077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14078 if (!SWIG_IsOK(res1)) {
14079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14080 }
14081 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14082 {
14083 arg2 = &temp2;
14084 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14085 }
14086 {
14087 PyThreadState* __tstate = wxPyBeginAllowThreads();
14088 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
14089 wxPyEndAllowThreads(__tstate);
14090 if (PyErr_Occurred()) SWIG_fail;
14091 }
14092 resultobj = SWIG_From_int(static_cast< int >(result));
14093 return resultobj;
14094 fail:
14095 return NULL;
14096 }
14097
14098
14099 SWIGINTERN PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14100 PyObject *resultobj = 0;
14101 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14102 void *argp1 = 0 ;
14103 int res1 = 0 ;
14104 PyObject *swig_obj[1] ;
14105
14106 if (!args) SWIG_fail;
14107 swig_obj[0] = args;
14108 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14109 if (!SWIG_IsOK(res1)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14111 }
14112 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14113 {
14114 PyThreadState* __tstate = wxPyBeginAllowThreads();
14115 (arg1)->RefreshAll();
14116 wxPyEndAllowThreads(__tstate);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 resultobj = SWIG_Py_Void();
14120 return resultobj;
14121 fail:
14122 return NULL;
14123 }
14124
14125
14126 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14127 PyObject *resultobj = 0;
14128 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14129 size_t result;
14130 void *argp1 = 0 ;
14131 int res1 = 0 ;
14132 PyObject *swig_obj[1] ;
14133
14134 if (!args) SWIG_fail;
14135 swig_obj[0] = args;
14136 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14137 if (!SWIG_IsOK(res1)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14139 }
14140 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14141 {
14142 PyThreadState* __tstate = wxPyBeginAllowThreads();
14143 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14148 return resultobj;
14149 fail:
14150 return NULL;
14151 }
14152
14153
14154 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleBegin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14155 PyObject *resultobj = 0;
14156 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14157 size_t result;
14158 void *argp1 = 0 ;
14159 int res1 = 0 ;
14160 PyObject *swig_obj[1] ;
14161
14162 if (!args) SWIG_fail;
14163 swig_obj[0] = args;
14164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14165 if (!SWIG_IsOK(res1)) {
14166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14167 }
14168 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14169 {
14170 PyThreadState* __tstate = wxPyBeginAllowThreads();
14171 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleBegin();
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
14175 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14176 return resultobj;
14177 fail:
14178 return NULL;
14179 }
14180
14181
14182 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetVisibleEnd(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14183 PyObject *resultobj = 0;
14184 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14185 size_t result;
14186 void *argp1 = 0 ;
14187 int res1 = 0 ;
14188 PyObject *swig_obj[1] ;
14189
14190 if (!args) SWIG_fail;
14191 swig_obj[0] = args;
14192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14193 if (!SWIG_IsOK(res1)) {
14194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14195 }
14196 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetVisibleEnd();
14200 wxPyEndAllowThreads(__tstate);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
14203 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14204 return resultobj;
14205 fail:
14206 return NULL;
14207 }
14208
14209
14210 SWIGINTERN PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj = 0;
14212 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14213 size_t arg2 ;
14214 bool result;
14215 void *argp1 = 0 ;
14216 int res1 = 0 ;
14217 size_t val2 ;
14218 int ecode2 = 0 ;
14219 PyObject * obj0 = 0 ;
14220 PyObject * obj1 = 0 ;
14221 char * kwnames[] = {
14222 (char *) "self",(char *) "line", NULL
14223 };
14224
14225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
14226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14227 if (!SWIG_IsOK(res1)) {
14228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14229 }
14230 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14231 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14232 if (!SWIG_IsOK(ecode2)) {
14233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14234 }
14235 arg2 = static_cast< size_t >(val2);
14236 {
14237 PyThreadState* __tstate = wxPyBeginAllowThreads();
14238 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
14239 wxPyEndAllowThreads(__tstate);
14240 if (PyErr_Occurred()) SWIG_fail;
14241 }
14242 {
14243 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14244 }
14245 return resultobj;
14246 fail:
14247 return NULL;
14248 }
14249
14250
14251 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14252 PyObject *resultobj = 0;
14253 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14254 size_t result;
14255 void *argp1 = 0 ;
14256 int res1 = 0 ;
14257 PyObject *swig_obj[1] ;
14258
14259 if (!args) SWIG_fail;
14260 swig_obj[0] = args;
14261 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14262 if (!SWIG_IsOK(res1)) {
14263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14264 }
14265 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14266 {
14267 PyThreadState* __tstate = wxPyBeginAllowThreads();
14268 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
14269 wxPyEndAllowThreads(__tstate);
14270 if (PyErr_Occurred()) SWIG_fail;
14271 }
14272 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14273 return resultobj;
14274 fail:
14275 return NULL;
14276 }
14277
14278
14279 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14280 PyObject *resultobj = 0;
14281 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14282 size_t result;
14283 void *argp1 = 0 ;
14284 int res1 = 0 ;
14285 PyObject *swig_obj[1] ;
14286
14287 if (!args) SWIG_fail;
14288 swig_obj[0] = args;
14289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14290 if (!SWIG_IsOK(res1)) {
14291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14292 }
14293 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
14297 wxPyEndAllowThreads(__tstate);
14298 if (PyErr_Occurred()) SWIG_fail;
14299 }
14300 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14301 return resultobj;
14302 fail:
14303 return NULL;
14304 }
14305
14306
14307 SWIGINTERN PyObject *_wrap_VScrolledWindow_FindFirstFromBottom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14308 PyObject *resultobj = 0;
14309 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14310 size_t arg2 ;
14311 bool arg3 = (bool) false ;
14312 size_t result;
14313 void *argp1 = 0 ;
14314 int res1 = 0 ;
14315 size_t val2 ;
14316 int ecode2 = 0 ;
14317 bool val3 ;
14318 int ecode3 = 0 ;
14319 PyObject * obj0 = 0 ;
14320 PyObject * obj1 = 0 ;
14321 PyObject * obj2 = 0 ;
14322 char * kwnames[] = {
14323 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14324 };
14325
14326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14328 if (!SWIG_IsOK(res1)) {
14329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14330 }
14331 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14332 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14333 if (!SWIG_IsOK(ecode2)) {
14334 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14335 }
14336 arg2 = static_cast< size_t >(val2);
14337 if (obj2) {
14338 ecode3 = SWIG_AsVal_bool(obj2, &val3);
14339 if (!SWIG_IsOK(ecode3)) {
14340 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14341 }
14342 arg3 = static_cast< bool >(val3);
14343 }
14344 {
14345 PyThreadState* __tstate = wxPyBeginAllowThreads();
14346 result = (size_t)(arg1)->FindFirstFromBottom(arg2,arg3);
14347 wxPyEndAllowThreads(__tstate);
14348 if (PyErr_Occurred()) SWIG_fail;
14349 }
14350 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14351 return resultobj;
14352 fail:
14353 return NULL;
14354 }
14355
14356
14357 SWIGINTERN PyObject *_wrap_VScrolledWindow_GetLinesHeight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14358 PyObject *resultobj = 0;
14359 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
14360 size_t arg2 ;
14361 size_t arg3 ;
14362 int result;
14363 void *argp1 = 0 ;
14364 int res1 = 0 ;
14365 size_t val2 ;
14366 int ecode2 = 0 ;
14367 size_t val3 ;
14368 int ecode3 = 0 ;
14369 PyObject * obj0 = 0 ;
14370 PyObject * obj1 = 0 ;
14371 PyObject * obj2 = 0 ;
14372 char * kwnames[] = {
14373 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14374 };
14375
14376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVScrolledWindow, 0 | 0 );
14378 if (!SWIG_IsOK(res1)) {
14379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14380 }
14381 arg1 = reinterpret_cast< wxPyVScrolledWindow * >(argp1);
14382 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14383 if (!SWIG_IsOK(ecode2)) {
14384 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14385 }
14386 arg2 = static_cast< size_t >(val2);
14387 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
14388 if (!SWIG_IsOK(ecode3)) {
14389 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14390 }
14391 arg3 = static_cast< size_t >(val3);
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = (int)((wxPyVScrolledWindow const *)arg1)->GetLinesHeight(arg2,arg3);
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 resultobj = SWIG_From_int(static_cast< int >(result));
14399 return resultobj;
14400 fail:
14401 return NULL;
14402 }
14403
14404
14405 SWIGINTERN PyObject *VScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14406 PyObject *obj;
14407 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
14408 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow, SWIG_NewClientData(obj));
14409 return SWIG_Py_Void();
14410 }
14411
14412 SWIGINTERN PyObject *VScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14413 return SWIG_Python_InitShadowInstance(args);
14414 }
14415
14416 SWIGINTERN int VListBoxNameStr_set(PyObject *) {
14417 SWIG_Error(SWIG_AttributeError,"Variable VListBoxNameStr is read-only.");
14418 return 1;
14419 }
14420
14421
14422 SWIGINTERN PyObject *VListBoxNameStr_get(void) {
14423 PyObject *pyobj = 0;
14424
14425 {
14426 #if wxUSE_UNICODE
14427 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14428 #else
14429 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
14430 #endif
14431 }
14432 return pyobj;
14433 }
14434
14435
14436 SWIGINTERN PyObject *_wrap_new_VListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14437 PyObject *resultobj = 0;
14438 wxWindow *arg1 = (wxWindow *) 0 ;
14439 int arg2 = (int) wxID_ANY ;
14440 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14441 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14442 wxSize const &arg4_defvalue = wxDefaultSize ;
14443 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14444 long arg5 = (long) 0 ;
14445 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
14446 wxString *arg6 = (wxString *) &arg6_defvalue ;
14447 wxPyVListBox *result = 0 ;
14448 void *argp1 = 0 ;
14449 int res1 = 0 ;
14450 int val2 ;
14451 int ecode2 = 0 ;
14452 wxPoint temp3 ;
14453 wxSize temp4 ;
14454 long val5 ;
14455 int ecode5 = 0 ;
14456 bool temp6 = false ;
14457 PyObject * obj0 = 0 ;
14458 PyObject * obj1 = 0 ;
14459 PyObject * obj2 = 0 ;
14460 PyObject * obj3 = 0 ;
14461 PyObject * obj4 = 0 ;
14462 PyObject * obj5 = 0 ;
14463 char * kwnames[] = {
14464 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14465 };
14466
14467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
14468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
14469 if (!SWIG_IsOK(res1)) {
14470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14471 }
14472 arg1 = reinterpret_cast< wxWindow * >(argp1);
14473 if (obj1) {
14474 ecode2 = SWIG_AsVal_int(obj1, &val2);
14475 if (!SWIG_IsOK(ecode2)) {
14476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14477 }
14478 arg2 = static_cast< int >(val2);
14479 }
14480 if (obj2) {
14481 {
14482 arg3 = &temp3;
14483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14484 }
14485 }
14486 if (obj3) {
14487 {
14488 arg4 = &temp4;
14489 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14490 }
14491 }
14492 if (obj4) {
14493 ecode5 = SWIG_AsVal_long(obj4, &val5);
14494 if (!SWIG_IsOK(ecode5)) {
14495 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14496 }
14497 arg5 = static_cast< long >(val5);
14498 }
14499 if (obj5) {
14500 {
14501 arg6 = wxString_in_helper(obj5);
14502 if (arg6 == NULL) SWIG_fail;
14503 temp6 = true;
14504 }
14505 }
14506 {
14507 if (!wxPyCheckForApp()) SWIG_fail;
14508 PyThreadState* __tstate = wxPyBeginAllowThreads();
14509 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14510 wxPyEndAllowThreads(__tstate);
14511 if (PyErr_Occurred()) SWIG_fail;
14512 }
14513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_NEW | 0 );
14514 {
14515 if (temp6)
14516 delete arg6;
14517 }
14518 return resultobj;
14519 fail:
14520 {
14521 if (temp6)
14522 delete arg6;
14523 }
14524 return NULL;
14525 }
14526
14527
14528 SWIGINTERN PyObject *_wrap_new_PreVListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14529 PyObject *resultobj = 0;
14530 wxPyVListBox *result = 0 ;
14531
14532 if (!SWIG_Python_UnpackTuple(args,"new_PreVListBox",0,0,0)) SWIG_fail;
14533 {
14534 if (!wxPyCheckForApp()) SWIG_fail;
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (wxPyVListBox *)new wxPyVListBox();
14537 wxPyEndAllowThreads(__tstate);
14538 if (PyErr_Occurred()) SWIG_fail;
14539 }
14540 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyVListBox, SWIG_POINTER_OWN | 0 );
14541 return resultobj;
14542 fail:
14543 return NULL;
14544 }
14545
14546
14547 SWIGINTERN PyObject *_wrap_VListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14548 PyObject *resultobj = 0;
14549 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14550 PyObject *arg2 = (PyObject *) 0 ;
14551 PyObject *arg3 = (PyObject *) 0 ;
14552 void *argp1 = 0 ;
14553 int res1 = 0 ;
14554 PyObject * obj0 = 0 ;
14555 PyObject * obj1 = 0 ;
14556 PyObject * obj2 = 0 ;
14557 char * kwnames[] = {
14558 (char *) "self",(char *) "self",(char *) "_class", NULL
14559 };
14560
14561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
14562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14563 if (!SWIG_IsOK(res1)) {
14564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14565 }
14566 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14567 arg2 = obj1;
14568 arg3 = obj2;
14569 {
14570 PyThreadState* __tstate = wxPyBeginAllowThreads();
14571 (arg1)->_setCallbackInfo(arg2,arg3);
14572 wxPyEndAllowThreads(__tstate);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 }
14575 resultobj = SWIG_Py_Void();
14576 return resultobj;
14577 fail:
14578 return NULL;
14579 }
14580
14581
14582 SWIGINTERN PyObject *_wrap_VListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14583 PyObject *resultobj = 0;
14584 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14585 wxWindow *arg2 = (wxWindow *) 0 ;
14586 int arg3 = (int) wxID_ANY ;
14587 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14588 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14589 wxSize const &arg5_defvalue = wxDefaultSize ;
14590 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14591 long arg6 = (long) 0 ;
14592 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
14593 wxString *arg7 = (wxString *) &arg7_defvalue ;
14594 bool result;
14595 void *argp1 = 0 ;
14596 int res1 = 0 ;
14597 void *argp2 = 0 ;
14598 int res2 = 0 ;
14599 int val3 ;
14600 int ecode3 = 0 ;
14601 wxPoint temp4 ;
14602 wxSize temp5 ;
14603 long val6 ;
14604 int ecode6 = 0 ;
14605 bool temp7 = false ;
14606 PyObject * obj0 = 0 ;
14607 PyObject * obj1 = 0 ;
14608 PyObject * obj2 = 0 ;
14609 PyObject * obj3 = 0 ;
14610 PyObject * obj4 = 0 ;
14611 PyObject * obj5 = 0 ;
14612 PyObject * obj6 = 0 ;
14613 char * kwnames[] = {
14614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14615 };
14616
14617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
14618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14619 if (!SWIG_IsOK(res1)) {
14620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14621 }
14622 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14623 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
14624 if (!SWIG_IsOK(res2)) {
14625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14626 }
14627 arg2 = reinterpret_cast< wxWindow * >(argp2);
14628 if (obj2) {
14629 ecode3 = SWIG_AsVal_int(obj2, &val3);
14630 if (!SWIG_IsOK(ecode3)) {
14631 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14632 }
14633 arg3 = static_cast< int >(val3);
14634 }
14635 if (obj3) {
14636 {
14637 arg4 = &temp4;
14638 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14639 }
14640 }
14641 if (obj4) {
14642 {
14643 arg5 = &temp5;
14644 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14645 }
14646 }
14647 if (obj5) {
14648 ecode6 = SWIG_AsVal_long(obj5, &val6);
14649 if (!SWIG_IsOK(ecode6)) {
14650 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14651 }
14652 arg6 = static_cast< long >(val6);
14653 }
14654 if (obj6) {
14655 {
14656 arg7 = wxString_in_helper(obj6);
14657 if (arg7 == NULL) SWIG_fail;
14658 temp7 = true;
14659 }
14660 }
14661 {
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
14663 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14664 wxPyEndAllowThreads(__tstate);
14665 if (PyErr_Occurred()) SWIG_fail;
14666 }
14667 {
14668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14669 }
14670 {
14671 if (temp7)
14672 delete arg7;
14673 }
14674 return resultobj;
14675 fail:
14676 {
14677 if (temp7)
14678 delete arg7;
14679 }
14680 return NULL;
14681 }
14682
14683
14684 SWIGINTERN PyObject *_wrap_VListBox_GetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14685 PyObject *resultobj = 0;
14686 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14687 size_t result;
14688 void *argp1 = 0 ;
14689 int res1 = 0 ;
14690 PyObject *swig_obj[1] ;
14691
14692 if (!args) SWIG_fail;
14693 swig_obj[0] = args;
14694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14695 if (!SWIG_IsOK(res1)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14697 }
14698 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
14702 wxPyEndAllowThreads(__tstate);
14703 if (PyErr_Occurred()) SWIG_fail;
14704 }
14705 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14706 return resultobj;
14707 fail:
14708 return NULL;
14709 }
14710
14711
14712 SWIGINTERN PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14713 PyObject *resultobj = 0;
14714 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14715 bool result;
14716 void *argp1 = 0 ;
14717 int res1 = 0 ;
14718 PyObject *swig_obj[1] ;
14719
14720 if (!args) SWIG_fail;
14721 swig_obj[0] = args;
14722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14723 if (!SWIG_IsOK(res1)) {
14724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14725 }
14726 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14727 {
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
14733 {
14734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14735 }
14736 return resultobj;
14737 fail:
14738 return NULL;
14739 }
14740
14741
14742 SWIGINTERN PyObject *_wrap_VListBox_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14743 PyObject *resultobj = 0;
14744 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14745 int result;
14746 void *argp1 = 0 ;
14747 int res1 = 0 ;
14748 PyObject *swig_obj[1] ;
14749
14750 if (!args) SWIG_fail;
14751 swig_obj[0] = args;
14752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14753 if (!SWIG_IsOK(res1)) {
14754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14755 }
14756 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14757 {
14758 PyThreadState* __tstate = wxPyBeginAllowThreads();
14759 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
14760 wxPyEndAllowThreads(__tstate);
14761 if (PyErr_Occurred()) SWIG_fail;
14762 }
14763 resultobj = SWIG_From_int(static_cast< int >(result));
14764 return resultobj;
14765 fail:
14766 return NULL;
14767 }
14768
14769
14770 SWIGINTERN PyObject *_wrap_VListBox_IsCurrent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14771 PyObject *resultobj = 0;
14772 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14773 size_t arg2 ;
14774 bool result;
14775 void *argp1 = 0 ;
14776 int res1 = 0 ;
14777 size_t val2 ;
14778 int ecode2 = 0 ;
14779 PyObject * obj0 = 0 ;
14780 PyObject * obj1 = 0 ;
14781 char * kwnames[] = {
14782 (char *) "self",(char *) "item", NULL
14783 };
14784
14785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) SWIG_fail;
14786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14787 if (!SWIG_IsOK(res1)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14789 }
14790 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14791 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14792 if (!SWIG_IsOK(ecode2)) {
14793 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14794 }
14795 arg2 = static_cast< size_t >(val2);
14796 {
14797 PyThreadState* __tstate = wxPyBeginAllowThreads();
14798 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 {
14803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14804 }
14805 return resultobj;
14806 fail:
14807 return NULL;
14808 }
14809
14810
14811 SWIGINTERN PyObject *_wrap_VListBox_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14812 PyObject *resultobj = 0;
14813 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14814 size_t arg2 ;
14815 bool result;
14816 void *argp1 = 0 ;
14817 int res1 = 0 ;
14818 size_t val2 ;
14819 int ecode2 = 0 ;
14820 PyObject * obj0 = 0 ;
14821 PyObject * obj1 = 0 ;
14822 char * kwnames[] = {
14823 (char *) "self",(char *) "item", NULL
14824 };
14825
14826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14828 if (!SWIG_IsOK(res1)) {
14829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14830 }
14831 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14832 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
14833 if (!SWIG_IsOK(ecode2)) {
14834 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14835 }
14836 arg2 = static_cast< size_t >(val2);
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
14840 wxPyEndAllowThreads(__tstate);
14841 if (PyErr_Occurred()) SWIG_fail;
14842 }
14843 {
14844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14845 }
14846 return resultobj;
14847 fail:
14848 return NULL;
14849 }
14850
14851
14852 SWIGINTERN PyObject *_wrap_VListBox_GetSelectedCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14853 PyObject *resultobj = 0;
14854 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14855 size_t result;
14856 void *argp1 = 0 ;
14857 int res1 = 0 ;
14858 PyObject *swig_obj[1] ;
14859
14860 if (!args) SWIG_fail;
14861 swig_obj[0] = args;
14862 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14863 if (!SWIG_IsOK(res1)) {
14864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14865 }
14866 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14867 {
14868 PyThreadState* __tstate = wxPyBeginAllowThreads();
14869 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
14870 wxPyEndAllowThreads(__tstate);
14871 if (PyErr_Occurred()) SWIG_fail;
14872 }
14873 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
14874 return resultobj;
14875 fail:
14876 return NULL;
14877 }
14878
14879
14880 SWIGINTERN PyObject *_wrap_VListBox_GetFirstSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14881 PyObject *resultobj = 0;
14882 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14883 PyObject *result = 0 ;
14884 void *argp1 = 0 ;
14885 int res1 = 0 ;
14886 PyObject *swig_obj[1] ;
14887
14888 if (!args) SWIG_fail;
14889 swig_obj[0] = args;
14890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14891 if (!SWIG_IsOK(res1)) {
14892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14893 }
14894 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (PyObject *)wxPyVListBox_GetFirstSelected(arg1);
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 resultobj = result;
14902 return resultobj;
14903 fail:
14904 return NULL;
14905 }
14906
14907
14908 SWIGINTERN PyObject *_wrap_VListBox_GetNextSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj = 0;
14910 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14911 unsigned long arg2 ;
14912 PyObject *result = 0 ;
14913 void *argp1 = 0 ;
14914 int res1 = 0 ;
14915 unsigned long val2 ;
14916 int ecode2 = 0 ;
14917 PyObject * obj0 = 0 ;
14918 PyObject * obj1 = 0 ;
14919 char * kwnames[] = {
14920 (char *) "self",(char *) "cookie", NULL
14921 };
14922
14923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) SWIG_fail;
14924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14925 if (!SWIG_IsOK(res1)) {
14926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14927 }
14928 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14929 ecode2 = SWIG_AsVal_unsigned_SS_long(obj1, &val2);
14930 if (!SWIG_IsOK(ecode2)) {
14931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14932 }
14933 arg2 = static_cast< unsigned long >(val2);
14934 {
14935 PyThreadState* __tstate = wxPyBeginAllowThreads();
14936 result = (PyObject *)wxPyVListBox_GetNextSelected(arg1,arg2);
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
14940 resultobj = result;
14941 return resultobj;
14942 fail:
14943 return NULL;
14944 }
14945
14946
14947 SWIGINTERN PyObject *_wrap_VListBox_GetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14948 PyObject *resultobj = 0;
14949 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14950 wxPoint result;
14951 void *argp1 = 0 ;
14952 int res1 = 0 ;
14953 PyObject *swig_obj[1] ;
14954
14955 if (!args) SWIG_fail;
14956 swig_obj[0] = args;
14957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14958 if (!SWIG_IsOK(res1)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14960 }
14961 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14962 {
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 result = ((wxPyVListBox const *)arg1)->GetMargins();
14965 wxPyEndAllowThreads(__tstate);
14966 if (PyErr_Occurred()) SWIG_fail;
14967 }
14968 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
14969 return resultobj;
14970 fail:
14971 return NULL;
14972 }
14973
14974
14975 SWIGINTERN PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
14976 PyObject *resultobj = 0;
14977 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
14978 wxColour *result = 0 ;
14979 void *argp1 = 0 ;
14980 int res1 = 0 ;
14981 PyObject *swig_obj[1] ;
14982
14983 if (!args) SWIG_fail;
14984 swig_obj[0] = args;
14985 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
14986 if (!SWIG_IsOK(res1)) {
14987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14988 }
14989 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
14990 {
14991 PyThreadState* __tstate = wxPyBeginAllowThreads();
14992 {
14993 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
14994 result = (wxColour *) &_result_ref;
14995 }
14996 wxPyEndAllowThreads(__tstate);
14997 if (PyErr_Occurred()) SWIG_fail;
14998 }
14999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColour, 0 | 0 );
15000 return resultobj;
15001 fail:
15002 return NULL;
15003 }
15004
15005
15006 SWIGINTERN PyObject *_wrap_VListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15007 PyObject *resultobj = 0;
15008 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15009 size_t arg2 ;
15010 void *argp1 = 0 ;
15011 int res1 = 0 ;
15012 size_t val2 ;
15013 int ecode2 = 0 ;
15014 PyObject * obj0 = 0 ;
15015 PyObject * obj1 = 0 ;
15016 char * kwnames[] = {
15017 (char *) "self",(char *) "count", NULL
15018 };
15019
15020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15022 if (!SWIG_IsOK(res1)) {
15023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15024 }
15025 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15026 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15027 if (!SWIG_IsOK(ecode2)) {
15028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15029 }
15030 arg2 = static_cast< size_t >(val2);
15031 {
15032 PyThreadState* __tstate = wxPyBeginAllowThreads();
15033 (arg1)->SetItemCount(arg2);
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 resultobj = SWIG_Py_Void();
15038 return resultobj;
15039 fail:
15040 return NULL;
15041 }
15042
15043
15044 SWIGINTERN PyObject *_wrap_VListBox_Clear(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15045 PyObject *resultobj = 0;
15046 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15047 void *argp1 = 0 ;
15048 int res1 = 0 ;
15049 PyObject *swig_obj[1] ;
15050
15051 if (!args) SWIG_fail;
15052 swig_obj[0] = args;
15053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15054 if (!SWIG_IsOK(res1)) {
15055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15056 }
15057 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15058 {
15059 PyThreadState* __tstate = wxPyBeginAllowThreads();
15060 (arg1)->Clear();
15061 wxPyEndAllowThreads(__tstate);
15062 if (PyErr_Occurred()) SWIG_fail;
15063 }
15064 resultobj = SWIG_Py_Void();
15065 return resultobj;
15066 fail:
15067 return NULL;
15068 }
15069
15070
15071 SWIGINTERN PyObject *_wrap_VListBox_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15072 PyObject *resultobj = 0;
15073 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15074 int arg2 ;
15075 void *argp1 = 0 ;
15076 int res1 = 0 ;
15077 int val2 ;
15078 int ecode2 = 0 ;
15079 PyObject * obj0 = 0 ;
15080 PyObject * obj1 = 0 ;
15081 char * kwnames[] = {
15082 (char *) "self",(char *) "selection", NULL
15083 };
15084
15085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
15086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15087 if (!SWIG_IsOK(res1)) {
15088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15089 }
15090 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15091 ecode2 = SWIG_AsVal_int(obj1, &val2);
15092 if (!SWIG_IsOK(ecode2)) {
15093 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15094 }
15095 arg2 = static_cast< int >(val2);
15096 {
15097 PyThreadState* __tstate = wxPyBeginAllowThreads();
15098 (arg1)->SetSelection(arg2);
15099 wxPyEndAllowThreads(__tstate);
15100 if (PyErr_Occurred()) SWIG_fail;
15101 }
15102 resultobj = SWIG_Py_Void();
15103 return resultobj;
15104 fail:
15105 return NULL;
15106 }
15107
15108
15109 SWIGINTERN PyObject *_wrap_VListBox_Select(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15110 PyObject *resultobj = 0;
15111 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15112 size_t arg2 ;
15113 bool arg3 = (bool) true ;
15114 bool result;
15115 void *argp1 = 0 ;
15116 int res1 = 0 ;
15117 size_t val2 ;
15118 int ecode2 = 0 ;
15119 bool val3 ;
15120 int ecode3 = 0 ;
15121 PyObject * obj0 = 0 ;
15122 PyObject * obj1 = 0 ;
15123 PyObject * obj2 = 0 ;
15124 char * kwnames[] = {
15125 (char *) "self",(char *) "item",(char *) "select", NULL
15126 };
15127
15128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15130 if (!SWIG_IsOK(res1)) {
15131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15132 }
15133 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15134 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15135 if (!SWIG_IsOK(ecode2)) {
15136 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15137 }
15138 arg2 = static_cast< size_t >(val2);
15139 if (obj2) {
15140 ecode3 = SWIG_AsVal_bool(obj2, &val3);
15141 if (!SWIG_IsOK(ecode3)) {
15142 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15143 }
15144 arg3 = static_cast< bool >(val3);
15145 }
15146 {
15147 PyThreadState* __tstate = wxPyBeginAllowThreads();
15148 result = (bool)(arg1)->Select(arg2,arg3);
15149 wxPyEndAllowThreads(__tstate);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
15152 {
15153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15154 }
15155 return resultobj;
15156 fail:
15157 return NULL;
15158 }
15159
15160
15161 SWIGINTERN PyObject *_wrap_VListBox_SelectRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15162 PyObject *resultobj = 0;
15163 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15164 size_t arg2 ;
15165 size_t arg3 ;
15166 bool result;
15167 void *argp1 = 0 ;
15168 int res1 = 0 ;
15169 size_t val2 ;
15170 int ecode2 = 0 ;
15171 size_t val3 ;
15172 int ecode3 = 0 ;
15173 PyObject * obj0 = 0 ;
15174 PyObject * obj1 = 0 ;
15175 PyObject * obj2 = 0 ;
15176 char * kwnames[] = {
15177 (char *) "self",(char *) "from",(char *) "to", NULL
15178 };
15179
15180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15182 if (!SWIG_IsOK(res1)) {
15183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15184 }
15185 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15186 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15187 if (!SWIG_IsOK(ecode2)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15189 }
15190 arg2 = static_cast< size_t >(val2);
15191 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
15192 if (!SWIG_IsOK(ecode3)) {
15193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15194 }
15195 arg3 = static_cast< size_t >(val3);
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 result = (bool)(arg1)->SelectRange(arg2,arg3);
15199 wxPyEndAllowThreads(__tstate);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
15202 {
15203 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15204 }
15205 return resultobj;
15206 fail:
15207 return NULL;
15208 }
15209
15210
15211 SWIGINTERN PyObject *_wrap_VListBox_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15212 PyObject *resultobj = 0;
15213 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15214 size_t arg2 ;
15215 void *argp1 = 0 ;
15216 int res1 = 0 ;
15217 size_t val2 ;
15218 int ecode2 = 0 ;
15219 PyObject * obj0 = 0 ;
15220 PyObject * obj1 = 0 ;
15221 char * kwnames[] = {
15222 (char *) "self",(char *) "item", NULL
15223 };
15224
15225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
15226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15227 if (!SWIG_IsOK(res1)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15229 }
15230 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15231 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15232 if (!SWIG_IsOK(ecode2)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15234 }
15235 arg2 = static_cast< size_t >(val2);
15236 {
15237 PyThreadState* __tstate = wxPyBeginAllowThreads();
15238 (arg1)->Toggle(arg2);
15239 wxPyEndAllowThreads(__tstate);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 }
15242 resultobj = SWIG_Py_Void();
15243 return resultobj;
15244 fail:
15245 return NULL;
15246 }
15247
15248
15249 SWIGINTERN PyObject *_wrap_VListBox_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15250 PyObject *resultobj = 0;
15251 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15252 bool result;
15253 void *argp1 = 0 ;
15254 int res1 = 0 ;
15255 PyObject *swig_obj[1] ;
15256
15257 if (!args) SWIG_fail;
15258 swig_obj[0] = args;
15259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15260 if (!SWIG_IsOK(res1)) {
15261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15262 }
15263 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15264 {
15265 PyThreadState* __tstate = wxPyBeginAllowThreads();
15266 result = (bool)(arg1)->SelectAll();
15267 wxPyEndAllowThreads(__tstate);
15268 if (PyErr_Occurred()) SWIG_fail;
15269 }
15270 {
15271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15272 }
15273 return resultobj;
15274 fail:
15275 return NULL;
15276 }
15277
15278
15279 SWIGINTERN PyObject *_wrap_VListBox_DeselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15280 PyObject *resultobj = 0;
15281 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15282 bool result;
15283 void *argp1 = 0 ;
15284 int res1 = 0 ;
15285 PyObject *swig_obj[1] ;
15286
15287 if (!args) SWIG_fail;
15288 swig_obj[0] = args;
15289 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15290 if (!SWIG_IsOK(res1)) {
15291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15292 }
15293 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15294 {
15295 PyThreadState* __tstate = wxPyBeginAllowThreads();
15296 result = (bool)(arg1)->DeselectAll();
15297 wxPyEndAllowThreads(__tstate);
15298 if (PyErr_Occurred()) SWIG_fail;
15299 }
15300 {
15301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15302 }
15303 return resultobj;
15304 fail:
15305 return NULL;
15306 }
15307
15308
15309 SWIGINTERN PyObject *_wrap_VListBox_SetMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15310 PyObject *resultobj = 0;
15311 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15312 wxPoint *arg2 = 0 ;
15313 void *argp1 = 0 ;
15314 int res1 = 0 ;
15315 wxPoint temp2 ;
15316 PyObject * obj0 = 0 ;
15317 PyObject * obj1 = 0 ;
15318 char * kwnames[] = {
15319 (char *) "self",(char *) "pt", NULL
15320 };
15321
15322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) SWIG_fail;
15323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15324 if (!SWIG_IsOK(res1)) {
15325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15326 }
15327 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15328 {
15329 arg2 = &temp2;
15330 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15331 }
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 (arg1)->SetMargins((wxPoint const &)*arg2);
15335 wxPyEndAllowThreads(__tstate);
15336 if (PyErr_Occurred()) SWIG_fail;
15337 }
15338 resultobj = SWIG_Py_Void();
15339 return resultobj;
15340 fail:
15341 return NULL;
15342 }
15343
15344
15345 SWIGINTERN PyObject *_wrap_VListBox_SetMarginsXY(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15346 PyObject *resultobj = 0;
15347 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15348 int arg2 ;
15349 int arg3 ;
15350 void *argp1 = 0 ;
15351 int res1 = 0 ;
15352 int val2 ;
15353 int ecode2 = 0 ;
15354 int val3 ;
15355 int ecode3 = 0 ;
15356 PyObject * obj0 = 0 ;
15357 PyObject * obj1 = 0 ;
15358 PyObject * obj2 = 0 ;
15359 char * kwnames[] = {
15360 (char *) "self",(char *) "x",(char *) "y", NULL
15361 };
15362
15363 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15364 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15365 if (!SWIG_IsOK(res1)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15367 }
15368 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15369 ecode2 = SWIG_AsVal_int(obj1, &val2);
15370 if (!SWIG_IsOK(ecode2)) {
15371 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15372 }
15373 arg2 = static_cast< int >(val2);
15374 ecode3 = SWIG_AsVal_int(obj2, &val3);
15375 if (!SWIG_IsOK(ecode3)) {
15376 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15377 }
15378 arg3 = static_cast< int >(val3);
15379 {
15380 PyThreadState* __tstate = wxPyBeginAllowThreads();
15381 (arg1)->SetMargins(arg2,arg3);
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 resultobj = SWIG_Py_Void();
15386 return resultobj;
15387 fail:
15388 return NULL;
15389 }
15390
15391
15392 SWIGINTERN PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15393 PyObject *resultobj = 0;
15394 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15395 wxColour *arg2 = 0 ;
15396 void *argp1 = 0 ;
15397 int res1 = 0 ;
15398 wxColour temp2 ;
15399 PyObject * obj0 = 0 ;
15400 PyObject * obj1 = 0 ;
15401 char * kwnames[] = {
15402 (char *) "self",(char *) "col", NULL
15403 };
15404
15405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) SWIG_fail;
15406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15407 if (!SWIG_IsOK(res1)) {
15408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15409 }
15410 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15411 {
15412 arg2 = &temp2;
15413 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15414 }
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
15418 wxPyEndAllowThreads(__tstate);
15419 if (PyErr_Occurred()) SWIG_fail;
15420 }
15421 resultobj = SWIG_Py_Void();
15422 return resultobj;
15423 fail:
15424 return NULL;
15425 }
15426
15427
15428 SWIGINTERN PyObject *_wrap_VListBox_OnDrawSeparator(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15429 PyObject *resultobj = 0;
15430 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15431 wxDC *arg2 = 0 ;
15432 wxRect *arg3 = 0 ;
15433 size_t arg4 ;
15434 void *argp1 = 0 ;
15435 int res1 = 0 ;
15436 void *argp2 = 0 ;
15437 int res2 = 0 ;
15438 wxRect temp3 ;
15439 size_t val4 ;
15440 int ecode4 = 0 ;
15441 PyObject * obj0 = 0 ;
15442 PyObject * obj1 = 0 ;
15443 PyObject * obj2 = 0 ;
15444 PyObject * obj3 = 0 ;
15445 char * kwnames[] = {
15446 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15447 };
15448
15449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15451 if (!SWIG_IsOK(res1)) {
15452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15453 }
15454 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15455 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15456 if (!SWIG_IsOK(res2)) {
15457 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15458 }
15459 if (!argp2) {
15460 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15461 }
15462 arg2 = reinterpret_cast< wxDC * >(argp2);
15463 {
15464 arg3 = &temp3;
15465 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15466 }
15467 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15468 if (!SWIG_IsOK(ecode4)) {
15469 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15470 }
15471 arg4 = static_cast< size_t >(val4);
15472 {
15473 PyThreadState* __tstate = wxPyBeginAllowThreads();
15474 ((wxPyVListBox const *)arg1)->OnDrawSeparator(*arg2,*arg3,arg4);
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
15478 resultobj = SWIG_Py_Void();
15479 return resultobj;
15480 fail:
15481 return NULL;
15482 }
15483
15484
15485 SWIGINTERN PyObject *_wrap_VListBox_OnDrawBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15486 PyObject *resultobj = 0;
15487 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
15488 wxDC *arg2 = 0 ;
15489 wxRect *arg3 = 0 ;
15490 size_t arg4 ;
15491 void *argp1 = 0 ;
15492 int res1 = 0 ;
15493 void *argp2 = 0 ;
15494 int res2 = 0 ;
15495 wxRect temp3 ;
15496 size_t val4 ;
15497 int ecode4 = 0 ;
15498 PyObject * obj0 = 0 ;
15499 PyObject * obj1 = 0 ;
15500 PyObject * obj2 = 0 ;
15501 PyObject * obj3 = 0 ;
15502 char * kwnames[] = {
15503 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15504 };
15505
15506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:VListBox_OnDrawBackground",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyVListBox, 0 | 0 );
15508 if (!SWIG_IsOK(res1)) {
15509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15510 }
15511 arg1 = reinterpret_cast< wxPyVListBox * >(argp1);
15512 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxDC, 0 );
15513 if (!SWIG_IsOK(res2)) {
15514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15515 }
15516 if (!argp2) {
15517 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15518 }
15519 arg2 = reinterpret_cast< wxDC * >(argp2);
15520 {
15521 arg3 = &temp3;
15522 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
15523 }
15524 ecode4 = SWIG_AsVal_size_t(obj3, &val4);
15525 if (!SWIG_IsOK(ecode4)) {
15526 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15527 }
15528 arg4 = static_cast< size_t >(val4);
15529 {
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 ((wxPyVListBox const *)arg1)->OnDrawBackground(*arg2,(wxRect const &)*arg3,arg4);
15532 wxPyEndAllowThreads(__tstate);
15533 if (PyErr_Occurred()) SWIG_fail;
15534 }
15535 resultobj = SWIG_Py_Void();
15536 return resultobj;
15537 fail:
15538 return NULL;
15539 }
15540
15541
15542 SWIGINTERN PyObject *VListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15543 PyObject *obj;
15544 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15545 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox, SWIG_NewClientData(obj));
15546 return SWIG_Py_Void();
15547 }
15548
15549 SWIGINTERN PyObject *VListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15550 return SWIG_Python_InitShadowInstance(args);
15551 }
15552
15553 SWIGINTERN PyObject *_wrap_new_HtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15554 PyObject *resultobj = 0;
15555 wxWindow *arg1 = (wxWindow *) 0 ;
15556 int arg2 = (int) wxID_ANY ;
15557 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15558 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15559 wxSize const &arg4_defvalue = wxDefaultSize ;
15560 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15561 long arg5 = (long) 0 ;
15562 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
15563 wxString *arg6 = (wxString *) &arg6_defvalue ;
15564 wxPyHtmlListBox *result = 0 ;
15565 void *argp1 = 0 ;
15566 int res1 = 0 ;
15567 int val2 ;
15568 int ecode2 = 0 ;
15569 wxPoint temp3 ;
15570 wxSize temp4 ;
15571 long val5 ;
15572 int ecode5 = 0 ;
15573 bool temp6 = false ;
15574 PyObject * obj0 = 0 ;
15575 PyObject * obj1 = 0 ;
15576 PyObject * obj2 = 0 ;
15577 PyObject * obj3 = 0 ;
15578 PyObject * obj4 = 0 ;
15579 PyObject * obj5 = 0 ;
15580 char * kwnames[] = {
15581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15582 };
15583
15584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
15585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
15586 if (!SWIG_IsOK(res1)) {
15587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15588 }
15589 arg1 = reinterpret_cast< wxWindow * >(argp1);
15590 if (obj1) {
15591 ecode2 = SWIG_AsVal_int(obj1, &val2);
15592 if (!SWIG_IsOK(ecode2)) {
15593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15594 }
15595 arg2 = static_cast< int >(val2);
15596 }
15597 if (obj2) {
15598 {
15599 arg3 = &temp3;
15600 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15601 }
15602 }
15603 if (obj3) {
15604 {
15605 arg4 = &temp4;
15606 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15607 }
15608 }
15609 if (obj4) {
15610 ecode5 = SWIG_AsVal_long(obj4, &val5);
15611 if (!SWIG_IsOK(ecode5)) {
15612 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15613 }
15614 arg5 = static_cast< long >(val5);
15615 }
15616 if (obj5) {
15617 {
15618 arg6 = wxString_in_helper(obj5);
15619 if (arg6 == NULL) SWIG_fail;
15620 temp6 = true;
15621 }
15622 }
15623 {
15624 if (!wxPyCheckForApp()) SWIG_fail;
15625 PyThreadState* __tstate = wxPyBeginAllowThreads();
15626 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_NEW | 0 );
15631 {
15632 if (temp6)
15633 delete arg6;
15634 }
15635 return resultobj;
15636 fail:
15637 {
15638 if (temp6)
15639 delete arg6;
15640 }
15641 return NULL;
15642 }
15643
15644
15645 SWIGINTERN PyObject *_wrap_new_PreHtmlListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15646 PyObject *resultobj = 0;
15647 wxPyHtmlListBox *result = 0 ;
15648
15649 if (!SWIG_Python_UnpackTuple(args,"new_PreHtmlListBox",0,0,0)) SWIG_fail;
15650 {
15651 if (!wxPyCheckForApp()) SWIG_fail;
15652 PyThreadState* __tstate = wxPyBeginAllowThreads();
15653 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
15654 wxPyEndAllowThreads(__tstate);
15655 if (PyErr_Occurred()) SWIG_fail;
15656 }
15657 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyHtmlListBox, SWIG_POINTER_OWN | 0 );
15658 return resultobj;
15659 fail:
15660 return NULL;
15661 }
15662
15663
15664 SWIGINTERN PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15665 PyObject *resultobj = 0;
15666 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15667 PyObject *arg2 = (PyObject *) 0 ;
15668 PyObject *arg3 = (PyObject *) 0 ;
15669 void *argp1 = 0 ;
15670 int res1 = 0 ;
15671 PyObject * obj0 = 0 ;
15672 PyObject * obj1 = 0 ;
15673 PyObject * obj2 = 0 ;
15674 char * kwnames[] = {
15675 (char *) "self",(char *) "self",(char *) "_class", NULL
15676 };
15677
15678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15680 if (!SWIG_IsOK(res1)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15682 }
15683 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15684 arg2 = obj1;
15685 arg3 = obj2;
15686 {
15687 PyThreadState* __tstate = wxPyBeginAllowThreads();
15688 (arg1)->_setCallbackInfo(arg2,arg3);
15689 wxPyEndAllowThreads(__tstate);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 }
15692 resultobj = SWIG_Py_Void();
15693 return resultobj;
15694 fail:
15695 return NULL;
15696 }
15697
15698
15699 SWIGINTERN PyObject *_wrap_HtmlListBox_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj = 0;
15701 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15702 wxWindow *arg2 = (wxWindow *) 0 ;
15703 int arg3 = (int) wxID_ANY ;
15704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15706 wxSize const &arg5_defvalue = wxDefaultSize ;
15707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15708 long arg6 = (long) 0 ;
15709 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
15710 wxString *arg7 = (wxString *) &arg7_defvalue ;
15711 bool result;
15712 void *argp1 = 0 ;
15713 int res1 = 0 ;
15714 void *argp2 = 0 ;
15715 int res2 = 0 ;
15716 int val3 ;
15717 int ecode3 = 0 ;
15718 wxPoint temp4 ;
15719 wxSize temp5 ;
15720 long val6 ;
15721 int ecode6 = 0 ;
15722 bool temp7 = false ;
15723 PyObject * obj0 = 0 ;
15724 PyObject * obj1 = 0 ;
15725 PyObject * obj2 = 0 ;
15726 PyObject * obj3 = 0 ;
15727 PyObject * obj4 = 0 ;
15728 PyObject * obj5 = 0 ;
15729 PyObject * obj6 = 0 ;
15730 char * kwnames[] = {
15731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15732 };
15733
15734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
15735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15736 if (!SWIG_IsOK(res1)) {
15737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15738 }
15739 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15740 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
15741 if (!SWIG_IsOK(res2)) {
15742 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15743 }
15744 arg2 = reinterpret_cast< wxWindow * >(argp2);
15745 if (obj2) {
15746 ecode3 = SWIG_AsVal_int(obj2, &val3);
15747 if (!SWIG_IsOK(ecode3)) {
15748 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15749 }
15750 arg3 = static_cast< int >(val3);
15751 }
15752 if (obj3) {
15753 {
15754 arg4 = &temp4;
15755 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15756 }
15757 }
15758 if (obj4) {
15759 {
15760 arg5 = &temp5;
15761 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15762 }
15763 }
15764 if (obj5) {
15765 ecode6 = SWIG_AsVal_long(obj5, &val6);
15766 if (!SWIG_IsOK(ecode6)) {
15767 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15768 }
15769 arg6 = static_cast< long >(val6);
15770 }
15771 if (obj6) {
15772 {
15773 arg7 = wxString_in_helper(obj6);
15774 if (arg7 == NULL) SWIG_fail;
15775 temp7 = true;
15776 }
15777 }
15778 {
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15781 wxPyEndAllowThreads(__tstate);
15782 if (PyErr_Occurred()) SWIG_fail;
15783 }
15784 {
15785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15786 }
15787 {
15788 if (temp7)
15789 delete arg7;
15790 }
15791 return resultobj;
15792 fail:
15793 {
15794 if (temp7)
15795 delete arg7;
15796 }
15797 return NULL;
15798 }
15799
15800
15801 SWIGINTERN PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15802 PyObject *resultobj = 0;
15803 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15804 size_t arg2 ;
15805 void *argp1 = 0 ;
15806 int res1 = 0 ;
15807 size_t val2 ;
15808 int ecode2 = 0 ;
15809 PyObject * obj0 = 0 ;
15810 PyObject * obj1 = 0 ;
15811 char * kwnames[] = {
15812 (char *) "self",(char *) "count", NULL
15813 };
15814
15815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) SWIG_fail;
15816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15817 if (!SWIG_IsOK(res1)) {
15818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15819 }
15820 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15821 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15822 if (!SWIG_IsOK(ecode2)) {
15823 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15824 }
15825 arg2 = static_cast< size_t >(val2);
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 (arg1)->SetItemCount(arg2);
15829 wxPyEndAllowThreads(__tstate);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 }
15832 resultobj = SWIG_Py_Void();
15833 return resultobj;
15834 fail:
15835 return NULL;
15836 }
15837
15838
15839 SWIGINTERN PyObject *_wrap_HtmlListBox_GetFileSystem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15840 PyObject *resultobj = 0;
15841 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15842 wxFileSystem *result = 0 ;
15843 void *argp1 = 0 ;
15844 int res1 = 0 ;
15845 PyObject *swig_obj[1] ;
15846
15847 if (!args) SWIG_fail;
15848 swig_obj[0] = args;
15849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15850 if (!SWIG_IsOK(res1)) {
15851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15852 }
15853 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15854 {
15855 PyThreadState* __tstate = wxPyBeginAllowThreads();
15856 {
15857 wxFileSystem &_result_ref = (arg1)->GetFileSystem();
15858 result = (wxFileSystem *) &_result_ref;
15859 }
15860 wxPyEndAllowThreads(__tstate);
15861 if (PyErr_Occurred()) SWIG_fail;
15862 }
15863 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileSystem, 0 | 0 );
15864 return resultobj;
15865 fail:
15866 return NULL;
15867 }
15868
15869
15870 SWIGINTERN PyObject *_wrap_HtmlListBox_OnLinkClicked(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15871 PyObject *resultobj = 0;
15872 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
15873 size_t arg2 ;
15874 wxHtmlLinkInfo *arg3 = 0 ;
15875 void *argp1 = 0 ;
15876 int res1 = 0 ;
15877 size_t val2 ;
15878 int ecode2 = 0 ;
15879 void *argp3 = 0 ;
15880 int res3 = 0 ;
15881 PyObject * obj0 = 0 ;
15882 PyObject * obj1 = 0 ;
15883 PyObject * obj2 = 0 ;
15884 char * kwnames[] = {
15885 (char *) "self",(char *) "n",(char *) "link", NULL
15886 };
15887
15888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
15889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyHtmlListBox, 0 | 0 );
15890 if (!SWIG_IsOK(res1)) {
15891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15892 }
15893 arg1 = reinterpret_cast< wxPyHtmlListBox * >(argp1);
15894 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
15895 if (!SWIG_IsOK(ecode2)) {
15896 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15897 }
15898 arg2 = static_cast< size_t >(val2);
15899 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxHtmlLinkInfo, 0 | 0);
15900 if (!SWIG_IsOK(res3)) {
15901 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15902 }
15903 if (!argp3) {
15904 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15905 }
15906 arg3 = reinterpret_cast< wxHtmlLinkInfo * >(argp3);
15907 {
15908 PyThreadState* __tstate = wxPyBeginAllowThreads();
15909 (arg1)->OnLinkClicked(arg2,(wxHtmlLinkInfo const &)*arg3);
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
15913 resultobj = SWIG_Py_Void();
15914 return resultobj;
15915 fail:
15916 return NULL;
15917 }
15918
15919
15920 SWIGINTERN PyObject *HtmlListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15921 PyObject *obj;
15922 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
15923 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox, SWIG_NewClientData(obj));
15924 return SWIG_Py_Void();
15925 }
15926
15927 SWIGINTERN PyObject *HtmlListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15928 return SWIG_Python_InitShadowInstance(args);
15929 }
15930
15931 SWIGINTERN PyObject *_wrap_new_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15932 PyObject *resultobj = 0;
15933 wxPyTaskBarIcon *result = 0 ;
15934
15935 if (!SWIG_Python_UnpackTuple(args,"new_TaskBarIcon",0,0,0)) SWIG_fail;
15936 {
15937 if (!wxPyCheckForApp()) SWIG_fail;
15938 PyThreadState* __tstate = wxPyBeginAllowThreads();
15939 result = (wxPyTaskBarIcon *)new wxPyTaskBarIcon();
15940 wxPyEndAllowThreads(__tstate);
15941 if (PyErr_Occurred()) SWIG_fail;
15942 }
15943 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_NEW | 0 );
15944 return resultobj;
15945 fail:
15946 return NULL;
15947 }
15948
15949
15950 SWIGINTERN PyObject *_wrap_delete_TaskBarIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
15951 PyObject *resultobj = 0;
15952 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15953 void *argp1 = 0 ;
15954 int res1 = 0 ;
15955 PyObject *swig_obj[1] ;
15956
15957 if (!args) SWIG_fail;
15958 swig_obj[0] = args;
15959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, SWIG_POINTER_DISOWN | 0 );
15960 if (!SWIG_IsOK(res1)) {
15961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15962 }
15963 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 delete arg1;
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 resultobj = SWIG_Py_Void();
15972 return resultobj;
15973 fail:
15974 return NULL;
15975 }
15976
15977
15978 SWIGINTERN PyObject *_wrap_TaskBarIcon__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
15979 PyObject *resultobj = 0;
15980 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
15981 PyObject *arg2 = (PyObject *) 0 ;
15982 PyObject *arg3 = (PyObject *) 0 ;
15983 int arg4 ;
15984 void *argp1 = 0 ;
15985 int res1 = 0 ;
15986 int val4 ;
15987 int ecode4 = 0 ;
15988 PyObject * obj0 = 0 ;
15989 PyObject * obj1 = 0 ;
15990 PyObject * obj2 = 0 ;
15991 PyObject * obj3 = 0 ;
15992 char * kwnames[] = {
15993 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15994 };
15995
15996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
15997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
15998 if (!SWIG_IsOK(res1)) {
15999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16000 }
16001 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16002 arg2 = obj1;
16003 arg3 = obj2;
16004 ecode4 = SWIG_AsVal_int(obj3, &val4);
16005 if (!SWIG_IsOK(ecode4)) {
16006 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16007 }
16008 arg4 = static_cast< int >(val4);
16009 {
16010 PyThreadState* __tstate = wxPyBeginAllowThreads();
16011 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
16012 wxPyEndAllowThreads(__tstate);
16013 if (PyErr_Occurred()) SWIG_fail;
16014 }
16015 resultobj = SWIG_Py_Void();
16016 return resultobj;
16017 fail:
16018 return NULL;
16019 }
16020
16021
16022 SWIGINTERN PyObject *_wrap_TaskBarIcon_Destroy(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16023 PyObject *resultobj = 0;
16024 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16025 void *argp1 = 0 ;
16026 int res1 = 0 ;
16027 PyObject *swig_obj[1] ;
16028
16029 if (!args) SWIG_fail;
16030 swig_obj[0] = args;
16031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16032 if (!SWIG_IsOK(res1)) {
16033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16034 }
16035 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16036 {
16037 PyThreadState* __tstate = wxPyBeginAllowThreads();
16038 wxPyTaskBarIcon_Destroy(arg1);
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 resultobj = SWIG_Py_Void();
16043 return resultobj;
16044 fail:
16045 return NULL;
16046 }
16047
16048
16049 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16050 PyObject *resultobj = 0;
16051 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16052 bool result;
16053 void *argp1 = 0 ;
16054 int res1 = 0 ;
16055 PyObject *swig_obj[1] ;
16056
16057 if (!args) SWIG_fail;
16058 swig_obj[0] = args;
16059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16060 if (!SWIG_IsOK(res1)) {
16061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16062 }
16063 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsOk();
16067 wxPyEndAllowThreads(__tstate);
16068 if (PyErr_Occurred()) SWIG_fail;
16069 }
16070 {
16071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16072 }
16073 return resultobj;
16074 fail:
16075 return NULL;
16076 }
16077
16078
16079 SWIGINTERN PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16080 PyObject *resultobj = 0;
16081 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16082 bool result;
16083 void *argp1 = 0 ;
16084 int res1 = 0 ;
16085 PyObject *swig_obj[1] ;
16086
16087 if (!args) SWIG_fail;
16088 swig_obj[0] = args;
16089 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16090 if (!SWIG_IsOK(res1)) {
16091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16092 }
16093 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 result = (bool)((wxPyTaskBarIcon const *)arg1)->IsIconInstalled();
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 {
16101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16102 }
16103 return resultobj;
16104 fail:
16105 return NULL;
16106 }
16107
16108
16109 SWIGINTERN PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16110 PyObject *resultobj = 0;
16111 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16112 wxIcon *arg2 = 0 ;
16113 wxString const &arg3_defvalue = wxPyEmptyString ;
16114 wxString *arg3 = (wxString *) &arg3_defvalue ;
16115 bool result;
16116 void *argp1 = 0 ;
16117 int res1 = 0 ;
16118 void *argp2 = 0 ;
16119 int res2 = 0 ;
16120 bool temp3 = false ;
16121 PyObject * obj0 = 0 ;
16122 PyObject * obj1 = 0 ;
16123 PyObject * obj2 = 0 ;
16124 char * kwnames[] = {
16125 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16126 };
16127
16128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16130 if (!SWIG_IsOK(res1)) {
16131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16132 }
16133 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16134 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
16135 if (!SWIG_IsOK(res2)) {
16136 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16137 }
16138 if (!argp2) {
16139 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16140 }
16141 arg2 = reinterpret_cast< wxIcon * >(argp2);
16142 if (obj2) {
16143 {
16144 arg3 = wxString_in_helper(obj2);
16145 if (arg3 == NULL) SWIG_fail;
16146 temp3 = true;
16147 }
16148 }
16149 {
16150 PyThreadState* __tstate = wxPyBeginAllowThreads();
16151 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
16152 wxPyEndAllowThreads(__tstate);
16153 if (PyErr_Occurred()) SWIG_fail;
16154 }
16155 {
16156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16157 }
16158 {
16159 if (temp3)
16160 delete arg3;
16161 }
16162 return resultobj;
16163 fail:
16164 {
16165 if (temp3)
16166 delete arg3;
16167 }
16168 return NULL;
16169 }
16170
16171
16172 SWIGINTERN PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16173 PyObject *resultobj = 0;
16174 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16175 bool result;
16176 void *argp1 = 0 ;
16177 int res1 = 0 ;
16178 PyObject *swig_obj[1] ;
16179
16180 if (!args) SWIG_fail;
16181 swig_obj[0] = args;
16182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16183 if (!SWIG_IsOK(res1)) {
16184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16185 }
16186 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16187 {
16188 PyThreadState* __tstate = wxPyBeginAllowThreads();
16189 result = (bool)(arg1)->RemoveIcon();
16190 wxPyEndAllowThreads(__tstate);
16191 if (PyErr_Occurred()) SWIG_fail;
16192 }
16193 {
16194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16195 }
16196 return resultobj;
16197 fail:
16198 return NULL;
16199 }
16200
16201
16202 SWIGINTERN PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16203 PyObject *resultobj = 0;
16204 wxPyTaskBarIcon *arg1 = (wxPyTaskBarIcon *) 0 ;
16205 wxMenu *arg2 = (wxMenu *) 0 ;
16206 bool result;
16207 void *argp1 = 0 ;
16208 int res1 = 0 ;
16209 void *argp2 = 0 ;
16210 int res2 = 0 ;
16211 PyObject * obj0 = 0 ;
16212 PyObject * obj1 = 0 ;
16213 char * kwnames[] = {
16214 (char *) "self",(char *) "menu", NULL
16215 };
16216
16217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) SWIG_fail;
16218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTaskBarIcon, 0 | 0 );
16219 if (!SWIG_IsOK(res1)) {
16220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16221 }
16222 arg1 = reinterpret_cast< wxPyTaskBarIcon * >(argp1);
16223 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMenu, 0 | 0 );
16224 if (!SWIG_IsOK(res2)) {
16225 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16226 }
16227 arg2 = reinterpret_cast< wxMenu * >(argp2);
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 result = (bool)(arg1)->PopupMenu(arg2);
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 {
16235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16236 }
16237 return resultobj;
16238 fail:
16239 return NULL;
16240 }
16241
16242
16243 SWIGINTERN PyObject *TaskBarIcon_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16244 PyObject *obj;
16245 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16246 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon, SWIG_NewClientData(obj));
16247 return SWIG_Py_Void();
16248 }
16249
16250 SWIGINTERN PyObject *TaskBarIcon_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16251 return SWIG_Python_InitShadowInstance(args);
16252 }
16253
16254 SWIGINTERN PyObject *_wrap_new_TaskBarIconEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj = 0;
16256 wxEventType arg1 ;
16257 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
16258 wxTaskBarIconEvent *result = 0 ;
16259 int val1 ;
16260 int ecode1 = 0 ;
16261 void *argp2 = 0 ;
16262 int res2 = 0 ;
16263 PyObject * obj0 = 0 ;
16264 PyObject * obj1 = 0 ;
16265 char * kwnames[] = {
16266 (char *) "evtType",(char *) "tbIcon", NULL
16267 };
16268
16269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) SWIG_fail;
16270 ecode1 = SWIG_AsVal_int(obj0, &val1);
16271 if (!SWIG_IsOK(ecode1)) {
16272 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16273 }
16274 arg1 = static_cast< wxEventType >(val1);
16275 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxTaskBarIcon, 0 | 0 );
16276 if (!SWIG_IsOK(res2)) {
16277 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16278 }
16279 arg2 = reinterpret_cast< wxTaskBarIcon * >(argp2);
16280 {
16281 PyThreadState* __tstate = wxPyBeginAllowThreads();
16282 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
16283 wxPyEndAllowThreads(__tstate);
16284 if (PyErr_Occurred()) SWIG_fail;
16285 }
16286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTaskBarIconEvent, SWIG_POINTER_NEW | 0 );
16287 return resultobj;
16288 fail:
16289 return NULL;
16290 }
16291
16292
16293 SWIGINTERN PyObject *TaskBarIconEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16294 PyObject *obj;
16295 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16296 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent, SWIG_NewClientData(obj));
16297 return SWIG_Py_Void();
16298 }
16299
16300 SWIGINTERN PyObject *TaskBarIconEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16301 return SWIG_Python_InitShadowInstance(args);
16302 }
16303
16304 SWIGINTERN int FileSelectorPromptStr_set(PyObject *) {
16305 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorPromptStr is read-only.");
16306 return 1;
16307 }
16308
16309
16310 SWIGINTERN PyObject *FileSelectorPromptStr_get(void) {
16311 PyObject *pyobj = 0;
16312
16313 {
16314 #if wxUSE_UNICODE
16315 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16316 #else
16317 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
16318 #endif
16319 }
16320 return pyobj;
16321 }
16322
16323
16324 SWIGINTERN int DirSelectorPromptStr_set(PyObject *) {
16325 SWIG_Error(SWIG_AttributeError,"Variable DirSelectorPromptStr is read-only.");
16326 return 1;
16327 }
16328
16329
16330 SWIGINTERN PyObject *DirSelectorPromptStr_get(void) {
16331 PyObject *pyobj = 0;
16332
16333 {
16334 #if wxUSE_UNICODE
16335 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16336 #else
16337 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
16338 #endif
16339 }
16340 return pyobj;
16341 }
16342
16343
16344 SWIGINTERN int DirDialogNameStr_set(PyObject *) {
16345 SWIG_Error(SWIG_AttributeError,"Variable DirDialogNameStr is read-only.");
16346 return 1;
16347 }
16348
16349
16350 SWIGINTERN PyObject *DirDialogNameStr_get(void) {
16351 PyObject *pyobj = 0;
16352
16353 {
16354 #if wxUSE_UNICODE
16355 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16356 #else
16357 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
16358 #endif
16359 }
16360 return pyobj;
16361 }
16362
16363
16364 SWIGINTERN int FileSelectorDefaultWildcardStr_set(PyObject *) {
16365 SWIG_Error(SWIG_AttributeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
16366 return 1;
16367 }
16368
16369
16370 SWIGINTERN PyObject *FileSelectorDefaultWildcardStr_get(void) {
16371 PyObject *pyobj = 0;
16372
16373 {
16374 #if wxUSE_UNICODE
16375 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16376 #else
16377 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
16378 #endif
16379 }
16380 return pyobj;
16381 }
16382
16383
16384 SWIGINTERN int GetTextFromUserPromptStr_set(PyObject *) {
16385 SWIG_Error(SWIG_AttributeError,"Variable GetTextFromUserPromptStr is read-only.");
16386 return 1;
16387 }
16388
16389
16390 SWIGINTERN PyObject *GetTextFromUserPromptStr_get(void) {
16391 PyObject *pyobj = 0;
16392
16393 {
16394 #if wxUSE_UNICODE
16395 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16396 #else
16397 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
16398 #endif
16399 }
16400 return pyobj;
16401 }
16402
16403
16404 SWIGINTERN int MessageBoxCaptionStr_set(PyObject *) {
16405 SWIG_Error(SWIG_AttributeError,"Variable MessageBoxCaptionStr is read-only.");
16406 return 1;
16407 }
16408
16409
16410 SWIGINTERN PyObject *MessageBoxCaptionStr_get(void) {
16411 PyObject *pyobj = 0;
16412
16413 {
16414 #if wxUSE_UNICODE
16415 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16416 #else
16417 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
16418 #endif
16419 }
16420 return pyobj;
16421 }
16422
16423
16424 SWIGINTERN PyObject *_wrap_new_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16425 PyObject *resultobj = 0;
16426 wxColourData *result = 0 ;
16427
16428 if (!SWIG_Python_UnpackTuple(args,"new_ColourData",0,0,0)) SWIG_fail;
16429 {
16430 PyThreadState* __tstate = wxPyBeginAllowThreads();
16431 result = (wxColourData *)new wxColourData();
16432 wxPyEndAllowThreads(__tstate);
16433 if (PyErr_Occurred()) SWIG_fail;
16434 }
16435 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, SWIG_POINTER_NEW | 0 );
16436 return resultobj;
16437 fail:
16438 return NULL;
16439 }
16440
16441
16442 SWIGINTERN PyObject *_wrap_delete_ColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16443 PyObject *resultobj = 0;
16444 wxColourData *arg1 = (wxColourData *) 0 ;
16445 void *argp1 = 0 ;
16446 int res1 = 0 ;
16447 PyObject *swig_obj[1] ;
16448
16449 if (!args) SWIG_fail;
16450 swig_obj[0] = args;
16451 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, SWIG_POINTER_DISOWN | 0 );
16452 if (!SWIG_IsOK(res1)) {
16453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16454 }
16455 arg1 = reinterpret_cast< wxColourData * >(argp1);
16456 {
16457 PyThreadState* __tstate = wxPyBeginAllowThreads();
16458 delete arg1;
16459
16460 wxPyEndAllowThreads(__tstate);
16461 if (PyErr_Occurred()) SWIG_fail;
16462 }
16463 resultobj = SWIG_Py_Void();
16464 return resultobj;
16465 fail:
16466 return NULL;
16467 }
16468
16469
16470 SWIGINTERN PyObject *_wrap_ColourData_GetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16471 PyObject *resultobj = 0;
16472 wxColourData *arg1 = (wxColourData *) 0 ;
16473 bool result;
16474 void *argp1 = 0 ;
16475 int res1 = 0 ;
16476 PyObject *swig_obj[1] ;
16477
16478 if (!args) SWIG_fail;
16479 swig_obj[0] = args;
16480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16481 if (!SWIG_IsOK(res1)) {
16482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16483 }
16484 arg1 = reinterpret_cast< wxColourData * >(argp1);
16485 {
16486 PyThreadState* __tstate = wxPyBeginAllowThreads();
16487 result = (bool)(arg1)->GetChooseFull();
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 {
16492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16493 }
16494 return resultobj;
16495 fail:
16496 return NULL;
16497 }
16498
16499
16500 SWIGINTERN PyObject *_wrap_ColourData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16501 PyObject *resultobj = 0;
16502 wxColourData *arg1 = (wxColourData *) 0 ;
16503 wxColour result;
16504 void *argp1 = 0 ;
16505 int res1 = 0 ;
16506 PyObject *swig_obj[1] ;
16507
16508 if (!args) SWIG_fail;
16509 swig_obj[0] = args;
16510 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16511 if (!SWIG_IsOK(res1)) {
16512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16513 }
16514 arg1 = reinterpret_cast< wxColourData * >(argp1);
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 result = (arg1)->GetColour();
16518 wxPyEndAllowThreads(__tstate);
16519 if (PyErr_Occurred()) SWIG_fail;
16520 }
16521 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16522 return resultobj;
16523 fail:
16524 return NULL;
16525 }
16526
16527
16528 SWIGINTERN PyObject *_wrap_ColourData_GetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16529 PyObject *resultobj = 0;
16530 wxColourData *arg1 = (wxColourData *) 0 ;
16531 int arg2 ;
16532 wxColour result;
16533 void *argp1 = 0 ;
16534 int res1 = 0 ;
16535 int val2 ;
16536 int ecode2 = 0 ;
16537 PyObject * obj0 = 0 ;
16538 PyObject * obj1 = 0 ;
16539 char * kwnames[] = {
16540 (char *) "self",(char *) "i", NULL
16541 };
16542
16543 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) SWIG_fail;
16544 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16545 if (!SWIG_IsOK(res1)) {
16546 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16547 }
16548 arg1 = reinterpret_cast< wxColourData * >(argp1);
16549 ecode2 = SWIG_AsVal_int(obj1, &val2);
16550 if (!SWIG_IsOK(ecode2)) {
16551 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16552 }
16553 arg2 = static_cast< int >(val2);
16554 {
16555 PyThreadState* __tstate = wxPyBeginAllowThreads();
16556 result = (arg1)->GetCustomColour(arg2);
16557 wxPyEndAllowThreads(__tstate);
16558 if (PyErr_Occurred()) SWIG_fail;
16559 }
16560 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16561 return resultobj;
16562 fail:
16563 return NULL;
16564 }
16565
16566
16567 SWIGINTERN PyObject *_wrap_ColourData_SetChooseFull(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16568 PyObject *resultobj = 0;
16569 wxColourData *arg1 = (wxColourData *) 0 ;
16570 int arg2 ;
16571 void *argp1 = 0 ;
16572 int res1 = 0 ;
16573 int val2 ;
16574 int ecode2 = 0 ;
16575 PyObject * obj0 = 0 ;
16576 PyObject * obj1 = 0 ;
16577 char * kwnames[] = {
16578 (char *) "self",(char *) "flag", NULL
16579 };
16580
16581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) SWIG_fail;
16582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16583 if (!SWIG_IsOK(res1)) {
16584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16585 }
16586 arg1 = reinterpret_cast< wxColourData * >(argp1);
16587 ecode2 = SWIG_AsVal_int(obj1, &val2);
16588 if (!SWIG_IsOK(ecode2)) {
16589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16590 }
16591 arg2 = static_cast< int >(val2);
16592 {
16593 PyThreadState* __tstate = wxPyBeginAllowThreads();
16594 (arg1)->SetChooseFull(arg2);
16595 wxPyEndAllowThreads(__tstate);
16596 if (PyErr_Occurred()) SWIG_fail;
16597 }
16598 resultobj = SWIG_Py_Void();
16599 return resultobj;
16600 fail:
16601 return NULL;
16602 }
16603
16604
16605 SWIGINTERN PyObject *_wrap_ColourData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16606 PyObject *resultobj = 0;
16607 wxColourData *arg1 = (wxColourData *) 0 ;
16608 wxColour *arg2 = 0 ;
16609 void *argp1 = 0 ;
16610 int res1 = 0 ;
16611 wxColour temp2 ;
16612 PyObject * obj0 = 0 ;
16613 PyObject * obj1 = 0 ;
16614 char * kwnames[] = {
16615 (char *) "self",(char *) "colour", NULL
16616 };
16617
16618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
16619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16620 if (!SWIG_IsOK(res1)) {
16621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16622 }
16623 arg1 = reinterpret_cast< wxColourData * >(argp1);
16624 {
16625 arg2 = &temp2;
16626 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16627 }
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 (arg1)->SetColour((wxColour const &)*arg2);
16631 wxPyEndAllowThreads(__tstate);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 }
16634 resultobj = SWIG_Py_Void();
16635 return resultobj;
16636 fail:
16637 return NULL;
16638 }
16639
16640
16641 SWIGINTERN PyObject *_wrap_ColourData_SetCustomColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16642 PyObject *resultobj = 0;
16643 wxColourData *arg1 = (wxColourData *) 0 ;
16644 int arg2 ;
16645 wxColour *arg3 = 0 ;
16646 void *argp1 = 0 ;
16647 int res1 = 0 ;
16648 int val2 ;
16649 int ecode2 = 0 ;
16650 wxColour temp3 ;
16651 PyObject * obj0 = 0 ;
16652 PyObject * obj1 = 0 ;
16653 PyObject * obj2 = 0 ;
16654 char * kwnames[] = {
16655 (char *) "self",(char *) "i",(char *) "colour", NULL
16656 };
16657
16658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxColourData, 0 | 0 );
16660 if (!SWIG_IsOK(res1)) {
16661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16662 }
16663 arg1 = reinterpret_cast< wxColourData * >(argp1);
16664 ecode2 = SWIG_AsVal_int(obj1, &val2);
16665 if (!SWIG_IsOK(ecode2)) {
16666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16667 }
16668 arg2 = static_cast< int >(val2);
16669 {
16670 arg3 = &temp3;
16671 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
16672 }
16673 {
16674 PyThreadState* __tstate = wxPyBeginAllowThreads();
16675 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
16676 wxPyEndAllowThreads(__tstate);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 resultobj = SWIG_Py_Void();
16680 return resultobj;
16681 fail:
16682 return NULL;
16683 }
16684
16685
16686 SWIGINTERN PyObject *ColourData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16687 PyObject *obj;
16688 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16689 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData, SWIG_NewClientData(obj));
16690 return SWIG_Py_Void();
16691 }
16692
16693 SWIGINTERN PyObject *ColourData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16694 return SWIG_Python_InitShadowInstance(args);
16695 }
16696
16697 SWIGINTERN PyObject *_wrap_new_ColourDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16698 PyObject *resultobj = 0;
16699 wxWindow *arg1 = (wxWindow *) 0 ;
16700 wxColourData *arg2 = (wxColourData *) NULL ;
16701 wxColourDialog *result = 0 ;
16702 void *argp1 = 0 ;
16703 int res1 = 0 ;
16704 void *argp2 = 0 ;
16705 int res2 = 0 ;
16706 PyObject * obj0 = 0 ;
16707 PyObject * obj1 = 0 ;
16708 char * kwnames[] = {
16709 (char *) "parent",(char *) "data", NULL
16710 };
16711
16712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) SWIG_fail;
16713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16714 if (!SWIG_IsOK(res1)) {
16715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16716 }
16717 arg1 = reinterpret_cast< wxWindow * >(argp1);
16718 if (obj1) {
16719 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxColourData, 0 | 0 );
16720 if (!SWIG_IsOK(res2)) {
16721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16722 }
16723 arg2 = reinterpret_cast< wxColourData * >(argp2);
16724 }
16725 {
16726 if (!wxPyCheckForApp()) SWIG_fail;
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
16729 wxPyEndAllowThreads(__tstate);
16730 if (PyErr_Occurred()) SWIG_fail;
16731 }
16732 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourDialog, SWIG_POINTER_NEW | 0 );
16733 return resultobj;
16734 fail:
16735 return NULL;
16736 }
16737
16738
16739 SWIGINTERN PyObject *_wrap_ColourDialog_GetColourData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16740 PyObject *resultobj = 0;
16741 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
16742 wxColourData *result = 0 ;
16743 void *argp1 = 0 ;
16744 int res1 = 0 ;
16745 PyObject *swig_obj[1] ;
16746
16747 if (!args) SWIG_fail;
16748 swig_obj[0] = args;
16749 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxColourDialog, 0 | 0 );
16750 if (!SWIG_IsOK(res1)) {
16751 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16752 }
16753 arg1 = reinterpret_cast< wxColourDialog * >(argp1);
16754 {
16755 PyThreadState* __tstate = wxPyBeginAllowThreads();
16756 {
16757 wxColourData &_result_ref = (arg1)->GetColourData();
16758 result = (wxColourData *) &_result_ref;
16759 }
16760 wxPyEndAllowThreads(__tstate);
16761 if (PyErr_Occurred()) SWIG_fail;
16762 }
16763 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxColourData, 0 | 0 );
16764 return resultobj;
16765 fail:
16766 return NULL;
16767 }
16768
16769
16770 SWIGINTERN PyObject *ColourDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16771 PyObject *obj;
16772 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
16773 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog, SWIG_NewClientData(obj));
16774 return SWIG_Py_Void();
16775 }
16776
16777 SWIGINTERN PyObject *ColourDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16778 return SWIG_Python_InitShadowInstance(args);
16779 }
16780
16781 SWIGINTERN PyObject *_wrap_GetColourFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16782 PyObject *resultobj = 0;
16783 wxWindow *arg1 = (wxWindow *) (wxWindow *) NULL ;
16784 wxColour const &arg2_defvalue = wxNullColour ;
16785 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
16786 wxString const &arg3_defvalue = wxPyEmptyString ;
16787 wxString *arg3 = (wxString *) &arg3_defvalue ;
16788 wxColour result;
16789 void *argp1 = 0 ;
16790 int res1 = 0 ;
16791 wxColour temp2 ;
16792 bool temp3 = false ;
16793 PyObject * obj0 = 0 ;
16794 PyObject * obj1 = 0 ;
16795 PyObject * obj2 = 0 ;
16796 char * kwnames[] = {
16797 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16798 };
16799
16800 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetColourFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
16801 if (obj0) {
16802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16803 if (!SWIG_IsOK(res1)) {
16804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16805 }
16806 arg1 = reinterpret_cast< wxWindow * >(argp1);
16807 }
16808 if (obj1) {
16809 {
16810 arg2 = &temp2;
16811 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16812 }
16813 }
16814 if (obj2) {
16815 {
16816 arg3 = wxString_in_helper(obj2);
16817 if (arg3 == NULL) SWIG_fail;
16818 temp3 = true;
16819 }
16820 }
16821 {
16822 PyThreadState* __tstate = wxPyBeginAllowThreads();
16823 result = wxGetColourFromUser(arg1,(wxColour const &)*arg2,(wxString const &)*arg3);
16824 wxPyEndAllowThreads(__tstate);
16825 if (PyErr_Occurred()) SWIG_fail;
16826 }
16827 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
16828 {
16829 if (temp3)
16830 delete arg3;
16831 }
16832 return resultobj;
16833 fail:
16834 {
16835 if (temp3)
16836 delete arg3;
16837 }
16838 return NULL;
16839 }
16840
16841
16842 SWIGINTERN PyObject *_wrap_new_DirDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
16843 PyObject *resultobj = 0;
16844 wxWindow *arg1 = (wxWindow *) 0 ;
16845 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
16846 wxString *arg2 = (wxString *) &arg2_defvalue ;
16847 wxString const &arg3_defvalue = wxPyEmptyString ;
16848 wxString *arg3 = (wxString *) &arg3_defvalue ;
16849 long arg4 = (long) wxDD_DEFAULT_STYLE ;
16850 wxPoint const &arg5_defvalue = wxDefaultPosition ;
16851 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
16852 wxSize const &arg6_defvalue = wxDefaultSize ;
16853 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
16854 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
16855 wxString *arg7 = (wxString *) &arg7_defvalue ;
16856 wxDirDialog *result = 0 ;
16857 void *argp1 = 0 ;
16858 int res1 = 0 ;
16859 bool temp2 = false ;
16860 bool temp3 = false ;
16861 long val4 ;
16862 int ecode4 = 0 ;
16863 wxPoint temp5 ;
16864 wxSize temp6 ;
16865 bool temp7 = false ;
16866 PyObject * obj0 = 0 ;
16867 PyObject * obj1 = 0 ;
16868 PyObject * obj2 = 0 ;
16869 PyObject * obj3 = 0 ;
16870 PyObject * obj4 = 0 ;
16871 PyObject * obj5 = 0 ;
16872 PyObject * obj6 = 0 ;
16873 char * kwnames[] = {
16874 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16875 };
16876
16877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
16878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
16879 if (!SWIG_IsOK(res1)) {
16880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16881 }
16882 arg1 = reinterpret_cast< wxWindow * >(argp1);
16883 if (obj1) {
16884 {
16885 arg2 = wxString_in_helper(obj1);
16886 if (arg2 == NULL) SWIG_fail;
16887 temp2 = true;
16888 }
16889 }
16890 if (obj2) {
16891 {
16892 arg3 = wxString_in_helper(obj2);
16893 if (arg3 == NULL) SWIG_fail;
16894 temp3 = true;
16895 }
16896 }
16897 if (obj3) {
16898 ecode4 = SWIG_AsVal_long(obj3, &val4);
16899 if (!SWIG_IsOK(ecode4)) {
16900 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16901 }
16902 arg4 = static_cast< long >(val4);
16903 }
16904 if (obj4) {
16905 {
16906 arg5 = &temp5;
16907 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
16908 }
16909 }
16910 if (obj5) {
16911 {
16912 arg6 = &temp6;
16913 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
16914 }
16915 }
16916 if (obj6) {
16917 {
16918 arg7 = wxString_in_helper(obj6);
16919 if (arg7 == NULL) SWIG_fail;
16920 temp7 = true;
16921 }
16922 }
16923 {
16924 if (!wxPyCheckForApp()) SWIG_fail;
16925 PyThreadState* __tstate = wxPyBeginAllowThreads();
16926 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
16927 wxPyEndAllowThreads(__tstate);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDirDialog, SWIG_POINTER_NEW | 0 );
16931 {
16932 if (temp2)
16933 delete arg2;
16934 }
16935 {
16936 if (temp3)
16937 delete arg3;
16938 }
16939 {
16940 if (temp7)
16941 delete arg7;
16942 }
16943 return resultobj;
16944 fail:
16945 {
16946 if (temp2)
16947 delete arg2;
16948 }
16949 {
16950 if (temp3)
16951 delete arg3;
16952 }
16953 {
16954 if (temp7)
16955 delete arg7;
16956 }
16957 return NULL;
16958 }
16959
16960
16961 SWIGINTERN PyObject *_wrap_DirDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16962 PyObject *resultobj = 0;
16963 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16964 wxString result;
16965 void *argp1 = 0 ;
16966 int res1 = 0 ;
16967 PyObject *swig_obj[1] ;
16968
16969 if (!args) SWIG_fail;
16970 swig_obj[0] = args;
16971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
16972 if (!SWIG_IsOK(res1)) {
16973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16974 }
16975 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
16976 {
16977 PyThreadState* __tstate = wxPyBeginAllowThreads();
16978 result = (arg1)->GetPath();
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 {
16983 #if wxUSE_UNICODE
16984 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16985 #else
16986 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16987 #endif
16988 }
16989 return resultobj;
16990 fail:
16991 return NULL;
16992 }
16993
16994
16995 SWIGINTERN PyObject *_wrap_DirDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
16996 PyObject *resultobj = 0;
16997 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
16998 wxString result;
16999 void *argp1 = 0 ;
17000 int res1 = 0 ;
17001 PyObject *swig_obj[1] ;
17002
17003 if (!args) SWIG_fail;
17004 swig_obj[0] = args;
17005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17006 if (!SWIG_IsOK(res1)) {
17007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17008 }
17009 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17010 {
17011 PyThreadState* __tstate = wxPyBeginAllowThreads();
17012 result = (arg1)->GetMessage();
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 {
17017 #if wxUSE_UNICODE
17018 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17019 #else
17020 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17021 #endif
17022 }
17023 return resultobj;
17024 fail:
17025 return NULL;
17026 }
17027
17028
17029 SWIGINTERN PyObject *_wrap_DirDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17030 PyObject *resultobj = 0;
17031 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17032 wxString *arg2 = 0 ;
17033 void *argp1 = 0 ;
17034 int res1 = 0 ;
17035 bool temp2 = false ;
17036 PyObject * obj0 = 0 ;
17037 PyObject * obj1 = 0 ;
17038 char * kwnames[] = {
17039 (char *) "self",(char *) "message", NULL
17040 };
17041
17042 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17043 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17044 if (!SWIG_IsOK(res1)) {
17045 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17046 }
17047 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17048 {
17049 arg2 = wxString_in_helper(obj1);
17050 if (arg2 == NULL) SWIG_fail;
17051 temp2 = true;
17052 }
17053 {
17054 PyThreadState* __tstate = wxPyBeginAllowThreads();
17055 (arg1)->SetMessage((wxString const &)*arg2);
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 resultobj = SWIG_Py_Void();
17060 {
17061 if (temp2)
17062 delete arg2;
17063 }
17064 return resultobj;
17065 fail:
17066 {
17067 if (temp2)
17068 delete arg2;
17069 }
17070 return NULL;
17071 }
17072
17073
17074 SWIGINTERN PyObject *_wrap_DirDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17075 PyObject *resultobj = 0;
17076 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
17077 wxString *arg2 = 0 ;
17078 void *argp1 = 0 ;
17079 int res1 = 0 ;
17080 bool temp2 = false ;
17081 PyObject * obj0 = 0 ;
17082 PyObject * obj1 = 0 ;
17083 char * kwnames[] = {
17084 (char *) "self",(char *) "path", NULL
17085 };
17086
17087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDirDialog, 0 | 0 );
17089 if (!SWIG_IsOK(res1)) {
17090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17091 }
17092 arg1 = reinterpret_cast< wxDirDialog * >(argp1);
17093 {
17094 arg2 = wxString_in_helper(obj1);
17095 if (arg2 == NULL) SWIG_fail;
17096 temp2 = true;
17097 }
17098 {
17099 PyThreadState* __tstate = wxPyBeginAllowThreads();
17100 (arg1)->SetPath((wxString const &)*arg2);
17101 wxPyEndAllowThreads(__tstate);
17102 if (PyErr_Occurred()) SWIG_fail;
17103 }
17104 resultobj = SWIG_Py_Void();
17105 {
17106 if (temp2)
17107 delete arg2;
17108 }
17109 return resultobj;
17110 fail:
17111 {
17112 if (temp2)
17113 delete arg2;
17114 }
17115 return NULL;
17116 }
17117
17118
17119 SWIGINTERN PyObject *DirDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17120 PyObject *obj;
17121 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17122 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog, SWIG_NewClientData(obj));
17123 return SWIG_Py_Void();
17124 }
17125
17126 SWIGINTERN PyObject *DirDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17127 return SWIG_Python_InitShadowInstance(args);
17128 }
17129
17130 SWIGINTERN PyObject *_wrap_new_FileDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj = 0;
17132 wxWindow *arg1 = (wxWindow *) 0 ;
17133 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
17134 wxString *arg2 = (wxString *) &arg2_defvalue ;
17135 wxString const &arg3_defvalue = wxPyEmptyString ;
17136 wxString *arg3 = (wxString *) &arg3_defvalue ;
17137 wxString const &arg4_defvalue = wxPyEmptyString ;
17138 wxString *arg4 = (wxString *) &arg4_defvalue ;
17139 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
17140 wxString *arg5 = (wxString *) &arg5_defvalue ;
17141 long arg6 = (long) wxFD_DEFAULT_STYLE ;
17142 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17143 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17144 wxFileDialog *result = 0 ;
17145 void *argp1 = 0 ;
17146 int res1 = 0 ;
17147 bool temp2 = false ;
17148 bool temp3 = false ;
17149 bool temp4 = false ;
17150 bool temp5 = false ;
17151 long val6 ;
17152 int ecode6 = 0 ;
17153 wxPoint temp7 ;
17154 PyObject * obj0 = 0 ;
17155 PyObject * obj1 = 0 ;
17156 PyObject * obj2 = 0 ;
17157 PyObject * obj3 = 0 ;
17158 PyObject * obj4 = 0 ;
17159 PyObject * obj5 = 0 ;
17160 PyObject * obj6 = 0 ;
17161 char * kwnames[] = {
17162 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17163 };
17164
17165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
17166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17167 if (!SWIG_IsOK(res1)) {
17168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17169 }
17170 arg1 = reinterpret_cast< wxWindow * >(argp1);
17171 if (obj1) {
17172 {
17173 arg2 = wxString_in_helper(obj1);
17174 if (arg2 == NULL) SWIG_fail;
17175 temp2 = true;
17176 }
17177 }
17178 if (obj2) {
17179 {
17180 arg3 = wxString_in_helper(obj2);
17181 if (arg3 == NULL) SWIG_fail;
17182 temp3 = true;
17183 }
17184 }
17185 if (obj3) {
17186 {
17187 arg4 = wxString_in_helper(obj3);
17188 if (arg4 == NULL) SWIG_fail;
17189 temp4 = true;
17190 }
17191 }
17192 if (obj4) {
17193 {
17194 arg5 = wxString_in_helper(obj4);
17195 if (arg5 == NULL) SWIG_fail;
17196 temp5 = true;
17197 }
17198 }
17199 if (obj5) {
17200 ecode6 = SWIG_AsVal_long(obj5, &val6);
17201 if (!SWIG_IsOK(ecode6)) {
17202 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17203 }
17204 arg6 = static_cast< long >(val6);
17205 }
17206 if (obj6) {
17207 {
17208 arg7 = &temp7;
17209 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
17210 }
17211 }
17212 {
17213 if (!wxPyCheckForApp()) SWIG_fail;
17214 PyThreadState* __tstate = wxPyBeginAllowThreads();
17215 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFileDialog, SWIG_POINTER_NEW | 0 );
17220 {
17221 if (temp2)
17222 delete arg2;
17223 }
17224 {
17225 if (temp3)
17226 delete arg3;
17227 }
17228 {
17229 if (temp4)
17230 delete arg4;
17231 }
17232 {
17233 if (temp5)
17234 delete arg5;
17235 }
17236 return resultobj;
17237 fail:
17238 {
17239 if (temp2)
17240 delete arg2;
17241 }
17242 {
17243 if (temp3)
17244 delete arg3;
17245 }
17246 {
17247 if (temp4)
17248 delete arg4;
17249 }
17250 {
17251 if (temp5)
17252 delete arg5;
17253 }
17254 return NULL;
17255 }
17256
17257
17258 SWIGINTERN PyObject *_wrap_FileDialog_SetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17259 PyObject *resultobj = 0;
17260 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17261 wxString *arg2 = 0 ;
17262 void *argp1 = 0 ;
17263 int res1 = 0 ;
17264 bool temp2 = false ;
17265 PyObject * obj0 = 0 ;
17266 PyObject * obj1 = 0 ;
17267 char * kwnames[] = {
17268 (char *) "self",(char *) "message", NULL
17269 };
17270
17271 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) SWIG_fail;
17272 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17273 if (!SWIG_IsOK(res1)) {
17274 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17275 }
17276 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17277 {
17278 arg2 = wxString_in_helper(obj1);
17279 if (arg2 == NULL) SWIG_fail;
17280 temp2 = true;
17281 }
17282 {
17283 PyThreadState* __tstate = wxPyBeginAllowThreads();
17284 (arg1)->SetMessage((wxString const &)*arg2);
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 resultobj = SWIG_Py_Void();
17289 {
17290 if (temp2)
17291 delete arg2;
17292 }
17293 return resultobj;
17294 fail:
17295 {
17296 if (temp2)
17297 delete arg2;
17298 }
17299 return NULL;
17300 }
17301
17302
17303 SWIGINTERN PyObject *_wrap_FileDialog_SetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17304 PyObject *resultobj = 0;
17305 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17306 wxString *arg2 = 0 ;
17307 void *argp1 = 0 ;
17308 int res1 = 0 ;
17309 bool temp2 = false ;
17310 PyObject * obj0 = 0 ;
17311 PyObject * obj1 = 0 ;
17312 char * kwnames[] = {
17313 (char *) "self",(char *) "path", NULL
17314 };
17315
17316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) SWIG_fail;
17317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17318 if (!SWIG_IsOK(res1)) {
17319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17320 }
17321 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17322 {
17323 arg2 = wxString_in_helper(obj1);
17324 if (arg2 == NULL) SWIG_fail;
17325 temp2 = true;
17326 }
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 (arg1)->SetPath((wxString const &)*arg2);
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 resultobj = SWIG_Py_Void();
17334 {
17335 if (temp2)
17336 delete arg2;
17337 }
17338 return resultobj;
17339 fail:
17340 {
17341 if (temp2)
17342 delete arg2;
17343 }
17344 return NULL;
17345 }
17346
17347
17348 SWIGINTERN PyObject *_wrap_FileDialog_SetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17349 PyObject *resultobj = 0;
17350 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17351 wxString *arg2 = 0 ;
17352 void *argp1 = 0 ;
17353 int res1 = 0 ;
17354 bool temp2 = false ;
17355 PyObject * obj0 = 0 ;
17356 PyObject * obj1 = 0 ;
17357 char * kwnames[] = {
17358 (char *) "self",(char *) "dir", NULL
17359 };
17360
17361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) SWIG_fail;
17362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17363 if (!SWIG_IsOK(res1)) {
17364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17365 }
17366 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17367 {
17368 arg2 = wxString_in_helper(obj1);
17369 if (arg2 == NULL) SWIG_fail;
17370 temp2 = true;
17371 }
17372 {
17373 PyThreadState* __tstate = wxPyBeginAllowThreads();
17374 (arg1)->SetDirectory((wxString const &)*arg2);
17375 wxPyEndAllowThreads(__tstate);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 resultobj = SWIG_Py_Void();
17379 {
17380 if (temp2)
17381 delete arg2;
17382 }
17383 return resultobj;
17384 fail:
17385 {
17386 if (temp2)
17387 delete arg2;
17388 }
17389 return NULL;
17390 }
17391
17392
17393 SWIGINTERN PyObject *_wrap_FileDialog_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17394 PyObject *resultobj = 0;
17395 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17396 wxString *arg2 = 0 ;
17397 void *argp1 = 0 ;
17398 int res1 = 0 ;
17399 bool temp2 = false ;
17400 PyObject * obj0 = 0 ;
17401 PyObject * obj1 = 0 ;
17402 char * kwnames[] = {
17403 (char *) "self",(char *) "name", NULL
17404 };
17405
17406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
17407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17408 if (!SWIG_IsOK(res1)) {
17409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17410 }
17411 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17412 {
17413 arg2 = wxString_in_helper(obj1);
17414 if (arg2 == NULL) SWIG_fail;
17415 temp2 = true;
17416 }
17417 {
17418 PyThreadState* __tstate = wxPyBeginAllowThreads();
17419 (arg1)->SetFilename((wxString const &)*arg2);
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 resultobj = SWIG_Py_Void();
17424 {
17425 if (temp2)
17426 delete arg2;
17427 }
17428 return resultobj;
17429 fail:
17430 {
17431 if (temp2)
17432 delete arg2;
17433 }
17434 return NULL;
17435 }
17436
17437
17438 SWIGINTERN PyObject *_wrap_FileDialog_SetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17439 PyObject *resultobj = 0;
17440 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17441 wxString *arg2 = 0 ;
17442 void *argp1 = 0 ;
17443 int res1 = 0 ;
17444 bool temp2 = false ;
17445 PyObject * obj0 = 0 ;
17446 PyObject * obj1 = 0 ;
17447 char * kwnames[] = {
17448 (char *) "self",(char *) "wildCard", NULL
17449 };
17450
17451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) SWIG_fail;
17452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17453 if (!SWIG_IsOK(res1)) {
17454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17455 }
17456 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17457 {
17458 arg2 = wxString_in_helper(obj1);
17459 if (arg2 == NULL) SWIG_fail;
17460 temp2 = true;
17461 }
17462 {
17463 PyThreadState* __tstate = wxPyBeginAllowThreads();
17464 (arg1)->SetWildcard((wxString const &)*arg2);
17465 wxPyEndAllowThreads(__tstate);
17466 if (PyErr_Occurred()) SWIG_fail;
17467 }
17468 resultobj = SWIG_Py_Void();
17469 {
17470 if (temp2)
17471 delete arg2;
17472 }
17473 return resultobj;
17474 fail:
17475 {
17476 if (temp2)
17477 delete arg2;
17478 }
17479 return NULL;
17480 }
17481
17482
17483 SWIGINTERN PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17484 PyObject *resultobj = 0;
17485 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17486 int arg2 ;
17487 void *argp1 = 0 ;
17488 int res1 = 0 ;
17489 int val2 ;
17490 int ecode2 = 0 ;
17491 PyObject * obj0 = 0 ;
17492 PyObject * obj1 = 0 ;
17493 char * kwnames[] = {
17494 (char *) "self",(char *) "filterIndex", NULL
17495 };
17496
17497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) SWIG_fail;
17498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17499 if (!SWIG_IsOK(res1)) {
17500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17501 }
17502 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17503 ecode2 = SWIG_AsVal_int(obj1, &val2);
17504 if (!SWIG_IsOK(ecode2)) {
17505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17506 }
17507 arg2 = static_cast< int >(val2);
17508 {
17509 PyThreadState* __tstate = wxPyBeginAllowThreads();
17510 (arg1)->SetFilterIndex(arg2);
17511 wxPyEndAllowThreads(__tstate);
17512 if (PyErr_Occurred()) SWIG_fail;
17513 }
17514 resultobj = SWIG_Py_Void();
17515 return resultobj;
17516 fail:
17517 return NULL;
17518 }
17519
17520
17521 SWIGINTERN PyObject *_wrap_FileDialog_GetMessage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17522 PyObject *resultobj = 0;
17523 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17524 wxString result;
17525 void *argp1 = 0 ;
17526 int res1 = 0 ;
17527 PyObject *swig_obj[1] ;
17528
17529 if (!args) SWIG_fail;
17530 swig_obj[0] = args;
17531 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17532 if (!SWIG_IsOK(res1)) {
17533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17534 }
17535 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17536 {
17537 PyThreadState* __tstate = wxPyBeginAllowThreads();
17538 result = ((wxFileDialog const *)arg1)->GetMessage();
17539 wxPyEndAllowThreads(__tstate);
17540 if (PyErr_Occurred()) SWIG_fail;
17541 }
17542 {
17543 #if wxUSE_UNICODE
17544 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17545 #else
17546 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17547 #endif
17548 }
17549 return resultobj;
17550 fail:
17551 return NULL;
17552 }
17553
17554
17555 SWIGINTERN PyObject *_wrap_FileDialog_GetPath(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17556 PyObject *resultobj = 0;
17557 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17558 wxString result;
17559 void *argp1 = 0 ;
17560 int res1 = 0 ;
17561 PyObject *swig_obj[1] ;
17562
17563 if (!args) SWIG_fail;
17564 swig_obj[0] = args;
17565 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17566 if (!SWIG_IsOK(res1)) {
17567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17568 }
17569 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 result = ((wxFileDialog const *)arg1)->GetPath();
17573 wxPyEndAllowThreads(__tstate);
17574 if (PyErr_Occurred()) SWIG_fail;
17575 }
17576 {
17577 #if wxUSE_UNICODE
17578 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17579 #else
17580 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17581 #endif
17582 }
17583 return resultobj;
17584 fail:
17585 return NULL;
17586 }
17587
17588
17589 SWIGINTERN PyObject *_wrap_FileDialog_GetDirectory(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17590 PyObject *resultobj = 0;
17591 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17592 wxString result;
17593 void *argp1 = 0 ;
17594 int res1 = 0 ;
17595 PyObject *swig_obj[1] ;
17596
17597 if (!args) SWIG_fail;
17598 swig_obj[0] = args;
17599 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17600 if (!SWIG_IsOK(res1)) {
17601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17602 }
17603 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 result = ((wxFileDialog const *)arg1)->GetDirectory();
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 {
17611 #if wxUSE_UNICODE
17612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17613 #else
17614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17615 #endif
17616 }
17617 return resultobj;
17618 fail:
17619 return NULL;
17620 }
17621
17622
17623 SWIGINTERN PyObject *_wrap_FileDialog_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17624 PyObject *resultobj = 0;
17625 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17626 wxString result;
17627 void *argp1 = 0 ;
17628 int res1 = 0 ;
17629 PyObject *swig_obj[1] ;
17630
17631 if (!args) SWIG_fail;
17632 swig_obj[0] = args;
17633 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17634 if (!SWIG_IsOK(res1)) {
17635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17636 }
17637 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17638 {
17639 PyThreadState* __tstate = wxPyBeginAllowThreads();
17640 result = ((wxFileDialog const *)arg1)->GetFilename();
17641 wxPyEndAllowThreads(__tstate);
17642 if (PyErr_Occurred()) SWIG_fail;
17643 }
17644 {
17645 #if wxUSE_UNICODE
17646 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17647 #else
17648 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17649 #endif
17650 }
17651 return resultobj;
17652 fail:
17653 return NULL;
17654 }
17655
17656
17657 SWIGINTERN PyObject *_wrap_FileDialog_GetWildcard(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17658 PyObject *resultobj = 0;
17659 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17660 wxString result;
17661 void *argp1 = 0 ;
17662 int res1 = 0 ;
17663 PyObject *swig_obj[1] ;
17664
17665 if (!args) SWIG_fail;
17666 swig_obj[0] = args;
17667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17668 if (!SWIG_IsOK(res1)) {
17669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17670 }
17671 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17672 {
17673 PyThreadState* __tstate = wxPyBeginAllowThreads();
17674 result = ((wxFileDialog const *)arg1)->GetWildcard();
17675 wxPyEndAllowThreads(__tstate);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
17678 {
17679 #if wxUSE_UNICODE
17680 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17681 #else
17682 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17683 #endif
17684 }
17685 return resultobj;
17686 fail:
17687 return NULL;
17688 }
17689
17690
17691 SWIGINTERN PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17692 PyObject *resultobj = 0;
17693 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17694 int result;
17695 void *argp1 = 0 ;
17696 int res1 = 0 ;
17697 PyObject *swig_obj[1] ;
17698
17699 if (!args) SWIG_fail;
17700 swig_obj[0] = args;
17701 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17702 if (!SWIG_IsOK(res1)) {
17703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17704 }
17705 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17706 {
17707 PyThreadState* __tstate = wxPyBeginAllowThreads();
17708 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
17709 wxPyEndAllowThreads(__tstate);
17710 if (PyErr_Occurred()) SWIG_fail;
17711 }
17712 resultobj = SWIG_From_int(static_cast< int >(result));
17713 return resultobj;
17714 fail:
17715 return NULL;
17716 }
17717
17718
17719 SWIGINTERN PyObject *_wrap_FileDialog_GetFilenames(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17720 PyObject *resultobj = 0;
17721 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17722 PyObject *result = 0 ;
17723 void *argp1 = 0 ;
17724 int res1 = 0 ;
17725 PyObject *swig_obj[1] ;
17726
17727 if (!args) SWIG_fail;
17728 swig_obj[0] = args;
17729 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17730 if (!SWIG_IsOK(res1)) {
17731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17732 }
17733 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17734 {
17735 PyThreadState* __tstate = wxPyBeginAllowThreads();
17736 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
17737 wxPyEndAllowThreads(__tstate);
17738 if (PyErr_Occurred()) SWIG_fail;
17739 }
17740 resultobj = result;
17741 return resultobj;
17742 fail:
17743 return NULL;
17744 }
17745
17746
17747 SWIGINTERN PyObject *_wrap_FileDialog_GetPaths(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17748 PyObject *resultobj = 0;
17749 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
17750 PyObject *result = 0 ;
17751 void *argp1 = 0 ;
17752 int res1 = 0 ;
17753 PyObject *swig_obj[1] ;
17754
17755 if (!args) SWIG_fail;
17756 swig_obj[0] = args;
17757 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFileDialog, 0 | 0 );
17758 if (!SWIG_IsOK(res1)) {
17759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17760 }
17761 arg1 = reinterpret_cast< wxFileDialog * >(argp1);
17762 {
17763 PyThreadState* __tstate = wxPyBeginAllowThreads();
17764 result = (PyObject *)wxFileDialog_GetPaths(arg1);
17765 wxPyEndAllowThreads(__tstate);
17766 if (PyErr_Occurred()) SWIG_fail;
17767 }
17768 resultobj = result;
17769 return resultobj;
17770 fail:
17771 return NULL;
17772 }
17773
17774
17775 SWIGINTERN PyObject *FileDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17776 PyObject *obj;
17777 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17778 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog, SWIG_NewClientData(obj));
17779 return SWIG_Py_Void();
17780 }
17781
17782 SWIGINTERN PyObject *FileDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17783 return SWIG_Python_InitShadowInstance(args);
17784 }
17785
17786 SWIGINTERN PyObject *_wrap_new_MultiChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj = 0;
17788 wxWindow *arg1 = (wxWindow *) 0 ;
17789 wxString *arg2 = 0 ;
17790 wxString *arg3 = 0 ;
17791 int arg4 = (int) 0 ;
17792 wxString *arg5 = (wxString *) NULL ;
17793 long arg6 = (long) wxCHOICEDLG_STYLE ;
17794 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17795 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17796 wxMultiChoiceDialog *result = 0 ;
17797 void *argp1 = 0 ;
17798 int res1 = 0 ;
17799 bool temp2 = false ;
17800 bool temp3 = false ;
17801 long val6 ;
17802 int ecode6 = 0 ;
17803 wxPoint temp7 ;
17804 PyObject * obj0 = 0 ;
17805 PyObject * obj1 = 0 ;
17806 PyObject * obj2 = 0 ;
17807 PyObject * obj3 = 0 ;
17808 PyObject * obj4 = 0 ;
17809 PyObject * obj5 = 0 ;
17810 char * kwnames[] = {
17811 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17812 };
17813
17814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
17815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
17816 if (!SWIG_IsOK(res1)) {
17817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17818 }
17819 arg1 = reinterpret_cast< wxWindow * >(argp1);
17820 {
17821 arg2 = wxString_in_helper(obj1);
17822 if (arg2 == NULL) SWIG_fail;
17823 temp2 = true;
17824 }
17825 {
17826 arg3 = wxString_in_helper(obj2);
17827 if (arg3 == NULL) SWIG_fail;
17828 temp3 = true;
17829 }
17830 if (obj3) {
17831 {
17832 arg4 = PyList_Size(obj3);
17833 arg5 = wxString_LIST_helper(obj3);
17834 if (arg5 == NULL) SWIG_fail;
17835 }
17836 }
17837 if (obj4) {
17838 ecode6 = SWIG_AsVal_long(obj4, &val6);
17839 if (!SWIG_IsOK(ecode6)) {
17840 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17841 }
17842 arg6 = static_cast< long >(val6);
17843 }
17844 if (obj5) {
17845 {
17846 arg7 = &temp7;
17847 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
17848 }
17849 }
17850 {
17851 if (!wxPyCheckForApp()) SWIG_fail;
17852 PyThreadState* __tstate = wxPyBeginAllowThreads();
17853 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
17854 wxPyEndAllowThreads(__tstate);
17855 if (PyErr_Occurred()) SWIG_fail;
17856 }
17857 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMultiChoiceDialog, SWIG_POINTER_NEW | 0 );
17858 {
17859 if (temp2)
17860 delete arg2;
17861 }
17862 {
17863 if (temp3)
17864 delete arg3;
17865 }
17866 {
17867 if (arg5) delete [] arg5;
17868 }
17869 return resultobj;
17870 fail:
17871 {
17872 if (temp2)
17873 delete arg2;
17874 }
17875 {
17876 if (temp3)
17877 delete arg3;
17878 }
17879 {
17880 if (arg5) delete [] arg5;
17881 }
17882 return NULL;
17883 }
17884
17885
17886 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17887 PyObject *resultobj = 0;
17888 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17889 wxArrayInt *arg2 = 0 ;
17890 void *argp1 = 0 ;
17891 int res1 = 0 ;
17892 bool temp2 = false ;
17893 PyObject * obj0 = 0 ;
17894 PyObject * obj1 = 0 ;
17895 char * kwnames[] = {
17896 (char *) "self",(char *) "selections", NULL
17897 };
17898
17899 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) SWIG_fail;
17900 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17901 if (!SWIG_IsOK(res1)) {
17902 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17903 }
17904 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17905 {
17906 if (! PySequence_Check(obj1)) {
17907 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17908 SWIG_fail;
17909 }
17910 arg2 = new wxArrayInt;
17911 temp2 = true;
17912 int i, len=PySequence_Length(obj1);
17913 for (i=0; i<len; i++) {
17914 PyObject* item = PySequence_GetItem(obj1, i);
17915 PyObject* number = PyNumber_Int(item);
17916 if (!number) {
17917 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
17918 SWIG_fail;
17919 }
17920 arg2->Add(PyInt_AS_LONG(number));
17921 Py_DECREF(item);
17922 Py_DECREF(number);
17923 }
17924 }
17925 {
17926 PyThreadState* __tstate = wxPyBeginAllowThreads();
17927 (arg1)->SetSelections((wxArrayInt const &)*arg2);
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 resultobj = SWIG_Py_Void();
17932 {
17933 if (temp2) delete arg2;
17934 }
17935 return resultobj;
17936 fail:
17937 {
17938 if (temp2) delete arg2;
17939 }
17940 return NULL;
17941 }
17942
17943
17944 SWIGINTERN PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17945 PyObject *resultobj = 0;
17946 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
17947 PyObject *result = 0 ;
17948 void *argp1 = 0 ;
17949 int res1 = 0 ;
17950 PyObject *swig_obj[1] ;
17951
17952 if (!args) SWIG_fail;
17953 swig_obj[0] = args;
17954 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMultiChoiceDialog, 0 | 0 );
17955 if (!SWIG_IsOK(res1)) {
17956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17957 }
17958 arg1 = reinterpret_cast< wxMultiChoiceDialog * >(argp1);
17959 {
17960 PyThreadState* __tstate = wxPyBeginAllowThreads();
17961 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
17962 wxPyEndAllowThreads(__tstate);
17963 if (PyErr_Occurred()) SWIG_fail;
17964 }
17965 resultobj = result;
17966 return resultobj;
17967 fail:
17968 return NULL;
17969 }
17970
17971
17972 SWIGINTERN PyObject *MultiChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17973 PyObject *obj;
17974 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
17975 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog, SWIG_NewClientData(obj));
17976 return SWIG_Py_Void();
17977 }
17978
17979 SWIGINTERN PyObject *MultiChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
17980 return SWIG_Python_InitShadowInstance(args);
17981 }
17982
17983 SWIGINTERN PyObject *_wrap_new_SingleChoiceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
17984 PyObject *resultobj = 0;
17985 wxWindow *arg1 = (wxWindow *) 0 ;
17986 wxString *arg2 = 0 ;
17987 wxString *arg3 = 0 ;
17988 int arg4 ;
17989 wxString *arg5 = (wxString *) 0 ;
17990 long arg6 = (long) wxCHOICEDLG_STYLE ;
17991 wxPoint const &arg7_defvalue = wxDefaultPosition ;
17992 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
17993 wxSingleChoiceDialog *result = 0 ;
17994 void *argp1 = 0 ;
17995 int res1 = 0 ;
17996 bool temp2 = false ;
17997 bool temp3 = false ;
17998 long val6 ;
17999 int ecode6 = 0 ;
18000 wxPoint temp7 ;
18001 PyObject * obj0 = 0 ;
18002 PyObject * obj1 = 0 ;
18003 PyObject * obj2 = 0 ;
18004 PyObject * obj3 = 0 ;
18005 PyObject * obj4 = 0 ;
18006 PyObject * obj5 = 0 ;
18007 char * kwnames[] = {
18008 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18009 };
18010
18011 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18012 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18013 if (!SWIG_IsOK(res1)) {
18014 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18015 }
18016 arg1 = reinterpret_cast< wxWindow * >(argp1);
18017 {
18018 arg2 = wxString_in_helper(obj1);
18019 if (arg2 == NULL) SWIG_fail;
18020 temp2 = true;
18021 }
18022 {
18023 arg3 = wxString_in_helper(obj2);
18024 if (arg3 == NULL) SWIG_fail;
18025 temp3 = true;
18026 }
18027 {
18028 arg4 = PyList_Size(obj3);
18029 arg5 = wxString_LIST_helper(obj3);
18030 if (arg5 == NULL) SWIG_fail;
18031 }
18032 if (obj4) {
18033 ecode6 = SWIG_AsVal_long(obj4, &val6);
18034 if (!SWIG_IsOK(ecode6)) {
18035 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18036 }
18037 arg6 = static_cast< long >(val6);
18038 }
18039 if (obj5) {
18040 {
18041 arg7 = &temp7;
18042 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
18043 }
18044 }
18045 {
18046 if (!wxPyCheckForApp()) SWIG_fail;
18047 PyThreadState* __tstate = wxPyBeginAllowThreads();
18048 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
18049 wxPyEndAllowThreads(__tstate);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 }
18052 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSingleChoiceDialog, SWIG_POINTER_NEW | 0 );
18053 {
18054 if (temp2)
18055 delete arg2;
18056 }
18057 {
18058 if (temp3)
18059 delete arg3;
18060 }
18061 {
18062 if (arg5) delete [] arg5;
18063 }
18064 return resultobj;
18065 fail:
18066 {
18067 if (temp2)
18068 delete arg2;
18069 }
18070 {
18071 if (temp3)
18072 delete arg3;
18073 }
18074 {
18075 if (arg5) delete [] arg5;
18076 }
18077 return NULL;
18078 }
18079
18080
18081 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18082 PyObject *resultobj = 0;
18083 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18084 int result;
18085 void *argp1 = 0 ;
18086 int res1 = 0 ;
18087 PyObject *swig_obj[1] ;
18088
18089 if (!args) SWIG_fail;
18090 swig_obj[0] = args;
18091 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18092 if (!SWIG_IsOK(res1)) {
18093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18094 }
18095 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18096 {
18097 PyThreadState* __tstate = wxPyBeginAllowThreads();
18098 result = (int)(arg1)->GetSelection();
18099 wxPyEndAllowThreads(__tstate);
18100 if (PyErr_Occurred()) SWIG_fail;
18101 }
18102 resultobj = SWIG_From_int(static_cast< int >(result));
18103 return resultobj;
18104 fail:
18105 return NULL;
18106 }
18107
18108
18109 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18110 PyObject *resultobj = 0;
18111 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18112 wxString result;
18113 void *argp1 = 0 ;
18114 int res1 = 0 ;
18115 PyObject *swig_obj[1] ;
18116
18117 if (!args) SWIG_fail;
18118 swig_obj[0] = args;
18119 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18120 if (!SWIG_IsOK(res1)) {
18121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18122 }
18123 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18124 {
18125 PyThreadState* __tstate = wxPyBeginAllowThreads();
18126 result = (arg1)->GetStringSelection();
18127 wxPyEndAllowThreads(__tstate);
18128 if (PyErr_Occurred()) SWIG_fail;
18129 }
18130 {
18131 #if wxUSE_UNICODE
18132 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18133 #else
18134 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18135 #endif
18136 }
18137 return resultobj;
18138 fail:
18139 return NULL;
18140 }
18141
18142
18143 SWIGINTERN PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18144 PyObject *resultobj = 0;
18145 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
18146 int arg2 ;
18147 void *argp1 = 0 ;
18148 int res1 = 0 ;
18149 int val2 ;
18150 int ecode2 = 0 ;
18151 PyObject * obj0 = 0 ;
18152 PyObject * obj1 = 0 ;
18153 char * kwnames[] = {
18154 (char *) "self",(char *) "sel", NULL
18155 };
18156
18157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
18158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxSingleChoiceDialog, 0 | 0 );
18159 if (!SWIG_IsOK(res1)) {
18160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18161 }
18162 arg1 = reinterpret_cast< wxSingleChoiceDialog * >(argp1);
18163 ecode2 = SWIG_AsVal_int(obj1, &val2);
18164 if (!SWIG_IsOK(ecode2)) {
18165 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18166 }
18167 arg2 = static_cast< int >(val2);
18168 {
18169 PyThreadState* __tstate = wxPyBeginAllowThreads();
18170 (arg1)->SetSelection(arg2);
18171 wxPyEndAllowThreads(__tstate);
18172 if (PyErr_Occurred()) SWIG_fail;
18173 }
18174 resultobj = SWIG_Py_Void();
18175 return resultobj;
18176 fail:
18177 return NULL;
18178 }
18179
18180
18181 SWIGINTERN PyObject *SingleChoiceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18182 PyObject *obj;
18183 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18184 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog, SWIG_NewClientData(obj));
18185 return SWIG_Py_Void();
18186 }
18187
18188 SWIGINTERN PyObject *SingleChoiceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18189 return SWIG_Python_InitShadowInstance(args);
18190 }
18191
18192 SWIGINTERN PyObject *_wrap_new_TextEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18193 PyObject *resultobj = 0;
18194 wxWindow *arg1 = (wxWindow *) 0 ;
18195 wxString *arg2 = 0 ;
18196 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
18197 wxString *arg3 = (wxString *) &arg3_defvalue ;
18198 wxString const &arg4_defvalue = wxPyEmptyString ;
18199 wxString *arg4 = (wxString *) &arg4_defvalue ;
18200 long arg5 = (long) wxTextEntryDialogStyle ;
18201 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18202 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18203 wxTextEntryDialog *result = 0 ;
18204 void *argp1 = 0 ;
18205 int res1 = 0 ;
18206 bool temp2 = false ;
18207 bool temp3 = false ;
18208 bool temp4 = false ;
18209 long val5 ;
18210 int ecode5 = 0 ;
18211 wxPoint temp6 ;
18212 PyObject * obj0 = 0 ;
18213 PyObject * obj1 = 0 ;
18214 PyObject * obj2 = 0 ;
18215 PyObject * obj3 = 0 ;
18216 PyObject * obj4 = 0 ;
18217 PyObject * obj5 = 0 ;
18218 char * kwnames[] = {
18219 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18220 };
18221
18222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18224 if (!SWIG_IsOK(res1)) {
18225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18226 }
18227 arg1 = reinterpret_cast< wxWindow * >(argp1);
18228 {
18229 arg2 = wxString_in_helper(obj1);
18230 if (arg2 == NULL) SWIG_fail;
18231 temp2 = true;
18232 }
18233 if (obj2) {
18234 {
18235 arg3 = wxString_in_helper(obj2);
18236 if (arg3 == NULL) SWIG_fail;
18237 temp3 = true;
18238 }
18239 }
18240 if (obj3) {
18241 {
18242 arg4 = wxString_in_helper(obj3);
18243 if (arg4 == NULL) SWIG_fail;
18244 temp4 = true;
18245 }
18246 }
18247 if (obj4) {
18248 ecode5 = SWIG_AsVal_long(obj4, &val5);
18249 if (!SWIG_IsOK(ecode5)) {
18250 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18251 }
18252 arg5 = static_cast< long >(val5);
18253 }
18254 if (obj5) {
18255 {
18256 arg6 = &temp6;
18257 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18258 }
18259 }
18260 {
18261 if (!wxPyCheckForApp()) SWIG_fail;
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18264 wxPyEndAllowThreads(__tstate);
18265 if (PyErr_Occurred()) SWIG_fail;
18266 }
18267 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTextEntryDialog, SWIG_POINTER_NEW | 0 );
18268 {
18269 if (temp2)
18270 delete arg2;
18271 }
18272 {
18273 if (temp3)
18274 delete arg3;
18275 }
18276 {
18277 if (temp4)
18278 delete arg4;
18279 }
18280 return resultobj;
18281 fail:
18282 {
18283 if (temp2)
18284 delete arg2;
18285 }
18286 {
18287 if (temp3)
18288 delete arg3;
18289 }
18290 {
18291 if (temp4)
18292 delete arg4;
18293 }
18294 return NULL;
18295 }
18296
18297
18298 SWIGINTERN PyObject *_wrap_TextEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18299 PyObject *resultobj = 0;
18300 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18301 wxString result;
18302 void *argp1 = 0 ;
18303 int res1 = 0 ;
18304 PyObject *swig_obj[1] ;
18305
18306 if (!args) SWIG_fail;
18307 swig_obj[0] = args;
18308 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18309 if (!SWIG_IsOK(res1)) {
18310 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18311 }
18312 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18313 {
18314 PyThreadState* __tstate = wxPyBeginAllowThreads();
18315 result = (arg1)->GetValue();
18316 wxPyEndAllowThreads(__tstate);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 }
18319 {
18320 #if wxUSE_UNICODE
18321 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18322 #else
18323 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18324 #endif
18325 }
18326 return resultobj;
18327 fail:
18328 return NULL;
18329 }
18330
18331
18332 SWIGINTERN PyObject *_wrap_TextEntryDialog_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18333 PyObject *resultobj = 0;
18334 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
18335 wxString *arg2 = 0 ;
18336 void *argp1 = 0 ;
18337 int res1 = 0 ;
18338 bool temp2 = false ;
18339 PyObject * obj0 = 0 ;
18340 PyObject * obj1 = 0 ;
18341 char * kwnames[] = {
18342 (char *) "self",(char *) "value", NULL
18343 };
18344
18345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) SWIG_fail;
18346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTextEntryDialog, 0 | 0 );
18347 if (!SWIG_IsOK(res1)) {
18348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18349 }
18350 arg1 = reinterpret_cast< wxTextEntryDialog * >(argp1);
18351 {
18352 arg2 = wxString_in_helper(obj1);
18353 if (arg2 == NULL) SWIG_fail;
18354 temp2 = true;
18355 }
18356 {
18357 PyThreadState* __tstate = wxPyBeginAllowThreads();
18358 (arg1)->SetValue((wxString const &)*arg2);
18359 wxPyEndAllowThreads(__tstate);
18360 if (PyErr_Occurred()) SWIG_fail;
18361 }
18362 resultobj = SWIG_Py_Void();
18363 {
18364 if (temp2)
18365 delete arg2;
18366 }
18367 return resultobj;
18368 fail:
18369 {
18370 if (temp2)
18371 delete arg2;
18372 }
18373 return NULL;
18374 }
18375
18376
18377 SWIGINTERN PyObject *TextEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18378 PyObject *obj;
18379 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18380 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog, SWIG_NewClientData(obj));
18381 return SWIG_Py_Void();
18382 }
18383
18384 SWIGINTERN PyObject *TextEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18385 return SWIG_Python_InitShadowInstance(args);
18386 }
18387
18388 SWIGINTERN int GetPasswordFromUserPromptStr_set(PyObject *) {
18389 SWIG_Error(SWIG_AttributeError,"Variable GetPasswordFromUserPromptStr is read-only.");
18390 return 1;
18391 }
18392
18393
18394 SWIGINTERN PyObject *GetPasswordFromUserPromptStr_get(void) {
18395 PyObject *pyobj = 0;
18396
18397 {
18398 #if wxUSE_UNICODE
18399 pyobj = PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18400 #else
18401 pyobj = PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr)->c_str(), (&wxPyGetPasswordFromUserPromptStr)->Len());
18402 #endif
18403 }
18404 return pyobj;
18405 }
18406
18407
18408 SWIGINTERN PyObject *_wrap_new_PasswordEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18409 PyObject *resultobj = 0;
18410 wxWindow *arg1 = (wxWindow *) 0 ;
18411 wxString *arg2 = 0 ;
18412 wxString const &arg3_defvalue = wxPyGetPasswordFromUserPromptStr ;
18413 wxString *arg3 = (wxString *) &arg3_defvalue ;
18414 wxString const &arg4_defvalue = wxPyEmptyString ;
18415 wxString *arg4 = (wxString *) &arg4_defvalue ;
18416 long arg5 = (long) wxTextEntryDialogStyle ;
18417 wxPoint const &arg6_defvalue = wxDefaultPosition ;
18418 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
18419 wxPasswordEntryDialog *result = 0 ;
18420 void *argp1 = 0 ;
18421 int res1 = 0 ;
18422 bool temp2 = false ;
18423 bool temp3 = false ;
18424 bool temp4 = false ;
18425 long val5 ;
18426 int ecode5 = 0 ;
18427 wxPoint temp6 ;
18428 PyObject * obj0 = 0 ;
18429 PyObject * obj1 = 0 ;
18430 PyObject * obj2 = 0 ;
18431 PyObject * obj3 = 0 ;
18432 PyObject * obj4 = 0 ;
18433 PyObject * obj5 = 0 ;
18434 char * kwnames[] = {
18435 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18436 };
18437
18438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
18439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18440 if (!SWIG_IsOK(res1)) {
18441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18442 }
18443 arg1 = reinterpret_cast< wxWindow * >(argp1);
18444 {
18445 arg2 = wxString_in_helper(obj1);
18446 if (arg2 == NULL) SWIG_fail;
18447 temp2 = true;
18448 }
18449 if (obj2) {
18450 {
18451 arg3 = wxString_in_helper(obj2);
18452 if (arg3 == NULL) SWIG_fail;
18453 temp3 = true;
18454 }
18455 }
18456 if (obj3) {
18457 {
18458 arg4 = wxString_in_helper(obj3);
18459 if (arg4 == NULL) SWIG_fail;
18460 temp4 = true;
18461 }
18462 }
18463 if (obj4) {
18464 ecode5 = SWIG_AsVal_long(obj4, &val5);
18465 if (!SWIG_IsOK(ecode5)) {
18466 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18467 }
18468 arg5 = static_cast< long >(val5);
18469 }
18470 if (obj5) {
18471 {
18472 arg6 = &temp6;
18473 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
18474 }
18475 }
18476 {
18477 PyThreadState* __tstate = wxPyBeginAllowThreads();
18478 result = (wxPasswordEntryDialog *)new wxPasswordEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPasswordEntryDialog, SWIG_POINTER_NEW | 0 );
18483 {
18484 if (temp2)
18485 delete arg2;
18486 }
18487 {
18488 if (temp3)
18489 delete arg3;
18490 }
18491 {
18492 if (temp4)
18493 delete arg4;
18494 }
18495 return resultobj;
18496 fail:
18497 {
18498 if (temp2)
18499 delete arg2;
18500 }
18501 {
18502 if (temp3)
18503 delete arg3;
18504 }
18505 {
18506 if (temp4)
18507 delete arg4;
18508 }
18509 return NULL;
18510 }
18511
18512
18513 SWIGINTERN PyObject *PasswordEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18514 PyObject *obj;
18515 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18516 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog, SWIG_NewClientData(obj));
18517 return SWIG_Py_Void();
18518 }
18519
18520 SWIGINTERN PyObject *PasswordEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18521 return SWIG_Python_InitShadowInstance(args);
18522 }
18523
18524 SWIGINTERN PyObject *_wrap_new_NumberEntryDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18525 PyObject *resultobj = 0;
18526 wxWindow *arg1 = (wxWindow *) 0 ;
18527 wxString *arg2 = 0 ;
18528 wxString *arg3 = 0 ;
18529 wxString *arg4 = 0 ;
18530 long arg5 ;
18531 long arg6 ;
18532 long arg7 ;
18533 wxPoint const &arg8_defvalue = wxDefaultPosition ;
18534 wxPoint *arg8 = (wxPoint *) &arg8_defvalue ;
18535 wxNumberEntryDialog *result = 0 ;
18536 void *argp1 = 0 ;
18537 int res1 = 0 ;
18538 bool temp2 = false ;
18539 bool temp3 = false ;
18540 bool temp4 = false ;
18541 long val5 ;
18542 int ecode5 = 0 ;
18543 long val6 ;
18544 int ecode6 = 0 ;
18545 long val7 ;
18546 int ecode7 = 0 ;
18547 wxPoint temp8 ;
18548 PyObject * obj0 = 0 ;
18549 PyObject * obj1 = 0 ;
18550 PyObject * obj2 = 0 ;
18551 PyObject * obj3 = 0 ;
18552 PyObject * obj4 = 0 ;
18553 PyObject * obj5 = 0 ;
18554 PyObject * obj6 = 0 ;
18555 PyObject * obj7 = 0 ;
18556 char * kwnames[] = {
18557 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18558 };
18559
18560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
18561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
18562 if (!SWIG_IsOK(res1)) {
18563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18564 }
18565 arg1 = reinterpret_cast< wxWindow * >(argp1);
18566 {
18567 arg2 = wxString_in_helper(obj1);
18568 if (arg2 == NULL) SWIG_fail;
18569 temp2 = true;
18570 }
18571 {
18572 arg3 = wxString_in_helper(obj2);
18573 if (arg3 == NULL) SWIG_fail;
18574 temp3 = true;
18575 }
18576 {
18577 arg4 = wxString_in_helper(obj3);
18578 if (arg4 == NULL) SWIG_fail;
18579 temp4 = true;
18580 }
18581 ecode5 = SWIG_AsVal_long(obj4, &val5);
18582 if (!SWIG_IsOK(ecode5)) {
18583 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18584 }
18585 arg5 = static_cast< long >(val5);
18586 ecode6 = SWIG_AsVal_long(obj5, &val6);
18587 if (!SWIG_IsOK(ecode6)) {
18588 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18589 }
18590 arg6 = static_cast< long >(val6);
18591 ecode7 = SWIG_AsVal_long(obj6, &val7);
18592 if (!SWIG_IsOK(ecode7)) {
18593 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18594 }
18595 arg7 = static_cast< long >(val7);
18596 if (obj7) {
18597 {
18598 arg8 = &temp8;
18599 if ( ! wxPoint_helper(obj7, &arg8)) SWIG_fail;
18600 }
18601 }
18602 {
18603 if (!wxPyCheckForApp()) SWIG_fail;
18604 PyThreadState* __tstate = wxPyBeginAllowThreads();
18605 result = (wxNumberEntryDialog *)new wxNumberEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7,(wxPoint const &)*arg8);
18606 wxPyEndAllowThreads(__tstate);
18607 if (PyErr_Occurred()) SWIG_fail;
18608 }
18609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxNumberEntryDialog, SWIG_POINTER_NEW | 0 );
18610 {
18611 if (temp2)
18612 delete arg2;
18613 }
18614 {
18615 if (temp3)
18616 delete arg3;
18617 }
18618 {
18619 if (temp4)
18620 delete arg4;
18621 }
18622 return resultobj;
18623 fail:
18624 {
18625 if (temp2)
18626 delete arg2;
18627 }
18628 {
18629 if (temp3)
18630 delete arg3;
18631 }
18632 {
18633 if (temp4)
18634 delete arg4;
18635 }
18636 return NULL;
18637 }
18638
18639
18640 SWIGINTERN PyObject *_wrap_NumberEntryDialog_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18641 PyObject *resultobj = 0;
18642 wxNumberEntryDialog *arg1 = (wxNumberEntryDialog *) 0 ;
18643 long result;
18644 void *argp1 = 0 ;
18645 int res1 = 0 ;
18646 PyObject *swig_obj[1] ;
18647
18648 if (!args) SWIG_fail;
18649 swig_obj[0] = args;
18650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxNumberEntryDialog, 0 | 0 );
18651 if (!SWIG_IsOK(res1)) {
18652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18653 }
18654 arg1 = reinterpret_cast< wxNumberEntryDialog * >(argp1);
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 result = (long)(arg1)->GetValue();
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
18661 resultobj = SWIG_From_long(static_cast< long >(result));
18662 return resultobj;
18663 fail:
18664 return NULL;
18665 }
18666
18667
18668 SWIGINTERN PyObject *NumberEntryDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18669 PyObject *obj;
18670 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
18671 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog, SWIG_NewClientData(obj));
18672 return SWIG_Py_Void();
18673 }
18674
18675 SWIGINTERN PyObject *NumberEntryDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18676 return SWIG_Python_InitShadowInstance(args);
18677 }
18678
18679 SWIGINTERN PyObject *_wrap_new_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18680 PyObject *resultobj = 0;
18681 wxFontData *result = 0 ;
18682
18683 if (!SWIG_Python_UnpackTuple(args,"new_FontData",0,0,0)) SWIG_fail;
18684 {
18685 PyThreadState* __tstate = wxPyBeginAllowThreads();
18686 result = (wxFontData *)new wxFontData();
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
18690 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, SWIG_POINTER_NEW | 0 );
18691 return resultobj;
18692 fail:
18693 return NULL;
18694 }
18695
18696
18697 SWIGINTERN PyObject *_wrap_delete_FontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18698 PyObject *resultobj = 0;
18699 wxFontData *arg1 = (wxFontData *) 0 ;
18700 void *argp1 = 0 ;
18701 int res1 = 0 ;
18702 PyObject *swig_obj[1] ;
18703
18704 if (!args) SWIG_fail;
18705 swig_obj[0] = args;
18706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, SWIG_POINTER_DISOWN | 0 );
18707 if (!SWIG_IsOK(res1)) {
18708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18709 }
18710 arg1 = reinterpret_cast< wxFontData * >(argp1);
18711 {
18712 PyThreadState* __tstate = wxPyBeginAllowThreads();
18713 delete arg1;
18714
18715 wxPyEndAllowThreads(__tstate);
18716 if (PyErr_Occurred()) SWIG_fail;
18717 }
18718 resultobj = SWIG_Py_Void();
18719 return resultobj;
18720 fail:
18721 return NULL;
18722 }
18723
18724
18725 SWIGINTERN PyObject *_wrap_FontData_EnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18726 PyObject *resultobj = 0;
18727 wxFontData *arg1 = (wxFontData *) 0 ;
18728 bool arg2 ;
18729 void *argp1 = 0 ;
18730 int res1 = 0 ;
18731 bool val2 ;
18732 int ecode2 = 0 ;
18733 PyObject * obj0 = 0 ;
18734 PyObject * obj1 = 0 ;
18735 char * kwnames[] = {
18736 (char *) "self",(char *) "enable", NULL
18737 };
18738
18739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) SWIG_fail;
18740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18741 if (!SWIG_IsOK(res1)) {
18742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18743 }
18744 arg1 = reinterpret_cast< wxFontData * >(argp1);
18745 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18746 if (!SWIG_IsOK(ecode2)) {
18747 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18748 }
18749 arg2 = static_cast< bool >(val2);
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 (arg1)->EnableEffects(arg2);
18753 wxPyEndAllowThreads(__tstate);
18754 if (PyErr_Occurred()) SWIG_fail;
18755 }
18756 resultobj = SWIG_Py_Void();
18757 return resultobj;
18758 fail:
18759 return NULL;
18760 }
18761
18762
18763 SWIGINTERN PyObject *_wrap_FontData_GetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18764 PyObject *resultobj = 0;
18765 wxFontData *arg1 = (wxFontData *) 0 ;
18766 bool result;
18767 void *argp1 = 0 ;
18768 int res1 = 0 ;
18769 PyObject *swig_obj[1] ;
18770
18771 if (!args) SWIG_fail;
18772 swig_obj[0] = args;
18773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18774 if (!SWIG_IsOK(res1)) {
18775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18776 }
18777 arg1 = reinterpret_cast< wxFontData * >(argp1);
18778 {
18779 PyThreadState* __tstate = wxPyBeginAllowThreads();
18780 result = (bool)(arg1)->GetAllowSymbols();
18781 wxPyEndAllowThreads(__tstate);
18782 if (PyErr_Occurred()) SWIG_fail;
18783 }
18784 {
18785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18786 }
18787 return resultobj;
18788 fail:
18789 return NULL;
18790 }
18791
18792
18793 SWIGINTERN PyObject *_wrap_FontData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18794 PyObject *resultobj = 0;
18795 wxFontData *arg1 = (wxFontData *) 0 ;
18796 wxColour result;
18797 void *argp1 = 0 ;
18798 int res1 = 0 ;
18799 PyObject *swig_obj[1] ;
18800
18801 if (!args) SWIG_fail;
18802 swig_obj[0] = args;
18803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18804 if (!SWIG_IsOK(res1)) {
18805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18806 }
18807 arg1 = reinterpret_cast< wxFontData * >(argp1);
18808 {
18809 PyThreadState* __tstate = wxPyBeginAllowThreads();
18810 result = (arg1)->GetColour();
18811 wxPyEndAllowThreads(__tstate);
18812 if (PyErr_Occurred()) SWIG_fail;
18813 }
18814 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
18815 return resultobj;
18816 fail:
18817 return NULL;
18818 }
18819
18820
18821 SWIGINTERN PyObject *_wrap_FontData_GetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18822 PyObject *resultobj = 0;
18823 wxFontData *arg1 = (wxFontData *) 0 ;
18824 wxFont result;
18825 void *argp1 = 0 ;
18826 int res1 = 0 ;
18827 PyObject *swig_obj[1] ;
18828
18829 if (!args) SWIG_fail;
18830 swig_obj[0] = args;
18831 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18832 if (!SWIG_IsOK(res1)) {
18833 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18834 }
18835 arg1 = reinterpret_cast< wxFontData * >(argp1);
18836 {
18837 PyThreadState* __tstate = wxPyBeginAllowThreads();
18838 result = (arg1)->GetChosenFont();
18839 wxPyEndAllowThreads(__tstate);
18840 if (PyErr_Occurred()) SWIG_fail;
18841 }
18842 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18843 return resultobj;
18844 fail:
18845 return NULL;
18846 }
18847
18848
18849 SWIGINTERN PyObject *_wrap_FontData_GetEnableEffects(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18850 PyObject *resultobj = 0;
18851 wxFontData *arg1 = (wxFontData *) 0 ;
18852 bool result;
18853 void *argp1 = 0 ;
18854 int res1 = 0 ;
18855 PyObject *swig_obj[1] ;
18856
18857 if (!args) SWIG_fail;
18858 swig_obj[0] = args;
18859 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18860 if (!SWIG_IsOK(res1)) {
18861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18862 }
18863 arg1 = reinterpret_cast< wxFontData * >(argp1);
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 result = (bool)(arg1)->GetEnableEffects();
18867 wxPyEndAllowThreads(__tstate);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 }
18870 {
18871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18872 }
18873 return resultobj;
18874 fail:
18875 return NULL;
18876 }
18877
18878
18879 SWIGINTERN PyObject *_wrap_FontData_GetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18880 PyObject *resultobj = 0;
18881 wxFontData *arg1 = (wxFontData *) 0 ;
18882 wxFont result;
18883 void *argp1 = 0 ;
18884 int res1 = 0 ;
18885 PyObject *swig_obj[1] ;
18886
18887 if (!args) SWIG_fail;
18888 swig_obj[0] = args;
18889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18890 if (!SWIG_IsOK(res1)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18892 }
18893 arg1 = reinterpret_cast< wxFontData * >(argp1);
18894 {
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 result = (arg1)->GetInitialFont();
18897 wxPyEndAllowThreads(__tstate);
18898 if (PyErr_Occurred()) SWIG_fail;
18899 }
18900 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
18901 return resultobj;
18902 fail:
18903 return NULL;
18904 }
18905
18906
18907 SWIGINTERN PyObject *_wrap_FontData_GetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
18908 PyObject *resultobj = 0;
18909 wxFontData *arg1 = (wxFontData *) 0 ;
18910 bool result;
18911 void *argp1 = 0 ;
18912 int res1 = 0 ;
18913 PyObject *swig_obj[1] ;
18914
18915 if (!args) SWIG_fail;
18916 swig_obj[0] = args;
18917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18918 if (!SWIG_IsOK(res1)) {
18919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18920 }
18921 arg1 = reinterpret_cast< wxFontData * >(argp1);
18922 {
18923 PyThreadState* __tstate = wxPyBeginAllowThreads();
18924 result = (bool)(arg1)->GetShowHelp();
18925 wxPyEndAllowThreads(__tstate);
18926 if (PyErr_Occurred()) SWIG_fail;
18927 }
18928 {
18929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18930 }
18931 return resultobj;
18932 fail:
18933 return NULL;
18934 }
18935
18936
18937 SWIGINTERN PyObject *_wrap_FontData_SetAllowSymbols(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18938 PyObject *resultobj = 0;
18939 wxFontData *arg1 = (wxFontData *) 0 ;
18940 bool arg2 ;
18941 void *argp1 = 0 ;
18942 int res1 = 0 ;
18943 bool val2 ;
18944 int ecode2 = 0 ;
18945 PyObject * obj0 = 0 ;
18946 PyObject * obj1 = 0 ;
18947 char * kwnames[] = {
18948 (char *) "self",(char *) "allowSymbols", NULL
18949 };
18950
18951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) SWIG_fail;
18952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18953 if (!SWIG_IsOK(res1)) {
18954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18955 }
18956 arg1 = reinterpret_cast< wxFontData * >(argp1);
18957 ecode2 = SWIG_AsVal_bool(obj1, &val2);
18958 if (!SWIG_IsOK(ecode2)) {
18959 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18960 }
18961 arg2 = static_cast< bool >(val2);
18962 {
18963 PyThreadState* __tstate = wxPyBeginAllowThreads();
18964 (arg1)->SetAllowSymbols(arg2);
18965 wxPyEndAllowThreads(__tstate);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 }
18968 resultobj = SWIG_Py_Void();
18969 return resultobj;
18970 fail:
18971 return NULL;
18972 }
18973
18974
18975 SWIGINTERN PyObject *_wrap_FontData_SetChosenFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
18976 PyObject *resultobj = 0;
18977 wxFontData *arg1 = (wxFontData *) 0 ;
18978 wxFont *arg2 = 0 ;
18979 void *argp1 = 0 ;
18980 int res1 = 0 ;
18981 void *argp2 = 0 ;
18982 int res2 = 0 ;
18983 PyObject * obj0 = 0 ;
18984 PyObject * obj1 = 0 ;
18985 char * kwnames[] = {
18986 (char *) "self",(char *) "font", NULL
18987 };
18988
18989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) SWIG_fail;
18990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
18991 if (!SWIG_IsOK(res1)) {
18992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18993 }
18994 arg1 = reinterpret_cast< wxFontData * >(argp1);
18995 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
18996 if (!SWIG_IsOK(res2)) {
18997 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18998 }
18999 if (!argp2) {
19000 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19001 }
19002 arg2 = reinterpret_cast< wxFont * >(argp2);
19003 {
19004 PyThreadState* __tstate = wxPyBeginAllowThreads();
19005 (arg1)->SetChosenFont((wxFont const &)*arg2);
19006 wxPyEndAllowThreads(__tstate);
19007 if (PyErr_Occurred()) SWIG_fail;
19008 }
19009 resultobj = SWIG_Py_Void();
19010 return resultobj;
19011 fail:
19012 return NULL;
19013 }
19014
19015
19016 SWIGINTERN PyObject *_wrap_FontData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19017 PyObject *resultobj = 0;
19018 wxFontData *arg1 = (wxFontData *) 0 ;
19019 wxColour *arg2 = 0 ;
19020 void *argp1 = 0 ;
19021 int res1 = 0 ;
19022 wxColour temp2 ;
19023 PyObject * obj0 = 0 ;
19024 PyObject * obj1 = 0 ;
19025 char * kwnames[] = {
19026 (char *) "self",(char *) "colour", NULL
19027 };
19028
19029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
19030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19031 if (!SWIG_IsOK(res1)) {
19032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19033 }
19034 arg1 = reinterpret_cast< wxFontData * >(argp1);
19035 {
19036 arg2 = &temp2;
19037 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19038 }
19039 {
19040 PyThreadState* __tstate = wxPyBeginAllowThreads();
19041 (arg1)->SetColour((wxColour const &)*arg2);
19042 wxPyEndAllowThreads(__tstate);
19043 if (PyErr_Occurred()) SWIG_fail;
19044 }
19045 resultobj = SWIG_Py_Void();
19046 return resultobj;
19047 fail:
19048 return NULL;
19049 }
19050
19051
19052 SWIGINTERN PyObject *_wrap_FontData_SetInitialFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19053 PyObject *resultobj = 0;
19054 wxFontData *arg1 = (wxFontData *) 0 ;
19055 wxFont *arg2 = 0 ;
19056 void *argp1 = 0 ;
19057 int res1 = 0 ;
19058 void *argp2 = 0 ;
19059 int res2 = 0 ;
19060 PyObject * obj0 = 0 ;
19061 PyObject * obj1 = 0 ;
19062 char * kwnames[] = {
19063 (char *) "self",(char *) "font", NULL
19064 };
19065
19066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) SWIG_fail;
19067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19068 if (!SWIG_IsOK(res1)) {
19069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19070 }
19071 arg1 = reinterpret_cast< wxFontData * >(argp1);
19072 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19073 if (!SWIG_IsOK(res2)) {
19074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19075 }
19076 if (!argp2) {
19077 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19078 }
19079 arg2 = reinterpret_cast< wxFont * >(argp2);
19080 {
19081 PyThreadState* __tstate = wxPyBeginAllowThreads();
19082 (arg1)->SetInitialFont((wxFont const &)*arg2);
19083 wxPyEndAllowThreads(__tstate);
19084 if (PyErr_Occurred()) SWIG_fail;
19085 }
19086 resultobj = SWIG_Py_Void();
19087 return resultobj;
19088 fail:
19089 return NULL;
19090 }
19091
19092
19093 SWIGINTERN PyObject *_wrap_FontData_SetRange(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19094 PyObject *resultobj = 0;
19095 wxFontData *arg1 = (wxFontData *) 0 ;
19096 int arg2 ;
19097 int arg3 ;
19098 void *argp1 = 0 ;
19099 int res1 = 0 ;
19100 int val2 ;
19101 int ecode2 = 0 ;
19102 int val3 ;
19103 int ecode3 = 0 ;
19104 PyObject * obj0 = 0 ;
19105 PyObject * obj1 = 0 ;
19106 PyObject * obj2 = 0 ;
19107 char * kwnames[] = {
19108 (char *) "self",(char *) "min",(char *) "max", NULL
19109 };
19110
19111 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19112 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19113 if (!SWIG_IsOK(res1)) {
19114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19115 }
19116 arg1 = reinterpret_cast< wxFontData * >(argp1);
19117 ecode2 = SWIG_AsVal_int(obj1, &val2);
19118 if (!SWIG_IsOK(ecode2)) {
19119 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19120 }
19121 arg2 = static_cast< int >(val2);
19122 ecode3 = SWIG_AsVal_int(obj2, &val3);
19123 if (!SWIG_IsOK(ecode3)) {
19124 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19125 }
19126 arg3 = static_cast< int >(val3);
19127 {
19128 PyThreadState* __tstate = wxPyBeginAllowThreads();
19129 (arg1)->SetRange(arg2,arg3);
19130 wxPyEndAllowThreads(__tstate);
19131 if (PyErr_Occurred()) SWIG_fail;
19132 }
19133 resultobj = SWIG_Py_Void();
19134 return resultobj;
19135 fail:
19136 return NULL;
19137 }
19138
19139
19140 SWIGINTERN PyObject *_wrap_FontData_SetShowHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj = 0;
19142 wxFontData *arg1 = (wxFontData *) 0 ;
19143 bool arg2 ;
19144 void *argp1 = 0 ;
19145 int res1 = 0 ;
19146 bool val2 ;
19147 int ecode2 = 0 ;
19148 PyObject * obj0 = 0 ;
19149 PyObject * obj1 = 0 ;
19150 char * kwnames[] = {
19151 (char *) "self",(char *) "showHelp", NULL
19152 };
19153
19154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) SWIG_fail;
19155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFontData, 0 | 0 );
19156 if (!SWIG_IsOK(res1)) {
19157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19158 }
19159 arg1 = reinterpret_cast< wxFontData * >(argp1);
19160 ecode2 = SWIG_AsVal_bool(obj1, &val2);
19161 if (!SWIG_IsOK(ecode2)) {
19162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19163 }
19164 arg2 = static_cast< bool >(val2);
19165 {
19166 PyThreadState* __tstate = wxPyBeginAllowThreads();
19167 (arg1)->SetShowHelp(arg2);
19168 wxPyEndAllowThreads(__tstate);
19169 if (PyErr_Occurred()) SWIG_fail;
19170 }
19171 resultobj = SWIG_Py_Void();
19172 return resultobj;
19173 fail:
19174 return NULL;
19175 }
19176
19177
19178 SWIGINTERN PyObject *FontData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19179 PyObject *obj;
19180 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19181 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData, SWIG_NewClientData(obj));
19182 return SWIG_Py_Void();
19183 }
19184
19185 SWIGINTERN PyObject *FontData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19186 return SWIG_Python_InitShadowInstance(args);
19187 }
19188
19189 SWIGINTERN PyObject *_wrap_new_FontDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19190 PyObject *resultobj = 0;
19191 wxWindow *arg1 = (wxWindow *) 0 ;
19192 wxFontData *arg2 = 0 ;
19193 wxFontDialog *result = 0 ;
19194 void *argp1 = 0 ;
19195 int res1 = 0 ;
19196 void *argp2 = 0 ;
19197 int res2 = 0 ;
19198 PyObject * obj0 = 0 ;
19199 PyObject * obj1 = 0 ;
19200 char * kwnames[] = {
19201 (char *) "parent",(char *) "data", NULL
19202 };
19203
19204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) SWIG_fail;
19205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19206 if (!SWIG_IsOK(res1)) {
19207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19208 }
19209 arg1 = reinterpret_cast< wxWindow * >(argp1);
19210 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFontData, 0 | 0);
19211 if (!SWIG_IsOK(res2)) {
19212 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19213 }
19214 if (!argp2) {
19215 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19216 }
19217 arg2 = reinterpret_cast< wxFontData * >(argp2);
19218 {
19219 if (!wxPyCheckForApp()) SWIG_fail;
19220 PyThreadState* __tstate = wxPyBeginAllowThreads();
19221 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
19222 wxPyEndAllowThreads(__tstate);
19223 if (PyErr_Occurred()) SWIG_fail;
19224 }
19225 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontDialog, SWIG_POINTER_NEW | 0 );
19226 return resultobj;
19227 fail:
19228 return NULL;
19229 }
19230
19231
19232 SWIGINTERN PyObject *_wrap_FontDialog_GetFontData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19233 PyObject *resultobj = 0;
19234 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
19235 wxFontData *result = 0 ;
19236 void *argp1 = 0 ;
19237 int res1 = 0 ;
19238 PyObject *swig_obj[1] ;
19239
19240 if (!args) SWIG_fail;
19241 swig_obj[0] = args;
19242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFontDialog, 0 | 0 );
19243 if (!SWIG_IsOK(res1)) {
19244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19245 }
19246 arg1 = reinterpret_cast< wxFontDialog * >(argp1);
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 {
19250 wxFontData &_result_ref = (arg1)->GetFontData();
19251 result = (wxFontData *) &_result_ref;
19252 }
19253 wxPyEndAllowThreads(__tstate);
19254 if (PyErr_Occurred()) SWIG_fail;
19255 }
19256 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFontData, 0 | 0 );
19257 return resultobj;
19258 fail:
19259 return NULL;
19260 }
19261
19262
19263 SWIGINTERN PyObject *FontDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19264 PyObject *obj;
19265 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19266 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog, SWIG_NewClientData(obj));
19267 return SWIG_Py_Void();
19268 }
19269
19270 SWIGINTERN PyObject *FontDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19271 return SWIG_Python_InitShadowInstance(args);
19272 }
19273
19274 SWIGINTERN PyObject *_wrap_GetFontFromUser(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19275 PyObject *resultobj = 0;
19276 wxWindow *arg1 = (wxWindow *) NULL ;
19277 wxFont const &arg2_defvalue = wxNullFont ;
19278 wxFont *arg2 = (wxFont *) &arg2_defvalue ;
19279 wxString const &arg3_defvalue = wxPyEmptyString ;
19280 wxString *arg3 = (wxString *) &arg3_defvalue ;
19281 wxFont result;
19282 void *argp1 = 0 ;
19283 int res1 = 0 ;
19284 void *argp2 = 0 ;
19285 int res2 = 0 ;
19286 bool temp3 = false ;
19287 PyObject * obj0 = 0 ;
19288 PyObject * obj1 = 0 ;
19289 PyObject * obj2 = 0 ;
19290 char * kwnames[] = {
19291 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19292 };
19293
19294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:GetFontFromUser",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19295 if (obj0) {
19296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19297 if (!SWIG_IsOK(res1)) {
19298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19299 }
19300 arg1 = reinterpret_cast< wxWindow * >(argp1);
19301 }
19302 if (obj1) {
19303 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxFont, 0 | 0);
19304 if (!SWIG_IsOK(res2)) {
19305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19306 }
19307 if (!argp2) {
19308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19309 }
19310 arg2 = reinterpret_cast< wxFont * >(argp2);
19311 }
19312 if (obj2) {
19313 {
19314 arg3 = wxString_in_helper(obj2);
19315 if (arg3 == NULL) SWIG_fail;
19316 temp3 = true;
19317 }
19318 }
19319 {
19320 PyThreadState* __tstate = wxPyBeginAllowThreads();
19321 result = wxGetFontFromUser(arg1,(wxFont const &)*arg2,(wxString const &)*arg3);
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
19326 {
19327 if (temp3)
19328 delete arg3;
19329 }
19330 return resultobj;
19331 fail:
19332 {
19333 if (temp3)
19334 delete arg3;
19335 }
19336 return NULL;
19337 }
19338
19339
19340 SWIGINTERN PyObject *_wrap_new_MessageDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj = 0;
19342 wxWindow *arg1 = (wxWindow *) 0 ;
19343 wxString *arg2 = 0 ;
19344 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
19345 wxString *arg3 = (wxString *) &arg3_defvalue ;
19346 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
19347 wxPoint const &arg5_defvalue = wxDefaultPosition ;
19348 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
19349 wxMessageDialog *result = 0 ;
19350 void *argp1 = 0 ;
19351 int res1 = 0 ;
19352 bool temp2 = false ;
19353 bool temp3 = false ;
19354 long val4 ;
19355 int ecode4 = 0 ;
19356 wxPoint temp5 ;
19357 PyObject * obj0 = 0 ;
19358 PyObject * obj1 = 0 ;
19359 PyObject * obj2 = 0 ;
19360 PyObject * obj3 = 0 ;
19361 PyObject * obj4 = 0 ;
19362 char * kwnames[] = {
19363 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19364 };
19365
19366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
19368 if (!SWIG_IsOK(res1)) {
19369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19370 }
19371 arg1 = reinterpret_cast< wxWindow * >(argp1);
19372 {
19373 arg2 = wxString_in_helper(obj1);
19374 if (arg2 == NULL) SWIG_fail;
19375 temp2 = true;
19376 }
19377 if (obj2) {
19378 {
19379 arg3 = wxString_in_helper(obj2);
19380 if (arg3 == NULL) SWIG_fail;
19381 temp3 = true;
19382 }
19383 }
19384 if (obj3) {
19385 ecode4 = SWIG_AsVal_long(obj3, &val4);
19386 if (!SWIG_IsOK(ecode4)) {
19387 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19388 }
19389 arg4 = static_cast< long >(val4);
19390 }
19391 if (obj4) {
19392 {
19393 arg5 = &temp5;
19394 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
19395 }
19396 }
19397 {
19398 if (!wxPyCheckForApp()) SWIG_fail;
19399 PyThreadState* __tstate = wxPyBeginAllowThreads();
19400 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMessageDialog, SWIG_POINTER_NEW | 0 );
19405 {
19406 if (temp2)
19407 delete arg2;
19408 }
19409 {
19410 if (temp3)
19411 delete arg3;
19412 }
19413 return resultobj;
19414 fail:
19415 {
19416 if (temp2)
19417 delete arg2;
19418 }
19419 {
19420 if (temp3)
19421 delete arg3;
19422 }
19423 return NULL;
19424 }
19425
19426
19427 SWIGINTERN PyObject *MessageDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19428 PyObject *obj;
19429 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19430 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog, SWIG_NewClientData(obj));
19431 return SWIG_Py_Void();
19432 }
19433
19434 SWIGINTERN PyObject *MessageDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19435 return SWIG_Python_InitShadowInstance(args);
19436 }
19437
19438 SWIGINTERN PyObject *_wrap_new_ProgressDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19439 PyObject *resultobj = 0;
19440 wxString *arg1 = 0 ;
19441 wxString *arg2 = 0 ;
19442 int arg3 = (int) 100 ;
19443 wxWindow *arg4 = (wxWindow *) NULL ;
19444 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
19445 wxProgressDialog *result = 0 ;
19446 bool temp1 = false ;
19447 bool temp2 = false ;
19448 int val3 ;
19449 int ecode3 = 0 ;
19450 void *argp4 = 0 ;
19451 int res4 = 0 ;
19452 int val5 ;
19453 int ecode5 = 0 ;
19454 PyObject * obj0 = 0 ;
19455 PyObject * obj1 = 0 ;
19456 PyObject * obj2 = 0 ;
19457 PyObject * obj3 = 0 ;
19458 PyObject * obj4 = 0 ;
19459 char * kwnames[] = {
19460 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19461 };
19462
19463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
19464 {
19465 arg1 = wxString_in_helper(obj0);
19466 if (arg1 == NULL) SWIG_fail;
19467 temp1 = true;
19468 }
19469 {
19470 arg2 = wxString_in_helper(obj1);
19471 if (arg2 == NULL) SWIG_fail;
19472 temp2 = true;
19473 }
19474 if (obj2) {
19475 ecode3 = SWIG_AsVal_int(obj2, &val3);
19476 if (!SWIG_IsOK(ecode3)) {
19477 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19478 }
19479 arg3 = static_cast< int >(val3);
19480 }
19481 if (obj3) {
19482 res4 = SWIG_ConvertPtr(obj3, &argp4,SWIGTYPE_p_wxWindow, 0 | 0 );
19483 if (!SWIG_IsOK(res4)) {
19484 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19485 }
19486 arg4 = reinterpret_cast< wxWindow * >(argp4);
19487 }
19488 if (obj4) {
19489 ecode5 = SWIG_AsVal_int(obj4, &val5);
19490 if (!SWIG_IsOK(ecode5)) {
19491 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19492 }
19493 arg5 = static_cast< int >(val5);
19494 }
19495 {
19496 if (!wxPyCheckForApp()) SWIG_fail;
19497 PyThreadState* __tstate = wxPyBeginAllowThreads();
19498 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
19499 wxPyEndAllowThreads(__tstate);
19500 if (PyErr_Occurred()) SWIG_fail;
19501 }
19502 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxProgressDialog, SWIG_POINTER_NEW | 0 );
19503 {
19504 if (temp1)
19505 delete arg1;
19506 }
19507 {
19508 if (temp2)
19509 delete arg2;
19510 }
19511 return resultobj;
19512 fail:
19513 {
19514 if (temp1)
19515 delete arg1;
19516 }
19517 {
19518 if (temp2)
19519 delete arg2;
19520 }
19521 return NULL;
19522 }
19523
19524
19525 SWIGINTERN PyObject *_wrap_ProgressDialog_Update(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj = 0;
19527 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19528 int arg2 ;
19529 wxString const &arg3_defvalue = wxPyEmptyString ;
19530 wxString *arg3 = (wxString *) &arg3_defvalue ;
19531 bool *arg4 = (bool *) 0 ;
19532 bool result;
19533 void *argp1 = 0 ;
19534 int res1 = 0 ;
19535 int val2 ;
19536 int ecode2 = 0 ;
19537 bool temp3 = false ;
19538 bool temp4 ;
19539 int res4 = SWIG_TMPOBJ ;
19540 PyObject * obj0 = 0 ;
19541 PyObject * obj1 = 0 ;
19542 PyObject * obj2 = 0 ;
19543 char * kwnames[] = {
19544 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19545 };
19546
19547 arg4 = &temp4;
19548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
19549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19550 if (!SWIG_IsOK(res1)) {
19551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19552 }
19553 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19554 ecode2 = SWIG_AsVal_int(obj1, &val2);
19555 if (!SWIG_IsOK(ecode2)) {
19556 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19557 }
19558 arg2 = static_cast< int >(val2);
19559 if (obj2) {
19560 {
19561 arg3 = wxString_in_helper(obj2);
19562 if (arg3 == NULL) SWIG_fail;
19563 temp3 = true;
19564 }
19565 }
19566 {
19567 PyThreadState* __tstate = wxPyBeginAllowThreads();
19568 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3,arg4);
19569 wxPyEndAllowThreads(__tstate);
19570 if (PyErr_Occurred()) SWIG_fail;
19571 }
19572 {
19573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19574 }
19575 if (SWIG_IsTmpObj(res4)) {
19576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg4)));
19577 } else {
19578 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19579 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_bool, new_flags));
19580 }
19581 {
19582 if (temp3)
19583 delete arg3;
19584 }
19585 return resultobj;
19586 fail:
19587 {
19588 if (temp3)
19589 delete arg3;
19590 }
19591 return NULL;
19592 }
19593
19594
19595 SWIGINTERN PyObject *_wrap_ProgressDialog_Pulse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19596 PyObject *resultobj = 0;
19597 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19598 wxString const &arg2_defvalue = wxPyEmptyString ;
19599 wxString *arg2 = (wxString *) &arg2_defvalue ;
19600 bool *arg3 = (bool *) 0 ;
19601 bool result;
19602 void *argp1 = 0 ;
19603 int res1 = 0 ;
19604 bool temp2 = false ;
19605 bool temp3 ;
19606 int res3 = SWIG_TMPOBJ ;
19607 PyObject * obj0 = 0 ;
19608 PyObject * obj1 = 0 ;
19609 char * kwnames[] = {
19610 (char *) "self",(char *) "newmsg", NULL
19611 };
19612
19613 arg3 = &temp3;
19614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ProgressDialog_Pulse",kwnames,&obj0,&obj1)) SWIG_fail;
19615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19616 if (!SWIG_IsOK(res1)) {
19617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19618 }
19619 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19620 if (obj1) {
19621 {
19622 arg2 = wxString_in_helper(obj1);
19623 if (arg2 == NULL) SWIG_fail;
19624 temp2 = true;
19625 }
19626 }
19627 {
19628 PyThreadState* __tstate = wxPyBeginAllowThreads();
19629 result = (bool)(arg1)->Pulse((wxString const &)*arg2,arg3);
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 {
19634 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19635 }
19636 if (SWIG_IsTmpObj(res3)) {
19637 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg3)));
19638 } else {
19639 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
19640 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_bool, new_flags));
19641 }
19642 {
19643 if (temp2)
19644 delete arg2;
19645 }
19646 return resultobj;
19647 fail:
19648 {
19649 if (temp2)
19650 delete arg2;
19651 }
19652 return NULL;
19653 }
19654
19655
19656 SWIGINTERN PyObject *_wrap_ProgressDialog_Resume(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19657 PyObject *resultobj = 0;
19658 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
19659 void *argp1 = 0 ;
19660 int res1 = 0 ;
19661 PyObject *swig_obj[1] ;
19662
19663 if (!args) SWIG_fail;
19664 swig_obj[0] = args;
19665 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxProgressDialog, 0 | 0 );
19666 if (!SWIG_IsOK(res1)) {
19667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19668 }
19669 arg1 = reinterpret_cast< wxProgressDialog * >(argp1);
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 (arg1)->Resume();
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 resultobj = SWIG_Py_Void();
19677 return resultobj;
19678 fail:
19679 return NULL;
19680 }
19681
19682
19683 SWIGINTERN PyObject *ProgressDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19684 PyObject *obj;
19685 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19686 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog, SWIG_NewClientData(obj));
19687 return SWIG_Py_Void();
19688 }
19689
19690 SWIGINTERN PyObject *ProgressDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19691 return SWIG_Python_InitShadowInstance(args);
19692 }
19693
19694 SWIGINTERN PyObject *_wrap_new_FindDialogEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19695 PyObject *resultobj = 0;
19696 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19697 int arg2 = (int) 0 ;
19698 wxFindDialogEvent *result = 0 ;
19699 int val1 ;
19700 int ecode1 = 0 ;
19701 int val2 ;
19702 int ecode2 = 0 ;
19703 PyObject * obj0 = 0 ;
19704 PyObject * obj1 = 0 ;
19705 char * kwnames[] = {
19706 (char *) "commandType",(char *) "id", NULL
19707 };
19708
19709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) SWIG_fail;
19710 if (obj0) {
19711 ecode1 = SWIG_AsVal_int(obj0, &val1);
19712 if (!SWIG_IsOK(ecode1)) {
19713 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19714 }
19715 arg1 = static_cast< wxEventType >(val1);
19716 }
19717 if (obj1) {
19718 ecode2 = SWIG_AsVal_int(obj1, &val2);
19719 if (!SWIG_IsOK(ecode2)) {
19720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19721 }
19722 arg2 = static_cast< int >(val2);
19723 }
19724 {
19725 PyThreadState* __tstate = wxPyBeginAllowThreads();
19726 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
19727 wxPyEndAllowThreads(__tstate);
19728 if (PyErr_Occurred()) SWIG_fail;
19729 }
19730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindDialogEvent, SWIG_POINTER_NEW | 0 );
19731 return resultobj;
19732 fail:
19733 return NULL;
19734 }
19735
19736
19737 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19738 PyObject *resultobj = 0;
19739 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19740 int result;
19741 void *argp1 = 0 ;
19742 int res1 = 0 ;
19743 PyObject *swig_obj[1] ;
19744
19745 if (!args) SWIG_fail;
19746 swig_obj[0] = args;
19747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19748 if (!SWIG_IsOK(res1)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19750 }
19751 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19752 {
19753 PyThreadState* __tstate = wxPyBeginAllowThreads();
19754 result = (int)(arg1)->GetFlags();
19755 wxPyEndAllowThreads(__tstate);
19756 if (PyErr_Occurred()) SWIG_fail;
19757 }
19758 resultobj = SWIG_From_int(static_cast< int >(result));
19759 return resultobj;
19760 fail:
19761 return NULL;
19762 }
19763
19764
19765 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19766 PyObject *resultobj = 0;
19767 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19768 wxString *result = 0 ;
19769 void *argp1 = 0 ;
19770 int res1 = 0 ;
19771 PyObject *swig_obj[1] ;
19772
19773 if (!args) SWIG_fail;
19774 swig_obj[0] = args;
19775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19776 if (!SWIG_IsOK(res1)) {
19777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19778 }
19779 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19780 {
19781 PyThreadState* __tstate = wxPyBeginAllowThreads();
19782 {
19783 wxString const &_result_ref = (arg1)->GetFindString();
19784 result = (wxString *) &_result_ref;
19785 }
19786 wxPyEndAllowThreads(__tstate);
19787 if (PyErr_Occurred()) SWIG_fail;
19788 }
19789 {
19790 #if wxUSE_UNICODE
19791 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19792 #else
19793 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19794 #endif
19795 }
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19803 PyObject *resultobj = 0;
19804 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19805 wxString *result = 0 ;
19806 void *argp1 = 0 ;
19807 int res1 = 0 ;
19808 PyObject *swig_obj[1] ;
19809
19810 if (!args) SWIG_fail;
19811 swig_obj[0] = args;
19812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19813 if (!SWIG_IsOK(res1)) {
19814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19815 }
19816 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19817 {
19818 PyThreadState* __tstate = wxPyBeginAllowThreads();
19819 {
19820 wxString const &_result_ref = (arg1)->GetReplaceString();
19821 result = (wxString *) &_result_ref;
19822 }
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 {
19827 #if wxUSE_UNICODE
19828 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19829 #else
19830 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19831 #endif
19832 }
19833 return resultobj;
19834 fail:
19835 return NULL;
19836 }
19837
19838
19839 SWIGINTERN PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19840 PyObject *resultobj = 0;
19841 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19842 wxFindReplaceDialog *result = 0 ;
19843 void *argp1 = 0 ;
19844 int res1 = 0 ;
19845 PyObject *swig_obj[1] ;
19846
19847 if (!args) SWIG_fail;
19848 swig_obj[0] = args;
19849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19850 if (!SWIG_IsOK(res1)) {
19851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19852 }
19853 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19854 {
19855 PyThreadState* __tstate = wxPyBeginAllowThreads();
19856 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
19857 wxPyEndAllowThreads(__tstate);
19858 if (PyErr_Occurred()) SWIG_fail;
19859 }
19860 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
19861 return resultobj;
19862 fail:
19863 return NULL;
19864 }
19865
19866
19867 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19868 PyObject *resultobj = 0;
19869 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19870 int arg2 ;
19871 void *argp1 = 0 ;
19872 int res1 = 0 ;
19873 int val2 ;
19874 int ecode2 = 0 ;
19875 PyObject * obj0 = 0 ;
19876 PyObject * obj1 = 0 ;
19877 char * kwnames[] = {
19878 (char *) "self",(char *) "flags", NULL
19879 };
19880
19881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
19882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19883 if (!SWIG_IsOK(res1)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19885 }
19886 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19887 ecode2 = SWIG_AsVal_int(obj1, &val2);
19888 if (!SWIG_IsOK(ecode2)) {
19889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19890 }
19891 arg2 = static_cast< int >(val2);
19892 {
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 (arg1)->SetFlags(arg2);
19895 wxPyEndAllowThreads(__tstate);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 }
19898 resultobj = SWIG_Py_Void();
19899 return resultobj;
19900 fail:
19901 return NULL;
19902 }
19903
19904
19905 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19906 PyObject *resultobj = 0;
19907 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19908 wxString *arg2 = 0 ;
19909 void *argp1 = 0 ;
19910 int res1 = 0 ;
19911 bool temp2 = false ;
19912 PyObject * obj0 = 0 ;
19913 PyObject * obj1 = 0 ;
19914 char * kwnames[] = {
19915 (char *) "self",(char *) "str", NULL
19916 };
19917
19918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
19919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19920 if (!SWIG_IsOK(res1)) {
19921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19922 }
19923 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19924 {
19925 arg2 = wxString_in_helper(obj1);
19926 if (arg2 == NULL) SWIG_fail;
19927 temp2 = true;
19928 }
19929 {
19930 PyThreadState* __tstate = wxPyBeginAllowThreads();
19931 (arg1)->SetFindString((wxString const &)*arg2);
19932 wxPyEndAllowThreads(__tstate);
19933 if (PyErr_Occurred()) SWIG_fail;
19934 }
19935 resultobj = SWIG_Py_Void();
19936 {
19937 if (temp2)
19938 delete arg2;
19939 }
19940 return resultobj;
19941 fail:
19942 {
19943 if (temp2)
19944 delete arg2;
19945 }
19946 return NULL;
19947 }
19948
19949
19950 SWIGINTERN PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
19951 PyObject *resultobj = 0;
19952 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
19953 wxString *arg2 = 0 ;
19954 void *argp1 = 0 ;
19955 int res1 = 0 ;
19956 bool temp2 = false ;
19957 PyObject * obj0 = 0 ;
19958 PyObject * obj1 = 0 ;
19959 char * kwnames[] = {
19960 (char *) "self",(char *) "str", NULL
19961 };
19962
19963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
19964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindDialogEvent, 0 | 0 );
19965 if (!SWIG_IsOK(res1)) {
19966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19967 }
19968 arg1 = reinterpret_cast< wxFindDialogEvent * >(argp1);
19969 {
19970 arg2 = wxString_in_helper(obj1);
19971 if (arg2 == NULL) SWIG_fail;
19972 temp2 = true;
19973 }
19974 {
19975 PyThreadState* __tstate = wxPyBeginAllowThreads();
19976 (arg1)->SetReplaceString((wxString const &)*arg2);
19977 wxPyEndAllowThreads(__tstate);
19978 if (PyErr_Occurred()) SWIG_fail;
19979 }
19980 resultobj = SWIG_Py_Void();
19981 {
19982 if (temp2)
19983 delete arg2;
19984 }
19985 return resultobj;
19986 fail:
19987 {
19988 if (temp2)
19989 delete arg2;
19990 }
19991 return NULL;
19992 }
19993
19994
19995 SWIGINTERN PyObject *FindDialogEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
19996 PyObject *obj;
19997 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
19998 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent, SWIG_NewClientData(obj));
19999 return SWIG_Py_Void();
20000 }
20001
20002 SWIGINTERN PyObject *FindDialogEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20003 return SWIG_Python_InitShadowInstance(args);
20004 }
20005
20006 SWIGINTERN PyObject *_wrap_new_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20007 PyObject *resultobj = 0;
20008 int arg1 = (int) 0 ;
20009 wxFindReplaceData *result = 0 ;
20010 int val1 ;
20011 int ecode1 = 0 ;
20012 PyObject * obj0 = 0 ;
20013 char * kwnames[] = {
20014 (char *) "flags", NULL
20015 };
20016
20017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) SWIG_fail;
20018 if (obj0) {
20019 ecode1 = SWIG_AsVal_int(obj0, &val1);
20020 if (!SWIG_IsOK(ecode1)) {
20021 SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20022 }
20023 arg1 = static_cast< int >(val1);
20024 }
20025 {
20026 PyThreadState* __tstate = wxPyBeginAllowThreads();
20027 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
20028 wxPyEndAllowThreads(__tstate);
20029 if (PyErr_Occurred()) SWIG_fail;
20030 }
20031 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_NEW | 0 );
20032 return resultobj;
20033 fail:
20034 return NULL;
20035 }
20036
20037
20038 SWIGINTERN PyObject *_wrap_delete_FindReplaceData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20039 PyObject *resultobj = 0;
20040 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20041 void *argp1 = 0 ;
20042 int res1 = 0 ;
20043 PyObject *swig_obj[1] ;
20044
20045 if (!args) SWIG_fail;
20046 swig_obj[0] = args;
20047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, SWIG_POINTER_DISOWN | 0 );
20048 if (!SWIG_IsOK(res1)) {
20049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20050 }
20051 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20052 {
20053 PyThreadState* __tstate = wxPyBeginAllowThreads();
20054 delete arg1;
20055
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 resultobj = SWIG_Py_Void();
20060 return resultobj;
20061 fail:
20062 return NULL;
20063 }
20064
20065
20066 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20067 PyObject *resultobj = 0;
20068 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20069 wxString *result = 0 ;
20070 void *argp1 = 0 ;
20071 int res1 = 0 ;
20072 PyObject *swig_obj[1] ;
20073
20074 if (!args) SWIG_fail;
20075 swig_obj[0] = args;
20076 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20077 if (!SWIG_IsOK(res1)) {
20078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20079 }
20080 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20081 {
20082 PyThreadState* __tstate = wxPyBeginAllowThreads();
20083 {
20084 wxString const &_result_ref = (arg1)->GetFindString();
20085 result = (wxString *) &_result_ref;
20086 }
20087 wxPyEndAllowThreads(__tstate);
20088 if (PyErr_Occurred()) SWIG_fail;
20089 }
20090 {
20091 #if wxUSE_UNICODE
20092 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20093 #else
20094 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20095 #endif
20096 }
20097 return resultobj;
20098 fail:
20099 return NULL;
20100 }
20101
20102
20103 SWIGINTERN PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20104 PyObject *resultobj = 0;
20105 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20106 wxString *result = 0 ;
20107 void *argp1 = 0 ;
20108 int res1 = 0 ;
20109 PyObject *swig_obj[1] ;
20110
20111 if (!args) SWIG_fail;
20112 swig_obj[0] = args;
20113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20114 if (!SWIG_IsOK(res1)) {
20115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20116 }
20117 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20118 {
20119 PyThreadState* __tstate = wxPyBeginAllowThreads();
20120 {
20121 wxString const &_result_ref = (arg1)->GetReplaceString();
20122 result = (wxString *) &_result_ref;
20123 }
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 {
20128 #if wxUSE_UNICODE
20129 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20130 #else
20131 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20132 #endif
20133 }
20134 return resultobj;
20135 fail:
20136 return NULL;
20137 }
20138
20139
20140 SWIGINTERN PyObject *_wrap_FindReplaceData_GetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20141 PyObject *resultobj = 0;
20142 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20143 int result;
20144 void *argp1 = 0 ;
20145 int res1 = 0 ;
20146 PyObject *swig_obj[1] ;
20147
20148 if (!args) SWIG_fail;
20149 swig_obj[0] = args;
20150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20151 if (!SWIG_IsOK(res1)) {
20152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20153 }
20154 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20155 {
20156 PyThreadState* __tstate = wxPyBeginAllowThreads();
20157 result = (int)(arg1)->GetFlags();
20158 wxPyEndAllowThreads(__tstate);
20159 if (PyErr_Occurred()) SWIG_fail;
20160 }
20161 resultobj = SWIG_From_int(static_cast< int >(result));
20162 return resultobj;
20163 fail:
20164 return NULL;
20165 }
20166
20167
20168 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFlags(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20169 PyObject *resultobj = 0;
20170 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20171 int arg2 ;
20172 void *argp1 = 0 ;
20173 int res1 = 0 ;
20174 int val2 ;
20175 int ecode2 = 0 ;
20176 PyObject * obj0 = 0 ;
20177 PyObject * obj1 = 0 ;
20178 char * kwnames[] = {
20179 (char *) "self",(char *) "flags", NULL
20180 };
20181
20182 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) SWIG_fail;
20183 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20184 if (!SWIG_IsOK(res1)) {
20185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20186 }
20187 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20188 ecode2 = SWIG_AsVal_int(obj1, &val2);
20189 if (!SWIG_IsOK(ecode2)) {
20190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20191 }
20192 arg2 = static_cast< int >(val2);
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 (arg1)->SetFlags(arg2);
20196 wxPyEndAllowThreads(__tstate);
20197 if (PyErr_Occurred()) SWIG_fail;
20198 }
20199 resultobj = SWIG_Py_Void();
20200 return resultobj;
20201 fail:
20202 return NULL;
20203 }
20204
20205
20206 SWIGINTERN PyObject *_wrap_FindReplaceData_SetFindString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20207 PyObject *resultobj = 0;
20208 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20209 wxString *arg2 = 0 ;
20210 void *argp1 = 0 ;
20211 int res1 = 0 ;
20212 bool temp2 = false ;
20213 PyObject * obj0 = 0 ;
20214 PyObject * obj1 = 0 ;
20215 char * kwnames[] = {
20216 (char *) "self",(char *) "str", NULL
20217 };
20218
20219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) SWIG_fail;
20220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20221 if (!SWIG_IsOK(res1)) {
20222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20223 }
20224 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20225 {
20226 arg2 = wxString_in_helper(obj1);
20227 if (arg2 == NULL) SWIG_fail;
20228 temp2 = true;
20229 }
20230 {
20231 PyThreadState* __tstate = wxPyBeginAllowThreads();
20232 (arg1)->SetFindString((wxString const &)*arg2);
20233 wxPyEndAllowThreads(__tstate);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 }
20236 resultobj = SWIG_Py_Void();
20237 {
20238 if (temp2)
20239 delete arg2;
20240 }
20241 return resultobj;
20242 fail:
20243 {
20244 if (temp2)
20245 delete arg2;
20246 }
20247 return NULL;
20248 }
20249
20250
20251 SWIGINTERN PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20252 PyObject *resultobj = 0;
20253 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
20254 wxString *arg2 = 0 ;
20255 void *argp1 = 0 ;
20256 int res1 = 0 ;
20257 bool temp2 = false ;
20258 PyObject * obj0 = 0 ;
20259 PyObject * obj1 = 0 ;
20260 char * kwnames[] = {
20261 (char *) "self",(char *) "str", NULL
20262 };
20263
20264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) SWIG_fail;
20265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20266 if (!SWIG_IsOK(res1)) {
20267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20268 }
20269 arg1 = reinterpret_cast< wxFindReplaceData * >(argp1);
20270 {
20271 arg2 = wxString_in_helper(obj1);
20272 if (arg2 == NULL) SWIG_fail;
20273 temp2 = true;
20274 }
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 (arg1)->SetReplaceString((wxString const &)*arg2);
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 resultobj = SWIG_Py_Void();
20282 {
20283 if (temp2)
20284 delete arg2;
20285 }
20286 return resultobj;
20287 fail:
20288 {
20289 if (temp2)
20290 delete arg2;
20291 }
20292 return NULL;
20293 }
20294
20295
20296 SWIGINTERN PyObject *FindReplaceData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20297 PyObject *obj;
20298 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20299 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData, SWIG_NewClientData(obj));
20300 return SWIG_Py_Void();
20301 }
20302
20303 SWIGINTERN PyObject *FindReplaceData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20304 return SWIG_Python_InitShadowInstance(args);
20305 }
20306
20307 SWIGINTERN PyObject *_wrap_new_FindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20308 PyObject *resultobj = 0;
20309 wxWindow *arg1 = (wxWindow *) 0 ;
20310 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20311 wxString *arg3 = 0 ;
20312 int arg4 = (int) 0 ;
20313 wxFindReplaceDialog *result = 0 ;
20314 void *argp1 = 0 ;
20315 int res1 = 0 ;
20316 void *argp2 = 0 ;
20317 int res2 = 0 ;
20318 bool temp3 = false ;
20319 int val4 ;
20320 int ecode4 = 0 ;
20321 PyObject * obj0 = 0 ;
20322 PyObject * obj1 = 0 ;
20323 PyObject * obj2 = 0 ;
20324 PyObject * obj3 = 0 ;
20325 char * kwnames[] = {
20326 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20327 };
20328
20329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
20330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20331 if (!SWIG_IsOK(res1)) {
20332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20333 }
20334 arg1 = reinterpret_cast< wxWindow * >(argp1);
20335 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20336 if (!SWIG_IsOK(res2)) {
20337 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20338 }
20339 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20340 {
20341 arg3 = wxString_in_helper(obj2);
20342 if (arg3 == NULL) SWIG_fail;
20343 temp3 = true;
20344 }
20345 if (obj3) {
20346 ecode4 = SWIG_AsVal_int(obj3, &val4);
20347 if (!SWIG_IsOK(ecode4)) {
20348 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20349 }
20350 arg4 = static_cast< int >(val4);
20351 }
20352 {
20353 if (!wxPyCheckForApp()) SWIG_fail;
20354 PyThreadState* __tstate = wxPyBeginAllowThreads();
20355 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
20356 wxPyEndAllowThreads(__tstate);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 }
20359 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_NEW | 0 );
20360 {
20361 if (temp3)
20362 delete arg3;
20363 }
20364 return resultobj;
20365 fail:
20366 {
20367 if (temp3)
20368 delete arg3;
20369 }
20370 return NULL;
20371 }
20372
20373
20374 SWIGINTERN PyObject *_wrap_new_PreFindReplaceDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20375 PyObject *resultobj = 0;
20376 wxFindReplaceDialog *result = 0 ;
20377
20378 if (!SWIG_Python_UnpackTuple(args,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail;
20379 {
20380 if (!wxPyCheckForApp()) SWIG_fail;
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
20383 wxPyEndAllowThreads(__tstate);
20384 if (PyErr_Occurred()) SWIG_fail;
20385 }
20386 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceDialog, SWIG_POINTER_OWN | 0 );
20387 return resultobj;
20388 fail:
20389 return NULL;
20390 }
20391
20392
20393 SWIGINTERN PyObject *_wrap_FindReplaceDialog_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20394 PyObject *resultobj = 0;
20395 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20396 wxWindow *arg2 = (wxWindow *) 0 ;
20397 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
20398 wxString *arg4 = 0 ;
20399 int arg5 = (int) 0 ;
20400 bool result;
20401 void *argp1 = 0 ;
20402 int res1 = 0 ;
20403 void *argp2 = 0 ;
20404 int res2 = 0 ;
20405 void *argp3 = 0 ;
20406 int res3 = 0 ;
20407 bool temp4 = false ;
20408 int val5 ;
20409 int ecode5 = 0 ;
20410 PyObject * obj0 = 0 ;
20411 PyObject * obj1 = 0 ;
20412 PyObject * obj2 = 0 ;
20413 PyObject * obj3 = 0 ;
20414 PyObject * obj4 = 0 ;
20415 char * kwnames[] = {
20416 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20417 };
20418
20419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
20420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20421 if (!SWIG_IsOK(res1)) {
20422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20423 }
20424 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20425 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20426 if (!SWIG_IsOK(res2)) {
20427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20428 }
20429 arg2 = reinterpret_cast< wxWindow * >(argp2);
20430 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20431 if (!SWIG_IsOK(res3)) {
20432 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20433 }
20434 arg3 = reinterpret_cast< wxFindReplaceData * >(argp3);
20435 {
20436 arg4 = wxString_in_helper(obj3);
20437 if (arg4 == NULL) SWIG_fail;
20438 temp4 = true;
20439 }
20440 if (obj4) {
20441 ecode5 = SWIG_AsVal_int(obj4, &val5);
20442 if (!SWIG_IsOK(ecode5)) {
20443 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20444 }
20445 arg5 = static_cast< int >(val5);
20446 }
20447 {
20448 PyThreadState* __tstate = wxPyBeginAllowThreads();
20449 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 {
20454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20455 }
20456 {
20457 if (temp4)
20458 delete arg4;
20459 }
20460 return resultobj;
20461 fail:
20462 {
20463 if (temp4)
20464 delete arg4;
20465 }
20466 return NULL;
20467 }
20468
20469
20470 SWIGINTERN PyObject *_wrap_FindReplaceDialog_GetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20471 PyObject *resultobj = 0;
20472 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20473 wxFindReplaceData *result = 0 ;
20474 void *argp1 = 0 ;
20475 int res1 = 0 ;
20476 PyObject *swig_obj[1] ;
20477
20478 if (!args) SWIG_fail;
20479 swig_obj[0] = args;
20480 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20481 if (!SWIG_IsOK(res1)) {
20482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20483 }
20484 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20485 {
20486 PyThreadState* __tstate = wxPyBeginAllowThreads();
20487 result = (wxFindReplaceData *)(arg1)->GetData();
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20492 return resultobj;
20493 fail:
20494 return NULL;
20495 }
20496
20497
20498 SWIGINTERN PyObject *_wrap_FindReplaceDialog_SetData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20499 PyObject *resultobj = 0;
20500 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
20501 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
20502 void *argp1 = 0 ;
20503 int res1 = 0 ;
20504 void *argp2 = 0 ;
20505 int res2 = 0 ;
20506 PyObject * obj0 = 0 ;
20507 PyObject * obj1 = 0 ;
20508 char * kwnames[] = {
20509 (char *) "self",(char *) "data", NULL
20510 };
20511
20512 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) SWIG_fail;
20513 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxFindReplaceDialog, 0 | 0 );
20514 if (!SWIG_IsOK(res1)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20516 }
20517 arg1 = reinterpret_cast< wxFindReplaceDialog * >(argp1);
20518 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFindReplaceData, 0 | 0 );
20519 if (!SWIG_IsOK(res2)) {
20520 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20521 }
20522 arg2 = reinterpret_cast< wxFindReplaceData * >(argp2);
20523 {
20524 PyThreadState* __tstate = wxPyBeginAllowThreads();
20525 (arg1)->SetData(arg2);
20526 wxPyEndAllowThreads(__tstate);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 }
20529 resultobj = SWIG_Py_Void();
20530 return resultobj;
20531 fail:
20532 return NULL;
20533 }
20534
20535
20536 SWIGINTERN PyObject *FindReplaceDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20537 PyObject *obj;
20538 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
20539 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog, SWIG_NewClientData(obj));
20540 return SWIG_Py_Void();
20541 }
20542
20543 SWIGINTERN PyObject *FindReplaceDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20544 return SWIG_Python_InitShadowInstance(args);
20545 }
20546
20547 SWIGINTERN PyObject *_wrap_new_MDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20548 PyObject *resultobj = 0;
20549 wxWindow *arg1 = (wxWindow *) 0 ;
20550 int arg2 = (int) (int)-1 ;
20551 wxString const &arg3_defvalue = wxPyEmptyString ;
20552 wxString *arg3 = (wxString *) &arg3_defvalue ;
20553 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20554 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20555 wxSize const &arg5_defvalue = wxDefaultSize ;
20556 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20557 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20558 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20559 wxString *arg7 = (wxString *) &arg7_defvalue ;
20560 wxMDIParentFrame *result = 0 ;
20561 void *argp1 = 0 ;
20562 int res1 = 0 ;
20563 int val2 ;
20564 int ecode2 = 0 ;
20565 bool temp3 = false ;
20566 wxPoint temp4 ;
20567 wxSize temp5 ;
20568 long val6 ;
20569 int ecode6 = 0 ;
20570 bool temp7 = false ;
20571 PyObject * obj0 = 0 ;
20572 PyObject * obj1 = 0 ;
20573 PyObject * obj2 = 0 ;
20574 PyObject * obj3 = 0 ;
20575 PyObject * obj4 = 0 ;
20576 PyObject * obj5 = 0 ;
20577 PyObject * obj6 = 0 ;
20578 char * kwnames[] = {
20579 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20580 };
20581
20582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
20583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
20584 if (!SWIG_IsOK(res1)) {
20585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20586 }
20587 arg1 = reinterpret_cast< wxWindow * >(argp1);
20588 if (obj1) {
20589 ecode2 = SWIG_AsVal_int(obj1, &val2);
20590 if (!SWIG_IsOK(ecode2)) {
20591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20592 }
20593 arg2 = static_cast< int >(val2);
20594 }
20595 if (obj2) {
20596 {
20597 arg3 = wxString_in_helper(obj2);
20598 if (arg3 == NULL) SWIG_fail;
20599 temp3 = true;
20600 }
20601 }
20602 if (obj3) {
20603 {
20604 arg4 = &temp4;
20605 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20606 }
20607 }
20608 if (obj4) {
20609 {
20610 arg5 = &temp5;
20611 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20612 }
20613 }
20614 if (obj5) {
20615 ecode6 = SWIG_AsVal_long(obj5, &val6);
20616 if (!SWIG_IsOK(ecode6)) {
20617 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20618 }
20619 arg6 = static_cast< long >(val6);
20620 }
20621 if (obj6) {
20622 {
20623 arg7 = wxString_in_helper(obj6);
20624 if (arg7 == NULL) SWIG_fail;
20625 temp7 = true;
20626 }
20627 }
20628 {
20629 if (!wxPyCheckForApp()) SWIG_fail;
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_NEW | 0 );
20636 {
20637 if (temp3)
20638 delete arg3;
20639 }
20640 {
20641 if (temp7)
20642 delete arg7;
20643 }
20644 return resultobj;
20645 fail:
20646 {
20647 if (temp3)
20648 delete arg3;
20649 }
20650 {
20651 if (temp7)
20652 delete arg7;
20653 }
20654 return NULL;
20655 }
20656
20657
20658 SWIGINTERN PyObject *_wrap_new_PreMDIParentFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20659 PyObject *resultobj = 0;
20660 wxMDIParentFrame *result = 0 ;
20661
20662 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIParentFrame",0,0,0)) SWIG_fail;
20663 {
20664 if (!wxPyCheckForApp()) SWIG_fail;
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = (wxMDIParentFrame *)new wxMDIParentFrame();
20667 wxPyEndAllowThreads(__tstate);
20668 if (PyErr_Occurred()) SWIG_fail;
20669 }
20670 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIParentFrame, SWIG_POINTER_OWN | 0 );
20671 return resultobj;
20672 fail:
20673 return NULL;
20674 }
20675
20676
20677 SWIGINTERN PyObject *_wrap_MDIParentFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20678 PyObject *resultobj = 0;
20679 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20680 wxWindow *arg2 = (wxWindow *) 0 ;
20681 int arg3 = (int) (int)-1 ;
20682 wxString const &arg4_defvalue = wxPyEmptyString ;
20683 wxString *arg4 = (wxString *) &arg4_defvalue ;
20684 wxPoint const &arg5_defvalue = wxDefaultPosition ;
20685 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
20686 wxSize const &arg6_defvalue = wxDefaultSize ;
20687 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
20688 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
20689 wxString const &arg8_defvalue = wxPyFrameNameStr ;
20690 wxString *arg8 = (wxString *) &arg8_defvalue ;
20691 bool result;
20692 void *argp1 = 0 ;
20693 int res1 = 0 ;
20694 void *argp2 = 0 ;
20695 int res2 = 0 ;
20696 int val3 ;
20697 int ecode3 = 0 ;
20698 bool temp4 = false ;
20699 wxPoint temp5 ;
20700 wxSize temp6 ;
20701 long val7 ;
20702 int ecode7 = 0 ;
20703 bool temp8 = false ;
20704 PyObject * obj0 = 0 ;
20705 PyObject * obj1 = 0 ;
20706 PyObject * obj2 = 0 ;
20707 PyObject * obj3 = 0 ;
20708 PyObject * obj4 = 0 ;
20709 PyObject * obj5 = 0 ;
20710 PyObject * obj6 = 0 ;
20711 PyObject * obj7 = 0 ;
20712 char * kwnames[] = {
20713 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20714 };
20715
20716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
20717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20718 if (!SWIG_IsOK(res1)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20720 }
20721 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20722 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
20723 if (!SWIG_IsOK(res2)) {
20724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20725 }
20726 arg2 = reinterpret_cast< wxWindow * >(argp2);
20727 if (obj2) {
20728 ecode3 = SWIG_AsVal_int(obj2, &val3);
20729 if (!SWIG_IsOK(ecode3)) {
20730 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20731 }
20732 arg3 = static_cast< int >(val3);
20733 }
20734 if (obj3) {
20735 {
20736 arg4 = wxString_in_helper(obj3);
20737 if (arg4 == NULL) SWIG_fail;
20738 temp4 = true;
20739 }
20740 }
20741 if (obj4) {
20742 {
20743 arg5 = &temp5;
20744 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
20745 }
20746 }
20747 if (obj5) {
20748 {
20749 arg6 = &temp6;
20750 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
20751 }
20752 }
20753 if (obj6) {
20754 ecode7 = SWIG_AsVal_long(obj6, &val7);
20755 if (!SWIG_IsOK(ecode7)) {
20756 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20757 }
20758 arg7 = static_cast< long >(val7);
20759 }
20760 if (obj7) {
20761 {
20762 arg8 = wxString_in_helper(obj7);
20763 if (arg8 == NULL) SWIG_fail;
20764 temp8 = true;
20765 }
20766 }
20767 {
20768 PyThreadState* __tstate = wxPyBeginAllowThreads();
20769 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 {
20774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20775 }
20776 {
20777 if (temp4)
20778 delete arg4;
20779 }
20780 {
20781 if (temp8)
20782 delete arg8;
20783 }
20784 return resultobj;
20785 fail:
20786 {
20787 if (temp4)
20788 delete arg4;
20789 }
20790 {
20791 if (temp8)
20792 delete arg8;
20793 }
20794 return NULL;
20795 }
20796
20797
20798 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20799 PyObject *resultobj = 0;
20800 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20801 void *argp1 = 0 ;
20802 int res1 = 0 ;
20803 PyObject *swig_obj[1] ;
20804
20805 if (!args) SWIG_fail;
20806 swig_obj[0] = args;
20807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20808 if (!SWIG_IsOK(res1)) {
20809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20810 }
20811 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20812 {
20813 PyThreadState* __tstate = wxPyBeginAllowThreads();
20814 (arg1)->ActivateNext();
20815 wxPyEndAllowThreads(__tstate);
20816 if (PyErr_Occurred()) SWIG_fail;
20817 }
20818 resultobj = SWIG_Py_Void();
20819 return resultobj;
20820 fail:
20821 return NULL;
20822 }
20823
20824
20825 SWIGINTERN PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20826 PyObject *resultobj = 0;
20827 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20828 void *argp1 = 0 ;
20829 int res1 = 0 ;
20830 PyObject *swig_obj[1] ;
20831
20832 if (!args) SWIG_fail;
20833 swig_obj[0] = args;
20834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20835 if (!SWIG_IsOK(res1)) {
20836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20837 }
20838 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20839 {
20840 PyThreadState* __tstate = wxPyBeginAllowThreads();
20841 (arg1)->ActivatePrevious();
20842 wxPyEndAllowThreads(__tstate);
20843 if (PyErr_Occurred()) SWIG_fail;
20844 }
20845 resultobj = SWIG_Py_Void();
20846 return resultobj;
20847 fail:
20848 return NULL;
20849 }
20850
20851
20852 SWIGINTERN PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20853 PyObject *resultobj = 0;
20854 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20855 void *argp1 = 0 ;
20856 int res1 = 0 ;
20857 PyObject *swig_obj[1] ;
20858
20859 if (!args) SWIG_fail;
20860 swig_obj[0] = args;
20861 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20862 if (!SWIG_IsOK(res1)) {
20863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20864 }
20865 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 (arg1)->ArrangeIcons();
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 resultobj = SWIG_Py_Void();
20873 return resultobj;
20874 fail:
20875 return NULL;
20876 }
20877
20878
20879 SWIGINTERN PyObject *_wrap_MDIParentFrame_Cascade(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20880 PyObject *resultobj = 0;
20881 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20882 void *argp1 = 0 ;
20883 int res1 = 0 ;
20884 PyObject *swig_obj[1] ;
20885
20886 if (!args) SWIG_fail;
20887 swig_obj[0] = args;
20888 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20889 if (!SWIG_IsOK(res1)) {
20890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20891 }
20892 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 (arg1)->Cascade();
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 resultobj = SWIG_Py_Void();
20900 return resultobj;
20901 fail:
20902 return NULL;
20903 }
20904
20905
20906 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20907 PyObject *resultobj = 0;
20908 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20909 wxMDIChildFrame *result = 0 ;
20910 void *argp1 = 0 ;
20911 int res1 = 0 ;
20912 PyObject *swig_obj[1] ;
20913
20914 if (!args) SWIG_fail;
20915 swig_obj[0] = args;
20916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20917 if (!SWIG_IsOK(res1)) {
20918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20919 }
20920 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20921 {
20922 PyThreadState* __tstate = wxPyBeginAllowThreads();
20923 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
20924 wxPyEndAllowThreads(__tstate);
20925 if (PyErr_Occurred()) SWIG_fail;
20926 }
20927 {
20928 resultobj = wxPyMake_wxObject(result, (bool)0);
20929 }
20930 return resultobj;
20931 fail:
20932 return NULL;
20933 }
20934
20935
20936 SWIGINTERN PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
20937 PyObject *resultobj = 0;
20938 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20939 wxMDIClientWindow *result = 0 ;
20940 void *argp1 = 0 ;
20941 int res1 = 0 ;
20942 PyObject *swig_obj[1] ;
20943
20944 if (!args) SWIG_fail;
20945 swig_obj[0] = args;
20946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20947 if (!SWIG_IsOK(res1)) {
20948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20949 }
20950 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
20954 wxPyEndAllowThreads(__tstate);
20955 if (PyErr_Occurred()) SWIG_fail;
20956 }
20957 {
20958 resultobj = wxPyMake_wxObject(result, (bool)0);
20959 }
20960 return resultobj;
20961 fail:
20962 return NULL;
20963 }
20964
20965
20966 SWIGINTERN PyObject *_wrap_MDIParentFrame_Tile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
20967 PyObject *resultobj = 0;
20968 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
20969 wxOrientation arg2 = (wxOrientation) wxHORIZONTAL ;
20970 void *argp1 = 0 ;
20971 int res1 = 0 ;
20972 int val2 ;
20973 int ecode2 = 0 ;
20974 PyObject * obj0 = 0 ;
20975 PyObject * obj1 = 0 ;
20976 char * kwnames[] = {
20977 (char *) "self",(char *) "orient", NULL
20978 };
20979
20980 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MDIParentFrame_Tile",kwnames,&obj0,&obj1)) SWIG_fail;
20981 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
20982 if (!SWIG_IsOK(res1)) {
20983 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20984 }
20985 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
20986 if (obj1) {
20987 ecode2 = SWIG_AsVal_int(obj1, &val2);
20988 if (!SWIG_IsOK(ecode2)) {
20989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20990 }
20991 arg2 = static_cast< wxOrientation >(val2);
20992 }
20993 {
20994 PyThreadState* __tstate = wxPyBeginAllowThreads();
20995 (arg1)->Tile(arg2);
20996 wxPyEndAllowThreads(__tstate);
20997 if (PyErr_Occurred()) SWIG_fail;
20998 }
20999 resultobj = SWIG_Py_Void();
21000 return resultobj;
21001 fail:
21002 return NULL;
21003 }
21004
21005
21006 SWIGINTERN PyObject *MDIParentFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21007 PyObject *obj;
21008 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21009 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame, SWIG_NewClientData(obj));
21010 return SWIG_Py_Void();
21011 }
21012
21013 SWIGINTERN PyObject *MDIParentFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21014 return SWIG_Python_InitShadowInstance(args);
21015 }
21016
21017 SWIGINTERN PyObject *_wrap_new_MDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21018 PyObject *resultobj = 0;
21019 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21020 int arg2 = (int) (int)-1 ;
21021 wxString const &arg3_defvalue = wxPyEmptyString ;
21022 wxString *arg3 = (wxString *) &arg3_defvalue ;
21023 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21024 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21025 wxSize const &arg5_defvalue = wxDefaultSize ;
21026 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21027 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21028 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21029 wxString *arg7 = (wxString *) &arg7_defvalue ;
21030 wxMDIChildFrame *result = 0 ;
21031 void *argp1 = 0 ;
21032 int res1 = 0 ;
21033 int val2 ;
21034 int ecode2 = 0 ;
21035 bool temp3 = false ;
21036 wxPoint temp4 ;
21037 wxSize temp5 ;
21038 long val6 ;
21039 int ecode6 = 0 ;
21040 bool temp7 = false ;
21041 PyObject * obj0 = 0 ;
21042 PyObject * obj1 = 0 ;
21043 PyObject * obj2 = 0 ;
21044 PyObject * obj3 = 0 ;
21045 PyObject * obj4 = 0 ;
21046 PyObject * obj5 = 0 ;
21047 PyObject * obj6 = 0 ;
21048 char * kwnames[] = {
21049 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21050 };
21051
21052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
21053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21054 if (!SWIG_IsOK(res1)) {
21055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21056 }
21057 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21058 if (obj1) {
21059 ecode2 = SWIG_AsVal_int(obj1, &val2);
21060 if (!SWIG_IsOK(ecode2)) {
21061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21062 }
21063 arg2 = static_cast< int >(val2);
21064 }
21065 if (obj2) {
21066 {
21067 arg3 = wxString_in_helper(obj2);
21068 if (arg3 == NULL) SWIG_fail;
21069 temp3 = true;
21070 }
21071 }
21072 if (obj3) {
21073 {
21074 arg4 = &temp4;
21075 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21076 }
21077 }
21078 if (obj4) {
21079 {
21080 arg5 = &temp5;
21081 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21082 }
21083 }
21084 if (obj5) {
21085 ecode6 = SWIG_AsVal_long(obj5, &val6);
21086 if (!SWIG_IsOK(ecode6)) {
21087 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21088 }
21089 arg6 = static_cast< long >(val6);
21090 }
21091 if (obj6) {
21092 {
21093 arg7 = wxString_in_helper(obj6);
21094 if (arg7 == NULL) SWIG_fail;
21095 temp7 = true;
21096 }
21097 }
21098 {
21099 if (!wxPyCheckForApp()) SWIG_fail;
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21102 wxPyEndAllowThreads(__tstate);
21103 if (PyErr_Occurred()) SWIG_fail;
21104 }
21105 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_NEW | 0 );
21106 {
21107 if (temp3)
21108 delete arg3;
21109 }
21110 {
21111 if (temp7)
21112 delete arg7;
21113 }
21114 return resultobj;
21115 fail:
21116 {
21117 if (temp3)
21118 delete arg3;
21119 }
21120 {
21121 if (temp7)
21122 delete arg7;
21123 }
21124 return NULL;
21125 }
21126
21127
21128 SWIGINTERN PyObject *_wrap_new_PreMDIChildFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21129 PyObject *resultobj = 0;
21130 wxMDIChildFrame *result = 0 ;
21131
21132 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIChildFrame",0,0,0)) SWIG_fail;
21133 {
21134 if (!wxPyCheckForApp()) SWIG_fail;
21135 PyThreadState* __tstate = wxPyBeginAllowThreads();
21136 result = (wxMDIChildFrame *)new wxMDIChildFrame();
21137 wxPyEndAllowThreads(__tstate);
21138 if (PyErr_Occurred()) SWIG_fail;
21139 }
21140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIChildFrame, SWIG_POINTER_OWN | 0 );
21141 return resultobj;
21142 fail:
21143 return NULL;
21144 }
21145
21146
21147 SWIGINTERN PyObject *_wrap_MDIChildFrame_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21148 PyObject *resultobj = 0;
21149 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21150 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21151 int arg3 = (int) (int)-1 ;
21152 wxString const &arg4_defvalue = wxPyEmptyString ;
21153 wxString *arg4 = (wxString *) &arg4_defvalue ;
21154 wxPoint const &arg5_defvalue = wxDefaultPosition ;
21155 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
21156 wxSize const &arg6_defvalue = wxDefaultSize ;
21157 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
21158 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
21159 wxString const &arg8_defvalue = wxPyFrameNameStr ;
21160 wxString *arg8 = (wxString *) &arg8_defvalue ;
21161 bool result;
21162 void *argp1 = 0 ;
21163 int res1 = 0 ;
21164 void *argp2 = 0 ;
21165 int res2 = 0 ;
21166 int val3 ;
21167 int ecode3 = 0 ;
21168 bool temp4 = false ;
21169 wxPoint temp5 ;
21170 wxSize temp6 ;
21171 long val7 ;
21172 int ecode7 = 0 ;
21173 bool temp8 = false ;
21174 PyObject * obj0 = 0 ;
21175 PyObject * obj1 = 0 ;
21176 PyObject * obj2 = 0 ;
21177 PyObject * obj3 = 0 ;
21178 PyObject * obj4 = 0 ;
21179 PyObject * obj5 = 0 ;
21180 PyObject * obj6 = 0 ;
21181 PyObject * obj7 = 0 ;
21182 char * kwnames[] = {
21183 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21184 };
21185
21186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
21187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21188 if (!SWIG_IsOK(res1)) {
21189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21190 }
21191 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21192 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21193 if (!SWIG_IsOK(res2)) {
21194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21195 }
21196 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21197 if (obj2) {
21198 ecode3 = SWIG_AsVal_int(obj2, &val3);
21199 if (!SWIG_IsOK(ecode3)) {
21200 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21201 }
21202 arg3 = static_cast< int >(val3);
21203 }
21204 if (obj3) {
21205 {
21206 arg4 = wxString_in_helper(obj3);
21207 if (arg4 == NULL) SWIG_fail;
21208 temp4 = true;
21209 }
21210 }
21211 if (obj4) {
21212 {
21213 arg5 = &temp5;
21214 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
21215 }
21216 }
21217 if (obj5) {
21218 {
21219 arg6 = &temp6;
21220 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
21221 }
21222 }
21223 if (obj6) {
21224 ecode7 = SWIG_AsVal_long(obj6, &val7);
21225 if (!SWIG_IsOK(ecode7)) {
21226 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21227 }
21228 arg7 = static_cast< long >(val7);
21229 }
21230 if (obj7) {
21231 {
21232 arg8 = wxString_in_helper(obj7);
21233 if (arg8 == NULL) SWIG_fail;
21234 temp8 = true;
21235 }
21236 }
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
21240 wxPyEndAllowThreads(__tstate);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
21243 {
21244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21245 }
21246 {
21247 if (temp4)
21248 delete arg4;
21249 }
21250 {
21251 if (temp8)
21252 delete arg8;
21253 }
21254 return resultobj;
21255 fail:
21256 {
21257 if (temp4)
21258 delete arg4;
21259 }
21260 {
21261 if (temp8)
21262 delete arg8;
21263 }
21264 return NULL;
21265 }
21266
21267
21268 SWIGINTERN PyObject *_wrap_MDIChildFrame_Activate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21269 PyObject *resultobj = 0;
21270 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
21271 void *argp1 = 0 ;
21272 int res1 = 0 ;
21273 PyObject *swig_obj[1] ;
21274
21275 if (!args) SWIG_fail;
21276 swig_obj[0] = args;
21277 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxMDIChildFrame, 0 | 0 );
21278 if (!SWIG_IsOK(res1)) {
21279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21280 }
21281 arg1 = reinterpret_cast< wxMDIChildFrame * >(argp1);
21282 {
21283 PyThreadState* __tstate = wxPyBeginAllowThreads();
21284 (arg1)->Activate();
21285 wxPyEndAllowThreads(__tstate);
21286 if (PyErr_Occurred()) SWIG_fail;
21287 }
21288 resultobj = SWIG_Py_Void();
21289 return resultobj;
21290 fail:
21291 return NULL;
21292 }
21293
21294
21295 SWIGINTERN PyObject *MDIChildFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21296 PyObject *obj;
21297 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21298 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame, SWIG_NewClientData(obj));
21299 return SWIG_Py_Void();
21300 }
21301
21302 SWIGINTERN PyObject *MDIChildFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21303 return SWIG_Python_InitShadowInstance(args);
21304 }
21305
21306 SWIGINTERN PyObject *_wrap_new_MDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21307 PyObject *resultobj = 0;
21308 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
21309 long arg2 = (long) 0 ;
21310 wxMDIClientWindow *result = 0 ;
21311 void *argp1 = 0 ;
21312 int res1 = 0 ;
21313 long val2 ;
21314 int ecode2 = 0 ;
21315 PyObject * obj0 = 0 ;
21316 PyObject * obj1 = 0 ;
21317 char * kwnames[] = {
21318 (char *) "parent",(char *) "style", NULL
21319 };
21320
21321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) SWIG_fail;
21322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21323 if (!SWIG_IsOK(res1)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21325 }
21326 arg1 = reinterpret_cast< wxMDIParentFrame * >(argp1);
21327 if (obj1) {
21328 ecode2 = SWIG_AsVal_long(obj1, &val2);
21329 if (!SWIG_IsOK(ecode2)) {
21330 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21331 }
21332 arg2 = static_cast< long >(val2);
21333 }
21334 {
21335 if (!wxPyCheckForApp()) SWIG_fail;
21336 PyThreadState* __tstate = wxPyBeginAllowThreads();
21337 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_NEW | 0 );
21342 return resultobj;
21343 fail:
21344 return NULL;
21345 }
21346
21347
21348 SWIGINTERN PyObject *_wrap_new_PreMDIClientWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21349 PyObject *resultobj = 0;
21350 wxMDIClientWindow *result = 0 ;
21351
21352 if (!SWIG_Python_UnpackTuple(args,"new_PreMDIClientWindow",0,0,0)) SWIG_fail;
21353 {
21354 if (!wxPyCheckForApp()) SWIG_fail;
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 result = (wxMDIClientWindow *)new wxMDIClientWindow();
21357 wxPyEndAllowThreads(__tstate);
21358 if (PyErr_Occurred()) SWIG_fail;
21359 }
21360 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxMDIClientWindow, SWIG_POINTER_OWN | 0 );
21361 return resultobj;
21362 fail:
21363 return NULL;
21364 }
21365
21366
21367 SWIGINTERN PyObject *_wrap_MDIClientWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21368 PyObject *resultobj = 0;
21369 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
21370 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
21371 long arg3 = (long) 0 ;
21372 bool result;
21373 void *argp1 = 0 ;
21374 int res1 = 0 ;
21375 void *argp2 = 0 ;
21376 int res2 = 0 ;
21377 long val3 ;
21378 int ecode3 = 0 ;
21379 PyObject * obj0 = 0 ;
21380 PyObject * obj1 = 0 ;
21381 PyObject * obj2 = 0 ;
21382 char * kwnames[] = {
21383 (char *) "self",(char *) "parent",(char *) "style", NULL
21384 };
21385
21386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxMDIClientWindow, 0 | 0 );
21388 if (!SWIG_IsOK(res1)) {
21389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21390 }
21391 arg1 = reinterpret_cast< wxMDIClientWindow * >(argp1);
21392 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxMDIParentFrame, 0 | 0 );
21393 if (!SWIG_IsOK(res2)) {
21394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21395 }
21396 arg2 = reinterpret_cast< wxMDIParentFrame * >(argp2);
21397 if (obj2) {
21398 ecode3 = SWIG_AsVal_long(obj2, &val3);
21399 if (!SWIG_IsOK(ecode3)) {
21400 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21401 }
21402 arg3 = static_cast< long >(val3);
21403 }
21404 {
21405 PyThreadState* __tstate = wxPyBeginAllowThreads();
21406 result = (bool)(arg1)->Create(arg2,arg3);
21407 wxPyEndAllowThreads(__tstate);
21408 if (PyErr_Occurred()) SWIG_fail;
21409 }
21410 {
21411 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21412 }
21413 return resultobj;
21414 fail:
21415 return NULL;
21416 }
21417
21418
21419 SWIGINTERN PyObject *MDIClientWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21420 PyObject *obj;
21421 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
21422 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow, SWIG_NewClientData(obj));
21423 return SWIG_Py_Void();
21424 }
21425
21426 SWIGINTERN PyObject *MDIClientWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21427 return SWIG_Python_InitShadowInstance(args);
21428 }
21429
21430 SWIGINTERN PyObject *_wrap_new_PyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21431 PyObject *resultobj = 0;
21432 wxWindow *arg1 = (wxWindow *) 0 ;
21433 int arg2 = (int) (int)-1 ;
21434 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21435 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21436 wxSize const &arg4_defvalue = wxDefaultSize ;
21437 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21438 long arg5 = (long) 0 ;
21439 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21440 wxString *arg6 = (wxString *) &arg6_defvalue ;
21441 wxPyWindow *result = 0 ;
21442 void *argp1 = 0 ;
21443 int res1 = 0 ;
21444 int val2 ;
21445 int ecode2 = 0 ;
21446 wxPoint temp3 ;
21447 wxSize temp4 ;
21448 long val5 ;
21449 int ecode5 = 0 ;
21450 bool temp6 = false ;
21451 PyObject * obj0 = 0 ;
21452 PyObject * obj1 = 0 ;
21453 PyObject * obj2 = 0 ;
21454 PyObject * obj3 = 0 ;
21455 PyObject * obj4 = 0 ;
21456 PyObject * obj5 = 0 ;
21457 char * kwnames[] = {
21458 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21459 };
21460
21461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
21463 if (!SWIG_IsOK(res1)) {
21464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21465 }
21466 arg1 = reinterpret_cast< wxWindow * >(argp1);
21467 if (obj1) {
21468 ecode2 = SWIG_AsVal_int(obj1, &val2);
21469 if (!SWIG_IsOK(ecode2)) {
21470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21471 }
21472 arg2 = static_cast< int >(val2);
21473 }
21474 if (obj2) {
21475 {
21476 arg3 = &temp3;
21477 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21478 }
21479 }
21480 if (obj3) {
21481 {
21482 arg4 = &temp4;
21483 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21484 }
21485 }
21486 if (obj4) {
21487 ecode5 = SWIG_AsVal_long(obj4, &val5);
21488 if (!SWIG_IsOK(ecode5)) {
21489 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21490 }
21491 arg5 = static_cast< long >(val5);
21492 }
21493 if (obj5) {
21494 {
21495 arg6 = wxString_in_helper(obj5);
21496 if (arg6 == NULL) SWIG_fail;
21497 temp6 = true;
21498 }
21499 }
21500 {
21501 if (!wxPyCheckForApp()) SWIG_fail;
21502 PyThreadState* __tstate = wxPyBeginAllowThreads();
21503 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_NEW | 0 );
21508 {
21509 if (temp6)
21510 delete arg6;
21511 }
21512 return resultobj;
21513 fail:
21514 {
21515 if (temp6)
21516 delete arg6;
21517 }
21518 return NULL;
21519 }
21520
21521
21522 SWIGINTERN PyObject *_wrap_new_PrePyWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21523 PyObject *resultobj = 0;
21524 wxPyWindow *result = 0 ;
21525
21526 if (!SWIG_Python_UnpackTuple(args,"new_PrePyWindow",0,0,0)) SWIG_fail;
21527 {
21528 if (!wxPyCheckForApp()) SWIG_fail;
21529 PyThreadState* __tstate = wxPyBeginAllowThreads();
21530 result = (wxPyWindow *)new wxPyWindow();
21531 wxPyEndAllowThreads(__tstate);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyWindow, SWIG_POINTER_OWN | 0 );
21535 return resultobj;
21536 fail:
21537 return NULL;
21538 }
21539
21540
21541 SWIGINTERN PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21542 PyObject *resultobj = 0;
21543 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21544 PyObject *arg2 = (PyObject *) 0 ;
21545 PyObject *arg3 = (PyObject *) 0 ;
21546 void *argp1 = 0 ;
21547 int res1 = 0 ;
21548 PyObject * obj0 = 0 ;
21549 PyObject * obj1 = 0 ;
21550 PyObject * obj2 = 0 ;
21551 char * kwnames[] = {
21552 (char *) "self",(char *) "self",(char *) "_class", NULL
21553 };
21554
21555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21557 if (!SWIG_IsOK(res1)) {
21558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21559 }
21560 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21561 arg2 = obj1;
21562 arg3 = obj2;
21563 {
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 (arg1)->_setCallbackInfo(arg2,arg3);
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 *_wrap_PyWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21577 PyObject *resultobj = 0;
21578 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21579 wxDC *arg2 = (wxDC *) 0 ;
21580 bool result;
21581 void *argp1 = 0 ;
21582 int res1 = 0 ;
21583 void *argp2 = 0 ;
21584 int res2 = 0 ;
21585 PyObject * obj0 = 0 ;
21586 PyObject * obj1 = 0 ;
21587 char * kwnames[] = {
21588 (char *) "self",(char *) "dc", NULL
21589 };
21590
21591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
21592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21593 if (!SWIG_IsOK(res1)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21595 }
21596 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21597 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
21598 if (!SWIG_IsOK(res2)) {
21599 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21600 }
21601 arg2 = reinterpret_cast< wxDC * >(argp2);
21602 {
21603 PyThreadState* __tstate = wxPyBeginAllowThreads();
21604 result = (bool)(arg1)->DoEraseBackground(arg2);
21605 wxPyEndAllowThreads(__tstate);
21606 if (PyErr_Occurred()) SWIG_fail;
21607 }
21608 {
21609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21610 }
21611 return resultobj;
21612 fail:
21613 return NULL;
21614 }
21615
21616
21617 SWIGINTERN PyObject *_wrap_PyWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21618 PyObject *resultobj = 0;
21619 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21620 int arg2 ;
21621 int arg3 ;
21622 int arg4 ;
21623 int arg5 ;
21624 void *argp1 = 0 ;
21625 int res1 = 0 ;
21626 int val2 ;
21627 int ecode2 = 0 ;
21628 int val3 ;
21629 int ecode3 = 0 ;
21630 int val4 ;
21631 int ecode4 = 0 ;
21632 int val5 ;
21633 int ecode5 = 0 ;
21634 PyObject * obj0 = 0 ;
21635 PyObject * obj1 = 0 ;
21636 PyObject * obj2 = 0 ;
21637 PyObject * obj3 = 0 ;
21638 PyObject * obj4 = 0 ;
21639 char * kwnames[] = {
21640 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21641 };
21642
21643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
21644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21645 if (!SWIG_IsOK(res1)) {
21646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21647 }
21648 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21649 ecode2 = SWIG_AsVal_int(obj1, &val2);
21650 if (!SWIG_IsOK(ecode2)) {
21651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21652 }
21653 arg2 = static_cast< int >(val2);
21654 ecode3 = SWIG_AsVal_int(obj2, &val3);
21655 if (!SWIG_IsOK(ecode3)) {
21656 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21657 }
21658 arg3 = static_cast< int >(val3);
21659 ecode4 = SWIG_AsVal_int(obj3, &val4);
21660 if (!SWIG_IsOK(ecode4)) {
21661 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21662 }
21663 arg4 = static_cast< int >(val4);
21664 ecode5 = SWIG_AsVal_int(obj4, &val5);
21665 if (!SWIG_IsOK(ecode5)) {
21666 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21667 }
21668 arg5 = static_cast< int >(val5);
21669 {
21670 PyThreadState* __tstate = wxPyBeginAllowThreads();
21671 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
21672 wxPyEndAllowThreads(__tstate);
21673 if (PyErr_Occurred()) SWIG_fail;
21674 }
21675 resultobj = SWIG_Py_Void();
21676 return resultobj;
21677 fail:
21678 return NULL;
21679 }
21680
21681
21682 SWIGINTERN PyObject *_wrap_PyWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21683 PyObject *resultobj = 0;
21684 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21685 int arg2 ;
21686 int arg3 ;
21687 int arg4 ;
21688 int arg5 ;
21689 int arg6 = (int) wxSIZE_AUTO ;
21690 void *argp1 = 0 ;
21691 int res1 = 0 ;
21692 int val2 ;
21693 int ecode2 = 0 ;
21694 int val3 ;
21695 int ecode3 = 0 ;
21696 int val4 ;
21697 int ecode4 = 0 ;
21698 int val5 ;
21699 int ecode5 = 0 ;
21700 int val6 ;
21701 int ecode6 = 0 ;
21702 PyObject * obj0 = 0 ;
21703 PyObject * obj1 = 0 ;
21704 PyObject * obj2 = 0 ;
21705 PyObject * obj3 = 0 ;
21706 PyObject * obj4 = 0 ;
21707 PyObject * obj5 = 0 ;
21708 char * kwnames[] = {
21709 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21710 };
21711
21712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
21713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21714 if (!SWIG_IsOK(res1)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21716 }
21717 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21718 ecode2 = SWIG_AsVal_int(obj1, &val2);
21719 if (!SWIG_IsOK(ecode2)) {
21720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21721 }
21722 arg2 = static_cast< int >(val2);
21723 ecode3 = SWIG_AsVal_int(obj2, &val3);
21724 if (!SWIG_IsOK(ecode3)) {
21725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21726 }
21727 arg3 = static_cast< int >(val3);
21728 ecode4 = SWIG_AsVal_int(obj3, &val4);
21729 if (!SWIG_IsOK(ecode4)) {
21730 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21731 }
21732 arg4 = static_cast< int >(val4);
21733 ecode5 = SWIG_AsVal_int(obj4, &val5);
21734 if (!SWIG_IsOK(ecode5)) {
21735 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21736 }
21737 arg5 = static_cast< int >(val5);
21738 if (obj5) {
21739 ecode6 = SWIG_AsVal_int(obj5, &val6);
21740 if (!SWIG_IsOK(ecode6)) {
21741 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21742 }
21743 arg6 = static_cast< int >(val6);
21744 }
21745 {
21746 PyThreadState* __tstate = wxPyBeginAllowThreads();
21747 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
21748 wxPyEndAllowThreads(__tstate);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 }
21751 resultobj = SWIG_Py_Void();
21752 return resultobj;
21753 fail:
21754 return NULL;
21755 }
21756
21757
21758 SWIGINTERN PyObject *_wrap_PyWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21759 PyObject *resultobj = 0;
21760 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21761 int arg2 ;
21762 int arg3 ;
21763 void *argp1 = 0 ;
21764 int res1 = 0 ;
21765 int val2 ;
21766 int ecode2 = 0 ;
21767 int val3 ;
21768 int ecode3 = 0 ;
21769 PyObject * obj0 = 0 ;
21770 PyObject * obj1 = 0 ;
21771 PyObject * obj2 = 0 ;
21772 char * kwnames[] = {
21773 (char *) "self",(char *) "width",(char *) "height", NULL
21774 };
21775
21776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21778 if (!SWIG_IsOK(res1)) {
21779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21780 }
21781 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21782 ecode2 = SWIG_AsVal_int(obj1, &val2);
21783 if (!SWIG_IsOK(ecode2)) {
21784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21785 }
21786 arg2 = static_cast< int >(val2);
21787 ecode3 = SWIG_AsVal_int(obj2, &val3);
21788 if (!SWIG_IsOK(ecode3)) {
21789 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21790 }
21791 arg3 = static_cast< int >(val3);
21792 {
21793 PyThreadState* __tstate = wxPyBeginAllowThreads();
21794 (arg1)->DoSetClientSize(arg2,arg3);
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 resultobj = SWIG_Py_Void();
21799 return resultobj;
21800 fail:
21801 return NULL;
21802 }
21803
21804
21805 SWIGINTERN PyObject *_wrap_PyWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
21806 PyObject *resultobj = 0;
21807 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21808 int arg2 ;
21809 int arg3 ;
21810 void *argp1 = 0 ;
21811 int res1 = 0 ;
21812 int val2 ;
21813 int ecode2 = 0 ;
21814 int val3 ;
21815 int ecode3 = 0 ;
21816 PyObject * obj0 = 0 ;
21817 PyObject * obj1 = 0 ;
21818 PyObject * obj2 = 0 ;
21819 char * kwnames[] = {
21820 (char *) "self",(char *) "x",(char *) "y", NULL
21821 };
21822
21823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
21824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21825 if (!SWIG_IsOK(res1)) {
21826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21827 }
21828 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21829 ecode2 = SWIG_AsVal_int(obj1, &val2);
21830 if (!SWIG_IsOK(ecode2)) {
21831 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21832 }
21833 arg2 = static_cast< int >(val2);
21834 ecode3 = SWIG_AsVal_int(obj2, &val3);
21835 if (!SWIG_IsOK(ecode3)) {
21836 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21837 }
21838 arg3 = static_cast< int >(val3);
21839 {
21840 PyThreadState* __tstate = wxPyBeginAllowThreads();
21841 (arg1)->DoSetVirtualSize(arg2,arg3);
21842 wxPyEndAllowThreads(__tstate);
21843 if (PyErr_Occurred()) SWIG_fail;
21844 }
21845 resultobj = SWIG_Py_Void();
21846 return resultobj;
21847 fail:
21848 return NULL;
21849 }
21850
21851
21852 SWIGINTERN PyObject *_wrap_PyWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21853 PyObject *resultobj = 0;
21854 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21855 int *arg2 = (int *) 0 ;
21856 int *arg3 = (int *) 0 ;
21857 void *argp1 = 0 ;
21858 int res1 = 0 ;
21859 int temp2 ;
21860 int res2 = SWIG_TMPOBJ ;
21861 int temp3 ;
21862 int res3 = SWIG_TMPOBJ ;
21863 PyObject *swig_obj[1] ;
21864
21865 arg2 = &temp2;
21866 arg3 = &temp3;
21867 if (!args) SWIG_fail;
21868 swig_obj[0] = args;
21869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21870 if (!SWIG_IsOK(res1)) {
21871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21872 }
21873 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 ((wxPyWindow const *)arg1)->DoGetSize(arg2,arg3);
21877 wxPyEndAllowThreads(__tstate);
21878 if (PyErr_Occurred()) SWIG_fail;
21879 }
21880 resultobj = SWIG_Py_Void();
21881 if (SWIG_IsTmpObj(res2)) {
21882 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21883 } else {
21884 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21885 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21886 }
21887 if (SWIG_IsTmpObj(res3)) {
21888 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21889 } else {
21890 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21891 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21892 }
21893 return resultobj;
21894 fail:
21895 return NULL;
21896 }
21897
21898
21899 SWIGINTERN PyObject *_wrap_PyWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21900 PyObject *resultobj = 0;
21901 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21902 int *arg2 = (int *) 0 ;
21903 int *arg3 = (int *) 0 ;
21904 void *argp1 = 0 ;
21905 int res1 = 0 ;
21906 int temp2 ;
21907 int res2 = SWIG_TMPOBJ ;
21908 int temp3 ;
21909 int res3 = SWIG_TMPOBJ ;
21910 PyObject *swig_obj[1] ;
21911
21912 arg2 = &temp2;
21913 arg3 = &temp3;
21914 if (!args) SWIG_fail;
21915 swig_obj[0] = args;
21916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21917 if (!SWIG_IsOK(res1)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21919 }
21920 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21921 {
21922 PyThreadState* __tstate = wxPyBeginAllowThreads();
21923 ((wxPyWindow const *)arg1)->DoGetClientSize(arg2,arg3);
21924 wxPyEndAllowThreads(__tstate);
21925 if (PyErr_Occurred()) SWIG_fail;
21926 }
21927 resultobj = SWIG_Py_Void();
21928 if (SWIG_IsTmpObj(res2)) {
21929 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21930 } else {
21931 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21932 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21933 }
21934 if (SWIG_IsTmpObj(res3)) {
21935 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21936 } else {
21937 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21938 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21939 }
21940 return resultobj;
21941 fail:
21942 return NULL;
21943 }
21944
21945
21946 SWIGINTERN PyObject *_wrap_PyWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21947 PyObject *resultobj = 0;
21948 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21949 int *arg2 = (int *) 0 ;
21950 int *arg3 = (int *) 0 ;
21951 void *argp1 = 0 ;
21952 int res1 = 0 ;
21953 int temp2 ;
21954 int res2 = SWIG_TMPOBJ ;
21955 int temp3 ;
21956 int res3 = SWIG_TMPOBJ ;
21957 PyObject *swig_obj[1] ;
21958
21959 arg2 = &temp2;
21960 arg3 = &temp3;
21961 if (!args) SWIG_fail;
21962 swig_obj[0] = args;
21963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
21964 if (!SWIG_IsOK(res1)) {
21965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21966 }
21967 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
21968 {
21969 PyThreadState* __tstate = wxPyBeginAllowThreads();
21970 ((wxPyWindow const *)arg1)->DoGetPosition(arg2,arg3);
21971 wxPyEndAllowThreads(__tstate);
21972 if (PyErr_Occurred()) SWIG_fail;
21973 }
21974 resultobj = SWIG_Py_Void();
21975 if (SWIG_IsTmpObj(res2)) {
21976 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
21977 } else {
21978 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21979 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
21980 }
21981 if (SWIG_IsTmpObj(res3)) {
21982 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
21983 } else {
21984 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
21985 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
21986 }
21987 return resultobj;
21988 fail:
21989 return NULL;
21990 }
21991
21992
21993 SWIGINTERN PyObject *_wrap_PyWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
21994 PyObject *resultobj = 0;
21995 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
21996 wxSize result;
21997 void *argp1 = 0 ;
21998 int res1 = 0 ;
21999 PyObject *swig_obj[1] ;
22000
22001 if (!args) SWIG_fail;
22002 swig_obj[0] = args;
22003 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22004 if (!SWIG_IsOK(res1)) {
22005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22006 }
22007 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 result = ((wxPyWindow const *)arg1)->DoGetVirtualSize();
22011 wxPyEndAllowThreads(__tstate);
22012 if (PyErr_Occurred()) SWIG_fail;
22013 }
22014 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22015 return resultobj;
22016 fail:
22017 return NULL;
22018 }
22019
22020
22021 SWIGINTERN PyObject *_wrap_PyWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22022 PyObject *resultobj = 0;
22023 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22024 wxSize result;
22025 void *argp1 = 0 ;
22026 int res1 = 0 ;
22027 PyObject *swig_obj[1] ;
22028
22029 if (!args) SWIG_fail;
22030 swig_obj[0] = args;
22031 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22032 if (!SWIG_IsOK(res1)) {
22033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22034 }
22035 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22036 {
22037 PyThreadState* __tstate = wxPyBeginAllowThreads();
22038 result = ((wxPyWindow const *)arg1)->DoGetBestSize();
22039 wxPyEndAllowThreads(__tstate);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 }
22042 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22043 return resultobj;
22044 fail:
22045 return NULL;
22046 }
22047
22048
22049 SWIGINTERN PyObject *_wrap_PyWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22050 PyObject *resultobj = 0;
22051 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22052 SwigValueWrapper<wxVisualAttributes > result;
22053 void *argp1 = 0 ;
22054 int res1 = 0 ;
22055 PyObject *swig_obj[1] ;
22056
22057 if (!args) SWIG_fail;
22058 swig_obj[0] = args;
22059 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22060 if (!SWIG_IsOK(res1)) {
22061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22062 }
22063 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 result = (arg1)->GetDefaultAttributes();
22067 wxPyEndAllowThreads(__tstate);
22068 if (PyErr_Occurred()) SWIG_fail;
22069 }
22070 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22071 return resultobj;
22072 fail:
22073 return NULL;
22074 }
22075
22076
22077 SWIGINTERN PyObject *_wrap_PyWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22078 PyObject *resultobj = 0;
22079 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
22080 void *argp1 = 0 ;
22081 int res1 = 0 ;
22082 PyObject *swig_obj[1] ;
22083
22084 if (!args) SWIG_fail;
22085 swig_obj[0] = args;
22086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyWindow, 0 | 0 );
22087 if (!SWIG_IsOK(res1)) {
22088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22089 }
22090 arg1 = reinterpret_cast< wxPyWindow * >(argp1);
22091 {
22092 PyThreadState* __tstate = wxPyBeginAllowThreads();
22093 (arg1)->OnInternalIdle();
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
22097 resultobj = SWIG_Py_Void();
22098 return resultobj;
22099 fail:
22100 return NULL;
22101 }
22102
22103
22104 SWIGINTERN PyObject *PyWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22105 PyObject *obj;
22106 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22107 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow, SWIG_NewClientData(obj));
22108 return SWIG_Py_Void();
22109 }
22110
22111 SWIGINTERN PyObject *PyWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22112 return SWIG_Python_InitShadowInstance(args);
22113 }
22114
22115 SWIGINTERN PyObject *_wrap_new_PyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22116 PyObject *resultobj = 0;
22117 wxWindow *arg1 = (wxWindow *) 0 ;
22118 int arg2 = (int) (int)-1 ;
22119 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22120 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22121 wxSize const &arg4_defvalue = wxDefaultSize ;
22122 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22123 long arg5 = (long) 0 ;
22124 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22125 wxString *arg6 = (wxString *) &arg6_defvalue ;
22126 wxPyPanel *result = 0 ;
22127 void *argp1 = 0 ;
22128 int res1 = 0 ;
22129 int val2 ;
22130 int ecode2 = 0 ;
22131 wxPoint temp3 ;
22132 wxSize temp4 ;
22133 long val5 ;
22134 int ecode5 = 0 ;
22135 bool temp6 = false ;
22136 PyObject * obj0 = 0 ;
22137 PyObject * obj1 = 0 ;
22138 PyObject * obj2 = 0 ;
22139 PyObject * obj3 = 0 ;
22140 PyObject * obj4 = 0 ;
22141 PyObject * obj5 = 0 ;
22142 char * kwnames[] = {
22143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22144 };
22145
22146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22148 if (!SWIG_IsOK(res1)) {
22149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22150 }
22151 arg1 = reinterpret_cast< wxWindow * >(argp1);
22152 if (obj1) {
22153 ecode2 = SWIG_AsVal_int(obj1, &val2);
22154 if (!SWIG_IsOK(ecode2)) {
22155 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22156 }
22157 arg2 = static_cast< int >(val2);
22158 }
22159 if (obj2) {
22160 {
22161 arg3 = &temp3;
22162 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22163 }
22164 }
22165 if (obj3) {
22166 {
22167 arg4 = &temp4;
22168 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22169 }
22170 }
22171 if (obj4) {
22172 ecode5 = SWIG_AsVal_long(obj4, &val5);
22173 if (!SWIG_IsOK(ecode5)) {
22174 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22175 }
22176 arg5 = static_cast< long >(val5);
22177 }
22178 if (obj5) {
22179 {
22180 arg6 = wxString_in_helper(obj5);
22181 if (arg6 == NULL) SWIG_fail;
22182 temp6 = true;
22183 }
22184 }
22185 {
22186 if (!wxPyCheckForApp()) SWIG_fail;
22187 PyThreadState* __tstate = wxPyBeginAllowThreads();
22188 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22189 wxPyEndAllowThreads(__tstate);
22190 if (PyErr_Occurred()) SWIG_fail;
22191 }
22192 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_NEW | 0 );
22193 {
22194 if (temp6)
22195 delete arg6;
22196 }
22197 return resultobj;
22198 fail:
22199 {
22200 if (temp6)
22201 delete arg6;
22202 }
22203 return NULL;
22204 }
22205
22206
22207 SWIGINTERN PyObject *_wrap_new_PrePyPanel(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22208 PyObject *resultobj = 0;
22209 wxPyPanel *result = 0 ;
22210
22211 if (!SWIG_Python_UnpackTuple(args,"new_PrePyPanel",0,0,0)) SWIG_fail;
22212 {
22213 if (!wxPyCheckForApp()) SWIG_fail;
22214 PyThreadState* __tstate = wxPyBeginAllowThreads();
22215 result = (wxPyPanel *)new wxPyPanel();
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPanel, SWIG_POINTER_OWN | 0 );
22220 return resultobj;
22221 fail:
22222 return NULL;
22223 }
22224
22225
22226 SWIGINTERN PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22227 PyObject *resultobj = 0;
22228 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22229 PyObject *arg2 = (PyObject *) 0 ;
22230 PyObject *arg3 = (PyObject *) 0 ;
22231 void *argp1 = 0 ;
22232 int res1 = 0 ;
22233 PyObject * obj0 = 0 ;
22234 PyObject * obj1 = 0 ;
22235 PyObject * obj2 = 0 ;
22236 char * kwnames[] = {
22237 (char *) "self",(char *) "self",(char *) "_class", NULL
22238 };
22239
22240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22242 if (!SWIG_IsOK(res1)) {
22243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22244 }
22245 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22246 arg2 = obj1;
22247 arg3 = obj2;
22248 {
22249 PyThreadState* __tstate = wxPyBeginAllowThreads();
22250 (arg1)->_setCallbackInfo(arg2,arg3);
22251 wxPyEndAllowThreads(__tstate);
22252 if (PyErr_Occurred()) SWIG_fail;
22253 }
22254 resultobj = SWIG_Py_Void();
22255 return resultobj;
22256 fail:
22257 return NULL;
22258 }
22259
22260
22261 SWIGINTERN PyObject *_wrap_PyPanel_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22262 PyObject *resultobj = 0;
22263 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22264 wxDC *arg2 = (wxDC *) 0 ;
22265 bool result;
22266 void *argp1 = 0 ;
22267 int res1 = 0 ;
22268 void *argp2 = 0 ;
22269 int res2 = 0 ;
22270 PyObject * obj0 = 0 ;
22271 PyObject * obj1 = 0 ;
22272 char * kwnames[] = {
22273 (char *) "self",(char *) "dc", NULL
22274 };
22275
22276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22278 if (!SWIG_IsOK(res1)) {
22279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22280 }
22281 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22282 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22283 if (!SWIG_IsOK(res2)) {
22284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22285 }
22286 arg2 = reinterpret_cast< wxDC * >(argp2);
22287 {
22288 PyThreadState* __tstate = wxPyBeginAllowThreads();
22289 result = (bool)(arg1)->DoEraseBackground(arg2);
22290 wxPyEndAllowThreads(__tstate);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 }
22293 {
22294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22295 }
22296 return resultobj;
22297 fail:
22298 return NULL;
22299 }
22300
22301
22302 SWIGINTERN PyObject *_wrap_PyPanel_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22303 PyObject *resultobj = 0;
22304 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22305 int arg2 ;
22306 int arg3 ;
22307 int arg4 ;
22308 int arg5 ;
22309 void *argp1 = 0 ;
22310 int res1 = 0 ;
22311 int val2 ;
22312 int ecode2 = 0 ;
22313 int val3 ;
22314 int ecode3 = 0 ;
22315 int val4 ;
22316 int ecode4 = 0 ;
22317 int val5 ;
22318 int ecode5 = 0 ;
22319 PyObject * obj0 = 0 ;
22320 PyObject * obj1 = 0 ;
22321 PyObject * obj2 = 0 ;
22322 PyObject * obj3 = 0 ;
22323 PyObject * obj4 = 0 ;
22324 char * kwnames[] = {
22325 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22326 };
22327
22328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
22329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22330 if (!SWIG_IsOK(res1)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22332 }
22333 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22334 ecode2 = SWIG_AsVal_int(obj1, &val2);
22335 if (!SWIG_IsOK(ecode2)) {
22336 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22337 }
22338 arg2 = static_cast< int >(val2);
22339 ecode3 = SWIG_AsVal_int(obj2, &val3);
22340 if (!SWIG_IsOK(ecode3)) {
22341 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22342 }
22343 arg3 = static_cast< int >(val3);
22344 ecode4 = SWIG_AsVal_int(obj3, &val4);
22345 if (!SWIG_IsOK(ecode4)) {
22346 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22347 }
22348 arg4 = static_cast< int >(val4);
22349 ecode5 = SWIG_AsVal_int(obj4, &val5);
22350 if (!SWIG_IsOK(ecode5)) {
22351 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22352 }
22353 arg5 = static_cast< int >(val5);
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
22357 wxPyEndAllowThreads(__tstate);
22358 if (PyErr_Occurred()) SWIG_fail;
22359 }
22360 resultobj = SWIG_Py_Void();
22361 return resultobj;
22362 fail:
22363 return NULL;
22364 }
22365
22366
22367 SWIGINTERN PyObject *_wrap_PyPanel_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22368 PyObject *resultobj = 0;
22369 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22370 int arg2 ;
22371 int arg3 ;
22372 int arg4 ;
22373 int arg5 ;
22374 int arg6 = (int) wxSIZE_AUTO ;
22375 void *argp1 = 0 ;
22376 int res1 = 0 ;
22377 int val2 ;
22378 int ecode2 = 0 ;
22379 int val3 ;
22380 int ecode3 = 0 ;
22381 int val4 ;
22382 int ecode4 = 0 ;
22383 int val5 ;
22384 int ecode5 = 0 ;
22385 int val6 ;
22386 int ecode6 = 0 ;
22387 PyObject * obj0 = 0 ;
22388 PyObject * obj1 = 0 ;
22389 PyObject * obj2 = 0 ;
22390 PyObject * obj3 = 0 ;
22391 PyObject * obj4 = 0 ;
22392 PyObject * obj5 = 0 ;
22393 char * kwnames[] = {
22394 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22395 };
22396
22397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22399 if (!SWIG_IsOK(res1)) {
22400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22401 }
22402 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22403 ecode2 = SWIG_AsVal_int(obj1, &val2);
22404 if (!SWIG_IsOK(ecode2)) {
22405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22406 }
22407 arg2 = static_cast< int >(val2);
22408 ecode3 = SWIG_AsVal_int(obj2, &val3);
22409 if (!SWIG_IsOK(ecode3)) {
22410 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22411 }
22412 arg3 = static_cast< int >(val3);
22413 ecode4 = SWIG_AsVal_int(obj3, &val4);
22414 if (!SWIG_IsOK(ecode4)) {
22415 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22416 }
22417 arg4 = static_cast< int >(val4);
22418 ecode5 = SWIG_AsVal_int(obj4, &val5);
22419 if (!SWIG_IsOK(ecode5)) {
22420 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22421 }
22422 arg5 = static_cast< int >(val5);
22423 if (obj5) {
22424 ecode6 = SWIG_AsVal_int(obj5, &val6);
22425 if (!SWIG_IsOK(ecode6)) {
22426 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22427 }
22428 arg6 = static_cast< int >(val6);
22429 }
22430 {
22431 PyThreadState* __tstate = wxPyBeginAllowThreads();
22432 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
22433 wxPyEndAllowThreads(__tstate);
22434 if (PyErr_Occurred()) SWIG_fail;
22435 }
22436 resultobj = SWIG_Py_Void();
22437 return resultobj;
22438 fail:
22439 return NULL;
22440 }
22441
22442
22443 SWIGINTERN PyObject *_wrap_PyPanel_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22444 PyObject *resultobj = 0;
22445 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22446 int arg2 ;
22447 int arg3 ;
22448 void *argp1 = 0 ;
22449 int res1 = 0 ;
22450 int val2 ;
22451 int ecode2 = 0 ;
22452 int val3 ;
22453 int ecode3 = 0 ;
22454 PyObject * obj0 = 0 ;
22455 PyObject * obj1 = 0 ;
22456 PyObject * obj2 = 0 ;
22457 char * kwnames[] = {
22458 (char *) "self",(char *) "width",(char *) "height", NULL
22459 };
22460
22461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22463 if (!SWIG_IsOK(res1)) {
22464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22465 }
22466 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22467 ecode2 = SWIG_AsVal_int(obj1, &val2);
22468 if (!SWIG_IsOK(ecode2)) {
22469 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22470 }
22471 arg2 = static_cast< int >(val2);
22472 ecode3 = SWIG_AsVal_int(obj2, &val3);
22473 if (!SWIG_IsOK(ecode3)) {
22474 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22475 }
22476 arg3 = static_cast< int >(val3);
22477 {
22478 PyThreadState* __tstate = wxPyBeginAllowThreads();
22479 (arg1)->DoSetClientSize(arg2,arg3);
22480 wxPyEndAllowThreads(__tstate);
22481 if (PyErr_Occurred()) SWIG_fail;
22482 }
22483 resultobj = SWIG_Py_Void();
22484 return resultobj;
22485 fail:
22486 return NULL;
22487 }
22488
22489
22490 SWIGINTERN PyObject *_wrap_PyPanel_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22491 PyObject *resultobj = 0;
22492 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22493 int arg2 ;
22494 int arg3 ;
22495 void *argp1 = 0 ;
22496 int res1 = 0 ;
22497 int val2 ;
22498 int ecode2 = 0 ;
22499 int val3 ;
22500 int ecode3 = 0 ;
22501 PyObject * obj0 = 0 ;
22502 PyObject * obj1 = 0 ;
22503 PyObject * obj2 = 0 ;
22504 char * kwnames[] = {
22505 (char *) "self",(char *) "x",(char *) "y", NULL
22506 };
22507
22508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22510 if (!SWIG_IsOK(res1)) {
22511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22512 }
22513 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22514 ecode2 = SWIG_AsVal_int(obj1, &val2);
22515 if (!SWIG_IsOK(ecode2)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22517 }
22518 arg2 = static_cast< int >(val2);
22519 ecode3 = SWIG_AsVal_int(obj2, &val3);
22520 if (!SWIG_IsOK(ecode3)) {
22521 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22522 }
22523 arg3 = static_cast< int >(val3);
22524 {
22525 PyThreadState* __tstate = wxPyBeginAllowThreads();
22526 (arg1)->DoSetVirtualSize(arg2,arg3);
22527 wxPyEndAllowThreads(__tstate);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 }
22530 resultobj = SWIG_Py_Void();
22531 return resultobj;
22532 fail:
22533 return NULL;
22534 }
22535
22536
22537 SWIGINTERN PyObject *_wrap_PyPanel_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22538 PyObject *resultobj = 0;
22539 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22540 int *arg2 = (int *) 0 ;
22541 int *arg3 = (int *) 0 ;
22542 void *argp1 = 0 ;
22543 int res1 = 0 ;
22544 int temp2 ;
22545 int res2 = SWIG_TMPOBJ ;
22546 int temp3 ;
22547 int res3 = SWIG_TMPOBJ ;
22548 PyObject *swig_obj[1] ;
22549
22550 arg2 = &temp2;
22551 arg3 = &temp3;
22552 if (!args) SWIG_fail;
22553 swig_obj[0] = args;
22554 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22555 if (!SWIG_IsOK(res1)) {
22556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22557 }
22558 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22559 {
22560 PyThreadState* __tstate = wxPyBeginAllowThreads();
22561 ((wxPyPanel const *)arg1)->DoGetSize(arg2,arg3);
22562 wxPyEndAllowThreads(__tstate);
22563 if (PyErr_Occurred()) SWIG_fail;
22564 }
22565 resultobj = SWIG_Py_Void();
22566 if (SWIG_IsTmpObj(res2)) {
22567 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22568 } else {
22569 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22570 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22571 }
22572 if (SWIG_IsTmpObj(res3)) {
22573 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22574 } else {
22575 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22576 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22577 }
22578 return resultobj;
22579 fail:
22580 return NULL;
22581 }
22582
22583
22584 SWIGINTERN PyObject *_wrap_PyPanel_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22585 PyObject *resultobj = 0;
22586 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22587 int *arg2 = (int *) 0 ;
22588 int *arg3 = (int *) 0 ;
22589 void *argp1 = 0 ;
22590 int res1 = 0 ;
22591 int temp2 ;
22592 int res2 = SWIG_TMPOBJ ;
22593 int temp3 ;
22594 int res3 = SWIG_TMPOBJ ;
22595 PyObject *swig_obj[1] ;
22596
22597 arg2 = &temp2;
22598 arg3 = &temp3;
22599 if (!args) SWIG_fail;
22600 swig_obj[0] = args;
22601 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22602 if (!SWIG_IsOK(res1)) {
22603 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22604 }
22605 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22606 {
22607 PyThreadState* __tstate = wxPyBeginAllowThreads();
22608 ((wxPyPanel const *)arg1)->DoGetClientSize(arg2,arg3);
22609 wxPyEndAllowThreads(__tstate);
22610 if (PyErr_Occurred()) SWIG_fail;
22611 }
22612 resultobj = SWIG_Py_Void();
22613 if (SWIG_IsTmpObj(res2)) {
22614 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22615 } else {
22616 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22617 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22618 }
22619 if (SWIG_IsTmpObj(res3)) {
22620 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22621 } else {
22622 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22623 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22624 }
22625 return resultobj;
22626 fail:
22627 return NULL;
22628 }
22629
22630
22631 SWIGINTERN PyObject *_wrap_PyPanel_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22632 PyObject *resultobj = 0;
22633 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22634 int *arg2 = (int *) 0 ;
22635 int *arg3 = (int *) 0 ;
22636 void *argp1 = 0 ;
22637 int res1 = 0 ;
22638 int temp2 ;
22639 int res2 = SWIG_TMPOBJ ;
22640 int temp3 ;
22641 int res3 = SWIG_TMPOBJ ;
22642 PyObject *swig_obj[1] ;
22643
22644 arg2 = &temp2;
22645 arg3 = &temp3;
22646 if (!args) SWIG_fail;
22647 swig_obj[0] = args;
22648 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22649 if (!SWIG_IsOK(res1)) {
22650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22651 }
22652 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22653 {
22654 PyThreadState* __tstate = wxPyBeginAllowThreads();
22655 ((wxPyPanel const *)arg1)->DoGetPosition(arg2,arg3);
22656 wxPyEndAllowThreads(__tstate);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 resultobj = SWIG_Py_Void();
22660 if (SWIG_IsTmpObj(res2)) {
22661 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
22662 } else {
22663 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22664 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
22665 }
22666 if (SWIG_IsTmpObj(res3)) {
22667 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
22668 } else {
22669 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
22670 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
22671 }
22672 return resultobj;
22673 fail:
22674 return NULL;
22675 }
22676
22677
22678 SWIGINTERN PyObject *_wrap_PyPanel_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22679 PyObject *resultobj = 0;
22680 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22681 wxSize result;
22682 void *argp1 = 0 ;
22683 int res1 = 0 ;
22684 PyObject *swig_obj[1] ;
22685
22686 if (!args) SWIG_fail;
22687 swig_obj[0] = args;
22688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22689 if (!SWIG_IsOK(res1)) {
22690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22691 }
22692 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22693 {
22694 PyThreadState* __tstate = wxPyBeginAllowThreads();
22695 result = ((wxPyPanel const *)arg1)->DoGetVirtualSize();
22696 wxPyEndAllowThreads(__tstate);
22697 if (PyErr_Occurred()) SWIG_fail;
22698 }
22699 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22700 return resultobj;
22701 fail:
22702 return NULL;
22703 }
22704
22705
22706 SWIGINTERN PyObject *_wrap_PyPanel_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22707 PyObject *resultobj = 0;
22708 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22709 wxSize result;
22710 void *argp1 = 0 ;
22711 int res1 = 0 ;
22712 PyObject *swig_obj[1] ;
22713
22714 if (!args) SWIG_fail;
22715 swig_obj[0] = args;
22716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22717 if (!SWIG_IsOK(res1)) {
22718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22719 }
22720 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22721 {
22722 PyThreadState* __tstate = wxPyBeginAllowThreads();
22723 result = ((wxPyPanel const *)arg1)->DoGetBestSize();
22724 wxPyEndAllowThreads(__tstate);
22725 if (PyErr_Occurred()) SWIG_fail;
22726 }
22727 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
22728 return resultobj;
22729 fail:
22730 return NULL;
22731 }
22732
22733
22734 SWIGINTERN PyObject *_wrap_PyPanel_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22735 PyObject *resultobj = 0;
22736 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22737 SwigValueWrapper<wxVisualAttributes > result;
22738 void *argp1 = 0 ;
22739 int res1 = 0 ;
22740 PyObject *swig_obj[1] ;
22741
22742 if (!args) SWIG_fail;
22743 swig_obj[0] = args;
22744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22745 if (!SWIG_IsOK(res1)) {
22746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22747 }
22748 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22749 {
22750 PyThreadState* __tstate = wxPyBeginAllowThreads();
22751 result = (arg1)->GetDefaultAttributes();
22752 wxPyEndAllowThreads(__tstate);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 }
22755 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
22756 return resultobj;
22757 fail:
22758 return NULL;
22759 }
22760
22761
22762 SWIGINTERN PyObject *_wrap_PyPanel_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22763 PyObject *resultobj = 0;
22764 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
22765 void *argp1 = 0 ;
22766 int res1 = 0 ;
22767 PyObject *swig_obj[1] ;
22768
22769 if (!args) SWIG_fail;
22770 swig_obj[0] = args;
22771 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPanel, 0 | 0 );
22772 if (!SWIG_IsOK(res1)) {
22773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22774 }
22775 arg1 = reinterpret_cast< wxPyPanel * >(argp1);
22776 {
22777 PyThreadState* __tstate = wxPyBeginAllowThreads();
22778 (arg1)->OnInternalIdle();
22779 wxPyEndAllowThreads(__tstate);
22780 if (PyErr_Occurred()) SWIG_fail;
22781 }
22782 resultobj = SWIG_Py_Void();
22783 return resultobj;
22784 fail:
22785 return NULL;
22786 }
22787
22788
22789 SWIGINTERN PyObject *PyPanel_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22790 PyObject *obj;
22791 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
22792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel, SWIG_NewClientData(obj));
22793 return SWIG_Py_Void();
22794 }
22795
22796 SWIGINTERN PyObject *PyPanel_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22797 return SWIG_Python_InitShadowInstance(args);
22798 }
22799
22800 SWIGINTERN PyObject *_wrap_new_PyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22801 PyObject *resultobj = 0;
22802 wxWindow *arg1 = (wxWindow *) 0 ;
22803 int arg2 = (int) (int)-1 ;
22804 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22805 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22806 wxSize const &arg4_defvalue = wxDefaultSize ;
22807 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22808 long arg5 = (long) 0 ;
22809 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22810 wxString *arg6 = (wxString *) &arg6_defvalue ;
22811 wxPyScrolledWindow *result = 0 ;
22812 void *argp1 = 0 ;
22813 int res1 = 0 ;
22814 int val2 ;
22815 int ecode2 = 0 ;
22816 wxPoint temp3 ;
22817 wxSize temp4 ;
22818 long val5 ;
22819 int ecode5 = 0 ;
22820 bool temp6 = false ;
22821 PyObject * obj0 = 0 ;
22822 PyObject * obj1 = 0 ;
22823 PyObject * obj2 = 0 ;
22824 PyObject * obj3 = 0 ;
22825 PyObject * obj4 = 0 ;
22826 PyObject * obj5 = 0 ;
22827 char * kwnames[] = {
22828 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22829 };
22830
22831 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
22832 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
22833 if (!SWIG_IsOK(res1)) {
22834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22835 }
22836 arg1 = reinterpret_cast< wxWindow * >(argp1);
22837 if (obj1) {
22838 ecode2 = SWIG_AsVal_int(obj1, &val2);
22839 if (!SWIG_IsOK(ecode2)) {
22840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22841 }
22842 arg2 = static_cast< int >(val2);
22843 }
22844 if (obj2) {
22845 {
22846 arg3 = &temp3;
22847 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22848 }
22849 }
22850 if (obj3) {
22851 {
22852 arg4 = &temp4;
22853 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22854 }
22855 }
22856 if (obj4) {
22857 ecode5 = SWIG_AsVal_long(obj4, &val5);
22858 if (!SWIG_IsOK(ecode5)) {
22859 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22860 }
22861 arg5 = static_cast< long >(val5);
22862 }
22863 if (obj5) {
22864 {
22865 arg6 = wxString_in_helper(obj5);
22866 if (arg6 == NULL) SWIG_fail;
22867 temp6 = true;
22868 }
22869 }
22870 {
22871 if (!wxPyCheckForApp()) SWIG_fail;
22872 PyThreadState* __tstate = wxPyBeginAllowThreads();
22873 result = (wxPyScrolledWindow *)new wxPyScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
22877 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_NEW | 0 );
22878 {
22879 if (temp6)
22880 delete arg6;
22881 }
22882 return resultobj;
22883 fail:
22884 {
22885 if (temp6)
22886 delete arg6;
22887 }
22888 return NULL;
22889 }
22890
22891
22892 SWIGINTERN PyObject *_wrap_new_PrePyScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
22893 PyObject *resultobj = 0;
22894 wxPyScrolledWindow *result = 0 ;
22895
22896 if (!SWIG_Python_UnpackTuple(args,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail;
22897 {
22898 if (!wxPyCheckForApp()) SWIG_fail;
22899 PyThreadState* __tstate = wxPyBeginAllowThreads();
22900 result = (wxPyScrolledWindow *)new wxPyScrolledWindow();
22901 wxPyEndAllowThreads(__tstate);
22902 if (PyErr_Occurred()) SWIG_fail;
22903 }
22904 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyScrolledWindow, SWIG_POINTER_OWN | 0 );
22905 return resultobj;
22906 fail:
22907 return NULL;
22908 }
22909
22910
22911 SWIGINTERN PyObject *_wrap_PyScrolledWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22912 PyObject *resultobj = 0;
22913 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22914 PyObject *arg2 = (PyObject *) 0 ;
22915 PyObject *arg3 = (PyObject *) 0 ;
22916 void *argp1 = 0 ;
22917 int res1 = 0 ;
22918 PyObject * obj0 = 0 ;
22919 PyObject * obj1 = 0 ;
22920 PyObject * obj2 = 0 ;
22921 char * kwnames[] = {
22922 (char *) "self",(char *) "self",(char *) "_class", NULL
22923 };
22924
22925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
22926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22927 if (!SWIG_IsOK(res1)) {
22928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22929 }
22930 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22931 arg2 = obj1;
22932 arg3 = obj2;
22933 {
22934 PyThreadState* __tstate = wxPyBeginAllowThreads();
22935 (arg1)->_setCallbackInfo(arg2,arg3);
22936 wxPyEndAllowThreads(__tstate);
22937 if (PyErr_Occurred()) SWIG_fail;
22938 }
22939 resultobj = SWIG_Py_Void();
22940 return resultobj;
22941 fail:
22942 return NULL;
22943 }
22944
22945
22946 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoEraseBackground(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22947 PyObject *resultobj = 0;
22948 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22949 wxDC *arg2 = (wxDC *) 0 ;
22950 bool result;
22951 void *argp1 = 0 ;
22952 int res1 = 0 ;
22953 void *argp2 = 0 ;
22954 int res2 = 0 ;
22955 PyObject * obj0 = 0 ;
22956 PyObject * obj1 = 0 ;
22957 char * kwnames[] = {
22958 (char *) "self",(char *) "dc", NULL
22959 };
22960
22961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames,&obj0,&obj1)) SWIG_fail;
22962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
22963 if (!SWIG_IsOK(res1)) {
22964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22965 }
22966 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
22967 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
22968 if (!SWIG_IsOK(res2)) {
22969 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22970 }
22971 arg2 = reinterpret_cast< wxDC * >(argp2);
22972 {
22973 PyThreadState* __tstate = wxPyBeginAllowThreads();
22974 result = (bool)(arg1)->DoEraseBackground(arg2);
22975 wxPyEndAllowThreads(__tstate);
22976 if (PyErr_Occurred()) SWIG_fail;
22977 }
22978 {
22979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22980 }
22981 return resultobj;
22982 fail:
22983 return NULL;
22984 }
22985
22986
22987 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoMoveWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
22988 PyObject *resultobj = 0;
22989 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
22990 int arg2 ;
22991 int arg3 ;
22992 int arg4 ;
22993 int arg5 ;
22994 void *argp1 = 0 ;
22995 int res1 = 0 ;
22996 int val2 ;
22997 int ecode2 = 0 ;
22998 int val3 ;
22999 int ecode3 = 0 ;
23000 int val4 ;
23001 int ecode4 = 0 ;
23002 int val5 ;
23003 int ecode5 = 0 ;
23004 PyObject * obj0 = 0 ;
23005 PyObject * obj1 = 0 ;
23006 PyObject * obj2 = 0 ;
23007 PyObject * obj3 = 0 ;
23008 PyObject * obj4 = 0 ;
23009 char * kwnames[] = {
23010 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23011 };
23012
23013 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
23014 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23015 if (!SWIG_IsOK(res1)) {
23016 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23017 }
23018 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23019 ecode2 = SWIG_AsVal_int(obj1, &val2);
23020 if (!SWIG_IsOK(ecode2)) {
23021 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23022 }
23023 arg2 = static_cast< int >(val2);
23024 ecode3 = SWIG_AsVal_int(obj2, &val3);
23025 if (!SWIG_IsOK(ecode3)) {
23026 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23027 }
23028 arg3 = static_cast< int >(val3);
23029 ecode4 = SWIG_AsVal_int(obj3, &val4);
23030 if (!SWIG_IsOK(ecode4)) {
23031 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23032 }
23033 arg4 = static_cast< int >(val4);
23034 ecode5 = SWIG_AsVal_int(obj4, &val5);
23035 if (!SWIG_IsOK(ecode5)) {
23036 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23037 }
23038 arg5 = static_cast< int >(val5);
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 (arg1)->DoMoveWindow(arg2,arg3,arg4,arg5);
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 resultobj = SWIG_Py_Void();
23046 return resultobj;
23047 fail:
23048 return NULL;
23049 }
23050
23051
23052 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23053 PyObject *resultobj = 0;
23054 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23055 int arg2 ;
23056 int arg3 ;
23057 int arg4 ;
23058 int arg5 ;
23059 int arg6 = (int) wxSIZE_AUTO ;
23060 void *argp1 = 0 ;
23061 int res1 = 0 ;
23062 int val2 ;
23063 int ecode2 = 0 ;
23064 int val3 ;
23065 int ecode3 = 0 ;
23066 int val4 ;
23067 int ecode4 = 0 ;
23068 int val5 ;
23069 int ecode5 = 0 ;
23070 int val6 ;
23071 int ecode6 = 0 ;
23072 PyObject * obj0 = 0 ;
23073 PyObject * obj1 = 0 ;
23074 PyObject * obj2 = 0 ;
23075 PyObject * obj3 = 0 ;
23076 PyObject * obj4 = 0 ;
23077 PyObject * obj5 = 0 ;
23078 char * kwnames[] = {
23079 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23080 };
23081
23082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
23083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23084 if (!SWIG_IsOK(res1)) {
23085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23086 }
23087 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23088 ecode2 = SWIG_AsVal_int(obj1, &val2);
23089 if (!SWIG_IsOK(ecode2)) {
23090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23091 }
23092 arg2 = static_cast< int >(val2);
23093 ecode3 = SWIG_AsVal_int(obj2, &val3);
23094 if (!SWIG_IsOK(ecode3)) {
23095 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23096 }
23097 arg3 = static_cast< int >(val3);
23098 ecode4 = SWIG_AsVal_int(obj3, &val4);
23099 if (!SWIG_IsOK(ecode4)) {
23100 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23101 }
23102 arg4 = static_cast< int >(val4);
23103 ecode5 = SWIG_AsVal_int(obj4, &val5);
23104 if (!SWIG_IsOK(ecode5)) {
23105 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23106 }
23107 arg5 = static_cast< int >(val5);
23108 if (obj5) {
23109 ecode6 = SWIG_AsVal_int(obj5, &val6);
23110 if (!SWIG_IsOK(ecode6)) {
23111 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23112 }
23113 arg6 = static_cast< int >(val6);
23114 }
23115 {
23116 PyThreadState* __tstate = wxPyBeginAllowThreads();
23117 (arg1)->DoSetSize(arg2,arg3,arg4,arg5,arg6);
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
23121 resultobj = SWIG_Py_Void();
23122 return resultobj;
23123 fail:
23124 return NULL;
23125 }
23126
23127
23128 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23129 PyObject *resultobj = 0;
23130 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23131 int arg2 ;
23132 int arg3 ;
23133 void *argp1 = 0 ;
23134 int res1 = 0 ;
23135 int val2 ;
23136 int ecode2 = 0 ;
23137 int val3 ;
23138 int ecode3 = 0 ;
23139 PyObject * obj0 = 0 ;
23140 PyObject * obj1 = 0 ;
23141 PyObject * obj2 = 0 ;
23142 char * kwnames[] = {
23143 (char *) "self",(char *) "width",(char *) "height", NULL
23144 };
23145
23146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23148 if (!SWIG_IsOK(res1)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23150 }
23151 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23152 ecode2 = SWIG_AsVal_int(obj1, &val2);
23153 if (!SWIG_IsOK(ecode2)) {
23154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23155 }
23156 arg2 = static_cast< int >(val2);
23157 ecode3 = SWIG_AsVal_int(obj2, &val3);
23158 if (!SWIG_IsOK(ecode3)) {
23159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23160 }
23161 arg3 = static_cast< int >(val3);
23162 {
23163 PyThreadState* __tstate = wxPyBeginAllowThreads();
23164 (arg1)->DoSetClientSize(arg2,arg3);
23165 wxPyEndAllowThreads(__tstate);
23166 if (PyErr_Occurred()) SWIG_fail;
23167 }
23168 resultobj = SWIG_Py_Void();
23169 return resultobj;
23170 fail:
23171 return NULL;
23172 }
23173
23174
23175 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
23176 PyObject *resultobj = 0;
23177 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23178 int arg2 ;
23179 int arg3 ;
23180 void *argp1 = 0 ;
23181 int res1 = 0 ;
23182 int val2 ;
23183 int ecode2 = 0 ;
23184 int val3 ;
23185 int ecode3 = 0 ;
23186 PyObject * obj0 = 0 ;
23187 PyObject * obj1 = 0 ;
23188 PyObject * obj2 = 0 ;
23189 char * kwnames[] = {
23190 (char *) "self",(char *) "x",(char *) "y", NULL
23191 };
23192
23193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
23194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23195 if (!SWIG_IsOK(res1)) {
23196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23197 }
23198 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23199 ecode2 = SWIG_AsVal_int(obj1, &val2);
23200 if (!SWIG_IsOK(ecode2)) {
23201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23202 }
23203 arg2 = static_cast< int >(val2);
23204 ecode3 = SWIG_AsVal_int(obj2, &val3);
23205 if (!SWIG_IsOK(ecode3)) {
23206 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23207 }
23208 arg3 = static_cast< int >(val3);
23209 {
23210 PyThreadState* __tstate = wxPyBeginAllowThreads();
23211 (arg1)->DoSetVirtualSize(arg2,arg3);
23212 wxPyEndAllowThreads(__tstate);
23213 if (PyErr_Occurred()) SWIG_fail;
23214 }
23215 resultobj = SWIG_Py_Void();
23216 return resultobj;
23217 fail:
23218 return NULL;
23219 }
23220
23221
23222 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23223 PyObject *resultobj = 0;
23224 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23225 int *arg2 = (int *) 0 ;
23226 int *arg3 = (int *) 0 ;
23227 void *argp1 = 0 ;
23228 int res1 = 0 ;
23229 int temp2 ;
23230 int res2 = SWIG_TMPOBJ ;
23231 int temp3 ;
23232 int res3 = SWIG_TMPOBJ ;
23233 PyObject *swig_obj[1] ;
23234
23235 arg2 = &temp2;
23236 arg3 = &temp3;
23237 if (!args) SWIG_fail;
23238 swig_obj[0] = args;
23239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23240 if (!SWIG_IsOK(res1)) {
23241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23242 }
23243 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23244 {
23245 PyThreadState* __tstate = wxPyBeginAllowThreads();
23246 ((wxPyScrolledWindow const *)arg1)->DoGetSize(arg2,arg3);
23247 wxPyEndAllowThreads(__tstate);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 }
23250 resultobj = SWIG_Py_Void();
23251 if (SWIG_IsTmpObj(res2)) {
23252 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23253 } else {
23254 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23255 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23256 }
23257 if (SWIG_IsTmpObj(res3)) {
23258 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23259 } else {
23260 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23261 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23262 }
23263 return resultobj;
23264 fail:
23265 return NULL;
23266 }
23267
23268
23269 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetClientSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23270 PyObject *resultobj = 0;
23271 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23272 int *arg2 = (int *) 0 ;
23273 int *arg3 = (int *) 0 ;
23274 void *argp1 = 0 ;
23275 int res1 = 0 ;
23276 int temp2 ;
23277 int res2 = SWIG_TMPOBJ ;
23278 int temp3 ;
23279 int res3 = SWIG_TMPOBJ ;
23280 PyObject *swig_obj[1] ;
23281
23282 arg2 = &temp2;
23283 arg3 = &temp3;
23284 if (!args) SWIG_fail;
23285 swig_obj[0] = args;
23286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23287 if (!SWIG_IsOK(res1)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23289 }
23290 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23291 {
23292 PyThreadState* __tstate = wxPyBeginAllowThreads();
23293 ((wxPyScrolledWindow const *)arg1)->DoGetClientSize(arg2,arg3);
23294 wxPyEndAllowThreads(__tstate);
23295 if (PyErr_Occurred()) SWIG_fail;
23296 }
23297 resultobj = SWIG_Py_Void();
23298 if (SWIG_IsTmpObj(res2)) {
23299 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23300 } else {
23301 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23302 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23303 }
23304 if (SWIG_IsTmpObj(res3)) {
23305 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23306 } else {
23307 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23308 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23309 }
23310 return resultobj;
23311 fail:
23312 return NULL;
23313 }
23314
23315
23316 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetPosition(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23317 PyObject *resultobj = 0;
23318 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23319 int *arg2 = (int *) 0 ;
23320 int *arg3 = (int *) 0 ;
23321 void *argp1 = 0 ;
23322 int res1 = 0 ;
23323 int temp2 ;
23324 int res2 = SWIG_TMPOBJ ;
23325 int temp3 ;
23326 int res3 = SWIG_TMPOBJ ;
23327 PyObject *swig_obj[1] ;
23328
23329 arg2 = &temp2;
23330 arg3 = &temp3;
23331 if (!args) SWIG_fail;
23332 swig_obj[0] = args;
23333 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23334 if (!SWIG_IsOK(res1)) {
23335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23336 }
23337 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 ((wxPyScrolledWindow const *)arg1)->DoGetPosition(arg2,arg3);
23341 wxPyEndAllowThreads(__tstate);
23342 if (PyErr_Occurred()) SWIG_fail;
23343 }
23344 resultobj = SWIG_Py_Void();
23345 if (SWIG_IsTmpObj(res2)) {
23346 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
23347 } else {
23348 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23349 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
23350 }
23351 if (SWIG_IsTmpObj(res3)) {
23352 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
23353 } else {
23354 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
23355 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
23356 }
23357 return resultobj;
23358 fail:
23359 return NULL;
23360 }
23361
23362
23363 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23364 PyObject *resultobj = 0;
23365 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23366 wxSize result;
23367 void *argp1 = 0 ;
23368 int res1 = 0 ;
23369 PyObject *swig_obj[1] ;
23370
23371 if (!args) SWIG_fail;
23372 swig_obj[0] = args;
23373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23374 if (!SWIG_IsOK(res1)) {
23375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23376 }
23377 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23378 {
23379 PyThreadState* __tstate = wxPyBeginAllowThreads();
23380 result = ((wxPyScrolledWindow const *)arg1)->DoGetVirtualSize();
23381 wxPyEndAllowThreads(__tstate);
23382 if (PyErr_Occurred()) SWIG_fail;
23383 }
23384 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23385 return resultobj;
23386 fail:
23387 return NULL;
23388 }
23389
23390
23391 SWIGINTERN PyObject *_wrap_PyScrolledWindow_DoGetBestSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23392 PyObject *resultobj = 0;
23393 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23394 wxSize result;
23395 void *argp1 = 0 ;
23396 int res1 = 0 ;
23397 PyObject *swig_obj[1] ;
23398
23399 if (!args) SWIG_fail;
23400 swig_obj[0] = args;
23401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23402 if (!SWIG_IsOK(res1)) {
23403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23404 }
23405 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23406 {
23407 PyThreadState* __tstate = wxPyBeginAllowThreads();
23408 result = ((wxPyScrolledWindow const *)arg1)->DoGetBestSize();
23409 wxPyEndAllowThreads(__tstate);
23410 if (PyErr_Occurred()) SWIG_fail;
23411 }
23412 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
23413 return resultobj;
23414 fail:
23415 return NULL;
23416 }
23417
23418
23419 SWIGINTERN PyObject *_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23420 PyObject *resultobj = 0;
23421 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23422 SwigValueWrapper<wxVisualAttributes > result;
23423 void *argp1 = 0 ;
23424 int res1 = 0 ;
23425 PyObject *swig_obj[1] ;
23426
23427 if (!args) SWIG_fail;
23428 swig_obj[0] = args;
23429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23430 if (!SWIG_IsOK(res1)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23432 }
23433 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23434 {
23435 PyThreadState* __tstate = wxPyBeginAllowThreads();
23436 result = (arg1)->GetDefaultAttributes();
23437 wxPyEndAllowThreads(__tstate);
23438 if (PyErr_Occurred()) SWIG_fail;
23439 }
23440 resultobj = SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes& >(result))), SWIGTYPE_p_wxVisualAttributes, SWIG_POINTER_OWN | 0 );
23441 return resultobj;
23442 fail:
23443 return NULL;
23444 }
23445
23446
23447 SWIGINTERN PyObject *_wrap_PyScrolledWindow_OnInternalIdle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23448 PyObject *resultobj = 0;
23449 wxPyScrolledWindow *arg1 = (wxPyScrolledWindow *) 0 ;
23450 void *argp1 = 0 ;
23451 int res1 = 0 ;
23452 PyObject *swig_obj[1] ;
23453
23454 if (!args) SWIG_fail;
23455 swig_obj[0] = args;
23456 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyScrolledWindow, 0 | 0 );
23457 if (!SWIG_IsOK(res1)) {
23458 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23459 }
23460 arg1 = reinterpret_cast< wxPyScrolledWindow * >(argp1);
23461 {
23462 PyThreadState* __tstate = wxPyBeginAllowThreads();
23463 (arg1)->OnInternalIdle();
23464 wxPyEndAllowThreads(__tstate);
23465 if (PyErr_Occurred()) SWIG_fail;
23466 }
23467 resultobj = SWIG_Py_Void();
23468 return resultobj;
23469 fail:
23470 return NULL;
23471 }
23472
23473
23474 SWIGINTERN PyObject *PyScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23475 PyObject *obj;
23476 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
23477 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow, SWIG_NewClientData(obj));
23478 return SWIG_Py_Void();
23479 }
23480
23481 SWIGINTERN PyObject *PyScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23482 return SWIG_Python_InitShadowInstance(args);
23483 }
23484
23485 SWIGINTERN int PrintoutTitleStr_set(PyObject *) {
23486 SWIG_Error(SWIG_AttributeError,"Variable PrintoutTitleStr is read-only.");
23487 return 1;
23488 }
23489
23490
23491 SWIGINTERN PyObject *PrintoutTitleStr_get(void) {
23492 PyObject *pyobj = 0;
23493
23494 {
23495 #if wxUSE_UNICODE
23496 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23497 #else
23498 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
23499 #endif
23500 }
23501 return pyobj;
23502 }
23503
23504
23505 SWIGINTERN int PreviewCanvasNameStr_set(PyObject *) {
23506 SWIG_Error(SWIG_AttributeError,"Variable PreviewCanvasNameStr is read-only.");
23507 return 1;
23508 }
23509
23510
23511 SWIGINTERN PyObject *PreviewCanvasNameStr_get(void) {
23512 PyObject *pyobj = 0;
23513
23514 {
23515 #if wxUSE_UNICODE
23516 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23517 #else
23518 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
23519 #endif
23520 }
23521 return pyobj;
23522 }
23523
23524
23525 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
23526 PyObject *resultobj = 0;
23527 wxPrintData *result = 0 ;
23528
23529 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
23530 {
23531 PyThreadState* __tstate = wxPyBeginAllowThreads();
23532 result = (wxPrintData *)new wxPrintData();
23533 wxPyEndAllowThreads(__tstate);
23534 if (PyErr_Occurred()) SWIG_fail;
23535 }
23536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23537 return resultobj;
23538 fail:
23539 return NULL;
23540 }
23541
23542
23543 SWIGINTERN PyObject *_wrap_new_PrintData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
23544 PyObject *resultobj = 0;
23545 wxPrintData *arg1 = 0 ;
23546 wxPrintData *result = 0 ;
23547 void *argp1 = 0 ;
23548 int res1 = 0 ;
23549
23550 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
23551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
23552 if (!SWIG_IsOK(res1)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23554 }
23555 if (!argp1) {
23556 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23557 }
23558 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23559 {
23560 PyThreadState* __tstate = wxPyBeginAllowThreads();
23561 result = (wxPrintData *)new wxPrintData((wxPrintData const &)*arg1);
23562 wxPyEndAllowThreads(__tstate);
23563 if (PyErr_Occurred()) SWIG_fail;
23564 }
23565 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, SWIG_POINTER_NEW | 0 );
23566 return resultobj;
23567 fail:
23568 return NULL;
23569 }
23570
23571
23572 SWIGINTERN PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args) {
23573 int argc;
23574 PyObject *argv[2];
23575
23576 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintData",0,1,argv))) SWIG_fail;
23577 --argc;
23578 if (argc == 0) {
23579 return _wrap_new_PrintData__SWIG_0(self, argc, argv);
23580 }
23581 if (argc == 1) {
23582 return _wrap_new_PrintData__SWIG_1(self, argc, argv);
23583 }
23584
23585 fail:
23586 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintData'");
23587 return NULL;
23588 }
23589
23590
23591 SWIGINTERN PyObject *_wrap_delete_PrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23592 PyObject *resultobj = 0;
23593 wxPrintData *arg1 = (wxPrintData *) 0 ;
23594 void *argp1 = 0 ;
23595 int res1 = 0 ;
23596 PyObject *swig_obj[1] ;
23597
23598 if (!args) SWIG_fail;
23599 swig_obj[0] = args;
23600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, SWIG_POINTER_DISOWN | 0 );
23601 if (!SWIG_IsOK(res1)) {
23602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23603 }
23604 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23605 {
23606 PyThreadState* __tstate = wxPyBeginAllowThreads();
23607 delete arg1;
23608
23609 wxPyEndAllowThreads(__tstate);
23610 if (PyErr_Occurred()) SWIG_fail;
23611 }
23612 resultobj = SWIG_Py_Void();
23613 return resultobj;
23614 fail:
23615 return NULL;
23616 }
23617
23618
23619 SWIGINTERN PyObject *_wrap_PrintData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23620 PyObject *resultobj = 0;
23621 wxPrintData *arg1 = (wxPrintData *) 0 ;
23622 int result;
23623 void *argp1 = 0 ;
23624 int res1 = 0 ;
23625 PyObject *swig_obj[1] ;
23626
23627 if (!args) SWIG_fail;
23628 swig_obj[0] = args;
23629 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23630 if (!SWIG_IsOK(res1)) {
23631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23632 }
23633 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23634 {
23635 PyThreadState* __tstate = wxPyBeginAllowThreads();
23636 result = (int)(arg1)->GetNoCopies();
23637 wxPyEndAllowThreads(__tstate);
23638 if (PyErr_Occurred()) SWIG_fail;
23639 }
23640 resultobj = SWIG_From_int(static_cast< int >(result));
23641 return resultobj;
23642 fail:
23643 return NULL;
23644 }
23645
23646
23647 SWIGINTERN PyObject *_wrap_PrintData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23648 PyObject *resultobj = 0;
23649 wxPrintData *arg1 = (wxPrintData *) 0 ;
23650 bool result;
23651 void *argp1 = 0 ;
23652 int res1 = 0 ;
23653 PyObject *swig_obj[1] ;
23654
23655 if (!args) SWIG_fail;
23656 swig_obj[0] = args;
23657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23658 if (!SWIG_IsOK(res1)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23660 }
23661 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23662 {
23663 PyThreadState* __tstate = wxPyBeginAllowThreads();
23664 result = (bool)(arg1)->GetCollate();
23665 wxPyEndAllowThreads(__tstate);
23666 if (PyErr_Occurred()) SWIG_fail;
23667 }
23668 {
23669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23670 }
23671 return resultobj;
23672 fail:
23673 return NULL;
23674 }
23675
23676
23677 SWIGINTERN PyObject *_wrap_PrintData_GetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23678 PyObject *resultobj = 0;
23679 wxPrintData *arg1 = (wxPrintData *) 0 ;
23680 int result;
23681 void *argp1 = 0 ;
23682 int res1 = 0 ;
23683 PyObject *swig_obj[1] ;
23684
23685 if (!args) SWIG_fail;
23686 swig_obj[0] = args;
23687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23688 if (!SWIG_IsOK(res1)) {
23689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23690 }
23691 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23692 {
23693 PyThreadState* __tstate = wxPyBeginAllowThreads();
23694 result = (int)(arg1)->GetOrientation();
23695 wxPyEndAllowThreads(__tstate);
23696 if (PyErr_Occurred()) SWIG_fail;
23697 }
23698 resultobj = SWIG_From_int(static_cast< int >(result));
23699 return resultobj;
23700 fail:
23701 return NULL;
23702 }
23703
23704
23705 SWIGINTERN PyObject *_wrap_PrintData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23706 PyObject *resultobj = 0;
23707 wxPrintData *arg1 = (wxPrintData *) 0 ;
23708 bool result;
23709 void *argp1 = 0 ;
23710 int res1 = 0 ;
23711 PyObject *swig_obj[1] ;
23712
23713 if (!args) SWIG_fail;
23714 swig_obj[0] = args;
23715 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23716 if (!SWIG_IsOK(res1)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23718 }
23719 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23720 {
23721 PyThreadState* __tstate = wxPyBeginAllowThreads();
23722 result = (bool)(arg1)->IsOk();
23723 wxPyEndAllowThreads(__tstate);
23724 if (PyErr_Occurred()) SWIG_fail;
23725 }
23726 {
23727 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23728 }
23729 return resultobj;
23730 fail:
23731 return NULL;
23732 }
23733
23734
23735 SWIGINTERN PyObject *_wrap_PrintData_GetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23736 PyObject *resultobj = 0;
23737 wxPrintData *arg1 = (wxPrintData *) 0 ;
23738 wxString *result = 0 ;
23739 void *argp1 = 0 ;
23740 int res1 = 0 ;
23741 PyObject *swig_obj[1] ;
23742
23743 if (!args) SWIG_fail;
23744 swig_obj[0] = args;
23745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23746 if (!SWIG_IsOK(res1)) {
23747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23748 }
23749 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23750 {
23751 PyThreadState* __tstate = wxPyBeginAllowThreads();
23752 {
23753 wxString const &_result_ref = (arg1)->GetPrinterName();
23754 result = (wxString *) &_result_ref;
23755 }
23756 wxPyEndAllowThreads(__tstate);
23757 if (PyErr_Occurred()) SWIG_fail;
23758 }
23759 {
23760 #if wxUSE_UNICODE
23761 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23762 #else
23763 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23764 #endif
23765 }
23766 return resultobj;
23767 fail:
23768 return NULL;
23769 }
23770
23771
23772 SWIGINTERN PyObject *_wrap_PrintData_GetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23773 PyObject *resultobj = 0;
23774 wxPrintData *arg1 = (wxPrintData *) 0 ;
23775 bool result;
23776 void *argp1 = 0 ;
23777 int res1 = 0 ;
23778 PyObject *swig_obj[1] ;
23779
23780 if (!args) SWIG_fail;
23781 swig_obj[0] = args;
23782 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23783 if (!SWIG_IsOK(res1)) {
23784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23785 }
23786 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23787 {
23788 PyThreadState* __tstate = wxPyBeginAllowThreads();
23789 result = (bool)(arg1)->GetColour();
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 {
23794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23795 }
23796 return resultobj;
23797 fail:
23798 return NULL;
23799 }
23800
23801
23802 SWIGINTERN PyObject *_wrap_PrintData_GetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23803 PyObject *resultobj = 0;
23804 wxPrintData *arg1 = (wxPrintData *) 0 ;
23805 wxDuplexMode result;
23806 void *argp1 = 0 ;
23807 int res1 = 0 ;
23808 PyObject *swig_obj[1] ;
23809
23810 if (!args) SWIG_fail;
23811 swig_obj[0] = args;
23812 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23813 if (!SWIG_IsOK(res1)) {
23814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23815 }
23816 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23817 {
23818 PyThreadState* __tstate = wxPyBeginAllowThreads();
23819 result = (wxDuplexMode)(arg1)->GetDuplex();
23820 wxPyEndAllowThreads(__tstate);
23821 if (PyErr_Occurred()) SWIG_fail;
23822 }
23823 resultobj = SWIG_From_int(static_cast< int >(result));
23824 return resultobj;
23825 fail:
23826 return NULL;
23827 }
23828
23829
23830 SWIGINTERN PyObject *_wrap_PrintData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23831 PyObject *resultobj = 0;
23832 wxPrintData *arg1 = (wxPrintData *) 0 ;
23833 wxPaperSize result;
23834 void *argp1 = 0 ;
23835 int res1 = 0 ;
23836 PyObject *swig_obj[1] ;
23837
23838 if (!args) SWIG_fail;
23839 swig_obj[0] = args;
23840 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23841 if (!SWIG_IsOK(res1)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23843 }
23844 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
23847 result = (wxPaperSize)(arg1)->GetPaperId();
23848 wxPyEndAllowThreads(__tstate);
23849 if (PyErr_Occurred()) SWIG_fail;
23850 }
23851 resultobj = SWIG_From_int(static_cast< int >(result));
23852 return resultobj;
23853 fail:
23854 return NULL;
23855 }
23856
23857
23858 SWIGINTERN PyObject *_wrap_PrintData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23859 PyObject *resultobj = 0;
23860 wxPrintData *arg1 = (wxPrintData *) 0 ;
23861 wxSize *result = 0 ;
23862 void *argp1 = 0 ;
23863 int res1 = 0 ;
23864 PyObject *swig_obj[1] ;
23865
23866 if (!args) SWIG_fail;
23867 swig_obj[0] = args;
23868 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23869 if (!SWIG_IsOK(res1)) {
23870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23871 }
23872 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23873 {
23874 PyThreadState* __tstate = wxPyBeginAllowThreads();
23875 {
23876 wxSize const &_result_ref = (arg1)->GetPaperSize();
23877 result = (wxSize *) &_result_ref;
23878 }
23879 wxPyEndAllowThreads(__tstate);
23880 if (PyErr_Occurred()) SWIG_fail;
23881 }
23882 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSize, 0 | 0 );
23883 return resultobj;
23884 fail:
23885 return NULL;
23886 }
23887
23888
23889 SWIGINTERN PyObject *_wrap_PrintData_GetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23890 PyObject *resultobj = 0;
23891 wxPrintData *arg1 = (wxPrintData *) 0 ;
23892 int result;
23893 void *argp1 = 0 ;
23894 int res1 = 0 ;
23895 PyObject *swig_obj[1] ;
23896
23897 if (!args) SWIG_fail;
23898 swig_obj[0] = args;
23899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23900 if (!SWIG_IsOK(res1)) {
23901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23902 }
23903 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23904 {
23905 PyThreadState* __tstate = wxPyBeginAllowThreads();
23906 result = (int)(arg1)->GetQuality();
23907 wxPyEndAllowThreads(__tstate);
23908 if (PyErr_Occurred()) SWIG_fail;
23909 }
23910 resultobj = SWIG_From_int(static_cast< int >(result));
23911 return resultobj;
23912 fail:
23913 return NULL;
23914 }
23915
23916
23917 SWIGINTERN PyObject *_wrap_PrintData_GetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23918 PyObject *resultobj = 0;
23919 wxPrintData *arg1 = (wxPrintData *) 0 ;
23920 wxPrintBin result;
23921 void *argp1 = 0 ;
23922 int res1 = 0 ;
23923 PyObject *swig_obj[1] ;
23924
23925 if (!args) SWIG_fail;
23926 swig_obj[0] = args;
23927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23928 if (!SWIG_IsOK(res1)) {
23929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23930 }
23931 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23932 {
23933 PyThreadState* __tstate = wxPyBeginAllowThreads();
23934 result = (wxPrintBin)(arg1)->GetBin();
23935 wxPyEndAllowThreads(__tstate);
23936 if (PyErr_Occurred()) SWIG_fail;
23937 }
23938 resultobj = SWIG_From_int(static_cast< int >(result));
23939 return resultobj;
23940 fail:
23941 return NULL;
23942 }
23943
23944
23945 SWIGINTERN PyObject *_wrap_PrintData_GetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23946 PyObject *resultobj = 0;
23947 wxPrintData *arg1 = (wxPrintData *) 0 ;
23948 wxPrintMode result;
23949 void *argp1 = 0 ;
23950 int res1 = 0 ;
23951 PyObject *swig_obj[1] ;
23952
23953 if (!args) SWIG_fail;
23954 swig_obj[0] = args;
23955 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23956 if (!SWIG_IsOK(res1)) {
23957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23958 }
23959 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23960 {
23961 PyThreadState* __tstate = wxPyBeginAllowThreads();
23962 result = (wxPrintMode)((wxPrintData const *)arg1)->GetPrintMode();
23963 wxPyEndAllowThreads(__tstate);
23964 if (PyErr_Occurred()) SWIG_fail;
23965 }
23966 resultobj = SWIG_From_int(static_cast< int >(result));
23967 return resultobj;
23968 fail:
23969 return NULL;
23970 }
23971
23972
23973 SWIGINTERN PyObject *_wrap_PrintData_GetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
23974 PyObject *resultobj = 0;
23975 wxPrintData *arg1 = (wxPrintData *) 0 ;
23976 int result;
23977 void *argp1 = 0 ;
23978 int res1 = 0 ;
23979 PyObject *swig_obj[1] ;
23980
23981 if (!args) SWIG_fail;
23982 swig_obj[0] = args;
23983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
23984 if (!SWIG_IsOK(res1)) {
23985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23986 }
23987 arg1 = reinterpret_cast< wxPrintData * >(argp1);
23988 {
23989 PyThreadState* __tstate = wxPyBeginAllowThreads();
23990 result = (int)((wxPrintData const *)arg1)->GetMedia();
23991 wxPyEndAllowThreads(__tstate);
23992 if (PyErr_Occurred()) SWIG_fail;
23993 }
23994 resultobj = SWIG_From_int(static_cast< int >(result));
23995 return resultobj;
23996 fail:
23997 return NULL;
23998 }
23999
24000
24001 SWIGINTERN PyObject *_wrap_PrintData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24002 PyObject *resultobj = 0;
24003 wxPrintData *arg1 = (wxPrintData *) 0 ;
24004 int arg2 ;
24005 void *argp1 = 0 ;
24006 int res1 = 0 ;
24007 int val2 ;
24008 int ecode2 = 0 ;
24009 PyObject * obj0 = 0 ;
24010 PyObject * obj1 = 0 ;
24011 char * kwnames[] = {
24012 (char *) "self",(char *) "v", NULL
24013 };
24014
24015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
24016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24017 if (!SWIG_IsOK(res1)) {
24018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24019 }
24020 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24021 ecode2 = SWIG_AsVal_int(obj1, &val2);
24022 if (!SWIG_IsOK(ecode2)) {
24023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24024 }
24025 arg2 = static_cast< int >(val2);
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 (arg1)->SetNoCopies(arg2);
24029 wxPyEndAllowThreads(__tstate);
24030 if (PyErr_Occurred()) SWIG_fail;
24031 }
24032 resultobj = SWIG_Py_Void();
24033 return resultobj;
24034 fail:
24035 return NULL;
24036 }
24037
24038
24039 SWIGINTERN PyObject *_wrap_PrintData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24040 PyObject *resultobj = 0;
24041 wxPrintData *arg1 = (wxPrintData *) 0 ;
24042 bool arg2 ;
24043 void *argp1 = 0 ;
24044 int res1 = 0 ;
24045 bool val2 ;
24046 int ecode2 = 0 ;
24047 PyObject * obj0 = 0 ;
24048 PyObject * obj1 = 0 ;
24049 char * kwnames[] = {
24050 (char *) "self",(char *) "flag", NULL
24051 };
24052
24053 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
24054 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24055 if (!SWIG_IsOK(res1)) {
24056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24057 }
24058 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24059 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24060 if (!SWIG_IsOK(ecode2)) {
24061 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24062 }
24063 arg2 = static_cast< bool >(val2);
24064 {
24065 PyThreadState* __tstate = wxPyBeginAllowThreads();
24066 (arg1)->SetCollate(arg2);
24067 wxPyEndAllowThreads(__tstate);
24068 if (PyErr_Occurred()) SWIG_fail;
24069 }
24070 resultobj = SWIG_Py_Void();
24071 return resultobj;
24072 fail:
24073 return NULL;
24074 }
24075
24076
24077 SWIGINTERN PyObject *_wrap_PrintData_SetOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24078 PyObject *resultobj = 0;
24079 wxPrintData *arg1 = (wxPrintData *) 0 ;
24080 int arg2 ;
24081 void *argp1 = 0 ;
24082 int res1 = 0 ;
24083 int val2 ;
24084 int ecode2 = 0 ;
24085 PyObject * obj0 = 0 ;
24086 PyObject * obj1 = 0 ;
24087 char * kwnames[] = {
24088 (char *) "self",(char *) "orient", NULL
24089 };
24090
24091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24093 if (!SWIG_IsOK(res1)) {
24094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24095 }
24096 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24097 ecode2 = SWIG_AsVal_int(obj1, &val2);
24098 if (!SWIG_IsOK(ecode2)) {
24099 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24100 }
24101 arg2 = static_cast< int >(val2);
24102 {
24103 PyThreadState* __tstate = wxPyBeginAllowThreads();
24104 (arg1)->SetOrientation(arg2);
24105 wxPyEndAllowThreads(__tstate);
24106 if (PyErr_Occurred()) SWIG_fail;
24107 }
24108 resultobj = SWIG_Py_Void();
24109 return resultobj;
24110 fail:
24111 return NULL;
24112 }
24113
24114
24115 SWIGINTERN PyObject *_wrap_PrintData_SetPrinterName(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24116 PyObject *resultobj = 0;
24117 wxPrintData *arg1 = (wxPrintData *) 0 ;
24118 wxString *arg2 = 0 ;
24119 void *argp1 = 0 ;
24120 int res1 = 0 ;
24121 bool temp2 = false ;
24122 PyObject * obj0 = 0 ;
24123 PyObject * obj1 = 0 ;
24124 char * kwnames[] = {
24125 (char *) "self",(char *) "name", NULL
24126 };
24127
24128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) SWIG_fail;
24129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24130 if (!SWIG_IsOK(res1)) {
24131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24132 }
24133 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24134 {
24135 arg2 = wxString_in_helper(obj1);
24136 if (arg2 == NULL) SWIG_fail;
24137 temp2 = true;
24138 }
24139 {
24140 PyThreadState* __tstate = wxPyBeginAllowThreads();
24141 (arg1)->SetPrinterName((wxString const &)*arg2);
24142 wxPyEndAllowThreads(__tstate);
24143 if (PyErr_Occurred()) SWIG_fail;
24144 }
24145 resultobj = SWIG_Py_Void();
24146 {
24147 if (temp2)
24148 delete arg2;
24149 }
24150 return resultobj;
24151 fail:
24152 {
24153 if (temp2)
24154 delete arg2;
24155 }
24156 return NULL;
24157 }
24158
24159
24160 SWIGINTERN PyObject *_wrap_PrintData_SetColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24161 PyObject *resultobj = 0;
24162 wxPrintData *arg1 = (wxPrintData *) 0 ;
24163 bool arg2 ;
24164 void *argp1 = 0 ;
24165 int res1 = 0 ;
24166 bool val2 ;
24167 int ecode2 = 0 ;
24168 PyObject * obj0 = 0 ;
24169 PyObject * obj1 = 0 ;
24170 char * kwnames[] = {
24171 (char *) "self",(char *) "colour", NULL
24172 };
24173
24174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) SWIG_fail;
24175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24176 if (!SWIG_IsOK(res1)) {
24177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24178 }
24179 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24180 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24181 if (!SWIG_IsOK(ecode2)) {
24182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24183 }
24184 arg2 = static_cast< bool >(val2);
24185 {
24186 PyThreadState* __tstate = wxPyBeginAllowThreads();
24187 (arg1)->SetColour(arg2);
24188 wxPyEndAllowThreads(__tstate);
24189 if (PyErr_Occurred()) SWIG_fail;
24190 }
24191 resultobj = SWIG_Py_Void();
24192 return resultobj;
24193 fail:
24194 return NULL;
24195 }
24196
24197
24198 SWIGINTERN PyObject *_wrap_PrintData_SetDuplex(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24199 PyObject *resultobj = 0;
24200 wxPrintData *arg1 = (wxPrintData *) 0 ;
24201 wxDuplexMode arg2 ;
24202 void *argp1 = 0 ;
24203 int res1 = 0 ;
24204 int val2 ;
24205 int ecode2 = 0 ;
24206 PyObject * obj0 = 0 ;
24207 PyObject * obj1 = 0 ;
24208 char * kwnames[] = {
24209 (char *) "self",(char *) "duplex", NULL
24210 };
24211
24212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) SWIG_fail;
24213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24214 if (!SWIG_IsOK(res1)) {
24215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24216 }
24217 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24218 ecode2 = SWIG_AsVal_int(obj1, &val2);
24219 if (!SWIG_IsOK(ecode2)) {
24220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24221 }
24222 arg2 = static_cast< wxDuplexMode >(val2);
24223 {
24224 PyThreadState* __tstate = wxPyBeginAllowThreads();
24225 (arg1)->SetDuplex(arg2);
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 resultobj = SWIG_Py_Void();
24230 return resultobj;
24231 fail:
24232 return NULL;
24233 }
24234
24235
24236 SWIGINTERN PyObject *_wrap_PrintData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj = 0;
24238 wxPrintData *arg1 = (wxPrintData *) 0 ;
24239 wxPaperSize arg2 ;
24240 void *argp1 = 0 ;
24241 int res1 = 0 ;
24242 int val2 ;
24243 int ecode2 = 0 ;
24244 PyObject * obj0 = 0 ;
24245 PyObject * obj1 = 0 ;
24246 char * kwnames[] = {
24247 (char *) "self",(char *) "sizeId", NULL
24248 };
24249
24250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
24251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24252 if (!SWIG_IsOK(res1)) {
24253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24254 }
24255 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24256 ecode2 = SWIG_AsVal_int(obj1, &val2);
24257 if (!SWIG_IsOK(ecode2)) {
24258 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24259 }
24260 arg2 = static_cast< wxPaperSize >(val2);
24261 {
24262 PyThreadState* __tstate = wxPyBeginAllowThreads();
24263 (arg1)->SetPaperId(arg2);
24264 wxPyEndAllowThreads(__tstate);
24265 if (PyErr_Occurred()) SWIG_fail;
24266 }
24267 resultobj = SWIG_Py_Void();
24268 return resultobj;
24269 fail:
24270 return NULL;
24271 }
24272
24273
24274 SWIGINTERN PyObject *_wrap_PrintData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24275 PyObject *resultobj = 0;
24276 wxPrintData *arg1 = (wxPrintData *) 0 ;
24277 wxSize *arg2 = 0 ;
24278 void *argp1 = 0 ;
24279 int res1 = 0 ;
24280 wxSize temp2 ;
24281 PyObject * obj0 = 0 ;
24282 PyObject * obj1 = 0 ;
24283 char * kwnames[] = {
24284 (char *) "self",(char *) "sz", NULL
24285 };
24286
24287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
24288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24289 if (!SWIG_IsOK(res1)) {
24290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24291 }
24292 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24293 {
24294 arg2 = &temp2;
24295 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24296 }
24297 {
24298 PyThreadState* __tstate = wxPyBeginAllowThreads();
24299 (arg1)->SetPaperSize((wxSize const &)*arg2);
24300 wxPyEndAllowThreads(__tstate);
24301 if (PyErr_Occurred()) SWIG_fail;
24302 }
24303 resultobj = SWIG_Py_Void();
24304 return resultobj;
24305 fail:
24306 return NULL;
24307 }
24308
24309
24310 SWIGINTERN PyObject *_wrap_PrintData_SetQuality(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24311 PyObject *resultobj = 0;
24312 wxPrintData *arg1 = (wxPrintData *) 0 ;
24313 int arg2 ;
24314 void *argp1 = 0 ;
24315 int res1 = 0 ;
24316 int val2 ;
24317 int ecode2 = 0 ;
24318 PyObject * obj0 = 0 ;
24319 PyObject * obj1 = 0 ;
24320 char * kwnames[] = {
24321 (char *) "self",(char *) "quality", NULL
24322 };
24323
24324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) SWIG_fail;
24325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24326 if (!SWIG_IsOK(res1)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24328 }
24329 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24330 ecode2 = SWIG_AsVal_int(obj1, &val2);
24331 if (!SWIG_IsOK(ecode2)) {
24332 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24333 }
24334 arg2 = static_cast< int >(val2);
24335 {
24336 PyThreadState* __tstate = wxPyBeginAllowThreads();
24337 (arg1)->SetQuality(arg2);
24338 wxPyEndAllowThreads(__tstate);
24339 if (PyErr_Occurred()) SWIG_fail;
24340 }
24341 resultobj = SWIG_Py_Void();
24342 return resultobj;
24343 fail:
24344 return NULL;
24345 }
24346
24347
24348 SWIGINTERN PyObject *_wrap_PrintData_SetBin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24349 PyObject *resultobj = 0;
24350 wxPrintData *arg1 = (wxPrintData *) 0 ;
24351 wxPrintBin arg2 ;
24352 void *argp1 = 0 ;
24353 int res1 = 0 ;
24354 int val2 ;
24355 int ecode2 = 0 ;
24356 PyObject * obj0 = 0 ;
24357 PyObject * obj1 = 0 ;
24358 char * kwnames[] = {
24359 (char *) "self",(char *) "bin", NULL
24360 };
24361
24362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetBin",kwnames,&obj0,&obj1)) SWIG_fail;
24363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24364 if (!SWIG_IsOK(res1)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24366 }
24367 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24368 ecode2 = SWIG_AsVal_int(obj1, &val2);
24369 if (!SWIG_IsOK(ecode2)) {
24370 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24371 }
24372 arg2 = static_cast< wxPrintBin >(val2);
24373 {
24374 PyThreadState* __tstate = wxPyBeginAllowThreads();
24375 (arg1)->SetBin(arg2);
24376 wxPyEndAllowThreads(__tstate);
24377 if (PyErr_Occurred()) SWIG_fail;
24378 }
24379 resultobj = SWIG_Py_Void();
24380 return resultobj;
24381 fail:
24382 return NULL;
24383 }
24384
24385
24386 SWIGINTERN PyObject *_wrap_PrintData_SetPrintMode(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24387 PyObject *resultobj = 0;
24388 wxPrintData *arg1 = (wxPrintData *) 0 ;
24389 wxPrintMode arg2 ;
24390 void *argp1 = 0 ;
24391 int res1 = 0 ;
24392 int val2 ;
24393 int ecode2 = 0 ;
24394 PyObject * obj0 = 0 ;
24395 PyObject * obj1 = 0 ;
24396 char * kwnames[] = {
24397 (char *) "self",(char *) "printMode", NULL
24398 };
24399
24400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) SWIG_fail;
24401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24402 if (!SWIG_IsOK(res1)) {
24403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24404 }
24405 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24406 ecode2 = SWIG_AsVal_int(obj1, &val2);
24407 if (!SWIG_IsOK(ecode2)) {
24408 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24409 }
24410 arg2 = static_cast< wxPrintMode >(val2);
24411 {
24412 PyThreadState* __tstate = wxPyBeginAllowThreads();
24413 (arg1)->SetPrintMode(arg2);
24414 wxPyEndAllowThreads(__tstate);
24415 if (PyErr_Occurred()) SWIG_fail;
24416 }
24417 resultobj = SWIG_Py_Void();
24418 return resultobj;
24419 fail:
24420 return NULL;
24421 }
24422
24423
24424 SWIGINTERN PyObject *_wrap_PrintData_SetMedia(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24425 PyObject *resultobj = 0;
24426 wxPrintData *arg1 = (wxPrintData *) 0 ;
24427 int arg2 ;
24428 void *argp1 = 0 ;
24429 int res1 = 0 ;
24430 int val2 ;
24431 int ecode2 = 0 ;
24432 PyObject * obj0 = 0 ;
24433 PyObject * obj1 = 0 ;
24434 char * kwnames[] = {
24435 (char *) "self",(char *) "media", NULL
24436 };
24437
24438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetMedia",kwnames,&obj0,&obj1)) SWIG_fail;
24439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24440 if (!SWIG_IsOK(res1)) {
24441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24442 }
24443 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24444 ecode2 = SWIG_AsVal_int(obj1, &val2);
24445 if (!SWIG_IsOK(ecode2)) {
24446 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24447 }
24448 arg2 = static_cast< int >(val2);
24449 {
24450 PyThreadState* __tstate = wxPyBeginAllowThreads();
24451 (arg1)->SetMedia(arg2);
24452 wxPyEndAllowThreads(__tstate);
24453 if (PyErr_Occurred()) SWIG_fail;
24454 }
24455 resultobj = SWIG_Py_Void();
24456 return resultobj;
24457 fail:
24458 return NULL;
24459 }
24460
24461
24462 SWIGINTERN PyObject *_wrap_PrintData_GetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24463 PyObject *resultobj = 0;
24464 wxPrintData *arg1 = (wxPrintData *) 0 ;
24465 wxString result;
24466 void *argp1 = 0 ;
24467 int res1 = 0 ;
24468 PyObject *swig_obj[1] ;
24469
24470 if (!args) SWIG_fail;
24471 swig_obj[0] = args;
24472 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24473 if (!SWIG_IsOK(res1)) {
24474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24475 }
24476 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24477 {
24478 PyThreadState* __tstate = wxPyBeginAllowThreads();
24479 result = ((wxPrintData const *)arg1)->GetFilename();
24480 wxPyEndAllowThreads(__tstate);
24481 if (PyErr_Occurred()) SWIG_fail;
24482 }
24483 {
24484 #if wxUSE_UNICODE
24485 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24486 #else
24487 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24488 #endif
24489 }
24490 return resultobj;
24491 fail:
24492 return NULL;
24493 }
24494
24495
24496 SWIGINTERN PyObject *_wrap_PrintData_SetFilename(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24497 PyObject *resultobj = 0;
24498 wxPrintData *arg1 = (wxPrintData *) 0 ;
24499 wxString *arg2 = 0 ;
24500 void *argp1 = 0 ;
24501 int res1 = 0 ;
24502 bool temp2 = false ;
24503 PyObject * obj0 = 0 ;
24504 PyObject * obj1 = 0 ;
24505 char * kwnames[] = {
24506 (char *) "self",(char *) "filename", NULL
24507 };
24508
24509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) SWIG_fail;
24510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24511 if (!SWIG_IsOK(res1)) {
24512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24513 }
24514 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24515 {
24516 arg2 = wxString_in_helper(obj1);
24517 if (arg2 == NULL) SWIG_fail;
24518 temp2 = true;
24519 }
24520 {
24521 PyThreadState* __tstate = wxPyBeginAllowThreads();
24522 (arg1)->SetFilename((wxString const &)*arg2);
24523 wxPyEndAllowThreads(__tstate);
24524 if (PyErr_Occurred()) SWIG_fail;
24525 }
24526 resultobj = SWIG_Py_Void();
24527 {
24528 if (temp2)
24529 delete arg2;
24530 }
24531 return resultobj;
24532 fail:
24533 {
24534 if (temp2)
24535 delete arg2;
24536 }
24537 return NULL;
24538 }
24539
24540
24541 SWIGINTERN PyObject *_wrap_PrintData_GetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24542 PyObject *resultobj = 0;
24543 wxPrintData *arg1 = (wxPrintData *) 0 ;
24544 PyObject *result = 0 ;
24545 void *argp1 = 0 ;
24546 int res1 = 0 ;
24547 PyObject *swig_obj[1] ;
24548
24549 if (!args) SWIG_fail;
24550 swig_obj[0] = args;
24551 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24552 if (!SWIG_IsOK(res1)) {
24553 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24554 }
24555 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24556 {
24557 PyThreadState* __tstate = wxPyBeginAllowThreads();
24558 result = (PyObject *)wxPrintData_GetPrivData(arg1);
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
24562 resultobj = result;
24563 return resultobj;
24564 fail:
24565 return NULL;
24566 }
24567
24568
24569 SWIGINTERN PyObject *_wrap_PrintData_SetPrivData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj = 0;
24571 wxPrintData *arg1 = (wxPrintData *) 0 ;
24572 PyObject *arg2 = (PyObject *) 0 ;
24573 void *argp1 = 0 ;
24574 int res1 = 0 ;
24575 PyObject * obj0 = 0 ;
24576 PyObject * obj1 = 0 ;
24577 char * kwnames[] = {
24578 (char *) "self",(char *) "data", NULL
24579 };
24580
24581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrivData",kwnames,&obj0,&obj1)) SWIG_fail;
24582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintData, 0 | 0 );
24583 if (!SWIG_IsOK(res1)) {
24584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24585 }
24586 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24587 arg2 = obj1;
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 wxPrintData_SetPrivData(arg1,arg2);
24591 wxPyEndAllowThreads(__tstate);
24592 if (PyErr_Occurred()) SWIG_fail;
24593 }
24594 resultobj = SWIG_Py_Void();
24595 return resultobj;
24596 fail:
24597 return NULL;
24598 }
24599
24600
24601 SWIGINTERN PyObject *PrintData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24602 PyObject *obj;
24603 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
24604 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData, SWIG_NewClientData(obj));
24605 return SWIG_Py_Void();
24606 }
24607
24608 SWIGINTERN PyObject *PrintData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24609 return SWIG_Python_InitShadowInstance(args);
24610 }
24611
24612 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
24613 PyObject *resultobj = 0;
24614 wxPageSetupDialogData *result = 0 ;
24615
24616 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
24617 {
24618 PyThreadState* __tstate = wxPyBeginAllowThreads();
24619 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
24620 wxPyEndAllowThreads(__tstate);
24621 if (PyErr_Occurred()) SWIG_fail;
24622 }
24623 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24624 return resultobj;
24625 fail:
24626 return NULL;
24627 }
24628
24629
24630 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24631 PyObject *resultobj = 0;
24632 wxPageSetupDialogData *arg1 = 0 ;
24633 wxPageSetupDialogData *result = 0 ;
24634 void *argp1 = 0 ;
24635 int res1 = 0 ;
24636
24637 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
24639 if (!SWIG_IsOK(res1)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24641 }
24642 if (!argp1) {
24643 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24644 }
24645 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24646 {
24647 PyThreadState* __tstate = wxPyBeginAllowThreads();
24648 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPageSetupDialogData const &)*arg1);
24649 wxPyEndAllowThreads(__tstate);
24650 if (PyErr_Occurred()) SWIG_fail;
24651 }
24652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24653 return resultobj;
24654 fail:
24655 return NULL;
24656 }
24657
24658
24659 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
24660 PyObject *resultobj = 0;
24661 wxPrintData *arg1 = 0 ;
24662 wxPageSetupDialogData *result = 0 ;
24663 void *argp1 = 0 ;
24664 int res1 = 0 ;
24665
24666 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
24667 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
24668 if (!SWIG_IsOK(res1)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24670 }
24671 if (!argp1) {
24672 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24673 }
24674 arg1 = reinterpret_cast< wxPrintData * >(argp1);
24675 {
24676 PyThreadState* __tstate = wxPyBeginAllowThreads();
24677 result = (wxPageSetupDialogData *)new wxPageSetupDialogData((wxPrintData const &)*arg1);
24678 wxPyEndAllowThreads(__tstate);
24679 if (PyErr_Occurred()) SWIG_fail;
24680 }
24681 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_NEW | 0 );
24682 return resultobj;
24683 fail:
24684 return NULL;
24685 }
24686
24687
24688 SWIGINTERN PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args) {
24689 int argc;
24690 PyObject *argv[2];
24691
24692 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PageSetupDialogData",0,1,argv))) SWIG_fail;
24693 --argc;
24694 if (argc == 0) {
24695 return _wrap_new_PageSetupDialogData__SWIG_0(self, argc, argv);
24696 }
24697 if (argc == 1) {
24698 int _v = 0;
24699 {
24700 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPageSetupDialogData, 0);
24701 _v = SWIG_CheckState(res);
24702 }
24703 if (!_v) goto check_2;
24704 return _wrap_new_PageSetupDialogData__SWIG_1(self, argc, argv);
24705 }
24706 check_2:
24707
24708 if (argc == 1) {
24709 return _wrap_new_PageSetupDialogData__SWIG_2(self, argc, argv);
24710 }
24711
24712 fail:
24713 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PageSetupDialogData'");
24714 return NULL;
24715 }
24716
24717
24718 SWIGINTERN PyObject *_wrap_delete_PageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24719 PyObject *resultobj = 0;
24720 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24721 void *argp1 = 0 ;
24722 int res1 = 0 ;
24723 PyObject *swig_obj[1] ;
24724
24725 if (!args) SWIG_fail;
24726 swig_obj[0] = args;
24727 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, SWIG_POINTER_DISOWN | 0 );
24728 if (!SWIG_IsOK(res1)) {
24729 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24730 }
24731 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24732 {
24733 PyThreadState* __tstate = wxPyBeginAllowThreads();
24734 delete arg1;
24735
24736 wxPyEndAllowThreads(__tstate);
24737 if (PyErr_Occurred()) SWIG_fail;
24738 }
24739 resultobj = SWIG_Py_Void();
24740 return resultobj;
24741 fail:
24742 return NULL;
24743 }
24744
24745
24746 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24747 PyObject *resultobj = 0;
24748 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24749 bool arg2 ;
24750 void *argp1 = 0 ;
24751 int res1 = 0 ;
24752 bool val2 ;
24753 int ecode2 = 0 ;
24754 PyObject * obj0 = 0 ;
24755 PyObject * obj1 = 0 ;
24756 char * kwnames[] = {
24757 (char *) "self",(char *) "flag", NULL
24758 };
24759
24760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
24761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24762 if (!SWIG_IsOK(res1)) {
24763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24764 }
24765 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24766 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24767 if (!SWIG_IsOK(ecode2)) {
24768 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24769 }
24770 arg2 = static_cast< bool >(val2);
24771 {
24772 PyThreadState* __tstate = wxPyBeginAllowThreads();
24773 (arg1)->EnableHelp(arg2);
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 resultobj = SWIG_Py_Void();
24778 return resultobj;
24779 fail:
24780 return NULL;
24781 }
24782
24783
24784 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24785 PyObject *resultobj = 0;
24786 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24787 bool arg2 ;
24788 void *argp1 = 0 ;
24789 int res1 = 0 ;
24790 bool val2 ;
24791 int ecode2 = 0 ;
24792 PyObject * obj0 = 0 ;
24793 PyObject * obj1 = 0 ;
24794 char * kwnames[] = {
24795 (char *) "self",(char *) "flag", NULL
24796 };
24797
24798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) SWIG_fail;
24799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24800 if (!SWIG_IsOK(res1)) {
24801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24802 }
24803 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24804 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24805 if (!SWIG_IsOK(ecode2)) {
24806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24807 }
24808 arg2 = static_cast< bool >(val2);
24809 {
24810 PyThreadState* __tstate = wxPyBeginAllowThreads();
24811 (arg1)->EnableMargins(arg2);
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 resultobj = SWIG_Py_Void();
24816 return resultobj;
24817 fail:
24818 return NULL;
24819 }
24820
24821
24822 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24823 PyObject *resultobj = 0;
24824 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24825 bool arg2 ;
24826 void *argp1 = 0 ;
24827 int res1 = 0 ;
24828 bool val2 ;
24829 int ecode2 = 0 ;
24830 PyObject * obj0 = 0 ;
24831 PyObject * obj1 = 0 ;
24832 char * kwnames[] = {
24833 (char *) "self",(char *) "flag", NULL
24834 };
24835
24836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) SWIG_fail;
24837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24838 if (!SWIG_IsOK(res1)) {
24839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24840 }
24841 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24842 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24843 if (!SWIG_IsOK(ecode2)) {
24844 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24845 }
24846 arg2 = static_cast< bool >(val2);
24847 {
24848 PyThreadState* __tstate = wxPyBeginAllowThreads();
24849 (arg1)->EnableOrientation(arg2);
24850 wxPyEndAllowThreads(__tstate);
24851 if (PyErr_Occurred()) SWIG_fail;
24852 }
24853 resultobj = SWIG_Py_Void();
24854 return resultobj;
24855 fail:
24856 return NULL;
24857 }
24858
24859
24860 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24861 PyObject *resultobj = 0;
24862 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24863 bool arg2 ;
24864 void *argp1 = 0 ;
24865 int res1 = 0 ;
24866 bool val2 ;
24867 int ecode2 = 0 ;
24868 PyObject * obj0 = 0 ;
24869 PyObject * obj1 = 0 ;
24870 char * kwnames[] = {
24871 (char *) "self",(char *) "flag", NULL
24872 };
24873
24874 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) SWIG_fail;
24875 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24876 if (!SWIG_IsOK(res1)) {
24877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24878 }
24879 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24880 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24881 if (!SWIG_IsOK(ecode2)) {
24882 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24883 }
24884 arg2 = static_cast< bool >(val2);
24885 {
24886 PyThreadState* __tstate = wxPyBeginAllowThreads();
24887 (arg1)->EnablePaper(arg2);
24888 wxPyEndAllowThreads(__tstate);
24889 if (PyErr_Occurred()) SWIG_fail;
24890 }
24891 resultobj = SWIG_Py_Void();
24892 return resultobj;
24893 fail:
24894 return NULL;
24895 }
24896
24897
24898 SWIGINTERN PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
24899 PyObject *resultobj = 0;
24900 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24901 bool arg2 ;
24902 void *argp1 = 0 ;
24903 int res1 = 0 ;
24904 bool val2 ;
24905 int ecode2 = 0 ;
24906 PyObject * obj0 = 0 ;
24907 PyObject * obj1 = 0 ;
24908 char * kwnames[] = {
24909 (char *) "self",(char *) "flag", NULL
24910 };
24911
24912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) SWIG_fail;
24913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24914 if (!SWIG_IsOK(res1)) {
24915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24916 }
24917 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24918 ecode2 = SWIG_AsVal_bool(obj1, &val2);
24919 if (!SWIG_IsOK(ecode2)) {
24920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24921 }
24922 arg2 = static_cast< bool >(val2);
24923 {
24924 PyThreadState* __tstate = wxPyBeginAllowThreads();
24925 (arg1)->EnablePrinter(arg2);
24926 wxPyEndAllowThreads(__tstate);
24927 if (PyErr_Occurred()) SWIG_fail;
24928 }
24929 resultobj = SWIG_Py_Void();
24930 return resultobj;
24931 fail:
24932 return NULL;
24933 }
24934
24935
24936 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24937 PyObject *resultobj = 0;
24938 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24939 bool result;
24940 void *argp1 = 0 ;
24941 int res1 = 0 ;
24942 PyObject *swig_obj[1] ;
24943
24944 if (!args) SWIG_fail;
24945 swig_obj[0] = args;
24946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24947 if (!SWIG_IsOK(res1)) {
24948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24949 }
24950 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 result = (bool)(arg1)->GetDefaultMinMargins();
24954 wxPyEndAllowThreads(__tstate);
24955 if (PyErr_Occurred()) SWIG_fail;
24956 }
24957 {
24958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24959 }
24960 return resultobj;
24961 fail:
24962 return NULL;
24963 }
24964
24965
24966 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24967 PyObject *resultobj = 0;
24968 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24969 bool result;
24970 void *argp1 = 0 ;
24971 int res1 = 0 ;
24972 PyObject *swig_obj[1] ;
24973
24974 if (!args) SWIG_fail;
24975 swig_obj[0] = args;
24976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
24977 if (!SWIG_IsOK(res1)) {
24978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24979 }
24980 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
24981 {
24982 PyThreadState* __tstate = wxPyBeginAllowThreads();
24983 result = (bool)(arg1)->GetEnableMargins();
24984 wxPyEndAllowThreads(__tstate);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 {
24988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24989 }
24990 return resultobj;
24991 fail:
24992 return NULL;
24993 }
24994
24995
24996 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
24997 PyObject *resultobj = 0;
24998 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
24999 bool result;
25000 void *argp1 = 0 ;
25001 int res1 = 0 ;
25002 PyObject *swig_obj[1] ;
25003
25004 if (!args) SWIG_fail;
25005 swig_obj[0] = args;
25006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25007 if (!SWIG_IsOK(res1)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25009 }
25010 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25011 {
25012 PyThreadState* __tstate = wxPyBeginAllowThreads();
25013 result = (bool)(arg1)->GetEnableOrientation();
25014 wxPyEndAllowThreads(__tstate);
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
25017 {
25018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25019 }
25020 return resultobj;
25021 fail:
25022 return NULL;
25023 }
25024
25025
25026 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25027 PyObject *resultobj = 0;
25028 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25029 bool result;
25030 void *argp1 = 0 ;
25031 int res1 = 0 ;
25032 PyObject *swig_obj[1] ;
25033
25034 if (!args) SWIG_fail;
25035 swig_obj[0] = args;
25036 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25037 if (!SWIG_IsOK(res1)) {
25038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25039 }
25040 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25041 {
25042 PyThreadState* __tstate = wxPyBeginAllowThreads();
25043 result = (bool)(arg1)->GetEnablePaper();
25044 wxPyEndAllowThreads(__tstate);
25045 if (PyErr_Occurred()) SWIG_fail;
25046 }
25047 {
25048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25049 }
25050 return resultobj;
25051 fail:
25052 return NULL;
25053 }
25054
25055
25056 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25057 PyObject *resultobj = 0;
25058 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25059 bool result;
25060 void *argp1 = 0 ;
25061 int res1 = 0 ;
25062 PyObject *swig_obj[1] ;
25063
25064 if (!args) SWIG_fail;
25065 swig_obj[0] = args;
25066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25067 if (!SWIG_IsOK(res1)) {
25068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25069 }
25070 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25071 {
25072 PyThreadState* __tstate = wxPyBeginAllowThreads();
25073 result = (bool)(arg1)->GetEnablePrinter();
25074 wxPyEndAllowThreads(__tstate);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 }
25077 {
25078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25079 }
25080 return resultobj;
25081 fail:
25082 return NULL;
25083 }
25084
25085
25086 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25087 PyObject *resultobj = 0;
25088 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25089 bool result;
25090 void *argp1 = 0 ;
25091 int res1 = 0 ;
25092 PyObject *swig_obj[1] ;
25093
25094 if (!args) SWIG_fail;
25095 swig_obj[0] = args;
25096 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25097 if (!SWIG_IsOK(res1)) {
25098 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25099 }
25100 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25101 {
25102 PyThreadState* __tstate = wxPyBeginAllowThreads();
25103 result = (bool)(arg1)->GetEnableHelp();
25104 wxPyEndAllowThreads(__tstate);
25105 if (PyErr_Occurred()) SWIG_fail;
25106 }
25107 {
25108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25109 }
25110 return resultobj;
25111 fail:
25112 return NULL;
25113 }
25114
25115
25116 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25117 PyObject *resultobj = 0;
25118 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25119 bool result;
25120 void *argp1 = 0 ;
25121 int res1 = 0 ;
25122 PyObject *swig_obj[1] ;
25123
25124 if (!args) SWIG_fail;
25125 swig_obj[0] = args;
25126 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25127 if (!SWIG_IsOK(res1)) {
25128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25129 }
25130 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25131 {
25132 PyThreadState* __tstate = wxPyBeginAllowThreads();
25133 result = (bool)(arg1)->GetDefaultInfo();
25134 wxPyEndAllowThreads(__tstate);
25135 if (PyErr_Occurred()) SWIG_fail;
25136 }
25137 {
25138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25139 }
25140 return resultobj;
25141 fail:
25142 return NULL;
25143 }
25144
25145
25146 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25147 PyObject *resultobj = 0;
25148 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25149 wxPoint result;
25150 void *argp1 = 0 ;
25151 int res1 = 0 ;
25152 PyObject *swig_obj[1] ;
25153
25154 if (!args) SWIG_fail;
25155 swig_obj[0] = args;
25156 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25157 if (!SWIG_IsOK(res1)) {
25158 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25159 }
25160 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25161 {
25162 PyThreadState* __tstate = wxPyBeginAllowThreads();
25163 result = (arg1)->GetMarginTopLeft();
25164 wxPyEndAllowThreads(__tstate);
25165 if (PyErr_Occurred()) SWIG_fail;
25166 }
25167 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25168 return resultobj;
25169 fail:
25170 return NULL;
25171 }
25172
25173
25174 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25175 PyObject *resultobj = 0;
25176 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25177 wxPoint result;
25178 void *argp1 = 0 ;
25179 int res1 = 0 ;
25180 PyObject *swig_obj[1] ;
25181
25182 if (!args) SWIG_fail;
25183 swig_obj[0] = args;
25184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25185 if (!SWIG_IsOK(res1)) {
25186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25187 }
25188 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25189 {
25190 PyThreadState* __tstate = wxPyBeginAllowThreads();
25191 result = (arg1)->GetMarginBottomRight();
25192 wxPyEndAllowThreads(__tstate);
25193 if (PyErr_Occurred()) SWIG_fail;
25194 }
25195 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25196 return resultobj;
25197 fail:
25198 return NULL;
25199 }
25200
25201
25202 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25203 PyObject *resultobj = 0;
25204 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25205 wxPoint result;
25206 void *argp1 = 0 ;
25207 int res1 = 0 ;
25208 PyObject *swig_obj[1] ;
25209
25210 if (!args) SWIG_fail;
25211 swig_obj[0] = args;
25212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25213 if (!SWIG_IsOK(res1)) {
25214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25215 }
25216 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25217 {
25218 PyThreadState* __tstate = wxPyBeginAllowThreads();
25219 result = (arg1)->GetMinMarginTopLeft();
25220 wxPyEndAllowThreads(__tstate);
25221 if (PyErr_Occurred()) SWIG_fail;
25222 }
25223 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25224 return resultobj;
25225 fail:
25226 return NULL;
25227 }
25228
25229
25230 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25231 PyObject *resultobj = 0;
25232 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25233 wxPoint result;
25234 void *argp1 = 0 ;
25235 int res1 = 0 ;
25236 PyObject *swig_obj[1] ;
25237
25238 if (!args) SWIG_fail;
25239 swig_obj[0] = args;
25240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25241 if (!SWIG_IsOK(res1)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25243 }
25244 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25245 {
25246 PyThreadState* __tstate = wxPyBeginAllowThreads();
25247 result = (arg1)->GetMinMarginBottomRight();
25248 wxPyEndAllowThreads(__tstate);
25249 if (PyErr_Occurred()) SWIG_fail;
25250 }
25251 resultobj = SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint& >(result))), SWIGTYPE_p_wxPoint, SWIG_POINTER_OWN | 0 );
25252 return resultobj;
25253 fail:
25254 return NULL;
25255 }
25256
25257
25258 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25259 PyObject *resultobj = 0;
25260 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25261 wxPaperSize result;
25262 void *argp1 = 0 ;
25263 int res1 = 0 ;
25264 PyObject *swig_obj[1] ;
25265
25266 if (!args) SWIG_fail;
25267 swig_obj[0] = args;
25268 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25269 if (!SWIG_IsOK(res1)) {
25270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25271 }
25272 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25273 {
25274 PyThreadState* __tstate = wxPyBeginAllowThreads();
25275 result = (wxPaperSize)(arg1)->GetPaperId();
25276 wxPyEndAllowThreads(__tstate);
25277 if (PyErr_Occurred()) SWIG_fail;
25278 }
25279 resultobj = SWIG_From_int(static_cast< int >(result));
25280 return resultobj;
25281 fail:
25282 return NULL;
25283 }
25284
25285
25286 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25287 PyObject *resultobj = 0;
25288 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25289 wxSize result;
25290 void *argp1 = 0 ;
25291 int res1 = 0 ;
25292 PyObject *swig_obj[1] ;
25293
25294 if (!args) SWIG_fail;
25295 swig_obj[0] = args;
25296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25297 if (!SWIG_IsOK(res1)) {
25298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25299 }
25300 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25301 {
25302 PyThreadState* __tstate = wxPyBeginAllowThreads();
25303 result = (arg1)->GetPaperSize();
25304 wxPyEndAllowThreads(__tstate);
25305 if (PyErr_Occurred()) SWIG_fail;
25306 }
25307 resultobj = SWIG_NewPointerObj((new wxSize(static_cast< const wxSize& >(result))), SWIGTYPE_p_wxSize, SWIG_POINTER_OWN | 0 );
25308 return resultobj;
25309 fail:
25310 return NULL;
25311 }
25312
25313
25314 SWIGINTERN PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25315 PyObject *resultobj = 0;
25316 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25317 wxPrintData *result = 0 ;
25318 void *argp1 = 0 ;
25319 int res1 = 0 ;
25320 PyObject *swig_obj[1] ;
25321
25322 if (!args) SWIG_fail;
25323 swig_obj[0] = args;
25324 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25325 if (!SWIG_IsOK(res1)) {
25326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25327 }
25328 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25329 {
25330 PyThreadState* __tstate = wxPyBeginAllowThreads();
25331 {
25332 wxPrintData &_result_ref = (arg1)->GetPrintData();
25333 result = (wxPrintData *) &_result_ref;
25334 }
25335 wxPyEndAllowThreads(__tstate);
25336 if (PyErr_Occurred()) SWIG_fail;
25337 }
25338 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
25339 return resultobj;
25340 fail:
25341 return NULL;
25342 }
25343
25344
25345 SWIGINTERN PyObject *_wrap_PageSetupDialogData_IsOk(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_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25358 }
25359 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25360 {
25361 PyThreadState* __tstate = wxPyBeginAllowThreads();
25362 result = (bool)(arg1)->IsOk();
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_SetDefaultInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25376 PyObject *resultobj = 0;
25377 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25378 bool arg2 ;
25379 void *argp1 = 0 ;
25380 int res1 = 0 ;
25381 bool val2 ;
25382 int ecode2 = 0 ;
25383 PyObject * obj0 = 0 ;
25384 PyObject * obj1 = 0 ;
25385 char * kwnames[] = {
25386 (char *) "self",(char *) "flag", NULL
25387 };
25388
25389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) SWIG_fail;
25390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25391 if (!SWIG_IsOK(res1)) {
25392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25393 }
25394 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25395 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25396 if (!SWIG_IsOK(ecode2)) {
25397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25398 }
25399 arg2 = static_cast< bool >(val2);
25400 {
25401 PyThreadState* __tstate = wxPyBeginAllowThreads();
25402 (arg1)->SetDefaultInfo(arg2);
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 resultobj = SWIG_Py_Void();
25407 return resultobj;
25408 fail:
25409 return NULL;
25410 }
25411
25412
25413 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25414 PyObject *resultobj = 0;
25415 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25416 bool arg2 ;
25417 void *argp1 = 0 ;
25418 int res1 = 0 ;
25419 bool val2 ;
25420 int ecode2 = 0 ;
25421 PyObject * obj0 = 0 ;
25422 PyObject * obj1 = 0 ;
25423 char * kwnames[] = {
25424 (char *) "self",(char *) "flag", NULL
25425 };
25426
25427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) SWIG_fail;
25428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25429 if (!SWIG_IsOK(res1)) {
25430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25431 }
25432 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25433 ecode2 = SWIG_AsVal_bool(obj1, &val2);
25434 if (!SWIG_IsOK(ecode2)) {
25435 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25436 }
25437 arg2 = static_cast< bool >(val2);
25438 {
25439 PyThreadState* __tstate = wxPyBeginAllowThreads();
25440 (arg1)->SetDefaultMinMargins(arg2);
25441 wxPyEndAllowThreads(__tstate);
25442 if (PyErr_Occurred()) SWIG_fail;
25443 }
25444 resultobj = SWIG_Py_Void();
25445 return resultobj;
25446 fail:
25447 return NULL;
25448 }
25449
25450
25451 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25452 PyObject *resultobj = 0;
25453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25454 wxPoint *arg2 = 0 ;
25455 void *argp1 = 0 ;
25456 int res1 = 0 ;
25457 wxPoint temp2 ;
25458 PyObject * obj0 = 0 ;
25459 PyObject * obj1 = 0 ;
25460 char * kwnames[] = {
25461 (char *) "self",(char *) "pt", NULL
25462 };
25463
25464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25466 if (!SWIG_IsOK(res1)) {
25467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25468 }
25469 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25470 {
25471 arg2 = &temp2;
25472 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25473 }
25474 {
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
25477 wxPyEndAllowThreads(__tstate);
25478 if (PyErr_Occurred()) SWIG_fail;
25479 }
25480 resultobj = SWIG_Py_Void();
25481 return resultobj;
25482 fail:
25483 return NULL;
25484 }
25485
25486
25487 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25488 PyObject *resultobj = 0;
25489 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25490 wxPoint *arg2 = 0 ;
25491 void *argp1 = 0 ;
25492 int res1 = 0 ;
25493 wxPoint temp2 ;
25494 PyObject * obj0 = 0 ;
25495 PyObject * obj1 = 0 ;
25496 char * kwnames[] = {
25497 (char *) "self",(char *) "pt", NULL
25498 };
25499
25500 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25501 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25502 if (!SWIG_IsOK(res1)) {
25503 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25504 }
25505 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25506 {
25507 arg2 = &temp2;
25508 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25509 }
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
25513 wxPyEndAllowThreads(__tstate);
25514 if (PyErr_Occurred()) SWIG_fail;
25515 }
25516 resultobj = SWIG_Py_Void();
25517 return resultobj;
25518 fail:
25519 return NULL;
25520 }
25521
25522
25523 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25524 PyObject *resultobj = 0;
25525 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25526 wxPoint *arg2 = 0 ;
25527 void *argp1 = 0 ;
25528 int res1 = 0 ;
25529 wxPoint temp2 ;
25530 PyObject * obj0 = 0 ;
25531 PyObject * obj1 = 0 ;
25532 char * kwnames[] = {
25533 (char *) "self",(char *) "pt", NULL
25534 };
25535
25536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) SWIG_fail;
25537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25538 if (!SWIG_IsOK(res1)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25540 }
25541 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25542 {
25543 arg2 = &temp2;
25544 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25545 }
25546 {
25547 PyThreadState* __tstate = wxPyBeginAllowThreads();
25548 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
25549 wxPyEndAllowThreads(__tstate);
25550 if (PyErr_Occurred()) SWIG_fail;
25551 }
25552 resultobj = SWIG_Py_Void();
25553 return resultobj;
25554 fail:
25555 return NULL;
25556 }
25557
25558
25559 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25560 PyObject *resultobj = 0;
25561 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25562 wxPoint *arg2 = 0 ;
25563 void *argp1 = 0 ;
25564 int res1 = 0 ;
25565 wxPoint temp2 ;
25566 PyObject * obj0 = 0 ;
25567 PyObject * obj1 = 0 ;
25568 char * kwnames[] = {
25569 (char *) "self",(char *) "pt", NULL
25570 };
25571
25572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) SWIG_fail;
25573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25574 if (!SWIG_IsOK(res1)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25576 }
25577 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25578 {
25579 arg2 = &temp2;
25580 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25581 }
25582 {
25583 PyThreadState* __tstate = wxPyBeginAllowThreads();
25584 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
25585 wxPyEndAllowThreads(__tstate);
25586 if (PyErr_Occurred()) SWIG_fail;
25587 }
25588 resultobj = SWIG_Py_Void();
25589 return resultobj;
25590 fail:
25591 return NULL;
25592 }
25593
25594
25595 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25596 PyObject *resultobj = 0;
25597 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25598 wxPaperSize arg2 ;
25599 void *argp1 = 0 ;
25600 int res1 = 0 ;
25601 int val2 ;
25602 int ecode2 = 0 ;
25603 PyObject * obj0 = 0 ;
25604 PyObject * obj1 = 0 ;
25605 char * kwnames[] = {
25606 (char *) "self",(char *) "id", NULL
25607 };
25608
25609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) SWIG_fail;
25610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25611 if (!SWIG_IsOK(res1)) {
25612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25613 }
25614 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25615 ecode2 = SWIG_AsVal_int(obj1, &val2);
25616 if (!SWIG_IsOK(ecode2)) {
25617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25618 }
25619 arg2 = static_cast< wxPaperSize >(val2);
25620 {
25621 PyThreadState* __tstate = wxPyBeginAllowThreads();
25622 (arg1)->SetPaperId(arg2);
25623 wxPyEndAllowThreads(__tstate);
25624 if (PyErr_Occurred()) SWIG_fail;
25625 }
25626 resultobj = SWIG_Py_Void();
25627 return resultobj;
25628 fail:
25629 return NULL;
25630 }
25631
25632
25633 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25634 PyObject *resultobj = 0;
25635 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25636 wxSize *arg2 = 0 ;
25637 void *argp1 = 0 ;
25638 int res1 = 0 ;
25639 wxSize temp2 ;
25640 PyObject * obj0 = 0 ;
25641 PyObject * obj1 = 0 ;
25642 char * kwnames[] = {
25643 (char *) "self",(char *) "size", NULL
25644 };
25645
25646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) SWIG_fail;
25647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25648 if (!SWIG_IsOK(res1)) {
25649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25650 }
25651 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25652 {
25653 arg2 = &temp2;
25654 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25655 }
25656 {
25657 PyThreadState* __tstate = wxPyBeginAllowThreads();
25658 (arg1)->SetPaperSize((wxSize const &)*arg2);
25659 wxPyEndAllowThreads(__tstate);
25660 if (PyErr_Occurred()) SWIG_fail;
25661 }
25662 resultobj = SWIG_Py_Void();
25663 return resultobj;
25664 fail:
25665 return NULL;
25666 }
25667
25668
25669 SWIGINTERN PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25670 PyObject *resultobj = 0;
25671 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25672 wxPrintData *arg2 = 0 ;
25673 void *argp1 = 0 ;
25674 int res1 = 0 ;
25675 void *argp2 = 0 ;
25676 int res2 = 0 ;
25677 PyObject * obj0 = 0 ;
25678 PyObject * obj1 = 0 ;
25679 char * kwnames[] = {
25680 (char *) "self",(char *) "printData", NULL
25681 };
25682
25683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
25684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25685 if (!SWIG_IsOK(res1)) {
25686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25687 }
25688 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25689 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
25690 if (!SWIG_IsOK(res2)) {
25691 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25692 }
25693 if (!argp2) {
25694 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25695 }
25696 arg2 = reinterpret_cast< wxPrintData * >(argp2);
25697 {
25698 PyThreadState* __tstate = wxPyBeginAllowThreads();
25699 (arg1)->SetPrintData((wxPrintData const &)*arg2);
25700 wxPyEndAllowThreads(__tstate);
25701 if (PyErr_Occurred()) SWIG_fail;
25702 }
25703 resultobj = SWIG_Py_Void();
25704 return resultobj;
25705 fail:
25706 return NULL;
25707 }
25708
25709
25710 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25711 PyObject *resultobj = 0;
25712 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25713 void *argp1 = 0 ;
25714 int res1 = 0 ;
25715 PyObject *swig_obj[1] ;
25716
25717 if (!args) SWIG_fail;
25718 swig_obj[0] = args;
25719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25720 if (!SWIG_IsOK(res1)) {
25721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25722 }
25723 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25724 {
25725 PyThreadState* __tstate = wxPyBeginAllowThreads();
25726 (arg1)->CalculateIdFromPaperSize();
25727 wxPyEndAllowThreads(__tstate);
25728 if (PyErr_Occurred()) SWIG_fail;
25729 }
25730 resultobj = SWIG_Py_Void();
25731 return resultobj;
25732 fail:
25733 return NULL;
25734 }
25735
25736
25737 SWIGINTERN PyObject *_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25738 PyObject *resultobj = 0;
25739 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
25740 void *argp1 = 0 ;
25741 int res1 = 0 ;
25742 PyObject *swig_obj[1] ;
25743
25744 if (!args) SWIG_fail;
25745 swig_obj[0] = args;
25746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25747 if (!SWIG_IsOK(res1)) {
25748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25749 }
25750 arg1 = reinterpret_cast< wxPageSetupDialogData * >(argp1);
25751 {
25752 PyThreadState* __tstate = wxPyBeginAllowThreads();
25753 (arg1)->CalculatePaperSizeFromId();
25754 wxPyEndAllowThreads(__tstate);
25755 if (PyErr_Occurred()) SWIG_fail;
25756 }
25757 resultobj = SWIG_Py_Void();
25758 return resultobj;
25759 fail:
25760 return NULL;
25761 }
25762
25763
25764 SWIGINTERN PyObject *PageSetupDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25765 PyObject *obj;
25766 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25767 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData, SWIG_NewClientData(obj));
25768 return SWIG_Py_Void();
25769 }
25770
25771 SWIGINTERN PyObject *PageSetupDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25772 return SWIG_Python_InitShadowInstance(args);
25773 }
25774
25775 SWIGINTERN PyObject *_wrap_new_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
25776 PyObject *resultobj = 0;
25777 wxWindow *arg1 = (wxWindow *) 0 ;
25778 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
25779 wxPageSetupDialog *result = 0 ;
25780 void *argp1 = 0 ;
25781 int res1 = 0 ;
25782 void *argp2 = 0 ;
25783 int res2 = 0 ;
25784 PyObject * obj0 = 0 ;
25785 PyObject * obj1 = 0 ;
25786 char * kwnames[] = {
25787 (char *) "parent",(char *) "data", NULL
25788 };
25789
25790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) SWIG_fail;
25791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
25792 if (!SWIG_IsOK(res1)) {
25793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25794 }
25795 arg1 = reinterpret_cast< wxWindow * >(argp1);
25796 if (obj1) {
25797 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25798 if (!SWIG_IsOK(res2)) {
25799 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25800 }
25801 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
25802 }
25803 {
25804 if (!wxPyCheckForApp()) SWIG_fail;
25805 PyThreadState* __tstate = wxPyBeginAllowThreads();
25806 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
25807 wxPyEndAllowThreads(__tstate);
25808 if (PyErr_Occurred()) SWIG_fail;
25809 }
25810 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_NEW | 0 );
25811 return resultobj;
25812 fail:
25813 return NULL;
25814 }
25815
25816
25817 SWIGINTERN PyObject *_wrap_delete_PageSetupDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25818 PyObject *resultobj = 0;
25819 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25820 void *argp1 = 0 ;
25821 int res1 = 0 ;
25822 PyObject *swig_obj[1] ;
25823
25824 if (!args) SWIG_fail;
25825 swig_obj[0] = args;
25826 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, SWIG_POINTER_DISOWN | 0 );
25827 if (!SWIG_IsOK(res1)) {
25828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25829 }
25830 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25831 {
25832 PyThreadState* __tstate = wxPyBeginAllowThreads();
25833 delete arg1;
25834
25835 wxPyEndAllowThreads(__tstate);
25836 if (PyErr_Occurred()) SWIG_fail;
25837 }
25838 resultobj = SWIG_Py_Void();
25839 return resultobj;
25840 fail:
25841 return NULL;
25842 }
25843
25844
25845 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25846 PyObject *resultobj = 0;
25847 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25848 wxPageSetupDialogData *result = 0 ;
25849 void *argp1 = 0 ;
25850 int res1 = 0 ;
25851 PyObject *swig_obj[1] ;
25852
25853 if (!args) SWIG_fail;
25854 swig_obj[0] = args;
25855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25856 if (!SWIG_IsOK(res1)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25858 }
25859 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25860 {
25861 PyThreadState* __tstate = wxPyBeginAllowThreads();
25862 {
25863 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
25864 result = (wxPageSetupDialogData *) &_result_ref;
25865 }
25866 wxPyEndAllowThreads(__tstate);
25867 if (PyErr_Occurred()) SWIG_fail;
25868 }
25869 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25870 return resultobj;
25871 fail:
25872 return NULL;
25873 }
25874
25875
25876 SWIGINTERN PyObject *_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25877 PyObject *resultobj = 0;
25878 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25879 wxPageSetupDialogData *result = 0 ;
25880 void *argp1 = 0 ;
25881 int res1 = 0 ;
25882 PyObject *swig_obj[1] ;
25883
25884 if (!args) SWIG_fail;
25885 swig_obj[0] = args;
25886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25887 if (!SWIG_IsOK(res1)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25889 }
25890 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25891 {
25892 PyThreadState* __tstate = wxPyBeginAllowThreads();
25893 {
25894 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupDialogData();
25895 result = (wxPageSetupDialogData *) &_result_ref;
25896 }
25897 wxPyEndAllowThreads(__tstate);
25898 if (PyErr_Occurred()) SWIG_fail;
25899 }
25900 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPageSetupDialogData, 0 | 0 );
25901 return resultobj;
25902 fail:
25903 return NULL;
25904 }
25905
25906
25907 SWIGINTERN PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25908 PyObject *resultobj = 0;
25909 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
25910 int result;
25911 void *argp1 = 0 ;
25912 int res1 = 0 ;
25913 PyObject *swig_obj[1] ;
25914
25915 if (!args) SWIG_fail;
25916 swig_obj[0] = args;
25917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPageSetupDialog, 0 | 0 );
25918 if (!SWIG_IsOK(res1)) {
25919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25920 }
25921 arg1 = reinterpret_cast< wxPageSetupDialog * >(argp1);
25922 {
25923 PyThreadState* __tstate = wxPyBeginAllowThreads();
25924 result = (int)(arg1)->ShowModal();
25925 wxPyEndAllowThreads(__tstate);
25926 if (PyErr_Occurred()) SWIG_fail;
25927 }
25928 resultobj = SWIG_From_int(static_cast< int >(result));
25929 return resultobj;
25930 fail:
25931 return NULL;
25932 }
25933
25934
25935 SWIGINTERN PyObject *PageSetupDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25936 PyObject *obj;
25937 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
25938 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog, SWIG_NewClientData(obj));
25939 return SWIG_Py_Void();
25940 }
25941
25942 SWIGINTERN PyObject *PageSetupDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
25943 return SWIG_Python_InitShadowInstance(args);
25944 }
25945
25946 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) {
25947 PyObject *resultobj = 0;
25948 wxPrintDialogData *result = 0 ;
25949
25950 if ((nobjs < 0) || (nobjs > 0)) SWIG_fail;
25951 {
25952 PyThreadState* __tstate = wxPyBeginAllowThreads();
25953 result = (wxPrintDialogData *)new wxPrintDialogData();
25954 wxPyEndAllowThreads(__tstate);
25955 if (PyErr_Occurred()) SWIG_fail;
25956 }
25957 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25958 return resultobj;
25959 fail:
25960 return NULL;
25961 }
25962
25963
25964 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25965 PyObject *resultobj = 0;
25966 wxPrintData *arg1 = 0 ;
25967 wxPrintDialogData *result = 0 ;
25968 void *argp1 = 0 ;
25969 int res1 = 0 ;
25970
25971 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
25972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintData, 0 | 0);
25973 if (!SWIG_IsOK(res1)) {
25974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25975 }
25976 if (!argp1) {
25977 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25978 }
25979 arg1 = reinterpret_cast< wxPrintData * >(argp1);
25980 {
25981 PyThreadState* __tstate = wxPyBeginAllowThreads();
25982 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintData const &)*arg1);
25983 wxPyEndAllowThreads(__tstate);
25984 if (PyErr_Occurred()) SWIG_fail;
25985 }
25986 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
25987 return resultobj;
25988 fail:
25989 return NULL;
25990 }
25991
25992
25993 SWIGINTERN PyObject *_wrap_new_PrintDialogData__SWIG_2(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
25994 PyObject *resultobj = 0;
25995 wxPrintDialogData *arg1 = 0 ;
25996 wxPrintDialogData *result = 0 ;
25997 void *argp1 = 0 ;
25998 int res1 = 0 ;
25999
26000 if ((nobjs < 1) || (nobjs > 1)) SWIG_fail;
26001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_wxPrintDialogData, 0 | 0);
26002 if (!SWIG_IsOK(res1)) {
26003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26004 }
26005 if (!argp1) {
26006 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26007 }
26008 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26009 {
26010 PyThreadState* __tstate = wxPyBeginAllowThreads();
26011 result = (wxPrintDialogData *)new wxPrintDialogData((wxPrintDialogData const &)*arg1);
26012 wxPyEndAllowThreads(__tstate);
26013 if (PyErr_Occurred()) SWIG_fail;
26014 }
26015 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_NEW | 0 );
26016 return resultobj;
26017 fail:
26018 return NULL;
26019 }
26020
26021
26022 SWIGINTERN PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args) {
26023 int argc;
26024 PyObject *argv[2];
26025
26026 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintDialogData",0,1,argv))) SWIG_fail;
26027 --argc;
26028 if (argc == 0) {
26029 return _wrap_new_PrintDialogData__SWIG_0(self, argc, argv);
26030 }
26031 if (argc == 1) {
26032 int _v = 0;
26033 {
26034 int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_wxPrintData, 0);
26035 _v = SWIG_CheckState(res);
26036 }
26037 if (!_v) goto check_2;
26038 return _wrap_new_PrintDialogData__SWIG_1(self, argc, argv);
26039 }
26040 check_2:
26041
26042 if (argc == 1) {
26043 return _wrap_new_PrintDialogData__SWIG_2(self, argc, argv);
26044 }
26045
26046 fail:
26047 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintDialogData'");
26048 return NULL;
26049 }
26050
26051
26052 SWIGINTERN PyObject *_wrap_delete_PrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26053 PyObject *resultobj = 0;
26054 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26055 void *argp1 = 0 ;
26056 int res1 = 0 ;
26057 PyObject *swig_obj[1] ;
26058
26059 if (!args) SWIG_fail;
26060 swig_obj[0] = args;
26061 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, SWIG_POINTER_DISOWN | 0 );
26062 if (!SWIG_IsOK(res1)) {
26063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26064 }
26065 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26066 {
26067 PyThreadState* __tstate = wxPyBeginAllowThreads();
26068 delete arg1;
26069
26070 wxPyEndAllowThreads(__tstate);
26071 if (PyErr_Occurred()) SWIG_fail;
26072 }
26073 resultobj = SWIG_Py_Void();
26074 return resultobj;
26075 fail:
26076 return NULL;
26077 }
26078
26079
26080 SWIGINTERN PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26081 PyObject *resultobj = 0;
26082 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26083 int result;
26084 void *argp1 = 0 ;
26085 int res1 = 0 ;
26086 PyObject *swig_obj[1] ;
26087
26088 if (!args) SWIG_fail;
26089 swig_obj[0] = args;
26090 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26091 if (!SWIG_IsOK(res1)) {
26092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26093 }
26094 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26095 {
26096 PyThreadState* __tstate = wxPyBeginAllowThreads();
26097 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
26098 wxPyEndAllowThreads(__tstate);
26099 if (PyErr_Occurred()) SWIG_fail;
26100 }
26101 resultobj = SWIG_From_int(static_cast< int >(result));
26102 return resultobj;
26103 fail:
26104 return NULL;
26105 }
26106
26107
26108 SWIGINTERN PyObject *_wrap_PrintDialogData_GetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26109 PyObject *resultobj = 0;
26110 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26111 int result;
26112 void *argp1 = 0 ;
26113 int res1 = 0 ;
26114 PyObject *swig_obj[1] ;
26115
26116 if (!args) SWIG_fail;
26117 swig_obj[0] = args;
26118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26119 if (!SWIG_IsOK(res1)) {
26120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26121 }
26122 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26123 {
26124 PyThreadState* __tstate = wxPyBeginAllowThreads();
26125 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
26126 wxPyEndAllowThreads(__tstate);
26127 if (PyErr_Occurred()) SWIG_fail;
26128 }
26129 resultobj = SWIG_From_int(static_cast< int >(result));
26130 return resultobj;
26131 fail:
26132 return NULL;
26133 }
26134
26135
26136 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26137 PyObject *resultobj = 0;
26138 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26139 int result;
26140 void *argp1 = 0 ;
26141 int res1 = 0 ;
26142 PyObject *swig_obj[1] ;
26143
26144 if (!args) SWIG_fail;
26145 swig_obj[0] = args;
26146 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26147 if (!SWIG_IsOK(res1)) {
26148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26149 }
26150 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26151 {
26152 PyThreadState* __tstate = wxPyBeginAllowThreads();
26153 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
26154 wxPyEndAllowThreads(__tstate);
26155 if (PyErr_Occurred()) SWIG_fail;
26156 }
26157 resultobj = SWIG_From_int(static_cast< int >(result));
26158 return resultobj;
26159 fail:
26160 return NULL;
26161 }
26162
26163
26164 SWIGINTERN PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26165 PyObject *resultobj = 0;
26166 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26167 int result;
26168 void *argp1 = 0 ;
26169 int res1 = 0 ;
26170 PyObject *swig_obj[1] ;
26171
26172 if (!args) SWIG_fail;
26173 swig_obj[0] = args;
26174 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26175 if (!SWIG_IsOK(res1)) {
26176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26177 }
26178 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26179 {
26180 PyThreadState* __tstate = wxPyBeginAllowThreads();
26181 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
26182 wxPyEndAllowThreads(__tstate);
26183 if (PyErr_Occurred()) SWIG_fail;
26184 }
26185 resultobj = SWIG_From_int(static_cast< int >(result));
26186 return resultobj;
26187 fail:
26188 return NULL;
26189 }
26190
26191
26192 SWIGINTERN PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26193 PyObject *resultobj = 0;
26194 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26195 int result;
26196 void *argp1 = 0 ;
26197 int res1 = 0 ;
26198 PyObject *swig_obj[1] ;
26199
26200 if (!args) SWIG_fail;
26201 swig_obj[0] = args;
26202 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26203 if (!SWIG_IsOK(res1)) {
26204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26205 }
26206 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26207 {
26208 PyThreadState* __tstate = wxPyBeginAllowThreads();
26209 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
26210 wxPyEndAllowThreads(__tstate);
26211 if (PyErr_Occurred()) SWIG_fail;
26212 }
26213 resultobj = SWIG_From_int(static_cast< int >(result));
26214 return resultobj;
26215 fail:
26216 return NULL;
26217 }
26218
26219
26220 SWIGINTERN PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26221 PyObject *resultobj = 0;
26222 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26223 bool result;
26224 void *argp1 = 0 ;
26225 int res1 = 0 ;
26226 PyObject *swig_obj[1] ;
26227
26228 if (!args) SWIG_fail;
26229 swig_obj[0] = args;
26230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26231 if (!SWIG_IsOK(res1)) {
26232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26233 }
26234 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26235 {
26236 PyThreadState* __tstate = wxPyBeginAllowThreads();
26237 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
26238 wxPyEndAllowThreads(__tstate);
26239 if (PyErr_Occurred()) SWIG_fail;
26240 }
26241 {
26242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26243 }
26244 return resultobj;
26245 fail:
26246 return NULL;
26247 }
26248
26249
26250 SWIGINTERN PyObject *_wrap_PrintDialogData_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26251 PyObject *resultobj = 0;
26252 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26253 bool result;
26254 void *argp1 = 0 ;
26255 int res1 = 0 ;
26256 PyObject *swig_obj[1] ;
26257
26258 if (!args) SWIG_fail;
26259 swig_obj[0] = args;
26260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26261 if (!SWIG_IsOK(res1)) {
26262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26263 }
26264 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26265 {
26266 PyThreadState* __tstate = wxPyBeginAllowThreads();
26267 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
26268 wxPyEndAllowThreads(__tstate);
26269 if (PyErr_Occurred()) SWIG_fail;
26270 }
26271 {
26272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26273 }
26274 return resultobj;
26275 fail:
26276 return NULL;
26277 }
26278
26279
26280 SWIGINTERN PyObject *_wrap_PrintDialogData_GetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26281 PyObject *resultobj = 0;
26282 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26283 bool result;
26284 void *argp1 = 0 ;
26285 int res1 = 0 ;
26286 PyObject *swig_obj[1] ;
26287
26288 if (!args) SWIG_fail;
26289 swig_obj[0] = args;
26290 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26291 if (!SWIG_IsOK(res1)) {
26292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26293 }
26294 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26295 {
26296 PyThreadState* __tstate = wxPyBeginAllowThreads();
26297 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
26298 wxPyEndAllowThreads(__tstate);
26299 if (PyErr_Occurred()) SWIG_fail;
26300 }
26301 {
26302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26303 }
26304 return resultobj;
26305 fail:
26306 return NULL;
26307 }
26308
26309
26310 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26311 PyObject *resultobj = 0;
26312 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26313 bool result;
26314 void *argp1 = 0 ;
26315 int res1 = 0 ;
26316 PyObject *swig_obj[1] ;
26317
26318 if (!args) SWIG_fail;
26319 swig_obj[0] = args;
26320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26321 if (!SWIG_IsOK(res1)) {
26322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26323 }
26324 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26325 {
26326 PyThreadState* __tstate = wxPyBeginAllowThreads();
26327 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
26328 wxPyEndAllowThreads(__tstate);
26329 if (PyErr_Occurred()) SWIG_fail;
26330 }
26331 {
26332 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26333 }
26334 return resultobj;
26335 fail:
26336 return NULL;
26337 }
26338
26339
26340 SWIGINTERN PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26341 PyObject *resultobj = 0;
26342 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26343 int arg2 ;
26344 void *argp1 = 0 ;
26345 int res1 = 0 ;
26346 int val2 ;
26347 int ecode2 = 0 ;
26348 PyObject * obj0 = 0 ;
26349 PyObject * obj1 = 0 ;
26350 char * kwnames[] = {
26351 (char *) "self",(char *) "v", NULL
26352 };
26353
26354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) SWIG_fail;
26355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26356 if (!SWIG_IsOK(res1)) {
26357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26358 }
26359 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26360 ecode2 = SWIG_AsVal_int(obj1, &val2);
26361 if (!SWIG_IsOK(ecode2)) {
26362 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26363 }
26364 arg2 = static_cast< int >(val2);
26365 {
26366 PyThreadState* __tstate = wxPyBeginAllowThreads();
26367 (arg1)->SetFromPage(arg2);
26368 wxPyEndAllowThreads(__tstate);
26369 if (PyErr_Occurred()) SWIG_fail;
26370 }
26371 resultobj = SWIG_Py_Void();
26372 return resultobj;
26373 fail:
26374 return NULL;
26375 }
26376
26377
26378 SWIGINTERN PyObject *_wrap_PrintDialogData_SetToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26379 PyObject *resultobj = 0;
26380 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26381 int arg2 ;
26382 void *argp1 = 0 ;
26383 int res1 = 0 ;
26384 int val2 ;
26385 int ecode2 = 0 ;
26386 PyObject * obj0 = 0 ;
26387 PyObject * obj1 = 0 ;
26388 char * kwnames[] = {
26389 (char *) "self",(char *) "v", NULL
26390 };
26391
26392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) SWIG_fail;
26393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26394 if (!SWIG_IsOK(res1)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26396 }
26397 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26398 ecode2 = SWIG_AsVal_int(obj1, &val2);
26399 if (!SWIG_IsOK(ecode2)) {
26400 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26401 }
26402 arg2 = static_cast< int >(val2);
26403 {
26404 PyThreadState* __tstate = wxPyBeginAllowThreads();
26405 (arg1)->SetToPage(arg2);
26406 wxPyEndAllowThreads(__tstate);
26407 if (PyErr_Occurred()) SWIG_fail;
26408 }
26409 resultobj = SWIG_Py_Void();
26410 return resultobj;
26411 fail:
26412 return NULL;
26413 }
26414
26415
26416 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26417 PyObject *resultobj = 0;
26418 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26419 int arg2 ;
26420 void *argp1 = 0 ;
26421 int res1 = 0 ;
26422 int val2 ;
26423 int ecode2 = 0 ;
26424 PyObject * obj0 = 0 ;
26425 PyObject * obj1 = 0 ;
26426 char * kwnames[] = {
26427 (char *) "self",(char *) "v", NULL
26428 };
26429
26430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) SWIG_fail;
26431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26432 if (!SWIG_IsOK(res1)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26434 }
26435 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26436 ecode2 = SWIG_AsVal_int(obj1, &val2);
26437 if (!SWIG_IsOK(ecode2)) {
26438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26439 }
26440 arg2 = static_cast< int >(val2);
26441 {
26442 PyThreadState* __tstate = wxPyBeginAllowThreads();
26443 (arg1)->SetMinPage(arg2);
26444 wxPyEndAllowThreads(__tstate);
26445 if (PyErr_Occurred()) SWIG_fail;
26446 }
26447 resultobj = SWIG_Py_Void();
26448 return resultobj;
26449 fail:
26450 return NULL;
26451 }
26452
26453
26454 SWIGINTERN PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26455 PyObject *resultobj = 0;
26456 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26457 int arg2 ;
26458 void *argp1 = 0 ;
26459 int res1 = 0 ;
26460 int val2 ;
26461 int ecode2 = 0 ;
26462 PyObject * obj0 = 0 ;
26463 PyObject * obj1 = 0 ;
26464 char * kwnames[] = {
26465 (char *) "self",(char *) "v", NULL
26466 };
26467
26468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) SWIG_fail;
26469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26470 if (!SWIG_IsOK(res1)) {
26471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26472 }
26473 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26474 ecode2 = SWIG_AsVal_int(obj1, &val2);
26475 if (!SWIG_IsOK(ecode2)) {
26476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26477 }
26478 arg2 = static_cast< int >(val2);
26479 {
26480 PyThreadState* __tstate = wxPyBeginAllowThreads();
26481 (arg1)->SetMaxPage(arg2);
26482 wxPyEndAllowThreads(__tstate);
26483 if (PyErr_Occurred()) SWIG_fail;
26484 }
26485 resultobj = SWIG_Py_Void();
26486 return resultobj;
26487 fail:
26488 return NULL;
26489 }
26490
26491
26492 SWIGINTERN PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26493 PyObject *resultobj = 0;
26494 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26495 int arg2 ;
26496 void *argp1 = 0 ;
26497 int res1 = 0 ;
26498 int val2 ;
26499 int ecode2 = 0 ;
26500 PyObject * obj0 = 0 ;
26501 PyObject * obj1 = 0 ;
26502 char * kwnames[] = {
26503 (char *) "self",(char *) "v", NULL
26504 };
26505
26506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) SWIG_fail;
26507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26508 if (!SWIG_IsOK(res1)) {
26509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26510 }
26511 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26512 ecode2 = SWIG_AsVal_int(obj1, &val2);
26513 if (!SWIG_IsOK(ecode2)) {
26514 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26515 }
26516 arg2 = static_cast< int >(val2);
26517 {
26518 PyThreadState* __tstate = wxPyBeginAllowThreads();
26519 (arg1)->SetNoCopies(arg2);
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 resultobj = SWIG_Py_Void();
26524 return resultobj;
26525 fail:
26526 return NULL;
26527 }
26528
26529
26530 SWIGINTERN PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26531 PyObject *resultobj = 0;
26532 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26533 bool arg2 ;
26534 void *argp1 = 0 ;
26535 int res1 = 0 ;
26536 bool val2 ;
26537 int ecode2 = 0 ;
26538 PyObject * obj0 = 0 ;
26539 PyObject * obj1 = 0 ;
26540 char * kwnames[] = {
26541 (char *) "self",(char *) "flag", NULL
26542 };
26543
26544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) SWIG_fail;
26545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26546 if (!SWIG_IsOK(res1)) {
26547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26548 }
26549 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26550 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26551 if (!SWIG_IsOK(ecode2)) {
26552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26553 }
26554 arg2 = static_cast< bool >(val2);
26555 {
26556 PyThreadState* __tstate = wxPyBeginAllowThreads();
26557 (arg1)->SetAllPages(arg2);
26558 wxPyEndAllowThreads(__tstate);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 }
26561 resultobj = SWIG_Py_Void();
26562 return resultobj;
26563 fail:
26564 return NULL;
26565 }
26566
26567
26568 SWIGINTERN PyObject *_wrap_PrintDialogData_SetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26569 PyObject *resultobj = 0;
26570 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26571 bool arg2 ;
26572 void *argp1 = 0 ;
26573 int res1 = 0 ;
26574 bool val2 ;
26575 int ecode2 = 0 ;
26576 PyObject * obj0 = 0 ;
26577 PyObject * obj1 = 0 ;
26578 char * kwnames[] = {
26579 (char *) "self",(char *) "flag", NULL
26580 };
26581
26582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26584 if (!SWIG_IsOK(res1)) {
26585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26586 }
26587 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26588 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26589 if (!SWIG_IsOK(ecode2)) {
26590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26591 }
26592 arg2 = static_cast< bool >(val2);
26593 {
26594 PyThreadState* __tstate = wxPyBeginAllowThreads();
26595 (arg1)->SetSelection(arg2);
26596 wxPyEndAllowThreads(__tstate);
26597 if (PyErr_Occurred()) SWIG_fail;
26598 }
26599 resultobj = SWIG_Py_Void();
26600 return resultobj;
26601 fail:
26602 return NULL;
26603 }
26604
26605
26606 SWIGINTERN PyObject *_wrap_PrintDialogData_SetCollate(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26607 PyObject *resultobj = 0;
26608 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26609 bool arg2 ;
26610 void *argp1 = 0 ;
26611 int res1 = 0 ;
26612 bool val2 ;
26613 int ecode2 = 0 ;
26614 PyObject * obj0 = 0 ;
26615 PyObject * obj1 = 0 ;
26616 char * kwnames[] = {
26617 (char *) "self",(char *) "flag", NULL
26618 };
26619
26620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) SWIG_fail;
26621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26622 if (!SWIG_IsOK(res1)) {
26623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26624 }
26625 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26626 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26627 if (!SWIG_IsOK(ecode2)) {
26628 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26629 }
26630 arg2 = static_cast< bool >(val2);
26631 {
26632 PyThreadState* __tstate = wxPyBeginAllowThreads();
26633 (arg1)->SetCollate(arg2);
26634 wxPyEndAllowThreads(__tstate);
26635 if (PyErr_Occurred()) SWIG_fail;
26636 }
26637 resultobj = SWIG_Py_Void();
26638 return resultobj;
26639 fail:
26640 return NULL;
26641 }
26642
26643
26644 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26645 PyObject *resultobj = 0;
26646 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26647 bool arg2 ;
26648 void *argp1 = 0 ;
26649 int res1 = 0 ;
26650 bool val2 ;
26651 int ecode2 = 0 ;
26652 PyObject * obj0 = 0 ;
26653 PyObject * obj1 = 0 ;
26654 char * kwnames[] = {
26655 (char *) "self",(char *) "flag", NULL
26656 };
26657
26658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26660 if (!SWIG_IsOK(res1)) {
26661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26662 }
26663 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26664 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26665 if (!SWIG_IsOK(ecode2)) {
26666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26667 }
26668 arg2 = static_cast< bool >(val2);
26669 {
26670 PyThreadState* __tstate = wxPyBeginAllowThreads();
26671 (arg1)->SetPrintToFile(arg2);
26672 wxPyEndAllowThreads(__tstate);
26673 if (PyErr_Occurred()) SWIG_fail;
26674 }
26675 resultobj = SWIG_Py_Void();
26676 return resultobj;
26677 fail:
26678 return NULL;
26679 }
26680
26681
26682 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26683 PyObject *resultobj = 0;
26684 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26685 bool arg2 ;
26686 void *argp1 = 0 ;
26687 int res1 = 0 ;
26688 bool val2 ;
26689 int ecode2 = 0 ;
26690 PyObject * obj0 = 0 ;
26691 PyObject * obj1 = 0 ;
26692 char * kwnames[] = {
26693 (char *) "self",(char *) "flag", NULL
26694 };
26695
26696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) SWIG_fail;
26697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26698 if (!SWIG_IsOK(res1)) {
26699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26700 }
26701 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26702 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26703 if (!SWIG_IsOK(ecode2)) {
26704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26705 }
26706 arg2 = static_cast< bool >(val2);
26707 {
26708 PyThreadState* __tstate = wxPyBeginAllowThreads();
26709 (arg1)->EnablePrintToFile(arg2);
26710 wxPyEndAllowThreads(__tstate);
26711 if (PyErr_Occurred()) SWIG_fail;
26712 }
26713 resultobj = SWIG_Py_Void();
26714 return resultobj;
26715 fail:
26716 return NULL;
26717 }
26718
26719
26720 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26721 PyObject *resultobj = 0;
26722 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26723 bool arg2 ;
26724 void *argp1 = 0 ;
26725 int res1 = 0 ;
26726 bool val2 ;
26727 int ecode2 = 0 ;
26728 PyObject * obj0 = 0 ;
26729 PyObject * obj1 = 0 ;
26730 char * kwnames[] = {
26731 (char *) "self",(char *) "flag", NULL
26732 };
26733
26734 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) SWIG_fail;
26735 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26736 if (!SWIG_IsOK(res1)) {
26737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26738 }
26739 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26740 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26741 if (!SWIG_IsOK(ecode2)) {
26742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26743 }
26744 arg2 = static_cast< bool >(val2);
26745 {
26746 PyThreadState* __tstate = wxPyBeginAllowThreads();
26747 (arg1)->EnableSelection(arg2);
26748 wxPyEndAllowThreads(__tstate);
26749 if (PyErr_Occurred()) SWIG_fail;
26750 }
26751 resultobj = SWIG_Py_Void();
26752 return resultobj;
26753 fail:
26754 return NULL;
26755 }
26756
26757
26758 SWIGINTERN PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26759 PyObject *resultobj = 0;
26760 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26761 bool arg2 ;
26762 void *argp1 = 0 ;
26763 int res1 = 0 ;
26764 bool val2 ;
26765 int ecode2 = 0 ;
26766 PyObject * obj0 = 0 ;
26767 PyObject * obj1 = 0 ;
26768 char * kwnames[] = {
26769 (char *) "self",(char *) "flag", NULL
26770 };
26771
26772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) SWIG_fail;
26773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26774 if (!SWIG_IsOK(res1)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26776 }
26777 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26778 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26779 if (!SWIG_IsOK(ecode2)) {
26780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26781 }
26782 arg2 = static_cast< bool >(val2);
26783 {
26784 PyThreadState* __tstate = wxPyBeginAllowThreads();
26785 (arg1)->EnablePageNumbers(arg2);
26786 wxPyEndAllowThreads(__tstate);
26787 if (PyErr_Occurred()) SWIG_fail;
26788 }
26789 resultobj = SWIG_Py_Void();
26790 return resultobj;
26791 fail:
26792 return NULL;
26793 }
26794
26795
26796 SWIGINTERN PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
26797 PyObject *resultobj = 0;
26798 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26799 bool arg2 ;
26800 void *argp1 = 0 ;
26801 int res1 = 0 ;
26802 bool val2 ;
26803 int ecode2 = 0 ;
26804 PyObject * obj0 = 0 ;
26805 PyObject * obj1 = 0 ;
26806 char * kwnames[] = {
26807 (char *) "self",(char *) "flag", NULL
26808 };
26809
26810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) SWIG_fail;
26811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26812 if (!SWIG_IsOK(res1)) {
26813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26814 }
26815 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26816 ecode2 = SWIG_AsVal_bool(obj1, &val2);
26817 if (!SWIG_IsOK(ecode2)) {
26818 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26819 }
26820 arg2 = static_cast< bool >(val2);
26821 {
26822 PyThreadState* __tstate = wxPyBeginAllowThreads();
26823 (arg1)->EnableHelp(arg2);
26824 wxPyEndAllowThreads(__tstate);
26825 if (PyErr_Occurred()) SWIG_fail;
26826 }
26827 resultobj = SWIG_Py_Void();
26828 return resultobj;
26829 fail:
26830 return NULL;
26831 }
26832
26833
26834 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26835 PyObject *resultobj = 0;
26836 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26837 bool result;
26838 void *argp1 = 0 ;
26839 int res1 = 0 ;
26840 PyObject *swig_obj[1] ;
26841
26842 if (!args) SWIG_fail;
26843 swig_obj[0] = args;
26844 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26845 if (!SWIG_IsOK(res1)) {
26846 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26847 }
26848 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26849 {
26850 PyThreadState* __tstate = wxPyBeginAllowThreads();
26851 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
26852 wxPyEndAllowThreads(__tstate);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 }
26855 {
26856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26857 }
26858 return resultobj;
26859 fail:
26860 return NULL;
26861 }
26862
26863
26864 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26865 PyObject *resultobj = 0;
26866 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26867 bool result;
26868 void *argp1 = 0 ;
26869 int res1 = 0 ;
26870 PyObject *swig_obj[1] ;
26871
26872 if (!args) SWIG_fail;
26873 swig_obj[0] = args;
26874 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26875 if (!SWIG_IsOK(res1)) {
26876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26877 }
26878 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26879 {
26880 PyThreadState* __tstate = wxPyBeginAllowThreads();
26881 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
26882 wxPyEndAllowThreads(__tstate);
26883 if (PyErr_Occurred()) SWIG_fail;
26884 }
26885 {
26886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26887 }
26888 return resultobj;
26889 fail:
26890 return NULL;
26891 }
26892
26893
26894 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26895 PyObject *resultobj = 0;
26896 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26897 bool result;
26898 void *argp1 = 0 ;
26899 int res1 = 0 ;
26900 PyObject *swig_obj[1] ;
26901
26902 if (!args) SWIG_fail;
26903 swig_obj[0] = args;
26904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26905 if (!SWIG_IsOK(res1)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26907 }
26908 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26909 {
26910 PyThreadState* __tstate = wxPyBeginAllowThreads();
26911 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
26912 wxPyEndAllowThreads(__tstate);
26913 if (PyErr_Occurred()) SWIG_fail;
26914 }
26915 {
26916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26917 }
26918 return resultobj;
26919 fail:
26920 return NULL;
26921 }
26922
26923
26924 SWIGINTERN PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26925 PyObject *resultobj = 0;
26926 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26927 bool result;
26928 void *argp1 = 0 ;
26929 int res1 = 0 ;
26930 PyObject *swig_obj[1] ;
26931
26932 if (!args) SWIG_fail;
26933 swig_obj[0] = args;
26934 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26935 if (!SWIG_IsOK(res1)) {
26936 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26937 }
26938 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26939 {
26940 PyThreadState* __tstate = wxPyBeginAllowThreads();
26941 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
26942 wxPyEndAllowThreads(__tstate);
26943 if (PyErr_Occurred()) SWIG_fail;
26944 }
26945 {
26946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26947 }
26948 return resultobj;
26949 fail:
26950 return NULL;
26951 }
26952
26953
26954 SWIGINTERN PyObject *_wrap_PrintDialogData_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26955 PyObject *resultobj = 0;
26956 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26957 bool result;
26958 void *argp1 = 0 ;
26959 int res1 = 0 ;
26960 PyObject *swig_obj[1] ;
26961
26962 if (!args) SWIG_fail;
26963 swig_obj[0] = args;
26964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26965 if (!SWIG_IsOK(res1)) {
26966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26967 }
26968 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26969 {
26970 PyThreadState* __tstate = wxPyBeginAllowThreads();
26971 result = (bool)((wxPrintDialogData const *)arg1)->IsOk();
26972 wxPyEndAllowThreads(__tstate);
26973 if (PyErr_Occurred()) SWIG_fail;
26974 }
26975 {
26976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26977 }
26978 return resultobj;
26979 fail:
26980 return NULL;
26981 }
26982
26983
26984 SWIGINTERN PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
26985 PyObject *resultobj = 0;
26986 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
26987 wxPrintData *result = 0 ;
26988 void *argp1 = 0 ;
26989 int res1 = 0 ;
26990 PyObject *swig_obj[1] ;
26991
26992 if (!args) SWIG_fail;
26993 swig_obj[0] = args;
26994 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
26995 if (!SWIG_IsOK(res1)) {
26996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26997 }
26998 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
26999 {
27000 PyThreadState* __tstate = wxPyBeginAllowThreads();
27001 {
27002 wxPrintData &_result_ref = (arg1)->GetPrintData();
27003 result = (wxPrintData *) &_result_ref;
27004 }
27005 wxPyEndAllowThreads(__tstate);
27006 if (PyErr_Occurred()) SWIG_fail;
27007 }
27008 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27009 return resultobj;
27010 fail:
27011 return NULL;
27012 }
27013
27014
27015 SWIGINTERN PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27016 PyObject *resultobj = 0;
27017 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
27018 wxPrintData *arg2 = 0 ;
27019 void *argp1 = 0 ;
27020 int res1 = 0 ;
27021 void *argp2 = 0 ;
27022 int res2 = 0 ;
27023 PyObject * obj0 = 0 ;
27024 PyObject * obj1 = 0 ;
27025 char * kwnames[] = {
27026 (char *) "self",(char *) "printData", NULL
27027 };
27028
27029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) SWIG_fail;
27030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27031 if (!SWIG_IsOK(res1)) {
27032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27033 }
27034 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27035 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPrintData, 0 | 0);
27036 if (!SWIG_IsOK(res2)) {
27037 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27038 }
27039 if (!argp2) {
27040 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27041 }
27042 arg2 = reinterpret_cast< wxPrintData * >(argp2);
27043 {
27044 PyThreadState* __tstate = wxPyBeginAllowThreads();
27045 (arg1)->SetPrintData((wxPrintData const &)*arg2);
27046 wxPyEndAllowThreads(__tstate);
27047 if (PyErr_Occurred()) SWIG_fail;
27048 }
27049 resultobj = SWIG_Py_Void();
27050 return resultobj;
27051 fail:
27052 return NULL;
27053 }
27054
27055
27056 SWIGINTERN PyObject *PrintDialogData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27057 PyObject *obj;
27058 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27059 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData, SWIG_NewClientData(obj));
27060 return SWIG_Py_Void();
27061 }
27062
27063 SWIGINTERN PyObject *PrintDialogData_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27064 return SWIG_Python_InitShadowInstance(args);
27065 }
27066
27067 SWIGINTERN PyObject *_wrap_new_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27068 PyObject *resultobj = 0;
27069 wxWindow *arg1 = (wxWindow *) 0 ;
27070 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
27071 wxPrintDialog *result = 0 ;
27072 void *argp1 = 0 ;
27073 int res1 = 0 ;
27074 void *argp2 = 0 ;
27075 int res2 = 0 ;
27076 PyObject * obj0 = 0 ;
27077 PyObject * obj1 = 0 ;
27078 char * kwnames[] = {
27079 (char *) "parent",(char *) "data", NULL
27080 };
27081
27082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
27084 if (!SWIG_IsOK(res1)) {
27085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27086 }
27087 arg1 = reinterpret_cast< wxWindow * >(argp1);
27088 if (obj1) {
27089 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27090 if (!SWIG_IsOK(res2)) {
27091 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27092 }
27093 arg2 = reinterpret_cast< wxPrintDialogData * >(argp2);
27094 }
27095 {
27096 if (!wxPyCheckForApp()) SWIG_fail;
27097 PyThreadState* __tstate = wxPyBeginAllowThreads();
27098 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
27099 wxPyEndAllowThreads(__tstate);
27100 if (PyErr_Occurred()) SWIG_fail;
27101 }
27102 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_NEW | 0 );
27103 return resultobj;
27104 fail:
27105 return NULL;
27106 }
27107
27108
27109 SWIGINTERN PyObject *_wrap_delete_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27110 PyObject *resultobj = 0;
27111 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27112 void *argp1 = 0 ;
27113 int res1 = 0 ;
27114 PyObject *swig_obj[1] ;
27115
27116 if (!args) SWIG_fail;
27117 swig_obj[0] = args;
27118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, SWIG_POINTER_DISOWN | 0 );
27119 if (!SWIG_IsOK(res1)) {
27120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27121 }
27122 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27123 {
27124 PyThreadState* __tstate = wxPyBeginAllowThreads();
27125 delete arg1;
27126
27127 wxPyEndAllowThreads(__tstate);
27128 if (PyErr_Occurred()) SWIG_fail;
27129 }
27130 resultobj = SWIG_Py_Void();
27131 return resultobj;
27132 fail:
27133 return NULL;
27134 }
27135
27136
27137 SWIGINTERN PyObject *_wrap_PrintDialog_ShowModal(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27138 PyObject *resultobj = 0;
27139 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27140 int result;
27141 void *argp1 = 0 ;
27142 int res1 = 0 ;
27143 PyObject *swig_obj[1] ;
27144
27145 if (!args) SWIG_fail;
27146 swig_obj[0] = args;
27147 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27148 if (!SWIG_IsOK(res1)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27150 }
27151 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27152 {
27153 PyThreadState* __tstate = wxPyBeginAllowThreads();
27154 result = (int)(arg1)->ShowModal();
27155 wxPyEndAllowThreads(__tstate);
27156 if (PyErr_Occurred()) SWIG_fail;
27157 }
27158 resultobj = SWIG_From_int(static_cast< int >(result));
27159 return resultobj;
27160 fail:
27161 return NULL;
27162 }
27163
27164
27165 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27166 PyObject *resultobj = 0;
27167 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27168 wxPrintDialogData *result = 0 ;
27169 void *argp1 = 0 ;
27170 int res1 = 0 ;
27171 PyObject *swig_obj[1] ;
27172
27173 if (!args) SWIG_fail;
27174 swig_obj[0] = args;
27175 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27176 if (!SWIG_IsOK(res1)) {
27177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27178 }
27179 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27180 {
27181 PyThreadState* __tstate = wxPyBeginAllowThreads();
27182 {
27183 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
27184 result = (wxPrintDialogData *) &_result_ref;
27185 }
27186 wxPyEndAllowThreads(__tstate);
27187 if (PyErr_Occurred()) SWIG_fail;
27188 }
27189 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27190 return resultobj;
27191 fail:
27192 return NULL;
27193 }
27194
27195
27196 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27197 PyObject *resultobj = 0;
27198 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27199 wxPrintData *result = 0 ;
27200 void *argp1 = 0 ;
27201 int res1 = 0 ;
27202 PyObject *swig_obj[1] ;
27203
27204 if (!args) SWIG_fail;
27205 swig_obj[0] = args;
27206 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27207 if (!SWIG_IsOK(res1)) {
27208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27209 }
27210 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27211 {
27212 PyThreadState* __tstate = wxPyBeginAllowThreads();
27213 {
27214 wxPrintData &_result_ref = (arg1)->GetPrintData();
27215 result = (wxPrintData *) &_result_ref;
27216 }
27217 wxPyEndAllowThreads(__tstate);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 }
27220 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintData, 0 | 0 );
27221 return resultobj;
27222 fail:
27223 return NULL;
27224 }
27225
27226
27227 SWIGINTERN PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27228 PyObject *resultobj = 0;
27229 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
27230 wxDC *result = 0 ;
27231 void *argp1 = 0 ;
27232 int res1 = 0 ;
27233 PyObject *swig_obj[1] ;
27234
27235 if (!args) SWIG_fail;
27236 swig_obj[0] = args;
27237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintDialog, 0 | 0 );
27238 if (!SWIG_IsOK(res1)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27240 }
27241 arg1 = reinterpret_cast< wxPrintDialog * >(argp1);
27242 {
27243 PyThreadState* __tstate = wxPyBeginAllowThreads();
27244 result = (wxDC *)(arg1)->GetPrintDC();
27245 wxPyEndAllowThreads(__tstate);
27246 if (PyErr_Occurred()) SWIG_fail;
27247 }
27248 {
27249 resultobj = wxPyMake_wxObject(result, (bool)SWIG_POINTER_OWN);
27250 }
27251 return resultobj;
27252 fail:
27253 return NULL;
27254 }
27255
27256
27257 SWIGINTERN PyObject *PrintDialog_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27258 PyObject *obj;
27259 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27260 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog, SWIG_NewClientData(obj));
27261 return SWIG_Py_Void();
27262 }
27263
27264 SWIGINTERN PyObject *PrintDialog_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27265 return SWIG_Python_InitShadowInstance(args);
27266 }
27267
27268 SWIGINTERN PyObject *_wrap_new_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27269 PyObject *resultobj = 0;
27270 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
27271 wxPrinter *result = 0 ;
27272 void *argp1 = 0 ;
27273 int res1 = 0 ;
27274 PyObject * obj0 = 0 ;
27275 char * kwnames[] = {
27276 (char *) "data", NULL
27277 };
27278
27279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) SWIG_fail;
27280 if (obj0) {
27281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27282 if (!SWIG_IsOK(res1)) {
27283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27284 }
27285 arg1 = reinterpret_cast< wxPrintDialogData * >(argp1);
27286 }
27287 {
27288 if (!wxPyCheckForApp()) SWIG_fail;
27289 PyThreadState* __tstate = wxPyBeginAllowThreads();
27290 result = (wxPrinter *)new wxPrinter(arg1);
27291 wxPyEndAllowThreads(__tstate);
27292 if (PyErr_Occurred()) SWIG_fail;
27293 }
27294 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrinter, SWIG_POINTER_NEW | 0 );
27295 return resultobj;
27296 fail:
27297 return NULL;
27298 }
27299
27300
27301 SWIGINTERN PyObject *_wrap_delete_Printer(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27302 PyObject *resultobj = 0;
27303 wxPrinter *arg1 = (wxPrinter *) 0 ;
27304 void *argp1 = 0 ;
27305 int res1 = 0 ;
27306 PyObject *swig_obj[1] ;
27307
27308 if (!args) SWIG_fail;
27309 swig_obj[0] = args;
27310 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, SWIG_POINTER_DISOWN | 0 );
27311 if (!SWIG_IsOK(res1)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27313 }
27314 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27315 {
27316 PyThreadState* __tstate = wxPyBeginAllowThreads();
27317 delete arg1;
27318
27319 wxPyEndAllowThreads(__tstate);
27320 if (PyErr_Occurred()) SWIG_fail;
27321 }
27322 resultobj = SWIG_Py_Void();
27323 return resultobj;
27324 fail:
27325 return NULL;
27326 }
27327
27328
27329 SWIGINTERN PyObject *_wrap_Printer_CreateAbortWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27330 PyObject *resultobj = 0;
27331 wxPrinter *arg1 = (wxPrinter *) 0 ;
27332 wxWindow *arg2 = (wxWindow *) 0 ;
27333 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27334 wxWindow *result = 0 ;
27335 void *argp1 = 0 ;
27336 int res1 = 0 ;
27337 void *argp2 = 0 ;
27338 int res2 = 0 ;
27339 void *argp3 = 0 ;
27340 int res3 = 0 ;
27341 PyObject * obj0 = 0 ;
27342 PyObject * obj1 = 0 ;
27343 PyObject * obj2 = 0 ;
27344 char * kwnames[] = {
27345 (char *) "self",(char *) "parent",(char *) "printout", NULL
27346 };
27347
27348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27350 if (!SWIG_IsOK(res1)) {
27351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27352 }
27353 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27354 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27355 if (!SWIG_IsOK(res2)) {
27356 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27357 }
27358 arg2 = reinterpret_cast< wxWindow * >(argp2);
27359 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27360 if (!SWIG_IsOK(res3)) {
27361 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27362 }
27363 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27364 {
27365 PyThreadState* __tstate = wxPyBeginAllowThreads();
27366 result = (wxWindow *)(arg1)->CreateAbortWindow(arg2,arg3);
27367 wxPyEndAllowThreads(__tstate);
27368 if (PyErr_Occurred()) SWIG_fail;
27369 }
27370 {
27371 resultobj = wxPyMake_wxObject(result, 0);
27372 }
27373 return resultobj;
27374 fail:
27375 return NULL;
27376 }
27377
27378
27379 SWIGINTERN PyObject *_wrap_Printer_ReportError(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27380 PyObject *resultobj = 0;
27381 wxPrinter *arg1 = (wxPrinter *) 0 ;
27382 wxWindow *arg2 = (wxWindow *) 0 ;
27383 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27384 wxString *arg4 = 0 ;
27385 void *argp1 = 0 ;
27386 int res1 = 0 ;
27387 void *argp2 = 0 ;
27388 int res2 = 0 ;
27389 void *argp3 = 0 ;
27390 int res3 = 0 ;
27391 bool temp4 = false ;
27392 PyObject * obj0 = 0 ;
27393 PyObject * obj1 = 0 ;
27394 PyObject * obj2 = 0 ;
27395 PyObject * obj3 = 0 ;
27396 char * kwnames[] = {
27397 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27398 };
27399
27400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27402 if (!SWIG_IsOK(res1)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27404 }
27405 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27406 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27407 if (!SWIG_IsOK(res2)) {
27408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27409 }
27410 arg2 = reinterpret_cast< wxWindow * >(argp2);
27411 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27412 if (!SWIG_IsOK(res3)) {
27413 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27414 }
27415 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27416 {
27417 arg4 = wxString_in_helper(obj3);
27418 if (arg4 == NULL) SWIG_fail;
27419 temp4 = true;
27420 }
27421 {
27422 PyThreadState* __tstate = wxPyBeginAllowThreads();
27423 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
27424 wxPyEndAllowThreads(__tstate);
27425 if (PyErr_Occurred()) SWIG_fail;
27426 }
27427 resultobj = SWIG_Py_Void();
27428 {
27429 if (temp4)
27430 delete arg4;
27431 }
27432 return resultobj;
27433 fail:
27434 {
27435 if (temp4)
27436 delete arg4;
27437 }
27438 return NULL;
27439 }
27440
27441
27442 SWIGINTERN PyObject *_wrap_Printer_Setup(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27443 PyObject *resultobj = 0;
27444 wxPrinter *arg1 = (wxPrinter *) 0 ;
27445 wxWindow *arg2 = (wxWindow *) 0 ;
27446 bool result;
27447 void *argp1 = 0 ;
27448 int res1 = 0 ;
27449 void *argp2 = 0 ;
27450 int res2 = 0 ;
27451 PyObject * obj0 = 0 ;
27452 PyObject * obj1 = 0 ;
27453 char * kwnames[] = {
27454 (char *) "self",(char *) "parent", NULL
27455 };
27456
27457 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) SWIG_fail;
27458 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27459 if (!SWIG_IsOK(res1)) {
27460 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27461 }
27462 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27463 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27464 if (!SWIG_IsOK(res2)) {
27465 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27466 }
27467 arg2 = reinterpret_cast< wxWindow * >(argp2);
27468 {
27469 PyThreadState* __tstate = wxPyBeginAllowThreads();
27470 result = (bool)(arg1)->Setup(arg2);
27471 wxPyEndAllowThreads(__tstate);
27472 if (PyErr_Occurred()) SWIG_fail;
27473 }
27474 {
27475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27476 }
27477 return resultobj;
27478 fail:
27479 return NULL;
27480 }
27481
27482
27483 SWIGINTERN PyObject *_wrap_Printer_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27484 PyObject *resultobj = 0;
27485 wxPrinter *arg1 = (wxPrinter *) 0 ;
27486 wxWindow *arg2 = (wxWindow *) 0 ;
27487 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
27488 bool arg4 = (bool) true ;
27489 bool result;
27490 void *argp1 = 0 ;
27491 int res1 = 0 ;
27492 void *argp2 = 0 ;
27493 int res2 = 0 ;
27494 void *argp3 = 0 ;
27495 int res3 = 0 ;
27496 bool val4 ;
27497 int ecode4 = 0 ;
27498 PyObject * obj0 = 0 ;
27499 PyObject * obj1 = 0 ;
27500 PyObject * obj2 = 0 ;
27501 PyObject * obj3 = 0 ;
27502 char * kwnames[] = {
27503 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27504 };
27505
27506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
27507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27508 if (!SWIG_IsOK(res1)) {
27509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27510 }
27511 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27512 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27513 if (!SWIG_IsOK(res2)) {
27514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27515 }
27516 arg2 = reinterpret_cast< wxWindow * >(argp2);
27517 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27518 if (!SWIG_IsOK(res3)) {
27519 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27520 }
27521 arg3 = reinterpret_cast< wxPyPrintout * >(argp3);
27522 if (obj3) {
27523 ecode4 = SWIG_AsVal_bool(obj3, &val4);
27524 if (!SWIG_IsOK(ecode4)) {
27525 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27526 }
27527 arg4 = static_cast< bool >(val4);
27528 }
27529 {
27530 PyThreadState* __tstate = wxPyBeginAllowThreads();
27531 result = (bool)(arg1)->Print(arg2,arg3,arg4);
27532 wxPyEndAllowThreads(__tstate);
27533 if (PyErr_Occurred()) SWIG_fail;
27534 }
27535 {
27536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27537 }
27538 return resultobj;
27539 fail:
27540 return NULL;
27541 }
27542
27543
27544 SWIGINTERN PyObject *_wrap_Printer_PrintDialog(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27545 PyObject *resultobj = 0;
27546 wxPrinter *arg1 = (wxPrinter *) 0 ;
27547 wxWindow *arg2 = (wxWindow *) 0 ;
27548 wxDC *result = 0 ;
27549 void *argp1 = 0 ;
27550 int res1 = 0 ;
27551 void *argp2 = 0 ;
27552 int res2 = 0 ;
27553 PyObject * obj0 = 0 ;
27554 PyObject * obj1 = 0 ;
27555 char * kwnames[] = {
27556 (char *) "self",(char *) "parent", NULL
27557 };
27558
27559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) SWIG_fail;
27560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27561 if (!SWIG_IsOK(res1)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27563 }
27564 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27565 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
27566 if (!SWIG_IsOK(res2)) {
27567 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27568 }
27569 arg2 = reinterpret_cast< wxWindow * >(argp2);
27570 {
27571 PyThreadState* __tstate = wxPyBeginAllowThreads();
27572 result = (wxDC *)(arg1)->PrintDialog(arg2);
27573 wxPyEndAllowThreads(__tstate);
27574 if (PyErr_Occurred()) SWIG_fail;
27575 }
27576 {
27577 resultobj = wxPyMake_wxObject(result, (bool)0);
27578 }
27579 return resultobj;
27580 fail:
27581 return NULL;
27582 }
27583
27584
27585 SWIGINTERN PyObject *_wrap_Printer_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27586 PyObject *resultobj = 0;
27587 wxPrinter *arg1 = (wxPrinter *) 0 ;
27588 wxPrintDialogData *result = 0 ;
27589 void *argp1 = 0 ;
27590 int res1 = 0 ;
27591 PyObject *swig_obj[1] ;
27592
27593 if (!args) SWIG_fail;
27594 swig_obj[0] = args;
27595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27596 if (!SWIG_IsOK(res1)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27598 }
27599 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27600 {
27601 PyThreadState* __tstate = wxPyBeginAllowThreads();
27602 {
27603 wxPrintDialogData &_result_ref = ((wxPrinter const *)arg1)->GetPrintDialogData();
27604 result = (wxPrintDialogData *) &_result_ref;
27605 }
27606 wxPyEndAllowThreads(__tstate);
27607 if (PyErr_Occurred()) SWIG_fail;
27608 }
27609 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
27610 return resultobj;
27611 fail:
27612 return NULL;
27613 }
27614
27615
27616 SWIGINTERN PyObject *_wrap_Printer_GetAbort(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27617 PyObject *resultobj = 0;
27618 wxPrinter *arg1 = (wxPrinter *) 0 ;
27619 bool result;
27620 void *argp1 = 0 ;
27621 int res1 = 0 ;
27622 PyObject *swig_obj[1] ;
27623
27624 if (!args) SWIG_fail;
27625 swig_obj[0] = args;
27626 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrinter, 0 | 0 );
27627 if (!SWIG_IsOK(res1)) {
27628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27629 }
27630 arg1 = reinterpret_cast< wxPrinter * >(argp1);
27631 {
27632 PyThreadState* __tstate = wxPyBeginAllowThreads();
27633 result = (bool)(arg1)->GetAbort();
27634 wxPyEndAllowThreads(__tstate);
27635 if (PyErr_Occurred()) SWIG_fail;
27636 }
27637 {
27638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27639 }
27640 return resultobj;
27641 fail:
27642 return NULL;
27643 }
27644
27645
27646 SWIGINTERN PyObject *_wrap_Printer_GetLastError(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27647 PyObject *resultobj = 0;
27648 wxPrinterError result;
27649
27650 if (!SWIG_Python_UnpackTuple(args,"Printer_GetLastError",0,0,0)) SWIG_fail;
27651 {
27652 PyThreadState* __tstate = wxPyBeginAllowThreads();
27653 result = (wxPrinterError)wxPrinter::GetLastError();
27654 wxPyEndAllowThreads(__tstate);
27655 if (PyErr_Occurred()) SWIG_fail;
27656 }
27657 resultobj = SWIG_From_int(static_cast< int >(result));
27658 return resultobj;
27659 fail:
27660 return NULL;
27661 }
27662
27663
27664 SWIGINTERN PyObject *Printer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27665 PyObject *obj;
27666 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
27667 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter, SWIG_NewClientData(obj));
27668 return SWIG_Py_Void();
27669 }
27670
27671 SWIGINTERN PyObject *Printer_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27672 return SWIG_Python_InitShadowInstance(args);
27673 }
27674
27675 SWIGINTERN PyObject *_wrap_new_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27676 PyObject *resultobj = 0;
27677 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
27678 wxString *arg1 = (wxString *) &arg1_defvalue ;
27679 wxPyPrintout *result = 0 ;
27680 bool temp1 = false ;
27681 PyObject * obj0 = 0 ;
27682 char * kwnames[] = {
27683 (char *) "title", NULL
27684 };
27685
27686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) SWIG_fail;
27687 if (obj0) {
27688 {
27689 arg1 = wxString_in_helper(obj0);
27690 if (arg1 == NULL) SWIG_fail;
27691 temp1 = true;
27692 }
27693 }
27694 {
27695 if (!wxPyCheckForApp()) SWIG_fail;
27696 PyThreadState* __tstate = wxPyBeginAllowThreads();
27697 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
27698 wxPyEndAllowThreads(__tstate);
27699 if (PyErr_Occurred()) SWIG_fail;
27700 }
27701 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_NEW | 0 );
27702 {
27703 if (temp1)
27704 delete arg1;
27705 }
27706 return resultobj;
27707 fail:
27708 {
27709 if (temp1)
27710 delete arg1;
27711 }
27712 return NULL;
27713 }
27714
27715
27716 SWIGINTERN PyObject *_wrap_delete_Printout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27717 PyObject *resultobj = 0;
27718 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27719 void *argp1 = 0 ;
27720 int res1 = 0 ;
27721 PyObject *swig_obj[1] ;
27722
27723 if (!args) SWIG_fail;
27724 swig_obj[0] = args;
27725 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
27726 if (!SWIG_IsOK(res1)) {
27727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27728 }
27729 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27730 {
27731 PyThreadState* __tstate = wxPyBeginAllowThreads();
27732 delete arg1;
27733
27734 wxPyEndAllowThreads(__tstate);
27735 if (PyErr_Occurred()) SWIG_fail;
27736 }
27737 resultobj = SWIG_Py_Void();
27738 return resultobj;
27739 fail:
27740 return NULL;
27741 }
27742
27743
27744 SWIGINTERN PyObject *_wrap_Printout__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27745 PyObject *resultobj = 0;
27746 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27747 PyObject *arg2 = (PyObject *) 0 ;
27748 PyObject *arg3 = (PyObject *) 0 ;
27749 void *argp1 = 0 ;
27750 int res1 = 0 ;
27751 PyObject * obj0 = 0 ;
27752 PyObject * obj1 = 0 ;
27753 PyObject * obj2 = 0 ;
27754 char * kwnames[] = {
27755 (char *) "self",(char *) "self",(char *) "_class", NULL
27756 };
27757
27758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27760 if (!SWIG_IsOK(res1)) {
27761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27762 }
27763 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27764 arg2 = obj1;
27765 arg3 = obj2;
27766 {
27767 PyThreadState* __tstate = wxPyBeginAllowThreads();
27768 (arg1)->_setCallbackInfo(arg2,arg3);
27769 wxPyEndAllowThreads(__tstate);
27770 if (PyErr_Occurred()) SWIG_fail;
27771 }
27772 resultobj = SWIG_Py_Void();
27773 return resultobj;
27774 fail:
27775 return NULL;
27776 }
27777
27778
27779 SWIGINTERN PyObject *_wrap_Printout_GetTitle(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27780 PyObject *resultobj = 0;
27781 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27782 wxString result;
27783 void *argp1 = 0 ;
27784 int res1 = 0 ;
27785 PyObject *swig_obj[1] ;
27786
27787 if (!args) SWIG_fail;
27788 swig_obj[0] = args;
27789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27790 if (!SWIG_IsOK(res1)) {
27791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27792 }
27793 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27794 {
27795 PyThreadState* __tstate = wxPyBeginAllowThreads();
27796 result = ((wxPyPrintout const *)arg1)->GetTitle();
27797 wxPyEndAllowThreads(__tstate);
27798 if (PyErr_Occurred()) SWIG_fail;
27799 }
27800 {
27801 #if wxUSE_UNICODE
27802 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27803 #else
27804 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27805 #endif
27806 }
27807 return resultobj;
27808 fail:
27809 return NULL;
27810 }
27811
27812
27813 SWIGINTERN PyObject *_wrap_Printout_GetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
27814 PyObject *resultobj = 0;
27815 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27816 wxDC *result = 0 ;
27817 void *argp1 = 0 ;
27818 int res1 = 0 ;
27819 PyObject *swig_obj[1] ;
27820
27821 if (!args) SWIG_fail;
27822 swig_obj[0] = args;
27823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27824 if (!SWIG_IsOK(res1)) {
27825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27826 }
27827 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27828 {
27829 PyThreadState* __tstate = wxPyBeginAllowThreads();
27830 result = (wxDC *)(arg1)->GetDC();
27831 wxPyEndAllowThreads(__tstate);
27832 if (PyErr_Occurred()) SWIG_fail;
27833 }
27834 {
27835 resultobj = wxPyMake_wxObject(result, (bool)0);
27836 }
27837 return resultobj;
27838 fail:
27839 return NULL;
27840 }
27841
27842
27843 SWIGINTERN PyObject *_wrap_Printout_SetDC(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27844 PyObject *resultobj = 0;
27845 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27846 wxDC *arg2 = (wxDC *) 0 ;
27847 void *argp1 = 0 ;
27848 int res1 = 0 ;
27849 void *argp2 = 0 ;
27850 int res2 = 0 ;
27851 PyObject * obj0 = 0 ;
27852 PyObject * obj1 = 0 ;
27853 char * kwnames[] = {
27854 (char *) "self",(char *) "dc", NULL
27855 };
27856
27857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) SWIG_fail;
27858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27859 if (!SWIG_IsOK(res1)) {
27860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27861 }
27862 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27863 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxDC, 0 | 0 );
27864 if (!SWIG_IsOK(res2)) {
27865 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27866 }
27867 arg2 = reinterpret_cast< wxDC * >(argp2);
27868 {
27869 PyThreadState* __tstate = wxPyBeginAllowThreads();
27870 (arg1)->SetDC(arg2);
27871 wxPyEndAllowThreads(__tstate);
27872 if (PyErr_Occurred()) SWIG_fail;
27873 }
27874 resultobj = SWIG_Py_Void();
27875 return resultobj;
27876 fail:
27877 return NULL;
27878 }
27879
27880
27881 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27882 PyObject *resultobj = 0;
27883 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27884 wxSize *arg2 = 0 ;
27885 void *argp1 = 0 ;
27886 int res1 = 0 ;
27887 wxSize temp2 ;
27888 PyObject * obj0 = 0 ;
27889 PyObject * obj1 = 0 ;
27890 char * kwnames[] = {
27891 (char *) "self",(char *) "imageSize", NULL
27892 };
27893
27894 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPaper",kwnames,&obj0,&obj1)) SWIG_fail;
27895 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27896 if (!SWIG_IsOK(res1)) {
27897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27898 }
27899 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27900 {
27901 arg2 = &temp2;
27902 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27903 }
27904 {
27905 PyThreadState* __tstate = wxPyBeginAllowThreads();
27906 (arg1)->FitThisSizeToPaper((wxSize const &)*arg2);
27907 wxPyEndAllowThreads(__tstate);
27908 if (PyErr_Occurred()) SWIG_fail;
27909 }
27910 resultobj = SWIG_Py_Void();
27911 return resultobj;
27912 fail:
27913 return NULL;
27914 }
27915
27916
27917 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27918 PyObject *resultobj = 0;
27919 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27920 wxSize *arg2 = 0 ;
27921 void *argp1 = 0 ;
27922 int res1 = 0 ;
27923 wxSize temp2 ;
27924 PyObject * obj0 = 0 ;
27925 PyObject * obj1 = 0 ;
27926 char * kwnames[] = {
27927 (char *) "self",(char *) "imageSize", NULL
27928 };
27929
27930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_FitThisSizeToPage",kwnames,&obj0,&obj1)) SWIG_fail;
27931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27932 if (!SWIG_IsOK(res1)) {
27933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27934 }
27935 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27936 {
27937 arg2 = &temp2;
27938 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27939 }
27940 {
27941 PyThreadState* __tstate = wxPyBeginAllowThreads();
27942 (arg1)->FitThisSizeToPage((wxSize const &)*arg2);
27943 wxPyEndAllowThreads(__tstate);
27944 if (PyErr_Occurred()) SWIG_fail;
27945 }
27946 resultobj = SWIG_Py_Void();
27947 return resultobj;
27948 fail:
27949 return NULL;
27950 }
27951
27952
27953 SWIGINTERN PyObject *_wrap_Printout_FitThisSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
27954 PyObject *resultobj = 0;
27955 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
27956 wxSize *arg2 = 0 ;
27957 wxPageSetupDialogData *arg3 = 0 ;
27958 void *argp1 = 0 ;
27959 int res1 = 0 ;
27960 wxSize temp2 ;
27961 void *argp3 = 0 ;
27962 int res3 = 0 ;
27963 PyObject * obj0 = 0 ;
27964 PyObject * obj1 = 0 ;
27965 PyObject * obj2 = 0 ;
27966 char * kwnames[] = {
27967 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
27968 };
27969
27970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
27971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
27972 if (!SWIG_IsOK(res1)) {
27973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27974 }
27975 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
27976 {
27977 arg2 = &temp2;
27978 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
27979 }
27980 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
27981 if (!SWIG_IsOK(res3)) {
27982 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27983 }
27984 if (!argp3) {
27985 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
27986 }
27987 arg3 = reinterpret_cast< wxPageSetupDialogData * >(argp3);
27988 {
27989 PyThreadState* __tstate = wxPyBeginAllowThreads();
27990 (arg1)->FitThisSizeToPageMargins((wxSize const &)*arg2,(wxPageSetupDialogData const &)*arg3);
27991 wxPyEndAllowThreads(__tstate);
27992 if (PyErr_Occurred()) SWIG_fail;
27993 }
27994 resultobj = SWIG_Py_Void();
27995 return resultobj;
27996 fail:
27997 return NULL;
27998 }
27999
28000
28001 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPaper(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28002 PyObject *resultobj = 0;
28003 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28004 void *argp1 = 0 ;
28005 int res1 = 0 ;
28006 PyObject *swig_obj[1] ;
28007
28008 if (!args) SWIG_fail;
28009 swig_obj[0] = args;
28010 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28011 if (!SWIG_IsOK(res1)) {
28012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28013 }
28014 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28015 {
28016 PyThreadState* __tstate = wxPyBeginAllowThreads();
28017 (arg1)->MapScreenSizeToPaper();
28018 wxPyEndAllowThreads(__tstate);
28019 if (PyErr_Occurred()) SWIG_fail;
28020 }
28021 resultobj = SWIG_Py_Void();
28022 return resultobj;
28023 fail:
28024 return NULL;
28025 }
28026
28027
28028 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28029 PyObject *resultobj = 0;
28030 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28031 void *argp1 = 0 ;
28032 int res1 = 0 ;
28033 PyObject *swig_obj[1] ;
28034
28035 if (!args) SWIG_fail;
28036 swig_obj[0] = args;
28037 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28038 if (!SWIG_IsOK(res1)) {
28039 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28040 }
28041 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28042 {
28043 PyThreadState* __tstate = wxPyBeginAllowThreads();
28044 (arg1)->MapScreenSizeToPage();
28045 wxPyEndAllowThreads(__tstate);
28046 if (PyErr_Occurred()) SWIG_fail;
28047 }
28048 resultobj = SWIG_Py_Void();
28049 return resultobj;
28050 fail:
28051 return NULL;
28052 }
28053
28054
28055 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToPageMargins(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28056 PyObject *resultobj = 0;
28057 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28058 wxPageSetupDialogData *arg2 = 0 ;
28059 void *argp1 = 0 ;
28060 int res1 = 0 ;
28061 void *argp2 = 0 ;
28062 int res2 = 0 ;
28063 PyObject * obj0 = 0 ;
28064 PyObject * obj1 = 0 ;
28065 char * kwnames[] = {
28066 (char *) "self",(char *) "pageSetupData", NULL
28067 };
28068
28069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames,&obj0,&obj1)) SWIG_fail;
28070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28071 if (!SWIG_IsOK(res1)) {
28072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28073 }
28074 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28075 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28076 if (!SWIG_IsOK(res2)) {
28077 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28078 }
28079 if (!argp2) {
28080 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28081 }
28082 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28083 {
28084 PyThreadState* __tstate = wxPyBeginAllowThreads();
28085 (arg1)->MapScreenSizeToPageMargins((wxPageSetupDialogData const &)*arg2);
28086 wxPyEndAllowThreads(__tstate);
28087 if (PyErr_Occurred()) SWIG_fail;
28088 }
28089 resultobj = SWIG_Py_Void();
28090 return resultobj;
28091 fail:
28092 return NULL;
28093 }
28094
28095
28096 SWIGINTERN PyObject *_wrap_Printout_MapScreenSizeToDevice(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28097 PyObject *resultobj = 0;
28098 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28099 void *argp1 = 0 ;
28100 int res1 = 0 ;
28101 PyObject *swig_obj[1] ;
28102
28103 if (!args) SWIG_fail;
28104 swig_obj[0] = args;
28105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28106 if (!SWIG_IsOK(res1)) {
28107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28108 }
28109 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28110 {
28111 PyThreadState* __tstate = wxPyBeginAllowThreads();
28112 (arg1)->MapScreenSizeToDevice();
28113 wxPyEndAllowThreads(__tstate);
28114 if (PyErr_Occurred()) SWIG_fail;
28115 }
28116 resultobj = SWIG_Py_Void();
28117 return resultobj;
28118 fail:
28119 return NULL;
28120 }
28121
28122
28123 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPaperRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28124 PyObject *resultobj = 0;
28125 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28126 wxRect result;
28127 void *argp1 = 0 ;
28128 int res1 = 0 ;
28129 PyObject *swig_obj[1] ;
28130
28131 if (!args) SWIG_fail;
28132 swig_obj[0] = args;
28133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28134 if (!SWIG_IsOK(res1)) {
28135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28136 }
28137 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28138 {
28139 PyThreadState* __tstate = wxPyBeginAllowThreads();
28140 result = ((wxPyPrintout const *)arg1)->GetLogicalPaperRect();
28141 wxPyEndAllowThreads(__tstate);
28142 if (PyErr_Occurred()) SWIG_fail;
28143 }
28144 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28145 return resultobj;
28146 fail:
28147 return NULL;
28148 }
28149
28150
28151 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28152 PyObject *resultobj = 0;
28153 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28154 wxRect result;
28155 void *argp1 = 0 ;
28156 int res1 = 0 ;
28157 PyObject *swig_obj[1] ;
28158
28159 if (!args) SWIG_fail;
28160 swig_obj[0] = args;
28161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28162 if (!SWIG_IsOK(res1)) {
28163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28164 }
28165 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28166 {
28167 PyThreadState* __tstate = wxPyBeginAllowThreads();
28168 result = ((wxPyPrintout const *)arg1)->GetLogicalPageRect();
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28173 return resultobj;
28174 fail:
28175 return NULL;
28176 }
28177
28178
28179 SWIGINTERN PyObject *_wrap_Printout_GetLogicalPageMarginsRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28180 PyObject *resultobj = 0;
28181 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28182 wxPageSetupDialogData *arg2 = 0 ;
28183 wxRect result;
28184 void *argp1 = 0 ;
28185 int res1 = 0 ;
28186 void *argp2 = 0 ;
28187 int res2 = 0 ;
28188 PyObject * obj0 = 0 ;
28189 PyObject * obj1 = 0 ;
28190 char * kwnames[] = {
28191 (char *) "self",(char *) "pageSetupData", NULL
28192 };
28193
28194 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames,&obj0,&obj1)) SWIG_fail;
28195 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28196 if (!SWIG_IsOK(res1)) {
28197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28198 }
28199 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28200 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxPageSetupDialogData, 0 | 0);
28201 if (!SWIG_IsOK(res2)) {
28202 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28203 }
28204 if (!argp2) {
28205 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28206 }
28207 arg2 = reinterpret_cast< wxPageSetupDialogData * >(argp2);
28208 {
28209 PyThreadState* __tstate = wxPyBeginAllowThreads();
28210 result = ((wxPyPrintout const *)arg1)->GetLogicalPageMarginsRect((wxPageSetupDialogData const &)*arg2);
28211 wxPyEndAllowThreads(__tstate);
28212 if (PyErr_Occurred()) SWIG_fail;
28213 }
28214 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28215 return resultobj;
28216 fail:
28217 return NULL;
28218 }
28219
28220
28221 SWIGINTERN PyObject *_wrap_Printout_SetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28222 PyObject *resultobj = 0;
28223 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28224 int arg2 ;
28225 int arg3 ;
28226 void *argp1 = 0 ;
28227 int res1 = 0 ;
28228 int val2 ;
28229 int ecode2 = 0 ;
28230 int val3 ;
28231 int ecode3 = 0 ;
28232 PyObject * obj0 = 0 ;
28233 PyObject * obj1 = 0 ;
28234 PyObject * obj2 = 0 ;
28235 char * kwnames[] = {
28236 (char *) "self",(char *) "x",(char *) "y", NULL
28237 };
28238
28239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28241 if (!SWIG_IsOK(res1)) {
28242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28243 }
28244 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28245 ecode2 = SWIG_AsVal_int(obj1, &val2);
28246 if (!SWIG_IsOK(ecode2)) {
28247 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28248 }
28249 arg2 = static_cast< int >(val2);
28250 ecode3 = SWIG_AsVal_int(obj2, &val3);
28251 if (!SWIG_IsOK(ecode3)) {
28252 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28253 }
28254 arg3 = static_cast< int >(val3);
28255 {
28256 PyThreadState* __tstate = wxPyBeginAllowThreads();
28257 (arg1)->SetLogicalOrigin(arg2,arg3);
28258 wxPyEndAllowThreads(__tstate);
28259 if (PyErr_Occurred()) SWIG_fail;
28260 }
28261 resultobj = SWIG_Py_Void();
28262 return resultobj;
28263 fail:
28264 return NULL;
28265 }
28266
28267
28268 SWIGINTERN PyObject *_wrap_Printout_OffsetLogicalOrigin(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28269 PyObject *resultobj = 0;
28270 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28271 int arg2 ;
28272 int arg3 ;
28273 void *argp1 = 0 ;
28274 int res1 = 0 ;
28275 int val2 ;
28276 int ecode2 = 0 ;
28277 int val3 ;
28278 int ecode3 = 0 ;
28279 PyObject * obj0 = 0 ;
28280 PyObject * obj1 = 0 ;
28281 PyObject * obj2 = 0 ;
28282 char * kwnames[] = {
28283 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28284 };
28285
28286 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28287 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28288 if (!SWIG_IsOK(res1)) {
28289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28290 }
28291 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28292 ecode2 = SWIG_AsVal_int(obj1, &val2);
28293 if (!SWIG_IsOK(ecode2)) {
28294 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28295 }
28296 arg2 = static_cast< int >(val2);
28297 ecode3 = SWIG_AsVal_int(obj2, &val3);
28298 if (!SWIG_IsOK(ecode3)) {
28299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28300 }
28301 arg3 = static_cast< int >(val3);
28302 {
28303 PyThreadState* __tstate = wxPyBeginAllowThreads();
28304 (arg1)->OffsetLogicalOrigin(arg2,arg3);
28305 wxPyEndAllowThreads(__tstate);
28306 if (PyErr_Occurred()) SWIG_fail;
28307 }
28308 resultobj = SWIG_Py_Void();
28309 return resultobj;
28310 fail:
28311 return NULL;
28312 }
28313
28314
28315 SWIGINTERN PyObject *_wrap_Printout_SetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28316 PyObject *resultobj = 0;
28317 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28318 int arg2 ;
28319 int arg3 ;
28320 void *argp1 = 0 ;
28321 int res1 = 0 ;
28322 int val2 ;
28323 int ecode2 = 0 ;
28324 int val3 ;
28325 int ecode3 = 0 ;
28326 PyObject * obj0 = 0 ;
28327 PyObject * obj1 = 0 ;
28328 PyObject * obj2 = 0 ;
28329 char * kwnames[] = {
28330 (char *) "self",(char *) "w",(char *) "h", NULL
28331 };
28332
28333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28335 if (!SWIG_IsOK(res1)) {
28336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28337 }
28338 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28339 ecode2 = SWIG_AsVal_int(obj1, &val2);
28340 if (!SWIG_IsOK(ecode2)) {
28341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28342 }
28343 arg2 = static_cast< int >(val2);
28344 ecode3 = SWIG_AsVal_int(obj2, &val3);
28345 if (!SWIG_IsOK(ecode3)) {
28346 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28347 }
28348 arg3 = static_cast< int >(val3);
28349 {
28350 PyThreadState* __tstate = wxPyBeginAllowThreads();
28351 (arg1)->SetPageSizePixels(arg2,arg3);
28352 wxPyEndAllowThreads(__tstate);
28353 if (PyErr_Occurred()) SWIG_fail;
28354 }
28355 resultobj = SWIG_Py_Void();
28356 return resultobj;
28357 fail:
28358 return NULL;
28359 }
28360
28361
28362 SWIGINTERN PyObject *_wrap_Printout_GetPageSizePixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28363 PyObject *resultobj = 0;
28364 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28365 int *arg2 = (int *) 0 ;
28366 int *arg3 = (int *) 0 ;
28367 void *argp1 = 0 ;
28368 int res1 = 0 ;
28369 int temp2 ;
28370 int res2 = SWIG_TMPOBJ ;
28371 int temp3 ;
28372 int res3 = SWIG_TMPOBJ ;
28373 PyObject *swig_obj[1] ;
28374
28375 arg2 = &temp2;
28376 arg3 = &temp3;
28377 if (!args) SWIG_fail;
28378 swig_obj[0] = args;
28379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28380 if (!SWIG_IsOK(res1)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28382 }
28383 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28384 {
28385 PyThreadState* __tstate = wxPyBeginAllowThreads();
28386 (arg1)->GetPageSizePixels(arg2,arg3);
28387 wxPyEndAllowThreads(__tstate);
28388 if (PyErr_Occurred()) SWIG_fail;
28389 }
28390 resultobj = SWIG_Py_Void();
28391 if (SWIG_IsTmpObj(res2)) {
28392 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28393 } else {
28394 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28395 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28396 }
28397 if (SWIG_IsTmpObj(res3)) {
28398 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28399 } else {
28400 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28401 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28402 }
28403 return resultobj;
28404 fail:
28405 return NULL;
28406 }
28407
28408
28409 SWIGINTERN PyObject *_wrap_Printout_SetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28410 PyObject *resultobj = 0;
28411 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28412 int arg2 ;
28413 int arg3 ;
28414 void *argp1 = 0 ;
28415 int res1 = 0 ;
28416 int val2 ;
28417 int ecode2 = 0 ;
28418 int val3 ;
28419 int ecode3 = 0 ;
28420 PyObject * obj0 = 0 ;
28421 PyObject * obj1 = 0 ;
28422 PyObject * obj2 = 0 ;
28423 char * kwnames[] = {
28424 (char *) "self",(char *) "w",(char *) "h", NULL
28425 };
28426
28427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28429 if (!SWIG_IsOK(res1)) {
28430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28431 }
28432 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28433 ecode2 = SWIG_AsVal_int(obj1, &val2);
28434 if (!SWIG_IsOK(ecode2)) {
28435 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28436 }
28437 arg2 = static_cast< int >(val2);
28438 ecode3 = SWIG_AsVal_int(obj2, &val3);
28439 if (!SWIG_IsOK(ecode3)) {
28440 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28441 }
28442 arg3 = static_cast< int >(val3);
28443 {
28444 PyThreadState* __tstate = wxPyBeginAllowThreads();
28445 (arg1)->SetPageSizeMM(arg2,arg3);
28446 wxPyEndAllowThreads(__tstate);
28447 if (PyErr_Occurred()) SWIG_fail;
28448 }
28449 resultobj = SWIG_Py_Void();
28450 return resultobj;
28451 fail:
28452 return NULL;
28453 }
28454
28455
28456 SWIGINTERN PyObject *_wrap_Printout_GetPageSizeMM(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28457 PyObject *resultobj = 0;
28458 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28459 int *arg2 = (int *) 0 ;
28460 int *arg3 = (int *) 0 ;
28461 void *argp1 = 0 ;
28462 int res1 = 0 ;
28463 int temp2 ;
28464 int res2 = SWIG_TMPOBJ ;
28465 int temp3 ;
28466 int res3 = SWIG_TMPOBJ ;
28467 PyObject *swig_obj[1] ;
28468
28469 arg2 = &temp2;
28470 arg3 = &temp3;
28471 if (!args) SWIG_fail;
28472 swig_obj[0] = args;
28473 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28474 if (!SWIG_IsOK(res1)) {
28475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28476 }
28477 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28478 {
28479 PyThreadState* __tstate = wxPyBeginAllowThreads();
28480 (arg1)->GetPageSizeMM(arg2,arg3);
28481 wxPyEndAllowThreads(__tstate);
28482 if (PyErr_Occurred()) SWIG_fail;
28483 }
28484 resultobj = SWIG_Py_Void();
28485 if (SWIG_IsTmpObj(res2)) {
28486 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28487 } else {
28488 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28489 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28490 }
28491 if (SWIG_IsTmpObj(res3)) {
28492 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28493 } else {
28494 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28495 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28496 }
28497 return resultobj;
28498 fail:
28499 return NULL;
28500 }
28501
28502
28503 SWIGINTERN PyObject *_wrap_Printout_SetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28504 PyObject *resultobj = 0;
28505 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28506 int arg2 ;
28507 int arg3 ;
28508 void *argp1 = 0 ;
28509 int res1 = 0 ;
28510 int val2 ;
28511 int ecode2 = 0 ;
28512 int val3 ;
28513 int ecode3 = 0 ;
28514 PyObject * obj0 = 0 ;
28515 PyObject * obj1 = 0 ;
28516 PyObject * obj2 = 0 ;
28517 char * kwnames[] = {
28518 (char *) "self",(char *) "x",(char *) "y", NULL
28519 };
28520
28521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28523 if (!SWIG_IsOK(res1)) {
28524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28525 }
28526 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28527 ecode2 = SWIG_AsVal_int(obj1, &val2);
28528 if (!SWIG_IsOK(ecode2)) {
28529 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28530 }
28531 arg2 = static_cast< int >(val2);
28532 ecode3 = SWIG_AsVal_int(obj2, &val3);
28533 if (!SWIG_IsOK(ecode3)) {
28534 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28535 }
28536 arg3 = static_cast< int >(val3);
28537 {
28538 PyThreadState* __tstate = wxPyBeginAllowThreads();
28539 (arg1)->SetPPIScreen(arg2,arg3);
28540 wxPyEndAllowThreads(__tstate);
28541 if (PyErr_Occurred()) SWIG_fail;
28542 }
28543 resultobj = SWIG_Py_Void();
28544 return resultobj;
28545 fail:
28546 return NULL;
28547 }
28548
28549
28550 SWIGINTERN PyObject *_wrap_Printout_GetPPIScreen(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28551 PyObject *resultobj = 0;
28552 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28553 int *arg2 = (int *) 0 ;
28554 int *arg3 = (int *) 0 ;
28555 void *argp1 = 0 ;
28556 int res1 = 0 ;
28557 int temp2 ;
28558 int res2 = SWIG_TMPOBJ ;
28559 int temp3 ;
28560 int res3 = SWIG_TMPOBJ ;
28561 PyObject *swig_obj[1] ;
28562
28563 arg2 = &temp2;
28564 arg3 = &temp3;
28565 if (!args) SWIG_fail;
28566 swig_obj[0] = args;
28567 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28568 if (!SWIG_IsOK(res1)) {
28569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28570 }
28571 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28572 {
28573 PyThreadState* __tstate = wxPyBeginAllowThreads();
28574 (arg1)->GetPPIScreen(arg2,arg3);
28575 wxPyEndAllowThreads(__tstate);
28576 if (PyErr_Occurred()) SWIG_fail;
28577 }
28578 resultobj = SWIG_Py_Void();
28579 if (SWIG_IsTmpObj(res2)) {
28580 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28581 } else {
28582 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28583 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28584 }
28585 if (SWIG_IsTmpObj(res3)) {
28586 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28587 } else {
28588 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28589 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28590 }
28591 return resultobj;
28592 fail:
28593 return NULL;
28594 }
28595
28596
28597 SWIGINTERN PyObject *_wrap_Printout_SetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28598 PyObject *resultobj = 0;
28599 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28600 int arg2 ;
28601 int arg3 ;
28602 void *argp1 = 0 ;
28603 int res1 = 0 ;
28604 int val2 ;
28605 int ecode2 = 0 ;
28606 int val3 ;
28607 int ecode3 = 0 ;
28608 PyObject * obj0 = 0 ;
28609 PyObject * obj1 = 0 ;
28610 PyObject * obj2 = 0 ;
28611 char * kwnames[] = {
28612 (char *) "self",(char *) "x",(char *) "y", NULL
28613 };
28614
28615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28617 if (!SWIG_IsOK(res1)) {
28618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28619 }
28620 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28621 ecode2 = SWIG_AsVal_int(obj1, &val2);
28622 if (!SWIG_IsOK(ecode2)) {
28623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28624 }
28625 arg2 = static_cast< int >(val2);
28626 ecode3 = SWIG_AsVal_int(obj2, &val3);
28627 if (!SWIG_IsOK(ecode3)) {
28628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28629 }
28630 arg3 = static_cast< int >(val3);
28631 {
28632 PyThreadState* __tstate = wxPyBeginAllowThreads();
28633 (arg1)->SetPPIPrinter(arg2,arg3);
28634 wxPyEndAllowThreads(__tstate);
28635 if (PyErr_Occurred()) SWIG_fail;
28636 }
28637 resultobj = SWIG_Py_Void();
28638 return resultobj;
28639 fail:
28640 return NULL;
28641 }
28642
28643
28644 SWIGINTERN PyObject *_wrap_Printout_GetPPIPrinter(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28645 PyObject *resultobj = 0;
28646 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28647 int *arg2 = (int *) 0 ;
28648 int *arg3 = (int *) 0 ;
28649 void *argp1 = 0 ;
28650 int res1 = 0 ;
28651 int temp2 ;
28652 int res2 = SWIG_TMPOBJ ;
28653 int temp3 ;
28654 int res3 = SWIG_TMPOBJ ;
28655 PyObject *swig_obj[1] ;
28656
28657 arg2 = &temp2;
28658 arg3 = &temp3;
28659 if (!args) SWIG_fail;
28660 swig_obj[0] = args;
28661 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28662 if (!SWIG_IsOK(res1)) {
28663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28664 }
28665 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28666 {
28667 PyThreadState* __tstate = wxPyBeginAllowThreads();
28668 (arg1)->GetPPIPrinter(arg2,arg3);
28669 wxPyEndAllowThreads(__tstate);
28670 if (PyErr_Occurred()) SWIG_fail;
28671 }
28672 resultobj = SWIG_Py_Void();
28673 if (SWIG_IsTmpObj(res2)) {
28674 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
28675 } else {
28676 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28677 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
28678 }
28679 if (SWIG_IsTmpObj(res3)) {
28680 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
28681 } else {
28682 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
28683 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
28684 }
28685 return resultobj;
28686 fail:
28687 return NULL;
28688 }
28689
28690
28691 SWIGINTERN PyObject *_wrap_Printout_SetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28692 PyObject *resultobj = 0;
28693 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28694 wxRect *arg2 = 0 ;
28695 void *argp1 = 0 ;
28696 int res1 = 0 ;
28697 wxRect temp2 ;
28698 PyObject * obj0 = 0 ;
28699 PyObject * obj1 = 0 ;
28700 char * kwnames[] = {
28701 (char *) "self",(char *) "paperRectPixels", NULL
28702 };
28703
28704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetPaperRectPixels",kwnames,&obj0,&obj1)) SWIG_fail;
28705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28706 if (!SWIG_IsOK(res1)) {
28707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28708 }
28709 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28710 {
28711 arg2 = &temp2;
28712 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
28713 }
28714 {
28715 PyThreadState* __tstate = wxPyBeginAllowThreads();
28716 (arg1)->SetPaperRectPixels((wxRect const &)*arg2);
28717 wxPyEndAllowThreads(__tstate);
28718 if (PyErr_Occurred()) SWIG_fail;
28719 }
28720 resultobj = SWIG_Py_Void();
28721 return resultobj;
28722 fail:
28723 return NULL;
28724 }
28725
28726
28727 SWIGINTERN PyObject *_wrap_Printout_GetPaperRectPixels(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28728 PyObject *resultobj = 0;
28729 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28730 wxRect result;
28731 void *argp1 = 0 ;
28732 int res1 = 0 ;
28733 PyObject *swig_obj[1] ;
28734
28735 if (!args) SWIG_fail;
28736 swig_obj[0] = args;
28737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28738 if (!SWIG_IsOK(res1)) {
28739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28740 }
28741 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28742 {
28743 PyThreadState* __tstate = wxPyBeginAllowThreads();
28744 result = ((wxPyPrintout const *)arg1)->GetPaperRectPixels();
28745 wxPyEndAllowThreads(__tstate);
28746 if (PyErr_Occurred()) SWIG_fail;
28747 }
28748 resultobj = SWIG_NewPointerObj((new wxRect(static_cast< const wxRect& >(result))), SWIGTYPE_p_wxRect, SWIG_POINTER_OWN | 0 );
28749 return resultobj;
28750 fail:
28751 return NULL;
28752 }
28753
28754
28755 SWIGINTERN PyObject *_wrap_Printout_IsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28756 PyObject *resultobj = 0;
28757 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28758 bool result;
28759 void *argp1 = 0 ;
28760 int res1 = 0 ;
28761 PyObject *swig_obj[1] ;
28762
28763 if (!args) SWIG_fail;
28764 swig_obj[0] = args;
28765 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28766 if (!SWIG_IsOK(res1)) {
28767 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28768 }
28769 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28770 {
28771 PyThreadState* __tstate = wxPyBeginAllowThreads();
28772 result = (bool)(arg1)->IsPreview();
28773 wxPyEndAllowThreads(__tstate);
28774 if (PyErr_Occurred()) SWIG_fail;
28775 }
28776 {
28777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28778 }
28779 return resultobj;
28780 fail:
28781 return NULL;
28782 }
28783
28784
28785 SWIGINTERN PyObject *_wrap_Printout_SetIsPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28786 PyObject *resultobj = 0;
28787 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28788 bool arg2 ;
28789 void *argp1 = 0 ;
28790 int res1 = 0 ;
28791 bool val2 ;
28792 int ecode2 = 0 ;
28793 PyObject * obj0 = 0 ;
28794 PyObject * obj1 = 0 ;
28795 char * kwnames[] = {
28796 (char *) "self",(char *) "p", NULL
28797 };
28798
28799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) SWIG_fail;
28800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28801 if (!SWIG_IsOK(res1)) {
28802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28803 }
28804 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28805 ecode2 = SWIG_AsVal_bool(obj1, &val2);
28806 if (!SWIG_IsOK(ecode2)) {
28807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28808 }
28809 arg2 = static_cast< bool >(val2);
28810 {
28811 PyThreadState* __tstate = wxPyBeginAllowThreads();
28812 (arg1)->SetIsPreview(arg2);
28813 wxPyEndAllowThreads(__tstate);
28814 if (PyErr_Occurred()) SWIG_fail;
28815 }
28816 resultobj = SWIG_Py_Void();
28817 return resultobj;
28818 fail:
28819 return NULL;
28820 }
28821
28822
28823 SWIGINTERN PyObject *_wrap_Printout_OnBeginDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28824 PyObject *resultobj = 0;
28825 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28826 int arg2 ;
28827 int arg3 ;
28828 bool result;
28829 void *argp1 = 0 ;
28830 int res1 = 0 ;
28831 int val2 ;
28832 int ecode2 = 0 ;
28833 int val3 ;
28834 int ecode3 = 0 ;
28835 PyObject * obj0 = 0 ;
28836 PyObject * obj1 = 0 ;
28837 PyObject * obj2 = 0 ;
28838 char * kwnames[] = {
28839 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28840 };
28841
28842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
28843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28844 if (!SWIG_IsOK(res1)) {
28845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28846 }
28847 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28848 ecode2 = SWIG_AsVal_int(obj1, &val2);
28849 if (!SWIG_IsOK(ecode2)) {
28850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28851 }
28852 arg2 = static_cast< int >(val2);
28853 ecode3 = SWIG_AsVal_int(obj2, &val3);
28854 if (!SWIG_IsOK(ecode3)) {
28855 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28856 }
28857 arg3 = static_cast< int >(val3);
28858 {
28859 PyThreadState* __tstate = wxPyBeginAllowThreads();
28860 result = (bool)(arg1)->OnBeginDocument(arg2,arg3);
28861 wxPyEndAllowThreads(__tstate);
28862 if (PyErr_Occurred()) SWIG_fail;
28863 }
28864 {
28865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28866 }
28867 return resultobj;
28868 fail:
28869 return NULL;
28870 }
28871
28872
28873 SWIGINTERN PyObject *_wrap_Printout_OnEndDocument(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28874 PyObject *resultobj = 0;
28875 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28876 void *argp1 = 0 ;
28877 int res1 = 0 ;
28878 PyObject *swig_obj[1] ;
28879
28880 if (!args) SWIG_fail;
28881 swig_obj[0] = args;
28882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28883 if (!SWIG_IsOK(res1)) {
28884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28885 }
28886 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28887 {
28888 PyThreadState* __tstate = wxPyBeginAllowThreads();
28889 (arg1)->OnEndDocument();
28890 wxPyEndAllowThreads(__tstate);
28891 if (PyErr_Occurred()) SWIG_fail;
28892 }
28893 resultobj = SWIG_Py_Void();
28894 return resultobj;
28895 fail:
28896 return NULL;
28897 }
28898
28899
28900 SWIGINTERN PyObject *_wrap_Printout_OnBeginPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28901 PyObject *resultobj = 0;
28902 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28903 void *argp1 = 0 ;
28904 int res1 = 0 ;
28905 PyObject *swig_obj[1] ;
28906
28907 if (!args) SWIG_fail;
28908 swig_obj[0] = args;
28909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28910 if (!SWIG_IsOK(res1)) {
28911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28912 }
28913 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28914 {
28915 PyThreadState* __tstate = wxPyBeginAllowThreads();
28916 (arg1)->OnBeginPrinting();
28917 wxPyEndAllowThreads(__tstate);
28918 if (PyErr_Occurred()) SWIG_fail;
28919 }
28920 resultobj = SWIG_Py_Void();
28921 return resultobj;
28922 fail:
28923 return NULL;
28924 }
28925
28926
28927 SWIGINTERN PyObject *_wrap_Printout_OnEndPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28928 PyObject *resultobj = 0;
28929 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28930 void *argp1 = 0 ;
28931 int res1 = 0 ;
28932 PyObject *swig_obj[1] ;
28933
28934 if (!args) SWIG_fail;
28935 swig_obj[0] = args;
28936 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28937 if (!SWIG_IsOK(res1)) {
28938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28939 }
28940 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28941 {
28942 PyThreadState* __tstate = wxPyBeginAllowThreads();
28943 (arg1)->OnEndPrinting();
28944 wxPyEndAllowThreads(__tstate);
28945 if (PyErr_Occurred()) SWIG_fail;
28946 }
28947 resultobj = SWIG_Py_Void();
28948 return resultobj;
28949 fail:
28950 return NULL;
28951 }
28952
28953
28954 SWIGINTERN PyObject *_wrap_Printout_OnPreparePrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
28955 PyObject *resultobj = 0;
28956 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28957 void *argp1 = 0 ;
28958 int res1 = 0 ;
28959 PyObject *swig_obj[1] ;
28960
28961 if (!args) SWIG_fail;
28962 swig_obj[0] = args;
28963 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28964 if (!SWIG_IsOK(res1)) {
28965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28966 }
28967 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
28968 {
28969 PyThreadState* __tstate = wxPyBeginAllowThreads();
28970 (arg1)->OnPreparePrinting();
28971 wxPyEndAllowThreads(__tstate);
28972 if (PyErr_Occurred()) SWIG_fail;
28973 }
28974 resultobj = SWIG_Py_Void();
28975 return resultobj;
28976 fail:
28977 return NULL;
28978 }
28979
28980
28981 SWIGINTERN PyObject *_wrap_Printout_HasPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
28982 PyObject *resultobj = 0;
28983 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
28984 int arg2 ;
28985 bool result;
28986 void *argp1 = 0 ;
28987 int res1 = 0 ;
28988 int val2 ;
28989 int ecode2 = 0 ;
28990 PyObject * obj0 = 0 ;
28991 PyObject * obj1 = 0 ;
28992 char * kwnames[] = {
28993 (char *) "self",(char *) "page", NULL
28994 };
28995
28996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_HasPage",kwnames,&obj0,&obj1)) SWIG_fail;
28997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
28998 if (!SWIG_IsOK(res1)) {
28999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29000 }
29001 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29002 ecode2 = SWIG_AsVal_int(obj1, &val2);
29003 if (!SWIG_IsOK(ecode2)) {
29004 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29005 }
29006 arg2 = static_cast< int >(val2);
29007 {
29008 PyThreadState* __tstate = wxPyBeginAllowThreads();
29009 result = (bool)(arg1)->HasPage(arg2);
29010 wxPyEndAllowThreads(__tstate);
29011 if (PyErr_Occurred()) SWIG_fail;
29012 }
29013 {
29014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29015 }
29016 return resultobj;
29017 fail:
29018 return NULL;
29019 }
29020
29021
29022 SWIGINTERN PyObject *_wrap_Printout_GetPageInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29023 PyObject *resultobj = 0;
29024 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29025 int *arg2 = (int *) 0 ;
29026 int *arg3 = (int *) 0 ;
29027 int *arg4 = (int *) 0 ;
29028 int *arg5 = (int *) 0 ;
29029 void *argp1 = 0 ;
29030 int res1 = 0 ;
29031 int temp2 ;
29032 int res2 = SWIG_TMPOBJ ;
29033 int temp3 ;
29034 int res3 = SWIG_TMPOBJ ;
29035 int temp4 ;
29036 int res4 = SWIG_TMPOBJ ;
29037 int temp5 ;
29038 int res5 = SWIG_TMPOBJ ;
29039 PyObject *swig_obj[1] ;
29040
29041 arg2 = &temp2;
29042 arg3 = &temp3;
29043 arg4 = &temp4;
29044 arg5 = &temp5;
29045 if (!args) SWIG_fail;
29046 swig_obj[0] = args;
29047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPrintout, 0 | 0 );
29048 if (!SWIG_IsOK(res1)) {
29049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29050 }
29051 arg1 = reinterpret_cast< wxPyPrintout * >(argp1);
29052 {
29053 PyThreadState* __tstate = wxPyBeginAllowThreads();
29054 (arg1)->GetPageInfo(arg2,arg3,arg4,arg5);
29055 wxPyEndAllowThreads(__tstate);
29056 if (PyErr_Occurred()) SWIG_fail;
29057 }
29058 resultobj = SWIG_Py_Void();
29059 if (SWIG_IsTmpObj(res2)) {
29060 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg2)));
29061 } else {
29062 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29063 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, new_flags));
29064 }
29065 if (SWIG_IsTmpObj(res3)) {
29066 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
29067 } else {
29068 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29069 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
29070 }
29071 if (SWIG_IsTmpObj(res4)) {
29072 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
29073 } else {
29074 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29075 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
29076 }
29077 if (SWIG_IsTmpObj(res5)) {
29078 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)));
29079 } else {
29080 int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
29081 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags));
29082 }
29083 return resultobj;
29084 fail:
29085 return NULL;
29086 }
29087
29088
29089 SWIGINTERN PyObject *Printout_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29090 PyObject *obj;
29091 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29092 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout, SWIG_NewClientData(obj));
29093 return SWIG_Py_Void();
29094 }
29095
29096 SWIGINTERN PyObject *Printout_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29097 return SWIG_Python_InitShadowInstance(args);
29098 }
29099
29100 SWIGINTERN PyObject *_wrap_new_PreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29101 PyObject *resultobj = 0;
29102 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29103 wxWindow *arg2 = (wxWindow *) 0 ;
29104 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29105 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29106 wxSize const &arg4_defvalue = wxDefaultSize ;
29107 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29108 long arg5 = (long) 0 ;
29109 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
29110 wxString *arg6 = (wxString *) &arg6_defvalue ;
29111 wxPreviewCanvas *result = 0 ;
29112 void *argp1 = 0 ;
29113 int res1 = 0 ;
29114 void *argp2 = 0 ;
29115 int res2 = 0 ;
29116 wxPoint temp3 ;
29117 wxSize temp4 ;
29118 long val5 ;
29119 int ecode5 = 0 ;
29120 bool temp6 = false ;
29121 PyObject * obj0 = 0 ;
29122 PyObject * obj1 = 0 ;
29123 PyObject * obj2 = 0 ;
29124 PyObject * obj3 = 0 ;
29125 PyObject * obj4 = 0 ;
29126 PyObject * obj5 = 0 ;
29127 char * kwnames[] = {
29128 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29129 };
29130
29131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
29132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29133 if (!SWIG_IsOK(res1)) {
29134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29135 }
29136 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29137 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
29138 if (!SWIG_IsOK(res2)) {
29139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29140 }
29141 arg2 = reinterpret_cast< wxWindow * >(argp2);
29142 if (obj2) {
29143 {
29144 arg3 = &temp3;
29145 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29146 }
29147 }
29148 if (obj3) {
29149 {
29150 arg4 = &temp4;
29151 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29152 }
29153 }
29154 if (obj4) {
29155 ecode5 = SWIG_AsVal_long(obj4, &val5);
29156 if (!SWIG_IsOK(ecode5)) {
29157 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29158 }
29159 arg5 = static_cast< long >(val5);
29160 }
29161 if (obj5) {
29162 {
29163 arg6 = wxString_in_helper(obj5);
29164 if (arg6 == NULL) SWIG_fail;
29165 temp6 = true;
29166 }
29167 }
29168 {
29169 if (!wxPyCheckForApp()) SWIG_fail;
29170 PyThreadState* __tstate = wxPyBeginAllowThreads();
29171 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
29172 wxPyEndAllowThreads(__tstate);
29173 if (PyErr_Occurred()) SWIG_fail;
29174 }
29175 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, SWIG_POINTER_NEW | 0 );
29176 {
29177 if (temp6)
29178 delete arg6;
29179 }
29180 return resultobj;
29181 fail:
29182 {
29183 if (temp6)
29184 delete arg6;
29185 }
29186 return NULL;
29187 }
29188
29189
29190 SWIGINTERN PyObject *PreviewCanvas_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29191 PyObject *obj;
29192 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29193 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas, SWIG_NewClientData(obj));
29194 return SWIG_Py_Void();
29195 }
29196
29197 SWIGINTERN PyObject *PreviewCanvas_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29198 return SWIG_Python_InitShadowInstance(args);
29199 }
29200
29201 SWIGINTERN PyObject *_wrap_new_PreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29202 PyObject *resultobj = 0;
29203 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29204 wxFrame *arg2 = (wxFrame *) 0 ;
29205 wxString *arg3 = 0 ;
29206 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29207 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29208 wxSize const &arg5_defvalue = wxDefaultSize ;
29209 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29210 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
29211 wxString const &arg7_defvalue = wxPyFrameNameStr ;
29212 wxString *arg7 = (wxString *) &arg7_defvalue ;
29213 wxPreviewFrame *result = 0 ;
29214 int res1 = 0 ;
29215 void *argp2 = 0 ;
29216 int res2 = 0 ;
29217 bool temp3 = false ;
29218 wxPoint temp4 ;
29219 wxSize temp5 ;
29220 long val6 ;
29221 int ecode6 = 0 ;
29222 bool temp7 = false ;
29223 PyObject * obj0 = 0 ;
29224 PyObject * obj1 = 0 ;
29225 PyObject * obj2 = 0 ;
29226 PyObject * obj3 = 0 ;
29227 PyObject * obj4 = 0 ;
29228 PyObject * obj5 = 0 ;
29229 PyObject * obj6 = 0 ;
29230 char * kwnames[] = {
29231 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29232 };
29233
29234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29235 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29236 if (!SWIG_IsOK(res1)) {
29237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29238 }
29239 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
29240 if (!SWIG_IsOK(res2)) {
29241 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29242 }
29243 arg2 = reinterpret_cast< wxFrame * >(argp2);
29244 {
29245 arg3 = wxString_in_helper(obj2);
29246 if (arg3 == NULL) SWIG_fail;
29247 temp3 = true;
29248 }
29249 if (obj3) {
29250 {
29251 arg4 = &temp4;
29252 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29253 }
29254 }
29255 if (obj4) {
29256 {
29257 arg5 = &temp5;
29258 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29259 }
29260 }
29261 if (obj5) {
29262 ecode6 = SWIG_AsVal_long(obj5, &val6);
29263 if (!SWIG_IsOK(ecode6)) {
29264 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29265 }
29266 arg6 = static_cast< long >(val6);
29267 }
29268 if (obj6) {
29269 {
29270 arg7 = wxString_in_helper(obj6);
29271 if (arg7 == NULL) SWIG_fail;
29272 temp7 = true;
29273 }
29274 }
29275 {
29276 if (!wxPyCheckForApp()) SWIG_fail;
29277 PyThreadState* __tstate = wxPyBeginAllowThreads();
29278 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29279 wxPyEndAllowThreads(__tstate);
29280 if (PyErr_Occurred()) SWIG_fail;
29281 }
29282 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewFrame, SWIG_POINTER_NEW | 0 );
29283 {
29284 if (temp3)
29285 delete arg3;
29286 }
29287 {
29288 if (temp7)
29289 delete arg7;
29290 }
29291 return resultobj;
29292 fail:
29293 {
29294 if (temp3)
29295 delete arg3;
29296 }
29297 {
29298 if (temp7)
29299 delete arg7;
29300 }
29301 return NULL;
29302 }
29303
29304
29305 SWIGINTERN PyObject *_wrap_PreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29306 PyObject *resultobj = 0;
29307 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29308 void *argp1 = 0 ;
29309 int res1 = 0 ;
29310 PyObject *swig_obj[1] ;
29311
29312 if (!args) SWIG_fail;
29313 swig_obj[0] = args;
29314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29315 if (!SWIG_IsOK(res1)) {
29316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29317 }
29318 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29319 {
29320 PyThreadState* __tstate = wxPyBeginAllowThreads();
29321 (arg1)->Initialize();
29322 wxPyEndAllowThreads(__tstate);
29323 if (PyErr_Occurred()) SWIG_fail;
29324 }
29325 resultobj = SWIG_Py_Void();
29326 return resultobj;
29327 fail:
29328 return NULL;
29329 }
29330
29331
29332 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29333 PyObject *resultobj = 0;
29334 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29335 void *argp1 = 0 ;
29336 int res1 = 0 ;
29337 PyObject *swig_obj[1] ;
29338
29339 if (!args) SWIG_fail;
29340 swig_obj[0] = args;
29341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29342 if (!SWIG_IsOK(res1)) {
29343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29344 }
29345 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29346 {
29347 PyThreadState* __tstate = wxPyBeginAllowThreads();
29348 (arg1)->CreateControlBar();
29349 wxPyEndAllowThreads(__tstate);
29350 if (PyErr_Occurred()) SWIG_fail;
29351 }
29352 resultobj = SWIG_Py_Void();
29353 return resultobj;
29354 fail:
29355 return NULL;
29356 }
29357
29358
29359 SWIGINTERN PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29360 PyObject *resultobj = 0;
29361 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29362 void *argp1 = 0 ;
29363 int res1 = 0 ;
29364 PyObject *swig_obj[1] ;
29365
29366 if (!args) SWIG_fail;
29367 swig_obj[0] = args;
29368 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29369 if (!SWIG_IsOK(res1)) {
29370 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29371 }
29372 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29373 {
29374 PyThreadState* __tstate = wxPyBeginAllowThreads();
29375 (arg1)->CreateCanvas();
29376 wxPyEndAllowThreads(__tstate);
29377 if (PyErr_Occurred()) SWIG_fail;
29378 }
29379 resultobj = SWIG_Py_Void();
29380 return resultobj;
29381 fail:
29382 return NULL;
29383 }
29384
29385
29386 SWIGINTERN PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29387 PyObject *resultobj = 0;
29388 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
29389 wxPreviewControlBar *result = 0 ;
29390 void *argp1 = 0 ;
29391 int res1 = 0 ;
29392 PyObject *swig_obj[1] ;
29393
29394 if (!args) SWIG_fail;
29395 swig_obj[0] = args;
29396 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewFrame, 0 | 0 );
29397 if (!SWIG_IsOK(res1)) {
29398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29399 }
29400 arg1 = reinterpret_cast< wxPreviewFrame * >(argp1);
29401 {
29402 PyThreadState* __tstate = wxPyBeginAllowThreads();
29403 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
29404 wxPyEndAllowThreads(__tstate);
29405 if (PyErr_Occurred()) SWIG_fail;
29406 }
29407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29408 return resultobj;
29409 fail:
29410 return NULL;
29411 }
29412
29413
29414 SWIGINTERN PyObject *PreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29415 PyObject *obj;
29416 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29417 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame, SWIG_NewClientData(obj));
29418 return SWIG_Py_Void();
29419 }
29420
29421 SWIGINTERN PyObject *PreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29422 return SWIG_Python_InitShadowInstance(args);
29423 }
29424
29425 SWIGINTERN PyObject *_wrap_new_PreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29426 PyObject *resultobj = 0;
29427 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29428 long arg2 ;
29429 wxWindow *arg3 = (wxWindow *) 0 ;
29430 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29431 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29432 wxSize const &arg5_defvalue = wxDefaultSize ;
29433 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29434 long arg6 = (long) wxTAB_TRAVERSAL ;
29435 wxString const &arg7_defvalue = wxPyPanelNameStr ;
29436 wxString *arg7 = (wxString *) &arg7_defvalue ;
29437 wxPreviewControlBar *result = 0 ;
29438 void *argp1 = 0 ;
29439 int res1 = 0 ;
29440 long val2 ;
29441 int ecode2 = 0 ;
29442 void *argp3 = 0 ;
29443 int res3 = 0 ;
29444 wxPoint temp4 ;
29445 wxSize temp5 ;
29446 long val6 ;
29447 int ecode6 = 0 ;
29448 bool temp7 = false ;
29449 PyObject * obj0 = 0 ;
29450 PyObject * obj1 = 0 ;
29451 PyObject * obj2 = 0 ;
29452 PyObject * obj3 = 0 ;
29453 PyObject * obj4 = 0 ;
29454 PyObject * obj5 = 0 ;
29455 PyObject * obj6 = 0 ;
29456 char * kwnames[] = {
29457 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29458 };
29459
29460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
29461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29462 if (!SWIG_IsOK(res1)) {
29463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29464 }
29465 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29466 ecode2 = SWIG_AsVal_long(obj1, &val2);
29467 if (!SWIG_IsOK(ecode2)) {
29468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29469 }
29470 arg2 = static_cast< long >(val2);
29471 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
29472 if (!SWIG_IsOK(res3)) {
29473 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29474 }
29475 arg3 = reinterpret_cast< wxWindow * >(argp3);
29476 if (obj3) {
29477 {
29478 arg4 = &temp4;
29479 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29480 }
29481 }
29482 if (obj4) {
29483 {
29484 arg5 = &temp5;
29485 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29486 }
29487 }
29488 if (obj5) {
29489 ecode6 = SWIG_AsVal_long(obj5, &val6);
29490 if (!SWIG_IsOK(ecode6)) {
29491 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29492 }
29493 arg6 = static_cast< long >(val6);
29494 }
29495 if (obj6) {
29496 {
29497 arg7 = wxString_in_helper(obj6);
29498 if (arg7 == NULL) SWIG_fail;
29499 temp7 = true;
29500 }
29501 }
29502 {
29503 if (!wxPyCheckForApp()) SWIG_fail;
29504 PyThreadState* __tstate = wxPyBeginAllowThreads();
29505 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
29506 wxPyEndAllowThreads(__tstate);
29507 if (PyErr_Occurred()) SWIG_fail;
29508 }
29509 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewControlBar, SWIG_POINTER_NEW | 0 );
29510 {
29511 if (temp7)
29512 delete arg7;
29513 }
29514 return resultobj;
29515 fail:
29516 {
29517 if (temp7)
29518 delete arg7;
29519 }
29520 return NULL;
29521 }
29522
29523
29524 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29525 PyObject *resultobj = 0;
29526 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29527 int result;
29528 void *argp1 = 0 ;
29529 int res1 = 0 ;
29530 PyObject *swig_obj[1] ;
29531
29532 if (!args) SWIG_fail;
29533 swig_obj[0] = args;
29534 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29535 if (!SWIG_IsOK(res1)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29537 }
29538 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29539 {
29540 PyThreadState* __tstate = wxPyBeginAllowThreads();
29541 result = (int)(arg1)->GetZoomControl();
29542 wxPyEndAllowThreads(__tstate);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 }
29545 resultobj = SWIG_From_int(static_cast< int >(result));
29546 return resultobj;
29547 fail:
29548 return NULL;
29549 }
29550
29551
29552 SWIGINTERN PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29553 PyObject *resultobj = 0;
29554 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29555 int arg2 ;
29556 void *argp1 = 0 ;
29557 int res1 = 0 ;
29558 int val2 ;
29559 int ecode2 = 0 ;
29560 PyObject * obj0 = 0 ;
29561 PyObject * obj1 = 0 ;
29562 char * kwnames[] = {
29563 (char *) "self",(char *) "zoom", NULL
29564 };
29565
29566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
29567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29568 if (!SWIG_IsOK(res1)) {
29569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29570 }
29571 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29572 ecode2 = SWIG_AsVal_int(obj1, &val2);
29573 if (!SWIG_IsOK(ecode2)) {
29574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29575 }
29576 arg2 = static_cast< int >(val2);
29577 {
29578 PyThreadState* __tstate = wxPyBeginAllowThreads();
29579 (arg1)->SetZoomControl(arg2);
29580 wxPyEndAllowThreads(__tstate);
29581 if (PyErr_Occurred()) SWIG_fail;
29582 }
29583 resultobj = SWIG_Py_Void();
29584 return resultobj;
29585 fail:
29586 return NULL;
29587 }
29588
29589
29590 SWIGINTERN PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29591 PyObject *resultobj = 0;
29592 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29593 wxPrintPreview *result = 0 ;
29594 void *argp1 = 0 ;
29595 int res1 = 0 ;
29596 PyObject *swig_obj[1] ;
29597
29598 if (!args) SWIG_fail;
29599 swig_obj[0] = args;
29600 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29601 if (!SWIG_IsOK(res1)) {
29602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29603 }
29604 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29605 {
29606 PyThreadState* __tstate = wxPyBeginAllowThreads();
29607 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
29608 wxPyEndAllowThreads(__tstate);
29609 if (PyErr_Occurred()) SWIG_fail;
29610 }
29611 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29612 return resultobj;
29613 fail:
29614 return NULL;
29615 }
29616
29617
29618 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29619 PyObject *resultobj = 0;
29620 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29621 void *argp1 = 0 ;
29622 int res1 = 0 ;
29623 PyObject *swig_obj[1] ;
29624
29625 if (!args) SWIG_fail;
29626 swig_obj[0] = args;
29627 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29628 if (!SWIG_IsOK(res1)) {
29629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29630 }
29631 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29632 {
29633 PyThreadState* __tstate = wxPyBeginAllowThreads();
29634 (arg1)->OnNext();
29635 wxPyEndAllowThreads(__tstate);
29636 if (PyErr_Occurred()) SWIG_fail;
29637 }
29638 resultobj = SWIG_Py_Void();
29639 return resultobj;
29640 fail:
29641 return NULL;
29642 }
29643
29644
29645 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29646 PyObject *resultobj = 0;
29647 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29648 void *argp1 = 0 ;
29649 int res1 = 0 ;
29650 PyObject *swig_obj[1] ;
29651
29652 if (!args) SWIG_fail;
29653 swig_obj[0] = args;
29654 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29655 if (!SWIG_IsOK(res1)) {
29656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29657 }
29658 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29659 {
29660 PyThreadState* __tstate = wxPyBeginAllowThreads();
29661 (arg1)->OnPrevious();
29662 wxPyEndAllowThreads(__tstate);
29663 if (PyErr_Occurred()) SWIG_fail;
29664 }
29665 resultobj = SWIG_Py_Void();
29666 return resultobj;
29667 fail:
29668 return NULL;
29669 }
29670
29671
29672 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29673 PyObject *resultobj = 0;
29674 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29675 void *argp1 = 0 ;
29676 int res1 = 0 ;
29677 PyObject *swig_obj[1] ;
29678
29679 if (!args) SWIG_fail;
29680 swig_obj[0] = args;
29681 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29682 if (!SWIG_IsOK(res1)) {
29683 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29684 }
29685 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29686 {
29687 PyThreadState* __tstate = wxPyBeginAllowThreads();
29688 (arg1)->OnFirst();
29689 wxPyEndAllowThreads(__tstate);
29690 if (PyErr_Occurred()) SWIG_fail;
29691 }
29692 resultobj = SWIG_Py_Void();
29693 return resultobj;
29694 fail:
29695 return NULL;
29696 }
29697
29698
29699 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnLast(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29700 PyObject *resultobj = 0;
29701 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29702 void *argp1 = 0 ;
29703 int res1 = 0 ;
29704 PyObject *swig_obj[1] ;
29705
29706 if (!args) SWIG_fail;
29707 swig_obj[0] = args;
29708 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29709 if (!SWIG_IsOK(res1)) {
29710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29711 }
29712 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29713 {
29714 PyThreadState* __tstate = wxPyBeginAllowThreads();
29715 (arg1)->OnLast();
29716 wxPyEndAllowThreads(__tstate);
29717 if (PyErr_Occurred()) SWIG_fail;
29718 }
29719 resultobj = SWIG_Py_Void();
29720 return resultobj;
29721 fail:
29722 return NULL;
29723 }
29724
29725
29726 SWIGINTERN PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29727 PyObject *resultobj = 0;
29728 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
29729 void *argp1 = 0 ;
29730 int res1 = 0 ;
29731 PyObject *swig_obj[1] ;
29732
29733 if (!args) SWIG_fail;
29734 swig_obj[0] = args;
29735 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
29736 if (!SWIG_IsOK(res1)) {
29737 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29738 }
29739 arg1 = reinterpret_cast< wxPreviewControlBar * >(argp1);
29740 {
29741 PyThreadState* __tstate = wxPyBeginAllowThreads();
29742 (arg1)->OnGoto();
29743 wxPyEndAllowThreads(__tstate);
29744 if (PyErr_Occurred()) SWIG_fail;
29745 }
29746 resultobj = SWIG_Py_Void();
29747 return resultobj;
29748 fail:
29749 return NULL;
29750 }
29751
29752
29753 SWIGINTERN PyObject *PreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29754 PyObject *obj;
29755 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
29756 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar, SWIG_NewClientData(obj));
29757 return SWIG_Py_Void();
29758 }
29759
29760 SWIGINTERN PyObject *PreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29761 return SWIG_Python_InitShadowInstance(args);
29762 }
29763
29764 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29765 PyObject *resultobj = 0;
29766 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29767 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29768 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
29769 wxPrintPreview *result = 0 ;
29770 int res1 = 0 ;
29771 int res2 = 0 ;
29772 void *argp3 = 0 ;
29773 int res3 = 0 ;
29774
29775 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
29776 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29777 if (!SWIG_IsOK(res1)) {
29778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29779 }
29780 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29781 if (!SWIG_IsOK(res2)) {
29782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29783 }
29784 if (swig_obj[2]) {
29785 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
29786 if (!SWIG_IsOK(res3)) {
29787 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29788 }
29789 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
29790 }
29791 {
29792 if (!wxPyCheckForApp()) SWIG_fail;
29793 PyThreadState* __tstate = wxPyBeginAllowThreads();
29794 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29795 wxPyEndAllowThreads(__tstate);
29796 if (PyErr_Occurred()) SWIG_fail;
29797 }
29798 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29799 return resultobj;
29800 fail:
29801 return NULL;
29802 }
29803
29804
29805 SWIGINTERN PyObject *_wrap_new_PrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
29806 PyObject *resultobj = 0;
29807 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
29808 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29809 wxPrintData *arg3 = (wxPrintData *) 0 ;
29810 wxPrintPreview *result = 0 ;
29811 int res1 = 0 ;
29812 int res2 = 0 ;
29813 void *argp3 = 0 ;
29814 int res3 = 0 ;
29815
29816 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
29817 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29818 if (!SWIG_IsOK(res1)) {
29819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29820 }
29821 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29822 if (!SWIG_IsOK(res2)) {
29823 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29824 }
29825 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
29826 if (!SWIG_IsOK(res3)) {
29827 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29828 }
29829 arg3 = reinterpret_cast< wxPrintData * >(argp3);
29830 {
29831 if (!wxPyCheckForApp()) SWIG_fail;
29832 PyThreadState* __tstate = wxPyBeginAllowThreads();
29833 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
29834 wxPyEndAllowThreads(__tstate);
29835 if (PyErr_Occurred()) SWIG_fail;
29836 }
29837 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_NEW | 0 );
29838 return resultobj;
29839 fail:
29840 return NULL;
29841 }
29842
29843
29844 SWIGINTERN PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args) {
29845 int argc;
29846 PyObject *argv[4];
29847
29848 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PrintPreview",0,3,argv))) SWIG_fail;
29849 --argc;
29850 if ((argc >= 2) && (argc <= 3)) {
29851 int _v = 0;
29852 if (argc > 2) {
29853 {
29854 void *vptr = 0;
29855 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
29856 _v = SWIG_CheckState(res);
29857 }
29858 if (!_v) goto check_1;
29859 }
29860 return _wrap_new_PrintPreview__SWIG_0(self, argc, argv);
29861 }
29862 check_1:
29863
29864 if (argc == 3) {
29865 return _wrap_new_PrintPreview__SWIG_1(self, argc, argv);
29866 }
29867
29868 fail:
29869 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PrintPreview'");
29870 return NULL;
29871 }
29872
29873
29874 SWIGINTERN PyObject *_wrap_delete_PrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29875 PyObject *resultobj = 0;
29876 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
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_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
29884 if (!SWIG_IsOK(res1)) {
29885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29886 }
29887 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29888 {
29889 PyThreadState* __tstate = wxPyBeginAllowThreads();
29890 delete arg1;
29891
29892 wxPyEndAllowThreads(__tstate);
29893 if (PyErr_Occurred()) SWIG_fail;
29894 }
29895 resultobj = SWIG_Py_Void();
29896 return resultobj;
29897 fail:
29898 return NULL;
29899 }
29900
29901
29902 SWIGINTERN PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29903 PyObject *resultobj = 0;
29904 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29905 int arg2 ;
29906 bool result;
29907 void *argp1 = 0 ;
29908 int res1 = 0 ;
29909 int val2 ;
29910 int ecode2 = 0 ;
29911 PyObject * obj0 = 0 ;
29912 PyObject * obj1 = 0 ;
29913 char * kwnames[] = {
29914 (char *) "self",(char *) "pageNum", NULL
29915 };
29916
29917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) SWIG_fail;
29918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29919 if (!SWIG_IsOK(res1)) {
29920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29921 }
29922 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29923 ecode2 = SWIG_AsVal_int(obj1, &val2);
29924 if (!SWIG_IsOK(ecode2)) {
29925 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29926 }
29927 arg2 = static_cast< int >(val2);
29928 {
29929 PyThreadState* __tstate = wxPyBeginAllowThreads();
29930 result = (bool)(arg1)->SetCurrentPage(arg2);
29931 wxPyEndAllowThreads(__tstate);
29932 if (PyErr_Occurred()) SWIG_fail;
29933 }
29934 {
29935 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29936 }
29937 return resultobj;
29938 fail:
29939 return NULL;
29940 }
29941
29942
29943 SWIGINTERN PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
29944 PyObject *resultobj = 0;
29945 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29946 int result;
29947 void *argp1 = 0 ;
29948 int res1 = 0 ;
29949 PyObject *swig_obj[1] ;
29950
29951 if (!args) SWIG_fail;
29952 swig_obj[0] = args;
29953 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29954 if (!SWIG_IsOK(res1)) {
29955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29956 }
29957 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29958 {
29959 PyThreadState* __tstate = wxPyBeginAllowThreads();
29960 result = (int)(arg1)->GetCurrentPage();
29961 wxPyEndAllowThreads(__tstate);
29962 if (PyErr_Occurred()) SWIG_fail;
29963 }
29964 resultobj = SWIG_From_int(static_cast< int >(result));
29965 return resultobj;
29966 fail:
29967 return NULL;
29968 }
29969
29970
29971 SWIGINTERN PyObject *_wrap_PrintPreview_SetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
29972 PyObject *resultobj = 0;
29973 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
29974 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
29975 void *argp1 = 0 ;
29976 int res1 = 0 ;
29977 int res2 = 0 ;
29978 PyObject * obj0 = 0 ;
29979 PyObject * obj1 = 0 ;
29980 char * kwnames[] = {
29981 (char *) "self",(char *) "printout", NULL
29982 };
29983
29984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) SWIG_fail;
29985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
29986 if (!SWIG_IsOK(res1)) {
29987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29988 }
29989 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
29990 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
29991 if (!SWIG_IsOK(res2)) {
29992 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29993 }
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 (arg1)->SetPrintout(arg2);
29997 wxPyEndAllowThreads(__tstate);
29998 if (PyErr_Occurred()) SWIG_fail;
29999 }
30000 resultobj = SWIG_Py_Void();
30001 return resultobj;
30002 fail:
30003 return NULL;
30004 }
30005
30006
30007 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintout(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30008 PyObject *resultobj = 0;
30009 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30010 wxPyPrintout *result = 0 ;
30011 void *argp1 = 0 ;
30012 int res1 = 0 ;
30013 PyObject *swig_obj[1] ;
30014
30015 if (!args) SWIG_fail;
30016 swig_obj[0] = args;
30017 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30018 if (!SWIG_IsOK(res1)) {
30019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30020 }
30021 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30022 {
30023 PyThreadState* __tstate = wxPyBeginAllowThreads();
30024 result = (wxPyPrintout *)(arg1)->GetPrintout();
30025 wxPyEndAllowThreads(__tstate);
30026 if (PyErr_Occurred()) SWIG_fail;
30027 }
30028 {
30029 resultobj = wxPyMake_wxObject(result, 0);
30030 }
30031 return resultobj;
30032 fail:
30033 return NULL;
30034 }
30035
30036
30037 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30038 PyObject *resultobj = 0;
30039 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30040 wxPyPrintout *result = 0 ;
30041 void *argp1 = 0 ;
30042 int res1 = 0 ;
30043 PyObject *swig_obj[1] ;
30044
30045 if (!args) SWIG_fail;
30046 swig_obj[0] = args;
30047 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30048 if (!SWIG_IsOK(res1)) {
30049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30050 }
30051 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30052 {
30053 PyThreadState* __tstate = wxPyBeginAllowThreads();
30054 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
30055 wxPyEndAllowThreads(__tstate);
30056 if (PyErr_Occurred()) SWIG_fail;
30057 }
30058 {
30059 resultobj = wxPyMake_wxObject(result, 0);
30060 }
30061 return resultobj;
30062 fail:
30063 return NULL;
30064 }
30065
30066
30067 SWIGINTERN PyObject *_wrap_PrintPreview_SetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30068 PyObject *resultobj = 0;
30069 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30070 wxFrame *arg2 = (wxFrame *) 0 ;
30071 void *argp1 = 0 ;
30072 int res1 = 0 ;
30073 void *argp2 = 0 ;
30074 int res2 = 0 ;
30075 PyObject * obj0 = 0 ;
30076 PyObject * obj1 = 0 ;
30077 char * kwnames[] = {
30078 (char *) "self",(char *) "frame", NULL
30079 };
30080
30081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) SWIG_fail;
30082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30083 if (!SWIG_IsOK(res1)) {
30084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30085 }
30086 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30087 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30088 if (!SWIG_IsOK(res2)) {
30089 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30090 }
30091 arg2 = reinterpret_cast< wxFrame * >(argp2);
30092 {
30093 PyThreadState* __tstate = wxPyBeginAllowThreads();
30094 (arg1)->SetFrame(arg2);
30095 wxPyEndAllowThreads(__tstate);
30096 if (PyErr_Occurred()) SWIG_fail;
30097 }
30098 resultobj = SWIG_Py_Void();
30099 return resultobj;
30100 fail:
30101 return NULL;
30102 }
30103
30104
30105 SWIGINTERN PyObject *_wrap_PrintPreview_SetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30106 PyObject *resultobj = 0;
30107 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30108 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30109 void *argp1 = 0 ;
30110 int res1 = 0 ;
30111 void *argp2 = 0 ;
30112 int res2 = 0 ;
30113 PyObject * obj0 = 0 ;
30114 PyObject * obj1 = 0 ;
30115 char * kwnames[] = {
30116 (char *) "self",(char *) "canvas", NULL
30117 };
30118
30119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30121 if (!SWIG_IsOK(res1)) {
30122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30123 }
30124 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30125 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30126 if (!SWIG_IsOK(res2)) {
30127 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30128 }
30129 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30130 {
30131 PyThreadState* __tstate = wxPyBeginAllowThreads();
30132 (arg1)->SetCanvas(arg2);
30133 wxPyEndAllowThreads(__tstate);
30134 if (PyErr_Occurred()) SWIG_fail;
30135 }
30136 resultobj = SWIG_Py_Void();
30137 return resultobj;
30138 fail:
30139 return NULL;
30140 }
30141
30142
30143 SWIGINTERN PyObject *_wrap_PrintPreview_GetFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30144 PyObject *resultobj = 0;
30145 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30146 wxFrame *result = 0 ;
30147 void *argp1 = 0 ;
30148 int res1 = 0 ;
30149 PyObject *swig_obj[1] ;
30150
30151 if (!args) SWIG_fail;
30152 swig_obj[0] = args;
30153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30154 if (!SWIG_IsOK(res1)) {
30155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30156 }
30157 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30158 {
30159 PyThreadState* __tstate = wxPyBeginAllowThreads();
30160 result = (wxFrame *)(arg1)->GetFrame();
30161 wxPyEndAllowThreads(__tstate);
30162 if (PyErr_Occurred()) SWIG_fail;
30163 }
30164 {
30165 resultobj = wxPyMake_wxObject(result, 0);
30166 }
30167 return resultobj;
30168 fail:
30169 return NULL;
30170 }
30171
30172
30173 SWIGINTERN PyObject *_wrap_PrintPreview_GetCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30174 PyObject *resultobj = 0;
30175 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30176 wxPreviewCanvas *result = 0 ;
30177 void *argp1 = 0 ;
30178 int res1 = 0 ;
30179 PyObject *swig_obj[1] ;
30180
30181 if (!args) SWIG_fail;
30182 swig_obj[0] = args;
30183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30184 if (!SWIG_IsOK(res1)) {
30185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30186 }
30187 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30188 {
30189 PyThreadState* __tstate = wxPyBeginAllowThreads();
30190 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
30191 wxPyEndAllowThreads(__tstate);
30192 if (PyErr_Occurred()) SWIG_fail;
30193 }
30194 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30195 return resultobj;
30196 fail:
30197 return NULL;
30198 }
30199
30200
30201 SWIGINTERN PyObject *_wrap_PrintPreview_PaintPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30202 PyObject *resultobj = 0;
30203 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30204 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30205 wxDC *arg3 = 0 ;
30206 bool result;
30207 void *argp1 = 0 ;
30208 int res1 = 0 ;
30209 void *argp2 = 0 ;
30210 int res2 = 0 ;
30211 void *argp3 = 0 ;
30212 int res3 = 0 ;
30213 PyObject * obj0 = 0 ;
30214 PyObject * obj1 = 0 ;
30215 PyObject * obj2 = 0 ;
30216 char * kwnames[] = {
30217 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30218 };
30219
30220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30222 if (!SWIG_IsOK(res1)) {
30223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30224 }
30225 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30226 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30227 if (!SWIG_IsOK(res2)) {
30228 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30229 }
30230 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30231 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30232 if (!SWIG_IsOK(res3)) {
30233 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30234 }
30235 if (!argp3) {
30236 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30237 }
30238 arg3 = reinterpret_cast< wxDC * >(argp3);
30239 {
30240 PyThreadState* __tstate = wxPyBeginAllowThreads();
30241 result = (bool)(arg1)->PaintPage(arg2,*arg3);
30242 wxPyEndAllowThreads(__tstate);
30243 if (PyErr_Occurred()) SWIG_fail;
30244 }
30245 {
30246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30247 }
30248 return resultobj;
30249 fail:
30250 return NULL;
30251 }
30252
30253
30254 SWIGINTERN PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30255 PyObject *resultobj = 0;
30256 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30257 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30258 wxDC *arg3 = 0 ;
30259 bool result;
30260 void *argp1 = 0 ;
30261 int res1 = 0 ;
30262 void *argp2 = 0 ;
30263 int res2 = 0 ;
30264 void *argp3 = 0 ;
30265 int res3 = 0 ;
30266 PyObject * obj0 = 0 ;
30267 PyObject * obj1 = 0 ;
30268 PyObject * obj2 = 0 ;
30269 char * kwnames[] = {
30270 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30271 };
30272
30273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30275 if (!SWIG_IsOK(res1)) {
30276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30277 }
30278 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30279 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30280 if (!SWIG_IsOK(res2)) {
30281 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30282 }
30283 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30284 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxDC, 0 );
30285 if (!SWIG_IsOK(res3)) {
30286 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30287 }
30288 if (!argp3) {
30289 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30290 }
30291 arg3 = reinterpret_cast< wxDC * >(argp3);
30292 {
30293 PyThreadState* __tstate = wxPyBeginAllowThreads();
30294 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
30295 wxPyEndAllowThreads(__tstate);
30296 if (PyErr_Occurred()) SWIG_fail;
30297 }
30298 {
30299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30300 }
30301 return resultobj;
30302 fail:
30303 return NULL;
30304 }
30305
30306
30307 SWIGINTERN PyObject *_wrap_PrintPreview_RenderPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30308 PyObject *resultobj = 0;
30309 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30310 int arg2 ;
30311 bool result;
30312 void *argp1 = 0 ;
30313 int res1 = 0 ;
30314 int val2 ;
30315 int ecode2 = 0 ;
30316 PyObject * obj0 = 0 ;
30317 PyObject * obj1 = 0 ;
30318 char * kwnames[] = {
30319 (char *) "self",(char *) "pageNum", NULL
30320 };
30321
30322 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) SWIG_fail;
30323 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30324 if (!SWIG_IsOK(res1)) {
30325 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30326 }
30327 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30328 ecode2 = SWIG_AsVal_int(obj1, &val2);
30329 if (!SWIG_IsOK(ecode2)) {
30330 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30331 }
30332 arg2 = static_cast< int >(val2);
30333 {
30334 PyThreadState* __tstate = wxPyBeginAllowThreads();
30335 result = (bool)(arg1)->RenderPage(arg2);
30336 wxPyEndAllowThreads(__tstate);
30337 if (PyErr_Occurred()) SWIG_fail;
30338 }
30339 {
30340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30341 }
30342 return resultobj;
30343 fail:
30344 return NULL;
30345 }
30346
30347
30348 SWIGINTERN PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30349 PyObject *resultobj = 0;
30350 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30351 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30352 void *argp1 = 0 ;
30353 int res1 = 0 ;
30354 void *argp2 = 0 ;
30355 int res2 = 0 ;
30356 PyObject * obj0 = 0 ;
30357 PyObject * obj1 = 0 ;
30358 char * kwnames[] = {
30359 (char *) "self",(char *) "canvas", NULL
30360 };
30361
30362 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) SWIG_fail;
30363 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30364 if (!SWIG_IsOK(res1)) {
30365 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30366 }
30367 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30368 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
30369 if (!SWIG_IsOK(res2)) {
30370 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30371 }
30372 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
30373 {
30374 PyThreadState* __tstate = wxPyBeginAllowThreads();
30375 (arg1)->AdjustScrollbars(arg2);
30376 wxPyEndAllowThreads(__tstate);
30377 if (PyErr_Occurred()) SWIG_fail;
30378 }
30379 resultobj = SWIG_Py_Void();
30380 return resultobj;
30381 fail:
30382 return NULL;
30383 }
30384
30385
30386 SWIGINTERN PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30387 PyObject *resultobj = 0;
30388 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30389 wxPrintDialogData *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_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30399 }
30400 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30401 {
30402 PyThreadState* __tstate = wxPyBeginAllowThreads();
30403 {
30404 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
30405 result = (wxPrintDialogData *) &_result_ref;
30406 }
30407 wxPyEndAllowThreads(__tstate);
30408 if (PyErr_Occurred()) SWIG_fail;
30409 }
30410 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30411 return resultobj;
30412 fail:
30413 return NULL;
30414 }
30415
30416
30417 SWIGINTERN PyObject *_wrap_PrintPreview_SetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30418 PyObject *resultobj = 0;
30419 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30420 int arg2 ;
30421 void *argp1 = 0 ;
30422 int res1 = 0 ;
30423 int val2 ;
30424 int ecode2 = 0 ;
30425 PyObject * obj0 = 0 ;
30426 PyObject * obj1 = 0 ;
30427 char * kwnames[] = {
30428 (char *) "self",(char *) "percent", NULL
30429 };
30430
30431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) SWIG_fail;
30432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30433 if (!SWIG_IsOK(res1)) {
30434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30435 }
30436 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30437 ecode2 = SWIG_AsVal_int(obj1, &val2);
30438 if (!SWIG_IsOK(ecode2)) {
30439 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30440 }
30441 arg2 = static_cast< int >(val2);
30442 {
30443 PyThreadState* __tstate = wxPyBeginAllowThreads();
30444 (arg1)->SetZoom(arg2);
30445 wxPyEndAllowThreads(__tstate);
30446 if (PyErr_Occurred()) SWIG_fail;
30447 }
30448 resultobj = SWIG_Py_Void();
30449 return resultobj;
30450 fail:
30451 return NULL;
30452 }
30453
30454
30455 SWIGINTERN PyObject *_wrap_PrintPreview_GetZoom(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30456 PyObject *resultobj = 0;
30457 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30458 int result;
30459 void *argp1 = 0 ;
30460 int res1 = 0 ;
30461 PyObject *swig_obj[1] ;
30462
30463 if (!args) SWIG_fail;
30464 swig_obj[0] = args;
30465 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30466 if (!SWIG_IsOK(res1)) {
30467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30468 }
30469 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30470 {
30471 PyThreadState* __tstate = wxPyBeginAllowThreads();
30472 result = (int)(arg1)->GetZoom();
30473 wxPyEndAllowThreads(__tstate);
30474 if (PyErr_Occurred()) SWIG_fail;
30475 }
30476 resultobj = SWIG_From_int(static_cast< int >(result));
30477 return resultobj;
30478 fail:
30479 return NULL;
30480 }
30481
30482
30483 SWIGINTERN PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30484 PyObject *resultobj = 0;
30485 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30486 int result;
30487 void *argp1 = 0 ;
30488 int res1 = 0 ;
30489 PyObject *swig_obj[1] ;
30490
30491 if (!args) SWIG_fail;
30492 swig_obj[0] = args;
30493 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30494 if (!SWIG_IsOK(res1)) {
30495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30496 }
30497 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30498 {
30499 PyThreadState* __tstate = wxPyBeginAllowThreads();
30500 result = (int)(arg1)->GetMaxPage();
30501 wxPyEndAllowThreads(__tstate);
30502 if (PyErr_Occurred()) SWIG_fail;
30503 }
30504 resultobj = SWIG_From_int(static_cast< int >(result));
30505 return resultobj;
30506 fail:
30507 return NULL;
30508 }
30509
30510
30511 SWIGINTERN PyObject *_wrap_PrintPreview_GetMinPage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30512 PyObject *resultobj = 0;
30513 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30514 int result;
30515 void *argp1 = 0 ;
30516 int res1 = 0 ;
30517 PyObject *swig_obj[1] ;
30518
30519 if (!args) SWIG_fail;
30520 swig_obj[0] = args;
30521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30522 if (!SWIG_IsOK(res1)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30524 }
30525 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30526 {
30527 PyThreadState* __tstate = wxPyBeginAllowThreads();
30528 result = (int)(arg1)->GetMinPage();
30529 wxPyEndAllowThreads(__tstate);
30530 if (PyErr_Occurred()) SWIG_fail;
30531 }
30532 resultobj = SWIG_From_int(static_cast< int >(result));
30533 return resultobj;
30534 fail:
30535 return NULL;
30536 }
30537
30538
30539 SWIGINTERN PyObject *_wrap_PrintPreview_IsOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30540 PyObject *resultobj = 0;
30541 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30542 bool result;
30543 void *argp1 = 0 ;
30544 int res1 = 0 ;
30545 PyObject *swig_obj[1] ;
30546
30547 if (!args) SWIG_fail;
30548 swig_obj[0] = args;
30549 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30550 if (!SWIG_IsOK(res1)) {
30551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30552 }
30553 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30554 {
30555 PyThreadState* __tstate = wxPyBeginAllowThreads();
30556 result = (bool)(arg1)->IsOk();
30557 wxPyEndAllowThreads(__tstate);
30558 if (PyErr_Occurred()) SWIG_fail;
30559 }
30560 {
30561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30562 }
30563 return resultobj;
30564 fail:
30565 return NULL;
30566 }
30567
30568
30569 SWIGINTERN PyObject *_wrap_PrintPreview_SetOk(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30570 PyObject *resultobj = 0;
30571 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30572 bool arg2 ;
30573 void *argp1 = 0 ;
30574 int res1 = 0 ;
30575 bool val2 ;
30576 int ecode2 = 0 ;
30577 PyObject * obj0 = 0 ;
30578 PyObject * obj1 = 0 ;
30579 char * kwnames[] = {
30580 (char *) "self",(char *) "ok", NULL
30581 };
30582
30583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) SWIG_fail;
30584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30585 if (!SWIG_IsOK(res1)) {
30586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30587 }
30588 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30589 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30590 if (!SWIG_IsOK(ecode2)) {
30591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30592 }
30593 arg2 = static_cast< bool >(val2);
30594 {
30595 PyThreadState* __tstate = wxPyBeginAllowThreads();
30596 (arg1)->SetOk(arg2);
30597 wxPyEndAllowThreads(__tstate);
30598 if (PyErr_Occurred()) SWIG_fail;
30599 }
30600 resultobj = SWIG_Py_Void();
30601 return resultobj;
30602 fail:
30603 return NULL;
30604 }
30605
30606
30607 SWIGINTERN PyObject *_wrap_PrintPreview_Print(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30608 PyObject *resultobj = 0;
30609 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30610 bool arg2 ;
30611 bool result;
30612 void *argp1 = 0 ;
30613 int res1 = 0 ;
30614 bool val2 ;
30615 int ecode2 = 0 ;
30616 PyObject * obj0 = 0 ;
30617 PyObject * obj1 = 0 ;
30618 char * kwnames[] = {
30619 (char *) "self",(char *) "interactive", NULL
30620 };
30621
30622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) SWIG_fail;
30623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30624 if (!SWIG_IsOK(res1)) {
30625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30626 }
30627 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30628 ecode2 = SWIG_AsVal_bool(obj1, &val2);
30629 if (!SWIG_IsOK(ecode2)) {
30630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30631 }
30632 arg2 = static_cast< bool >(val2);
30633 {
30634 PyThreadState* __tstate = wxPyBeginAllowThreads();
30635 result = (bool)(arg1)->Print(arg2);
30636 wxPyEndAllowThreads(__tstate);
30637 if (PyErr_Occurred()) SWIG_fail;
30638 }
30639 {
30640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30641 }
30642 return resultobj;
30643 fail:
30644 return NULL;
30645 }
30646
30647
30648 SWIGINTERN PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30649 PyObject *resultobj = 0;
30650 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30651 void *argp1 = 0 ;
30652 int res1 = 0 ;
30653 PyObject *swig_obj[1] ;
30654
30655 if (!args) SWIG_fail;
30656 swig_obj[0] = args;
30657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPrintPreview, 0 | 0 );
30658 if (!SWIG_IsOK(res1)) {
30659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30660 }
30661 arg1 = reinterpret_cast< wxPrintPreview * >(argp1);
30662 {
30663 PyThreadState* __tstate = wxPyBeginAllowThreads();
30664 (arg1)->DetermineScaling();
30665 wxPyEndAllowThreads(__tstate);
30666 if (PyErr_Occurred()) SWIG_fail;
30667 }
30668 resultobj = SWIG_Py_Void();
30669 return resultobj;
30670 fail:
30671 return NULL;
30672 }
30673
30674
30675 SWIGINTERN PyObject *PrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30676 PyObject *obj;
30677 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30678 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview, SWIG_NewClientData(obj));
30679 return SWIG_Py_Void();
30680 }
30681
30682 SWIGINTERN PyObject *PrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30683 return SWIG_Python_InitShadowInstance(args);
30684 }
30685
30686 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_0(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30687 PyObject *resultobj = 0;
30688 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30689 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30690 wxPrintDialogData *arg3 = (wxPrintDialogData *) NULL ;
30691 wxPyPrintPreview *result = 0 ;
30692 int res1 = 0 ;
30693 int res2 = 0 ;
30694 void *argp3 = 0 ;
30695 int res3 = 0 ;
30696
30697 if ((nobjs < 2) || (nobjs > 3)) SWIG_fail;
30698 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30699 if (!SWIG_IsOK(res1)) {
30700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30701 }
30702 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30703 if (!SWIG_IsOK(res2)) {
30704 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30705 }
30706 if (swig_obj[2]) {
30707 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintDialogData, 0 | 0 );
30708 if (!SWIG_IsOK(res3)) {
30709 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30710 }
30711 arg3 = reinterpret_cast< wxPrintDialogData * >(argp3);
30712 }
30713 {
30714 if (!wxPyCheckForApp()) SWIG_fail;
30715 PyThreadState* __tstate = wxPyBeginAllowThreads();
30716 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30717 wxPyEndAllowThreads(__tstate);
30718 if (PyErr_Occurred()) SWIG_fail;
30719 }
30720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30721 return resultobj;
30722 fail:
30723 return NULL;
30724 }
30725
30726
30727 SWIGINTERN PyObject *_wrap_new_PyPrintPreview__SWIG_1(PyObject *SWIGUNUSEDPARM(self), int nobjs, PyObject **swig_obj) {
30728 PyObject *resultobj = 0;
30729 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
30730 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
30731 wxPrintData *arg3 = (wxPrintData *) 0 ;
30732 wxPyPrintPreview *result = 0 ;
30733 int res1 = 0 ;
30734 int res2 = 0 ;
30735 void *argp3 = 0 ;
30736 int res3 = 0 ;
30737
30738 if ((nobjs < 3) || (nobjs > 3)) SWIG_fail;
30739 res1 = SWIG_ConvertPtr(swig_obj[0], SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30740 if (!SWIG_IsOK(res1)) {
30741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30742 }
30743 res2 = SWIG_ConvertPtr(swig_obj[1], SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPyPrintout, SWIG_POINTER_DISOWN | 0 );
30744 if (!SWIG_IsOK(res2)) {
30745 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30746 }
30747 res3 = SWIG_ConvertPtr(swig_obj[2], &argp3,SWIGTYPE_p_wxPrintData, 0 | 0 );
30748 if (!SWIG_IsOK(res3)) {
30749 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30750 }
30751 arg3 = reinterpret_cast< wxPrintData * >(argp3);
30752 {
30753 if (!wxPyCheckForApp()) SWIG_fail;
30754 PyThreadState* __tstate = wxPyBeginAllowThreads();
30755 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
30756 wxPyEndAllowThreads(__tstate);
30757 if (PyErr_Occurred()) SWIG_fail;
30758 }
30759 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPrintPreview, SWIG_POINTER_NEW | 0 );
30760 return resultobj;
30761 fail:
30762 return NULL;
30763 }
30764
30765
30766 SWIGINTERN PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args) {
30767 int argc;
30768 PyObject *argv[4];
30769
30770 if (!(argc = SWIG_Python_UnpackTuple(args,"new_PyPrintPreview",0,3,argv))) SWIG_fail;
30771 --argc;
30772 if ((argc >= 2) && (argc <= 3)) {
30773 int _v = 0;
30774 if (argc > 2) {
30775 {
30776 void *vptr = 0;
30777 int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_wxPrintDialogData, 0);
30778 _v = SWIG_CheckState(res);
30779 }
30780 if (!_v) goto check_1;
30781 }
30782 return _wrap_new_PyPrintPreview__SWIG_0(self, argc, argv);
30783 }
30784 check_1:
30785
30786 if (argc == 3) {
30787 return _wrap_new_PyPrintPreview__SWIG_1(self, argc, argv);
30788 }
30789
30790 fail:
30791 SWIG_SetErrorMsg(PyExc_NotImplementedError,"No matching function for overloaded 'new_PyPrintPreview'");
30792 return NULL;
30793 }
30794
30795
30796 SWIGINTERN PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30797 PyObject *resultobj = 0;
30798 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
30799 PyObject *arg2 = (PyObject *) 0 ;
30800 PyObject *arg3 = (PyObject *) 0 ;
30801 void *argp1 = 0 ;
30802 int res1 = 0 ;
30803 PyObject * obj0 = 0 ;
30804 PyObject * obj1 = 0 ;
30805 PyObject * obj2 = 0 ;
30806 char * kwnames[] = {
30807 (char *) "self",(char *) "self",(char *) "_class", NULL
30808 };
30809
30810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPrintPreview, 0 | 0 );
30812 if (!SWIG_IsOK(res1)) {
30813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30814 }
30815 arg1 = reinterpret_cast< wxPyPrintPreview * >(argp1);
30816 arg2 = obj1;
30817 arg3 = obj2;
30818 {
30819 PyThreadState* __tstate = wxPyBeginAllowThreads();
30820 (arg1)->_setCallbackInfo(arg2,arg3);
30821 wxPyEndAllowThreads(__tstate);
30822 if (PyErr_Occurred()) SWIG_fail;
30823 }
30824 resultobj = SWIG_Py_Void();
30825 return resultobj;
30826 fail:
30827 return NULL;
30828 }
30829
30830
30831 SWIGINTERN PyObject *PyPrintPreview_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30832 PyObject *obj;
30833 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
30834 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview, SWIG_NewClientData(obj));
30835 return SWIG_Py_Void();
30836 }
30837
30838 SWIGINTERN PyObject *PyPrintPreview_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
30839 return SWIG_Python_InitShadowInstance(args);
30840 }
30841
30842 SWIGINTERN PyObject *_wrap_new_PyPreviewFrame(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30843 PyObject *resultobj = 0;
30844 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
30845 wxFrame *arg2 = (wxFrame *) 0 ;
30846 wxString *arg3 = 0 ;
30847 wxPoint const &arg4_defvalue = wxDefaultPosition ;
30848 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
30849 wxSize const &arg5_defvalue = wxDefaultSize ;
30850 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
30851 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
30852 wxString const &arg7_defvalue = wxPyFrameNameStr ;
30853 wxString *arg7 = (wxString *) &arg7_defvalue ;
30854 wxPyPreviewFrame *result = 0 ;
30855 int res1 = 0 ;
30856 void *argp2 = 0 ;
30857 int res2 = 0 ;
30858 bool temp3 = false ;
30859 wxPoint temp4 ;
30860 wxSize temp5 ;
30861 long val6 ;
30862 int ecode6 = 0 ;
30863 bool temp7 = false ;
30864 PyObject * obj0 = 0 ;
30865 PyObject * obj1 = 0 ;
30866 PyObject * obj2 = 0 ;
30867 PyObject * obj3 = 0 ;
30868 PyObject * obj4 = 0 ;
30869 PyObject * obj5 = 0 ;
30870 PyObject * obj6 = 0 ;
30871 char * kwnames[] = {
30872 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30873 };
30874
30875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
30876 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
30877 if (!SWIG_IsOK(res1)) {
30878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30879 }
30880 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxFrame, 0 | 0 );
30881 if (!SWIG_IsOK(res2)) {
30882 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30883 }
30884 arg2 = reinterpret_cast< wxFrame * >(argp2);
30885 {
30886 arg3 = wxString_in_helper(obj2);
30887 if (arg3 == NULL) SWIG_fail;
30888 temp3 = true;
30889 }
30890 if (obj3) {
30891 {
30892 arg4 = &temp4;
30893 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
30894 }
30895 }
30896 if (obj4) {
30897 {
30898 arg5 = &temp5;
30899 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
30900 }
30901 }
30902 if (obj5) {
30903 ecode6 = SWIG_AsVal_long(obj5, &val6);
30904 if (!SWIG_IsOK(ecode6)) {
30905 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30906 }
30907 arg6 = static_cast< long >(val6);
30908 }
30909 if (obj6) {
30910 {
30911 arg7 = wxString_in_helper(obj6);
30912 if (arg7 == NULL) SWIG_fail;
30913 temp7 = true;
30914 }
30915 }
30916 {
30917 if (!wxPyCheckForApp()) SWIG_fail;
30918 PyThreadState* __tstate = wxPyBeginAllowThreads();
30919 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
30920 wxPyEndAllowThreads(__tstate);
30921 if (PyErr_Occurred()) SWIG_fail;
30922 }
30923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewFrame, SWIG_POINTER_NEW | 0 );
30924 {
30925 if (temp3)
30926 delete arg3;
30927 }
30928 {
30929 if (temp7)
30930 delete arg7;
30931 }
30932 return resultobj;
30933 fail:
30934 {
30935 if (temp3)
30936 delete arg3;
30937 }
30938 {
30939 if (temp7)
30940 delete arg7;
30941 }
30942 return NULL;
30943 }
30944
30945
30946 SWIGINTERN PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30947 PyObject *resultobj = 0;
30948 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30949 PyObject *arg2 = (PyObject *) 0 ;
30950 PyObject *arg3 = (PyObject *) 0 ;
30951 void *argp1 = 0 ;
30952 int res1 = 0 ;
30953 PyObject * obj0 = 0 ;
30954 PyObject * obj1 = 0 ;
30955 PyObject * obj2 = 0 ;
30956 char * kwnames[] = {
30957 (char *) "self",(char *) "self",(char *) "_class", NULL
30958 };
30959
30960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
30961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30962 if (!SWIG_IsOK(res1)) {
30963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30964 }
30965 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
30966 arg2 = obj1;
30967 arg3 = obj2;
30968 {
30969 PyThreadState* __tstate = wxPyBeginAllowThreads();
30970 (arg1)->_setCallbackInfo(arg2,arg3);
30971 wxPyEndAllowThreads(__tstate);
30972 if (PyErr_Occurred()) SWIG_fail;
30973 }
30974 resultobj = SWIG_Py_Void();
30975 return resultobj;
30976 fail:
30977 return NULL;
30978 }
30979
30980
30981 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
30982 PyObject *resultobj = 0;
30983 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
30984 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
30985 void *argp1 = 0 ;
30986 int res1 = 0 ;
30987 void *argp2 = 0 ;
30988 int res2 = 0 ;
30989 PyObject * obj0 = 0 ;
30990 PyObject * obj1 = 0 ;
30991 char * kwnames[] = {
30992 (char *) "self",(char *) "canvas", NULL
30993 };
30994
30995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) SWIG_fail;
30996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
30997 if (!SWIG_IsOK(res1)) {
30998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30999 }
31000 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31001 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewCanvas, 0 | 0 );
31002 if (!SWIG_IsOK(res2)) {
31003 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31004 }
31005 arg2 = reinterpret_cast< wxPreviewCanvas * >(argp2);
31006 {
31007 PyThreadState* __tstate = wxPyBeginAllowThreads();
31008 (arg1)->SetPreviewCanvas(arg2);
31009 wxPyEndAllowThreads(__tstate);
31010 if (PyErr_Occurred()) SWIG_fail;
31011 }
31012 resultobj = SWIG_Py_Void();
31013 return resultobj;
31014 fail:
31015 return NULL;
31016 }
31017
31018
31019 SWIGINTERN PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31020 PyObject *resultobj = 0;
31021 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31022 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
31023 void *argp1 = 0 ;
31024 int res1 = 0 ;
31025 void *argp2 = 0 ;
31026 int res2 = 0 ;
31027 PyObject * obj0 = 0 ;
31028 PyObject * obj1 = 0 ;
31029 char * kwnames[] = {
31030 (char *) "self",(char *) "bar", NULL
31031 };
31032
31033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) SWIG_fail;
31034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31035 if (!SWIG_IsOK(res1)) {
31036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31037 }
31038 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31039 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxPreviewControlBar, 0 | 0 );
31040 if (!SWIG_IsOK(res2)) {
31041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31042 }
31043 arg2 = reinterpret_cast< wxPreviewControlBar * >(argp2);
31044 {
31045 PyThreadState* __tstate = wxPyBeginAllowThreads();
31046 (arg1)->SetControlBar(arg2);
31047 wxPyEndAllowThreads(__tstate);
31048 if (PyErr_Occurred()) SWIG_fail;
31049 }
31050 resultobj = SWIG_Py_Void();
31051 return resultobj;
31052 fail:
31053 return NULL;
31054 }
31055
31056
31057 SWIGINTERN PyObject *_wrap_PyPreviewFrame_Initialize(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31058 PyObject *resultobj = 0;
31059 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31060 void *argp1 = 0 ;
31061 int res1 = 0 ;
31062 PyObject *swig_obj[1] ;
31063
31064 if (!args) SWIG_fail;
31065 swig_obj[0] = args;
31066 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31067 if (!SWIG_IsOK(res1)) {
31068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31069 }
31070 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31071 {
31072 PyThreadState* __tstate = wxPyBeginAllowThreads();
31073 (arg1)->Initialize();
31074 wxPyEndAllowThreads(__tstate);
31075 if (PyErr_Occurred()) SWIG_fail;
31076 }
31077 resultobj = SWIG_Py_Void();
31078 return resultobj;
31079 fail:
31080 return NULL;
31081 }
31082
31083
31084 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateCanvas(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31085 PyObject *resultobj = 0;
31086 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31087 void *argp1 = 0 ;
31088 int res1 = 0 ;
31089 PyObject *swig_obj[1] ;
31090
31091 if (!args) SWIG_fail;
31092 swig_obj[0] = args;
31093 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31094 if (!SWIG_IsOK(res1)) {
31095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31096 }
31097 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31098 {
31099 PyThreadState* __tstate = wxPyBeginAllowThreads();
31100 (arg1)->CreateCanvas();
31101 wxPyEndAllowThreads(__tstate);
31102 if (PyErr_Occurred()) SWIG_fail;
31103 }
31104 resultobj = SWIG_Py_Void();
31105 return resultobj;
31106 fail:
31107 return NULL;
31108 }
31109
31110
31111 SWIGINTERN PyObject *_wrap_PyPreviewFrame_CreateControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31112 PyObject *resultobj = 0;
31113 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
31114 void *argp1 = 0 ;
31115 int res1 = 0 ;
31116 PyObject *swig_obj[1] ;
31117
31118 if (!args) SWIG_fail;
31119 swig_obj[0] = args;
31120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewFrame, 0 | 0 );
31121 if (!SWIG_IsOK(res1)) {
31122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31123 }
31124 arg1 = reinterpret_cast< wxPyPreviewFrame * >(argp1);
31125 {
31126 PyThreadState* __tstate = wxPyBeginAllowThreads();
31127 (arg1)->CreateControlBar();
31128 wxPyEndAllowThreads(__tstate);
31129 if (PyErr_Occurred()) SWIG_fail;
31130 }
31131 resultobj = SWIG_Py_Void();
31132 return resultobj;
31133 fail:
31134 return NULL;
31135 }
31136
31137
31138 SWIGINTERN PyObject *PyPreviewFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31139 PyObject *obj;
31140 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31141 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame, SWIG_NewClientData(obj));
31142 return SWIG_Py_Void();
31143 }
31144
31145 SWIGINTERN PyObject *PyPreviewFrame_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31146 return SWIG_Python_InitShadowInstance(args);
31147 }
31148
31149 SWIGINTERN PyObject *_wrap_new_PyPreviewControlBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31150 PyObject *resultobj = 0;
31151 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
31152 long arg2 ;
31153 wxWindow *arg3 = (wxWindow *) 0 ;
31154 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31155 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31156 wxSize const &arg5_defvalue = wxDefaultSize ;
31157 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31158 long arg6 = (long) 0 ;
31159 wxString const &arg7_defvalue = wxPyPanelNameStr ;
31160 wxString *arg7 = (wxString *) &arg7_defvalue ;
31161 wxPyPreviewControlBar *result = 0 ;
31162 int res1 = 0 ;
31163 long val2 ;
31164 int ecode2 = 0 ;
31165 void *argp3 = 0 ;
31166 int res3 = 0 ;
31167 wxPoint temp4 ;
31168 wxSize temp5 ;
31169 long val6 ;
31170 int ecode6 = 0 ;
31171 bool temp7 = false ;
31172 PyObject * obj0 = 0 ;
31173 PyObject * obj1 = 0 ;
31174 PyObject * obj2 = 0 ;
31175 PyObject * obj3 = 0 ;
31176 PyObject * obj4 = 0 ;
31177 PyObject * obj5 = 0 ;
31178 PyObject * obj6 = 0 ;
31179 char * kwnames[] = {
31180 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31181 };
31182
31183 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
31184 res1 = SWIG_ConvertPtr(obj0, SWIG_as_voidptrptr(&arg1), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31185 if (!SWIG_IsOK(res1)) {
31186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31187 }
31188 ecode2 = SWIG_AsVal_long(obj1, &val2);
31189 if (!SWIG_IsOK(ecode2)) {
31190 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31191 }
31192 arg2 = static_cast< long >(val2);
31193 res3 = SWIG_ConvertPtr(obj2, &argp3,SWIGTYPE_p_wxWindow, 0 | 0 );
31194 if (!SWIG_IsOK(res3)) {
31195 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31196 }
31197 arg3 = reinterpret_cast< wxWindow * >(argp3);
31198 if (obj3) {
31199 {
31200 arg4 = &temp4;
31201 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31202 }
31203 }
31204 if (obj4) {
31205 {
31206 arg5 = &temp5;
31207 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31208 }
31209 }
31210 if (obj5) {
31211 ecode6 = SWIG_AsVal_long(obj5, &val6);
31212 if (!SWIG_IsOK(ecode6)) {
31213 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31214 }
31215 arg6 = static_cast< long >(val6);
31216 }
31217 if (obj6) {
31218 {
31219 arg7 = wxString_in_helper(obj6);
31220 if (arg7 == NULL) SWIG_fail;
31221 temp7 = true;
31222 }
31223 }
31224 {
31225 if (!wxPyCheckForApp()) SWIG_fail;
31226 PyThreadState* __tstate = wxPyBeginAllowThreads();
31227 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
31228 wxPyEndAllowThreads(__tstate);
31229 if (PyErr_Occurred()) SWIG_fail;
31230 }
31231 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyPreviewControlBar, SWIG_POINTER_NEW | 0 );
31232 {
31233 if (temp7)
31234 delete arg7;
31235 }
31236 return resultobj;
31237 fail:
31238 {
31239 if (temp7)
31240 delete arg7;
31241 }
31242 return NULL;
31243 }
31244
31245
31246 SWIGINTERN PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31247 PyObject *resultobj = 0;
31248 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31249 PyObject *arg2 = (PyObject *) 0 ;
31250 PyObject *arg3 = (PyObject *) 0 ;
31251 void *argp1 = 0 ;
31252 int res1 = 0 ;
31253 PyObject * obj0 = 0 ;
31254 PyObject * obj1 = 0 ;
31255 PyObject * obj2 = 0 ;
31256 char * kwnames[] = {
31257 (char *) "self",(char *) "self",(char *) "_class", NULL
31258 };
31259
31260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
31261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31262 if (!SWIG_IsOK(res1)) {
31263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31264 }
31265 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31266 arg2 = obj1;
31267 arg3 = obj2;
31268 {
31269 PyThreadState* __tstate = wxPyBeginAllowThreads();
31270 (arg1)->_setCallbackInfo(arg2,arg3);
31271 wxPyEndAllowThreads(__tstate);
31272 if (PyErr_Occurred()) SWIG_fail;
31273 }
31274 resultobj = SWIG_Py_Void();
31275 return resultobj;
31276 fail:
31277 return NULL;
31278 }
31279
31280
31281 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31282 PyObject *resultobj = 0;
31283 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31284 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
31285 void *argp1 = 0 ;
31286 int res1 = 0 ;
31287 int res2 = 0 ;
31288 PyObject * obj0 = 0 ;
31289 PyObject * obj1 = 0 ;
31290 char * kwnames[] = {
31291 (char *) "self",(char *) "preview", NULL
31292 };
31293
31294 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) SWIG_fail;
31295 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31296 if (!SWIG_IsOK(res1)) {
31297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31298 }
31299 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31300 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxPrintPreview, SWIG_POINTER_DISOWN | 0 );
31301 if (!SWIG_IsOK(res2)) {
31302 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31303 }
31304 {
31305 PyThreadState* __tstate = wxPyBeginAllowThreads();
31306 (arg1)->SetPrintPreview(arg2);
31307 wxPyEndAllowThreads(__tstate);
31308 if (PyErr_Occurred()) SWIG_fail;
31309 }
31310 resultobj = SWIG_Py_Void();
31311 return resultobj;
31312 fail:
31313 return NULL;
31314 }
31315
31316
31317 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_CreateButtons(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31318 PyObject *resultobj = 0;
31319 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31320 void *argp1 = 0 ;
31321 int res1 = 0 ;
31322 PyObject *swig_obj[1] ;
31323
31324 if (!args) SWIG_fail;
31325 swig_obj[0] = args;
31326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31327 if (!SWIG_IsOK(res1)) {
31328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31329 }
31330 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31331 {
31332 PyThreadState* __tstate = wxPyBeginAllowThreads();
31333 (arg1)->CreateButtons();
31334 wxPyEndAllowThreads(__tstate);
31335 if (PyErr_Occurred()) SWIG_fail;
31336 }
31337 resultobj = SWIG_Py_Void();
31338 return resultobj;
31339 fail:
31340 return NULL;
31341 }
31342
31343
31344 SWIGINTERN PyObject *_wrap_PyPreviewControlBar_SetZoomControl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
31345 PyObject *resultobj = 0;
31346 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
31347 int arg2 ;
31348 void *argp1 = 0 ;
31349 int res1 = 0 ;
31350 int val2 ;
31351 int ecode2 = 0 ;
31352 PyObject * obj0 = 0 ;
31353 PyObject * obj1 = 0 ;
31354 char * kwnames[] = {
31355 (char *) "self",(char *) "zoom", NULL
31356 };
31357
31358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) SWIG_fail;
31359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyPreviewControlBar, 0 | 0 );
31360 if (!SWIG_IsOK(res1)) {
31361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31362 }
31363 arg1 = reinterpret_cast< wxPyPreviewControlBar * >(argp1);
31364 ecode2 = SWIG_AsVal_int(obj1, &val2);
31365 if (!SWIG_IsOK(ecode2)) {
31366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31367 }
31368 arg2 = static_cast< int >(val2);
31369 {
31370 PyThreadState* __tstate = wxPyBeginAllowThreads();
31371 (arg1)->SetZoomControl(arg2);
31372 wxPyEndAllowThreads(__tstate);
31373 if (PyErr_Occurred()) SWIG_fail;
31374 }
31375 resultobj = SWIG_Py_Void();
31376 return resultobj;
31377 fail:
31378 return NULL;
31379 }
31380
31381
31382 SWIGINTERN PyObject *PyPreviewControlBar_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31383 PyObject *obj;
31384 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
31385 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar, SWIG_NewClientData(obj));
31386 return SWIG_Py_Void();
31387 }
31388
31389 SWIGINTERN PyObject *PyPreviewControlBar_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
31390 return SWIG_Python_InitShadowInstance(args);
31391 }
31392
31393 static PyMethodDef SwigMethods[] = {
31394 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS, NULL},
31395 { (char *)"new_PrePanel", (PyCFunction)_wrap_new_PrePanel, METH_NOARGS, NULL},
31396 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31397 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction)_wrap_Panel_SetFocusIgnoringChildren, METH_O, NULL},
31398 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction) _wrap_Panel_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31399 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS, NULL},
31400 { (char *)"Panel_swiginit", Panel_swiginit, METH_VARARGS, NULL},
31401 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31402 { (char *)"new_PreScrolledWindow", (PyCFunction)_wrap_new_PreScrolledWindow, METH_NOARGS, NULL},
31403 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31404 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
31405 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS, NULL},
31406 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31407 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS, NULL},
31408 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS, NULL},
31409 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction)_wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_O, NULL},
31410 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS, NULL},
31411 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction)_wrap_ScrolledWindow_GetViewStart, METH_O, NULL},
31412 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
31413 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction)_wrap_ScrolledWindow_GetScaleX, METH_O, NULL},
31414 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction)_wrap_ScrolledWindow_GetScaleY, METH_O, NULL},
31415 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS, NULL},
31416 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS, NULL},
31417 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction)_wrap_ScrolledWindow_AdjustScrollbars, METH_O, NULL},
31418 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS, NULL},
31419 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31420 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction)_wrap_ScrolledWindow_GetTargetWindow, METH_O, NULL},
31421 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction) _wrap_ScrolledWindow_DoPrepareDC, METH_VARARGS | METH_KEYWORDS, NULL},
31422 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrolledWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31423 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS, NULL},
31424 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit, METH_VARARGS, NULL},
31425 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS, NULL},
31426 { (char *)"TopLevelWindow_Restore", (PyCFunction)_wrap_TopLevelWindow_Restore, METH_O, NULL},
31427 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS, NULL},
31428 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction)_wrap_TopLevelWindow_IsMaximized, METH_O, NULL},
31429 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction)_wrap_TopLevelWindow_IsAlwaysMaximized, METH_O, NULL},
31430 { (char *)"TopLevelWindow_IsIconized", (PyCFunction)_wrap_TopLevelWindow_IsIconized, METH_O, NULL},
31431 { (char *)"TopLevelWindow_GetIcon", (PyCFunction)_wrap_TopLevelWindow_GetIcon, METH_O, NULL},
31432 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31433 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS, NULL},
31434 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31435 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction)_wrap_TopLevelWindow_IsFullScreen, METH_O, NULL},
31436 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL},
31437 { (char *)"TopLevelWindow_GetTitle", (PyCFunction)_wrap_TopLevelWindow_GetTitle, METH_O, NULL},
31438 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction) _wrap_TopLevelWindow_EnableCloseButton, METH_VARARGS | METH_KEYWORDS, NULL},
31439 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS, NULL},
31440 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction) _wrap_TopLevelWindow_RequestUserAttention, METH_VARARGS | METH_KEYWORDS, NULL},
31441 { (char *)"TopLevelWindow_IsActive", (PyCFunction)_wrap_TopLevelWindow_IsActive, METH_O, NULL},
31442 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction) _wrap_TopLevelWindow_MacSetMetalAppearance, METH_VARARGS | METH_KEYWORDS, NULL},
31443 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction)_wrap_TopLevelWindow_MacGetMetalAppearance, METH_O, NULL},
31444 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction) _wrap_TopLevelWindow_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31445 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetDefaultItem, METH_O, NULL},
31446 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31447 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction) _wrap_TopLevelWindow_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL},
31448 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction)_wrap_TopLevelWindow_GetTmpDefaultItem, METH_O, NULL},
31449 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS, NULL},
31450 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS, NULL},
31451 { (char *)"new_PreFrame", (PyCFunction)_wrap_new_PreFrame, METH_NOARGS, NULL},
31452 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31453 { (char *)"Frame_SendSizeEvent", (PyCFunction)_wrap_Frame_SendSizeEvent, METH_O, NULL},
31454 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL},
31455 { (char *)"Frame_GetMenuBar", (PyCFunction)_wrap_Frame_GetMenuBar, METH_O, NULL},
31456 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS, NULL},
31457 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31458 { (char *)"Frame_GetStatusBar", (PyCFunction)_wrap_Frame_GetStatusBar, METH_O, NULL},
31459 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31460 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31461 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31462 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31463 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31464 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS, NULL},
31465 { (char *)"Frame_GetStatusBarPane", (PyCFunction)_wrap_Frame_GetStatusBarPane, METH_O, NULL},
31466 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31467 { (char *)"Frame_GetToolBar", (PyCFunction)_wrap_Frame_GetToolBar, METH_O, NULL},
31468 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS, NULL},
31469 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31470 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS, NULL},
31471 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction) _wrap_Frame_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31472 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS, NULL},
31473 { (char *)"Frame_swiginit", Frame_swiginit, METH_VARARGS, NULL},
31474 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS, NULL},
31475 { (char *)"new_PreDialog", (PyCFunction)_wrap_new_PreDialog, METH_NOARGS, NULL},
31476 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31477 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS, NULL},
31478 { (char *)"Dialog_GetReturnCode", (PyCFunction)_wrap_Dialog_GetReturnCode, METH_O, NULL},
31479 { (char *)"Dialog_SetAffirmativeId", (PyCFunction) _wrap_Dialog_SetAffirmativeId, METH_VARARGS | METH_KEYWORDS, NULL},
31480 { (char *)"Dialog_GetAffirmativeId", (PyCFunction)_wrap_Dialog_GetAffirmativeId, METH_O, NULL},
31481 { (char *)"Dialog_SetEscapeId", (PyCFunction) _wrap_Dialog_SetEscapeId, METH_VARARGS | METH_KEYWORDS, NULL},
31482 { (char *)"Dialog_GetEscapeId", (PyCFunction)_wrap_Dialog_GetEscapeId, METH_O, NULL},
31483 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31484 { (char *)"Dialog__CreateButtonSizer", (PyCFunction) _wrap_Dialog__CreateButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31485 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction) _wrap_Dialog_CreateSeparatedButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31486 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction) _wrap_Dialog_CreateStdDialogButtonSizer, METH_VARARGS | METH_KEYWORDS, NULL},
31487 { (char *)"Dialog_IsModal", (PyCFunction)_wrap_Dialog_IsModal, METH_O, NULL},
31488 { (char *)"Dialog_ShowModal", (PyCFunction)_wrap_Dialog_ShowModal, METH_O, NULL},
31489 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS, NULL},
31490 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction) _wrap_Dialog_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31491 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS, NULL},
31492 { (char *)"Dialog_swiginit", Dialog_swiginit, METH_VARARGS, NULL},
31493 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31494 { (char *)"new_PreMiniFrame", (PyCFunction)_wrap_new_PreMiniFrame, METH_NOARGS, NULL},
31495 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31496 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS, NULL},
31497 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit, METH_VARARGS, NULL},
31498 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31499 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
31500 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction)_wrap_SplashScreenWindow_GetBitmap, METH_O, NULL},
31501 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS, NULL},
31502 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit, METH_VARARGS, NULL},
31503 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS, NULL},
31504 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction)_wrap_SplashScreen_GetSplashStyle, METH_O, NULL},
31505 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction)_wrap_SplashScreen_GetSplashWindow, METH_O, NULL},
31506 { (char *)"SplashScreen_GetTimeout", (PyCFunction)_wrap_SplashScreen_GetTimeout, METH_O, NULL},
31507 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS, NULL},
31508 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit, METH_VARARGS, NULL},
31509 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS, NULL},
31510 { (char *)"new_PreStatusBar", (PyCFunction)_wrap_new_PreStatusBar, METH_NOARGS, NULL},
31511 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31512 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS, NULL},
31513 { (char *)"StatusBar_GetFieldsCount", (PyCFunction)_wrap_StatusBar_GetFieldsCount, METH_O, NULL},
31514 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31515 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31516 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31517 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS, NULL},
31518 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS, NULL},
31519 { (char *)"StatusBar_SetStatusStyles", (PyCFunction) _wrap_StatusBar_SetStatusStyles, METH_VARARGS | METH_KEYWORDS, NULL},
31520 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS, NULL},
31521 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31522 { (char *)"StatusBar_GetBorderX", (PyCFunction)_wrap_StatusBar_GetBorderX, METH_O, NULL},
31523 { (char *)"StatusBar_GetBorderY", (PyCFunction)_wrap_StatusBar_GetBorderY, METH_O, NULL},
31524 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction) _wrap_StatusBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31525 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS, NULL},
31526 { (char *)"StatusBar_swiginit", StatusBar_swiginit, METH_VARARGS, NULL},
31527 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31528 { (char *)"new_PreSplitterWindow", (PyCFunction)_wrap_new_PreSplitterWindow, METH_NOARGS, NULL},
31529 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31530 { (char *)"SplitterWindow_GetWindow1", (PyCFunction)_wrap_SplitterWindow_GetWindow1, METH_O, NULL},
31531 { (char *)"SplitterWindow_GetWindow2", (PyCFunction)_wrap_SplitterWindow_GetWindow2, METH_O, NULL},
31532 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS, NULL},
31533 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction)_wrap_SplitterWindow_GetSplitMode, METH_O, NULL},
31534 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS, NULL},
31535 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS, NULL},
31536 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS, NULL},
31537 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS, NULL},
31538 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31539 { (char *)"SplitterWindow_UpdateSize", (PyCFunction)_wrap_SplitterWindow_UpdateSize, METH_O, NULL},
31540 { (char *)"SplitterWindow_IsSplit", (PyCFunction)_wrap_SplitterWindow_IsSplit, METH_O, NULL},
31541 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS, NULL},
31542 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31543 { (char *)"SplitterWindow_GetSashSize", (PyCFunction)_wrap_SplitterWindow_GetSashSize, METH_O, NULL},
31544 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction)_wrap_SplitterWindow_GetBorderSize, METH_O, NULL},
31545 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31546 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction)_wrap_SplitterWindow_GetSashPosition, METH_O, NULL},
31547 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction) _wrap_SplitterWindow_SetSashGravity, METH_VARARGS | METH_KEYWORDS, NULL},
31548 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction)_wrap_SplitterWindow_GetSashGravity, METH_O, NULL},
31549 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS, NULL},
31550 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction)_wrap_SplitterWindow_GetMinimumPaneSize, METH_O, NULL},
31551 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31552 { (char *)"SplitterWindow_SizeWindows", (PyCFunction)_wrap_SplitterWindow_SizeWindows, METH_O, NULL},
31553 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS, NULL},
31554 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction)_wrap_SplitterWindow_GetNeedUpdating, METH_O, NULL},
31555 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction) _wrap_SplitterWindow_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL},
31556 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS, NULL},
31557 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit, METH_VARARGS, NULL},
31558 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31559 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS, NULL},
31560 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction)_wrap_SplitterEvent_GetSashPosition, METH_O, NULL},
31561 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction)_wrap_SplitterEvent_GetWindowBeingRemoved, METH_O, NULL},
31562 { (char *)"SplitterEvent_GetX", (PyCFunction)_wrap_SplitterEvent_GetX, METH_O, NULL},
31563 { (char *)"SplitterEvent_GetY", (PyCFunction)_wrap_SplitterEvent_GetY, METH_O, NULL},
31564 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS, NULL},
31565 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit, METH_VARARGS, NULL},
31566 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31567 { (char *)"new_PreSashWindow", (PyCFunction)_wrap_new_PreSashWindow, METH_NOARGS, NULL},
31568 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31569 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31570 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31571 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31572 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS, NULL},
31573 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS, NULL},
31574 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31575 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction)_wrap_SashWindow_GetDefaultBorderSize, METH_O, NULL},
31576 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS, NULL},
31577 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction)_wrap_SashWindow_GetExtraBorderSize, METH_O, NULL},
31578 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31579 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31580 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction)_wrap_SashWindow_GetMinimumSizeX, METH_O, NULL},
31581 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction)_wrap_SashWindow_GetMinimumSizeY, METH_O, NULL},
31582 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS, NULL},
31583 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS, NULL},
31584 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction)_wrap_SashWindow_GetMaximumSizeX, METH_O, NULL},
31585 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction)_wrap_SashWindow_GetMaximumSizeY, METH_O, NULL},
31586 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31587 { (char *)"SashWindow_SizeWindows", (PyCFunction)_wrap_SashWindow_SizeWindows, METH_O, NULL},
31588 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS, NULL},
31589 { (char *)"SashWindow_swiginit", SashWindow_swiginit, METH_VARARGS, NULL},
31590 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31591 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL},
31592 { (char *)"SashEvent_GetEdge", (PyCFunction)_wrap_SashEvent_GetEdge, METH_O, NULL},
31593 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS, NULL},
31594 { (char *)"SashEvent_GetDragRect", (PyCFunction)_wrap_SashEvent_GetDragRect, METH_O, NULL},
31595 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS, NULL},
31596 { (char *)"SashEvent_GetDragStatus", (PyCFunction)_wrap_SashEvent_GetDragStatus, METH_O, NULL},
31597 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS, NULL},
31598 { (char *)"SashEvent_swiginit", SashEvent_swiginit, METH_VARARGS, NULL},
31599 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31600 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS, NULL},
31601 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_O, NULL},
31602 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31603 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetFlags, METH_O, NULL},
31604 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31605 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetSize, METH_O, NULL},
31606 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31607 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetOrientation, METH_O, NULL},
31608 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31609 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction)_wrap_QueryLayoutInfoEvent_GetAlignment, METH_O, NULL},
31610 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS, NULL},
31611 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit, METH_VARARGS, NULL},
31612 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31613 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31614 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction)_wrap_CalculateLayoutEvent_GetFlags, METH_O, NULL},
31615 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL},
31616 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction)_wrap_CalculateLayoutEvent_GetRect, METH_O, NULL},
31617 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS, NULL},
31618 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit, METH_VARARGS, NULL},
31619 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31620 { (char *)"new_PreSashLayoutWindow", (PyCFunction)_wrap_new_PreSashLayoutWindow, METH_NOARGS, NULL},
31621 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31622 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction)_wrap_SashLayoutWindow_GetAlignment, METH_O, NULL},
31623 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction)_wrap_SashLayoutWindow_GetOrientation, METH_O, NULL},
31624 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
31625 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS, NULL},
31626 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31627 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS, NULL},
31628 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit, METH_VARARGS, NULL},
31629 { (char *)"new_LayoutAlgorithm", (PyCFunction)_wrap_new_LayoutAlgorithm, METH_NOARGS, NULL},
31630 { (char *)"delete_LayoutAlgorithm", (PyCFunction)_wrap_delete_LayoutAlgorithm, METH_O, NULL},
31631 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31632 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31633 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31634 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS, NULL},
31635 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit, METH_VARARGS, NULL},
31636 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31637 { (char *)"new_PrePopupWindow", (PyCFunction)_wrap_new_PrePopupWindow, METH_NOARGS, NULL},
31638 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31639 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS, NULL},
31640 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS, NULL},
31641 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit, METH_VARARGS, NULL},
31642 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31643 { (char *)"new_PrePopupTransientWindow", (PyCFunction)_wrap_new_PrePopupTransientWindow, METH_NOARGS, NULL},
31644 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31645 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS, NULL},
31646 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction)_wrap_PopupTransientWindow_Dismiss, METH_O, NULL},
31647 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS, NULL},
31648 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit, METH_VARARGS, NULL},
31649 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31650 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
31651 { (char *)"TipWindow_Close", (PyCFunction)_wrap_TipWindow_Close, METH_O, NULL},
31652 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS, NULL},
31653 { (char *)"TipWindow_swiginit", TipWindow_swiginit, METH_VARARGS, NULL},
31654 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31655 { (char *)"new_PreVScrolledWindow", (PyCFunction)_wrap_new_PreVScrolledWindow, METH_NOARGS, NULL},
31656 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31657 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31658 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS, NULL},
31659 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
31660 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS, NULL},
31661 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS, NULL},
31662 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction) _wrap_VScrolledWindow_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL},
31663 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
31664 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction)_wrap_VScrolledWindow_RefreshAll, METH_O, NULL},
31665 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction)_wrap_VScrolledWindow_GetLineCount, METH_O, NULL},
31666 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction)_wrap_VScrolledWindow_GetVisibleBegin, METH_O, NULL},
31667 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction)_wrap_VScrolledWindow_GetVisibleEnd, METH_O, NULL},
31668 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
31669 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetFirstVisibleLine, METH_O, NULL},
31670 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction)_wrap_VScrolledWindow_GetLastVisibleLine, METH_O, NULL},
31671 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction) _wrap_VScrolledWindow_FindFirstFromBottom, METH_VARARGS | METH_KEYWORDS, NULL},
31672 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction) _wrap_VScrolledWindow_GetLinesHeight, METH_VARARGS | METH_KEYWORDS, NULL},
31673 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS, NULL},
31674 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit, METH_VARARGS, NULL},
31675 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31676 { (char *)"new_PreVListBox", (PyCFunction)_wrap_new_PreVListBox, METH_NOARGS, NULL},
31677 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31678 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31679 { (char *)"VListBox_GetItemCount", (PyCFunction)_wrap_VListBox_GetItemCount, METH_O, NULL},
31680 { (char *)"VListBox_HasMultipleSelection", (PyCFunction)_wrap_VListBox_HasMultipleSelection, METH_O, NULL},
31681 { (char *)"VListBox_GetSelection", (PyCFunction)_wrap_VListBox_GetSelection, METH_O, NULL},
31682 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS, NULL},
31683 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31684 { (char *)"VListBox_GetSelectedCount", (PyCFunction)_wrap_VListBox_GetSelectedCount, METH_O, NULL},
31685 { (char *)"VListBox_GetFirstSelected", (PyCFunction)_wrap_VListBox_GetFirstSelected, METH_O, NULL},
31686 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS, NULL},
31687 { (char *)"VListBox_GetMargins", (PyCFunction)_wrap_VListBox_GetMargins, METH_O, NULL},
31688 { (char *)"VListBox_GetSelectionBackground", (PyCFunction)_wrap_VListBox_GetSelectionBackground, METH_O, NULL},
31689 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31690 { (char *)"VListBox_Clear", (PyCFunction)_wrap_VListBox_Clear, METH_O, NULL},
31691 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31692 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS, NULL},
31693 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS, NULL},
31694 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
31695 { (char *)"VListBox_SelectAll", (PyCFunction)_wrap_VListBox_SelectAll, METH_O, NULL},
31696 { (char *)"VListBox_DeselectAll", (PyCFunction)_wrap_VListBox_DeselectAll, METH_O, NULL},
31697 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31698 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS, NULL},
31699 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31700 { (char *)"VListBox_OnDrawSeparator", (PyCFunction) _wrap_VListBox_OnDrawSeparator, METH_VARARGS | METH_KEYWORDS, NULL},
31701 { (char *)"VListBox_OnDrawBackground", (PyCFunction) _wrap_VListBox_OnDrawBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31702 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS, NULL},
31703 { (char *)"VListBox_swiginit", VListBox_swiginit, METH_VARARGS, NULL},
31704 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS, NULL},
31705 { (char *)"new_PreHtmlListBox", (PyCFunction)_wrap_new_PreHtmlListBox, METH_NOARGS, NULL},
31706 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31707 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31708 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS, NULL},
31709 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction)_wrap_HtmlListBox_GetFileSystem, METH_O, NULL},
31710 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction) _wrap_HtmlListBox_OnLinkClicked, METH_VARARGS | METH_KEYWORDS, NULL},
31711 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS, NULL},
31712 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit, METH_VARARGS, NULL},
31713 { (char *)"new_TaskBarIcon", (PyCFunction)_wrap_new_TaskBarIcon, METH_NOARGS, NULL},
31714 { (char *)"delete_TaskBarIcon", (PyCFunction)_wrap_delete_TaskBarIcon, METH_O, NULL},
31715 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction) _wrap_TaskBarIcon__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31716 { (char *)"TaskBarIcon_Destroy", (PyCFunction)_wrap_TaskBarIcon_Destroy, METH_O, NULL},
31717 { (char *)"TaskBarIcon_IsOk", (PyCFunction)_wrap_TaskBarIcon_IsOk, METH_O, NULL},
31718 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction)_wrap_TaskBarIcon_IsIconInstalled, METH_O, NULL},
31719 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
31720 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction)_wrap_TaskBarIcon_RemoveIcon, METH_O, NULL},
31721 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL},
31722 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS, NULL},
31723 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit, METH_VARARGS, NULL},
31724 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31725 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS, NULL},
31726 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit, METH_VARARGS, NULL},
31727 { (char *)"new_ColourData", (PyCFunction)_wrap_new_ColourData, METH_NOARGS, NULL},
31728 { (char *)"delete_ColourData", (PyCFunction)_wrap_delete_ColourData, METH_O, NULL},
31729 { (char *)"ColourData_GetChooseFull", (PyCFunction)_wrap_ColourData_GetChooseFull, METH_O, NULL},
31730 { (char *)"ColourData_GetColour", (PyCFunction)_wrap_ColourData_GetColour, METH_O, NULL},
31731 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31732 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS, NULL},
31733 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31734 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS, NULL},
31735 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS, NULL},
31736 { (char *)"ColourData_swiginit", ColourData_swiginit, METH_VARARGS, NULL},
31737 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31738 { (char *)"ColourDialog_GetColourData", (PyCFunction)_wrap_ColourDialog_GetColourData, METH_O, NULL},
31739 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS, NULL},
31740 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit, METH_VARARGS, NULL},
31741 { (char *)"GetColourFromUser", (PyCFunction) _wrap_GetColourFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31742 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31743 { (char *)"DirDialog_GetPath", (PyCFunction)_wrap_DirDialog_GetPath, METH_O, NULL},
31744 { (char *)"DirDialog_GetMessage", (PyCFunction)_wrap_DirDialog_GetMessage, METH_O, NULL},
31745 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31746 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31747 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS, NULL},
31748 { (char *)"DirDialog_swiginit", DirDialog_swiginit, METH_VARARGS, NULL},
31749 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31750 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS, NULL},
31751 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS, NULL},
31752 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS, NULL},
31753 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31754 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS, NULL},
31755 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS, NULL},
31756 { (char *)"FileDialog_GetMessage", (PyCFunction)_wrap_FileDialog_GetMessage, METH_O, NULL},
31757 { (char *)"FileDialog_GetPath", (PyCFunction)_wrap_FileDialog_GetPath, METH_O, NULL},
31758 { (char *)"FileDialog_GetDirectory", (PyCFunction)_wrap_FileDialog_GetDirectory, METH_O, NULL},
31759 { (char *)"FileDialog_GetFilename", (PyCFunction)_wrap_FileDialog_GetFilename, METH_O, NULL},
31760 { (char *)"FileDialog_GetWildcard", (PyCFunction)_wrap_FileDialog_GetWildcard, METH_O, NULL},
31761 { (char *)"FileDialog_GetFilterIndex", (PyCFunction)_wrap_FileDialog_GetFilterIndex, METH_O, NULL},
31762 { (char *)"FileDialog_GetFilenames", (PyCFunction)_wrap_FileDialog_GetFilenames, METH_O, NULL},
31763 { (char *)"FileDialog_GetPaths", (PyCFunction)_wrap_FileDialog_GetPaths, METH_O, NULL},
31764 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS, NULL},
31765 { (char *)"FileDialog_swiginit", FileDialog_swiginit, METH_VARARGS, NULL},
31766 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31767 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
31768 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction)_wrap_MultiChoiceDialog_GetSelections, METH_O, NULL},
31769 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS, NULL},
31770 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit, METH_VARARGS, NULL},
31771 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31772 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetSelection, METH_O, NULL},
31773 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction)_wrap_SingleChoiceDialog_GetStringSelection, METH_O, NULL},
31774 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
31775 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS, NULL},
31776 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit, METH_VARARGS, NULL},
31777 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31778 { (char *)"TextEntryDialog_GetValue", (PyCFunction)_wrap_TextEntryDialog_GetValue, METH_O, NULL},
31779 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
31780 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS, NULL},
31781 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit, METH_VARARGS, NULL},
31782 { (char *)"new_PasswordEntryDialog", (PyCFunction) _wrap_new_PasswordEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31783 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister, METH_VARARGS, NULL},
31784 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit, METH_VARARGS, NULL},
31785 { (char *)"new_NumberEntryDialog", (PyCFunction) _wrap_new_NumberEntryDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31786 { (char *)"NumberEntryDialog_GetValue", (PyCFunction)_wrap_NumberEntryDialog_GetValue, METH_O, NULL},
31787 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister, METH_VARARGS, NULL},
31788 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit, METH_VARARGS, NULL},
31789 { (char *)"new_FontData", (PyCFunction)_wrap_new_FontData, METH_NOARGS, NULL},
31790 { (char *)"delete_FontData", (PyCFunction)_wrap_delete_FontData, METH_O, NULL},
31791 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS, NULL},
31792 { (char *)"FontData_GetAllowSymbols", (PyCFunction)_wrap_FontData_GetAllowSymbols, METH_O, NULL},
31793 { (char *)"FontData_GetColour", (PyCFunction)_wrap_FontData_GetColour, METH_O, NULL},
31794 { (char *)"FontData_GetChosenFont", (PyCFunction)_wrap_FontData_GetChosenFont, METH_O, NULL},
31795 { (char *)"FontData_GetEnableEffects", (PyCFunction)_wrap_FontData_GetEnableEffects, METH_O, NULL},
31796 { (char *)"FontData_GetInitialFont", (PyCFunction)_wrap_FontData_GetInitialFont, METH_O, NULL},
31797 { (char *)"FontData_GetShowHelp", (PyCFunction)_wrap_FontData_GetShowHelp, METH_O, NULL},
31798 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS, NULL},
31799 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS, NULL},
31800 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31801 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS, NULL},
31802 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS, NULL},
31803 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31804 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS, NULL},
31805 { (char *)"FontData_swiginit", FontData_swiginit, METH_VARARGS, NULL},
31806 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31807 { (char *)"FontDialog_GetFontData", (PyCFunction)_wrap_FontDialog_GetFontData, METH_O, NULL},
31808 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS, NULL},
31809 { (char *)"FontDialog_swiginit", FontDialog_swiginit, METH_VARARGS, NULL},
31810 { (char *)"GetFontFromUser", (PyCFunction) _wrap_GetFontFromUser, METH_VARARGS | METH_KEYWORDS, NULL},
31811 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31812 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS, NULL},
31813 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit, METH_VARARGS, NULL},
31814 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31815 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS, NULL},
31816 { (char *)"ProgressDialog_Pulse", (PyCFunction) _wrap_ProgressDialog_Pulse, METH_VARARGS | METH_KEYWORDS, NULL},
31817 { (char *)"ProgressDialog_Resume", (PyCFunction)_wrap_ProgressDialog_Resume, METH_O, NULL},
31818 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS, NULL},
31819 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit, METH_VARARGS, NULL},
31820 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL},
31821 { (char *)"FindDialogEvent_GetFlags", (PyCFunction)_wrap_FindDialogEvent_GetFlags, METH_O, NULL},
31822 { (char *)"FindDialogEvent_GetFindString", (PyCFunction)_wrap_FindDialogEvent_GetFindString, METH_O, NULL},
31823 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction)_wrap_FindDialogEvent_GetReplaceString, METH_O, NULL},
31824 { (char *)"FindDialogEvent_GetDialog", (PyCFunction)_wrap_FindDialogEvent_GetDialog, METH_O, NULL},
31825 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31826 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31827 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31828 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS, NULL},
31829 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit, METH_VARARGS, NULL},
31830 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS, NULL},
31831 { (char *)"delete_FindReplaceData", (PyCFunction)_wrap_delete_FindReplaceData, METH_O, NULL},
31832 { (char *)"FindReplaceData_GetFindString", (PyCFunction)_wrap_FindReplaceData_GetFindString, METH_O, NULL},
31833 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction)_wrap_FindReplaceData_GetReplaceString, METH_O, NULL},
31834 { (char *)"FindReplaceData_GetFlags", (PyCFunction)_wrap_FindReplaceData_GetFlags, METH_O, NULL},
31835 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL},
31836 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS, NULL},
31837 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS, NULL},
31838 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS, NULL},
31839 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit, METH_VARARGS, NULL},
31840 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31841 { (char *)"new_PreFindReplaceDialog", (PyCFunction)_wrap_new_PreFindReplaceDialog, METH_NOARGS, NULL},
31842 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31843 { (char *)"FindReplaceDialog_GetData", (PyCFunction)_wrap_FindReplaceDialog_GetData, METH_O, NULL},
31844 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS, NULL},
31845 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS, NULL},
31846 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit, METH_VARARGS, NULL},
31847 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31848 { (char *)"new_PreMDIParentFrame", (PyCFunction)_wrap_new_PreMDIParentFrame, METH_NOARGS, NULL},
31849 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31850 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction)_wrap_MDIParentFrame_ActivateNext, METH_O, NULL},
31851 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction)_wrap_MDIParentFrame_ActivatePrevious, METH_O, NULL},
31852 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction)_wrap_MDIParentFrame_ArrangeIcons, METH_O, NULL},
31853 { (char *)"MDIParentFrame_Cascade", (PyCFunction)_wrap_MDIParentFrame_Cascade, METH_O, NULL},
31854 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction)_wrap_MDIParentFrame_GetActiveChild, METH_O, NULL},
31855 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction)_wrap_MDIParentFrame_GetClientWindow, METH_O, NULL},
31856 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS, NULL},
31857 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS, NULL},
31858 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit, METH_VARARGS, NULL},
31859 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS, NULL},
31860 { (char *)"new_PreMDIChildFrame", (PyCFunction)_wrap_new_PreMDIChildFrame, METH_NOARGS, NULL},
31861 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31862 { (char *)"MDIChildFrame_Activate", (PyCFunction)_wrap_MDIChildFrame_Activate, METH_O, NULL},
31863 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS, NULL},
31864 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit, METH_VARARGS, NULL},
31865 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31866 { (char *)"new_PreMDIClientWindow", (PyCFunction)_wrap_new_PreMDIClientWindow, METH_NOARGS, NULL},
31867 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
31868 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS, NULL},
31869 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit, METH_VARARGS, NULL},
31870 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31871 { (char *)"new_PrePyWindow", (PyCFunction)_wrap_new_PrePyWindow, METH_NOARGS, NULL},
31872 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31873 { (char *)"PyWindow_DoEraseBackground", (PyCFunction) _wrap_PyWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31874 { (char *)"PyWindow_DoMoveWindow", (PyCFunction) _wrap_PyWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31875 { (char *)"PyWindow_DoSetSize", (PyCFunction) _wrap_PyWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31876 { (char *)"PyWindow_DoSetClientSize", (PyCFunction) _wrap_PyWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31877 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31878 { (char *)"PyWindow_DoGetSize", (PyCFunction)_wrap_PyWindow_DoGetSize, METH_O, NULL},
31879 { (char *)"PyWindow_DoGetClientSize", (PyCFunction)_wrap_PyWindow_DoGetClientSize, METH_O, NULL},
31880 { (char *)"PyWindow_DoGetPosition", (PyCFunction)_wrap_PyWindow_DoGetPosition, METH_O, NULL},
31881 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyWindow_DoGetVirtualSize, METH_O, NULL},
31882 { (char *)"PyWindow_DoGetBestSize", (PyCFunction)_wrap_PyWindow_DoGetBestSize, METH_O, NULL},
31883 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyWindow_GetDefaultAttributes, METH_O, NULL},
31884 { (char *)"PyWindow_OnInternalIdle", (PyCFunction)_wrap_PyWindow_OnInternalIdle, METH_O, NULL},
31885 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS, NULL},
31886 { (char *)"PyWindow_swiginit", PyWindow_swiginit, METH_VARARGS, NULL},
31887 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS, NULL},
31888 { (char *)"new_PrePyPanel", (PyCFunction)_wrap_new_PrePyPanel, METH_NOARGS, NULL},
31889 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31890 { (char *)"PyPanel_DoEraseBackground", (PyCFunction) _wrap_PyPanel_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31891 { (char *)"PyPanel_DoMoveWindow", (PyCFunction) _wrap_PyPanel_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31892 { (char *)"PyPanel_DoSetSize", (PyCFunction) _wrap_PyPanel_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31893 { (char *)"PyPanel_DoSetClientSize", (PyCFunction) _wrap_PyPanel_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31894 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31895 { (char *)"PyPanel_DoGetSize", (PyCFunction)_wrap_PyPanel_DoGetSize, METH_O, NULL},
31896 { (char *)"PyPanel_DoGetClientSize", (PyCFunction)_wrap_PyPanel_DoGetClientSize, METH_O, NULL},
31897 { (char *)"PyPanel_DoGetPosition", (PyCFunction)_wrap_PyPanel_DoGetPosition, METH_O, NULL},
31898 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction)_wrap_PyPanel_DoGetVirtualSize, METH_O, NULL},
31899 { (char *)"PyPanel_DoGetBestSize", (PyCFunction)_wrap_PyPanel_DoGetBestSize, METH_O, NULL},
31900 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction)_wrap_PyPanel_GetDefaultAttributes, METH_O, NULL},
31901 { (char *)"PyPanel_OnInternalIdle", (PyCFunction)_wrap_PyPanel_OnInternalIdle, METH_O, NULL},
31902 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS, NULL},
31903 { (char *)"PyPanel_swiginit", PyPanel_swiginit, METH_VARARGS, NULL},
31904 { (char *)"new_PyScrolledWindow", (PyCFunction) _wrap_new_PyScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31905 { (char *)"new_PrePyScrolledWindow", (PyCFunction)_wrap_new_PrePyScrolledWindow, METH_NOARGS, NULL},
31906 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_PyScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31907 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction) _wrap_PyScrolledWindow_DoEraseBackground, METH_VARARGS | METH_KEYWORDS, NULL},
31908 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction) _wrap_PyScrolledWindow_DoMoveWindow, METH_VARARGS | METH_KEYWORDS, NULL},
31909 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetSize, METH_VARARGS | METH_KEYWORDS, NULL},
31910 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetClientSize, METH_VARARGS | METH_KEYWORDS, NULL},
31911 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction) _wrap_PyScrolledWindow_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL},
31912 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetSize, METH_O, NULL},
31913 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetClientSize, METH_O, NULL},
31914 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction)_wrap_PyScrolledWindow_DoGetPosition, METH_O, NULL},
31915 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetVirtualSize, METH_O, NULL},
31916 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction)_wrap_PyScrolledWindow_DoGetBestSize, METH_O, NULL},
31917 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction)_wrap_PyScrolledWindow_GetDefaultAttributes, METH_O, NULL},
31918 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction)_wrap_PyScrolledWindow_OnInternalIdle, METH_O, NULL},
31919 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister, METH_VARARGS, NULL},
31920 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit, METH_VARARGS, NULL},
31921 { (char *)"new_PrintData", _wrap_new_PrintData, METH_VARARGS, NULL},
31922 { (char *)"delete_PrintData", (PyCFunction)_wrap_delete_PrintData, METH_O, NULL},
31923 { (char *)"PrintData_GetNoCopies", (PyCFunction)_wrap_PrintData_GetNoCopies, METH_O, NULL},
31924 { (char *)"PrintData_GetCollate", (PyCFunction)_wrap_PrintData_GetCollate, METH_O, NULL},
31925 { (char *)"PrintData_GetOrientation", (PyCFunction)_wrap_PrintData_GetOrientation, METH_O, NULL},
31926 { (char *)"PrintData_IsOk", (PyCFunction)_wrap_PrintData_IsOk, METH_O, NULL},
31927 { (char *)"PrintData_GetPrinterName", (PyCFunction)_wrap_PrintData_GetPrinterName, METH_O, NULL},
31928 { (char *)"PrintData_GetColour", (PyCFunction)_wrap_PrintData_GetColour, METH_O, NULL},
31929 { (char *)"PrintData_GetDuplex", (PyCFunction)_wrap_PrintData_GetDuplex, METH_O, NULL},
31930 { (char *)"PrintData_GetPaperId", (PyCFunction)_wrap_PrintData_GetPaperId, METH_O, NULL},
31931 { (char *)"PrintData_GetPaperSize", (PyCFunction)_wrap_PrintData_GetPaperSize, METH_O, NULL},
31932 { (char *)"PrintData_GetQuality", (PyCFunction)_wrap_PrintData_GetQuality, METH_O, NULL},
31933 { (char *)"PrintData_GetBin", (PyCFunction)_wrap_PrintData_GetBin, METH_O, NULL},
31934 { (char *)"PrintData_GetPrintMode", (PyCFunction)_wrap_PrintData_GetPrintMode, METH_O, NULL},
31935 { (char *)"PrintData_GetMedia", (PyCFunction)_wrap_PrintData_GetMedia, METH_O, NULL},
31936 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
31937 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
31938 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31939 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS, NULL},
31940 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS, NULL},
31941 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS, NULL},
31942 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31943 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31944 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS, NULL},
31945 { (char *)"PrintData_SetBin", (PyCFunction) _wrap_PrintData_SetBin, METH_VARARGS | METH_KEYWORDS, NULL},
31946 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL},
31947 { (char *)"PrintData_SetMedia", (PyCFunction) _wrap_PrintData_SetMedia, METH_VARARGS | METH_KEYWORDS, NULL},
31948 { (char *)"PrintData_GetFilename", (PyCFunction)_wrap_PrintData_GetFilename, METH_O, NULL},
31949 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS, NULL},
31950 { (char *)"PrintData_GetPrivData", (PyCFunction)_wrap_PrintData_GetPrivData, METH_O, NULL},
31951 { (char *)"PrintData_SetPrivData", (PyCFunction) _wrap_PrintData_SetPrivData, METH_VARARGS | METH_KEYWORDS, NULL},
31952 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS, NULL},
31953 { (char *)"PrintData_swiginit", PrintData_swiginit, METH_VARARGS, NULL},
31954 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData, METH_VARARGS, NULL},
31955 { (char *)"delete_PageSetupDialogData", (PyCFunction)_wrap_delete_PageSetupDialogData, METH_O, NULL},
31956 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
31957 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31958 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS, NULL},
31959 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS, NULL},
31960 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS, NULL},
31961 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultMinMargins, METH_O, NULL},
31962 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction)_wrap_PageSetupDialogData_GetEnableMargins, METH_O, NULL},
31963 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction)_wrap_PageSetupDialogData_GetEnableOrientation, METH_O, NULL},
31964 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePaper, METH_O, NULL},
31965 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction)_wrap_PageSetupDialogData_GetEnablePrinter, METH_O, NULL},
31966 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction)_wrap_PageSetupDialogData_GetEnableHelp, METH_O, NULL},
31967 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction)_wrap_PageSetupDialogData_GetDefaultInfo, METH_O, NULL},
31968 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMarginTopLeft, METH_O, NULL},
31969 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMarginBottomRight, METH_O, NULL},
31970 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_O, NULL},
31971 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction)_wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_O, NULL},
31972 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction)_wrap_PageSetupDialogData_GetPaperId, METH_O, NULL},
31973 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction)_wrap_PageSetupDialogData_GetPaperSize, METH_O, NULL},
31974 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction)_wrap_PageSetupDialogData_GetPrintData, METH_O, NULL},
31975 { (char *)"PageSetupDialogData_IsOk", (PyCFunction)_wrap_PageSetupDialogData_IsOk, METH_O, NULL},
31976 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS, NULL},
31977 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS, NULL},
31978 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31979 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31980 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS, NULL},
31981 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS, NULL},
31982 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS, NULL},
31983 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS, NULL},
31984 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
31985 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction)_wrap_PageSetupDialogData_CalculateIdFromPaperSize, METH_O, NULL},
31986 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction)_wrap_PageSetupDialogData_CalculatePaperSizeFromId, METH_O, NULL},
31987 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS, NULL},
31988 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit, METH_VARARGS, NULL},
31989 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS, NULL},
31990 { (char *)"delete_PageSetupDialog", (PyCFunction)_wrap_delete_PageSetupDialog, METH_O, NULL},
31991 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupData, METH_O, NULL},
31992 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction)_wrap_PageSetupDialog_GetPageSetupDialogData, METH_O, NULL},
31993 { (char *)"PageSetupDialog_ShowModal", (PyCFunction)_wrap_PageSetupDialog_ShowModal, METH_O, NULL},
31994 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS, NULL},
31995 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit, METH_VARARGS, NULL},
31996 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData, METH_VARARGS, NULL},
31997 { (char *)"delete_PrintDialogData", (PyCFunction)_wrap_delete_PrintDialogData, METH_O, NULL},
31998 { (char *)"PrintDialogData_GetFromPage", (PyCFunction)_wrap_PrintDialogData_GetFromPage, METH_O, NULL},
31999 { (char *)"PrintDialogData_GetToPage", (PyCFunction)_wrap_PrintDialogData_GetToPage, METH_O, NULL},
32000 { (char *)"PrintDialogData_GetMinPage", (PyCFunction)_wrap_PrintDialogData_GetMinPage, METH_O, NULL},
32001 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction)_wrap_PrintDialogData_GetMaxPage, METH_O, NULL},
32002 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction)_wrap_PrintDialogData_GetNoCopies, METH_O, NULL},
32003 { (char *)"PrintDialogData_GetAllPages", (PyCFunction)_wrap_PrintDialogData_GetAllPages, METH_O, NULL},
32004 { (char *)"PrintDialogData_GetSelection", (PyCFunction)_wrap_PrintDialogData_GetSelection, METH_O, NULL},
32005 { (char *)"PrintDialogData_GetCollate", (PyCFunction)_wrap_PrintDialogData_GetCollate, METH_O, NULL},
32006 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction)_wrap_PrintDialogData_GetPrintToFile, METH_O, NULL},
32007 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS, NULL},
32008 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32009 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS, NULL},
32010 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS, NULL},
32011 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS, NULL},
32012 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS, NULL},
32013 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32014 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS, NULL},
32015 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32016 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS, NULL},
32017 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS, NULL},
32018 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS, NULL},
32019 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS, NULL},
32020 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction)_wrap_PrintDialogData_GetEnablePrintToFile, METH_O, NULL},
32021 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction)_wrap_PrintDialogData_GetEnableSelection, METH_O, NULL},
32022 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction)_wrap_PrintDialogData_GetEnablePageNumbers, METH_O, NULL},
32023 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction)_wrap_PrintDialogData_GetEnableHelp, METH_O, NULL},
32024 { (char *)"PrintDialogData_IsOk", (PyCFunction)_wrap_PrintDialogData_IsOk, METH_O, NULL},
32025 { (char *)"PrintDialogData_GetPrintData", (PyCFunction)_wrap_PrintDialogData_GetPrintData, METH_O, NULL},
32026 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS, NULL},
32027 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS, NULL},
32028 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit, METH_VARARGS, NULL},
32029 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32030 { (char *)"delete_PrintDialog", (PyCFunction)_wrap_delete_PrintDialog, METH_O, NULL},
32031 { (char *)"PrintDialog_ShowModal", (PyCFunction)_wrap_PrintDialog_ShowModal, METH_O, NULL},
32032 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction)_wrap_PrintDialog_GetPrintDialogData, METH_O, NULL},
32033 { (char *)"PrintDialog_GetPrintData", (PyCFunction)_wrap_PrintDialog_GetPrintData, METH_O, NULL},
32034 { (char *)"PrintDialog_GetPrintDC", (PyCFunction)_wrap_PrintDialog_GetPrintDC, METH_O, NULL},
32035 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS, NULL},
32036 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit, METH_VARARGS, NULL},
32037 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS, NULL},
32038 { (char *)"delete_Printer", (PyCFunction)_wrap_delete_Printer, METH_O, NULL},
32039 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS, NULL},
32040 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS, NULL},
32041 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS, NULL},
32042 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32043 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS, NULL},
32044 { (char *)"Printer_GetPrintDialogData", (PyCFunction)_wrap_Printer_GetPrintDialogData, METH_O, NULL},
32045 { (char *)"Printer_GetAbort", (PyCFunction)_wrap_Printer_GetAbort, METH_O, NULL},
32046 { (char *)"Printer_GetLastError", (PyCFunction)_wrap_Printer_GetLastError, METH_NOARGS, NULL},
32047 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS, NULL},
32048 { (char *)"Printer_swiginit", Printer_swiginit, METH_VARARGS, NULL},
32049 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS, NULL},
32050 { (char *)"delete_Printout", (PyCFunction)_wrap_delete_Printout, METH_O, NULL},
32051 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32052 { (char *)"Printout_GetTitle", (PyCFunction)_wrap_Printout_GetTitle, METH_O, NULL},
32053 { (char *)"Printout_GetDC", (PyCFunction)_wrap_Printout_GetDC, METH_O, NULL},
32054 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS, NULL},
32055 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction) _wrap_Printout_FitThisSizeToPaper, METH_VARARGS | METH_KEYWORDS, NULL},
32056 { (char *)"Printout_FitThisSizeToPage", (PyCFunction) _wrap_Printout_FitThisSizeToPage, METH_VARARGS | METH_KEYWORDS, NULL},
32057 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction) _wrap_Printout_FitThisSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32058 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction)_wrap_Printout_MapScreenSizeToPaper, METH_O, NULL},
32059 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction)_wrap_Printout_MapScreenSizeToPage, METH_O, NULL},
32060 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction) _wrap_Printout_MapScreenSizeToPageMargins, METH_VARARGS | METH_KEYWORDS, NULL},
32061 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction)_wrap_Printout_MapScreenSizeToDevice, METH_O, NULL},
32062 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction)_wrap_Printout_GetLogicalPaperRect, METH_O, NULL},
32063 { (char *)"Printout_GetLogicalPageRect", (PyCFunction)_wrap_Printout_GetLogicalPageRect, METH_O, NULL},
32064 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction) _wrap_Printout_GetLogicalPageMarginsRect, METH_VARARGS | METH_KEYWORDS, NULL},
32065 { (char *)"Printout_SetLogicalOrigin", (PyCFunction) _wrap_Printout_SetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32066 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction) _wrap_Printout_OffsetLogicalOrigin, METH_VARARGS | METH_KEYWORDS, NULL},
32067 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS, NULL},
32068 { (char *)"Printout_GetPageSizePixels", (PyCFunction)_wrap_Printout_GetPageSizePixels, METH_O, NULL},
32069 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS, NULL},
32070 { (char *)"Printout_GetPageSizeMM", (PyCFunction)_wrap_Printout_GetPageSizeMM, METH_O, NULL},
32071 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS, NULL},
32072 { (char *)"Printout_GetPPIScreen", (PyCFunction)_wrap_Printout_GetPPIScreen, METH_O, NULL},
32073 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS, NULL},
32074 { (char *)"Printout_GetPPIPrinter", (PyCFunction)_wrap_Printout_GetPPIPrinter, METH_O, NULL},
32075 { (char *)"Printout_SetPaperRectPixels", (PyCFunction) _wrap_Printout_SetPaperRectPixels, METH_VARARGS | METH_KEYWORDS, NULL},
32076 { (char *)"Printout_GetPaperRectPixels", (PyCFunction)_wrap_Printout_GetPaperRectPixels, METH_O, NULL},
32077 { (char *)"Printout_IsPreview", (PyCFunction)_wrap_Printout_IsPreview, METH_O, NULL},
32078 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32079 { (char *)"Printout_OnBeginDocument", (PyCFunction) _wrap_Printout_OnBeginDocument, METH_VARARGS | METH_KEYWORDS, NULL},
32080 { (char *)"Printout_OnEndDocument", (PyCFunction)_wrap_Printout_OnEndDocument, METH_O, NULL},
32081 { (char *)"Printout_OnBeginPrinting", (PyCFunction)_wrap_Printout_OnBeginPrinting, METH_O, NULL},
32082 { (char *)"Printout_OnEndPrinting", (PyCFunction)_wrap_Printout_OnEndPrinting, METH_O, NULL},
32083 { (char *)"Printout_OnPreparePrinting", (PyCFunction)_wrap_Printout_OnPreparePrinting, METH_O, NULL},
32084 { (char *)"Printout_HasPage", (PyCFunction) _wrap_Printout_HasPage, METH_VARARGS | METH_KEYWORDS, NULL},
32085 { (char *)"Printout_GetPageInfo", (PyCFunction)_wrap_Printout_GetPageInfo, METH_O, NULL},
32086 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS, NULL},
32087 { (char *)"Printout_swiginit", Printout_swiginit, METH_VARARGS, NULL},
32088 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32089 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS, NULL},
32090 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit, METH_VARARGS, NULL},
32091 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32092 { (char *)"PreviewFrame_Initialize", (PyCFunction)_wrap_PreviewFrame_Initialize, METH_O, NULL},
32093 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction)_wrap_PreviewFrame_CreateControlBar, METH_O, NULL},
32094 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction)_wrap_PreviewFrame_CreateCanvas, METH_O, NULL},
32095 { (char *)"PreviewFrame_GetControlBar", (PyCFunction)_wrap_PreviewFrame_GetControlBar, METH_O, NULL},
32096 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS, NULL},
32097 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit, METH_VARARGS, NULL},
32098 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32099 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction)_wrap_PreviewControlBar_GetZoomControl, METH_O, NULL},
32100 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32101 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction)_wrap_PreviewControlBar_GetPrintPreview, METH_O, NULL},
32102 { (char *)"PreviewControlBar_OnNext", (PyCFunction)_wrap_PreviewControlBar_OnNext, METH_O, NULL},
32103 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction)_wrap_PreviewControlBar_OnPrevious, METH_O, NULL},
32104 { (char *)"PreviewControlBar_OnFirst", (PyCFunction)_wrap_PreviewControlBar_OnFirst, METH_O, NULL},
32105 { (char *)"PreviewControlBar_OnLast", (PyCFunction)_wrap_PreviewControlBar_OnLast, METH_O, NULL},
32106 { (char *)"PreviewControlBar_OnGoto", (PyCFunction)_wrap_PreviewControlBar_OnGoto, METH_O, NULL},
32107 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS, NULL},
32108 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit, METH_VARARGS, NULL},
32109 { (char *)"new_PrintPreview", _wrap_new_PrintPreview, METH_VARARGS, NULL},
32110 { (char *)"delete_PrintPreview", (PyCFunction)_wrap_delete_PrintPreview, METH_O, NULL},
32111 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS, NULL},
32112 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction)_wrap_PrintPreview_GetCurrentPage, METH_O, NULL},
32113 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS, NULL},
32114 { (char *)"PrintPreview_GetPrintout", (PyCFunction)_wrap_PrintPreview_GetPrintout, METH_O, NULL},
32115 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction)_wrap_PrintPreview_GetPrintoutForPrinting, METH_O, NULL},
32116 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32117 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32118 { (char *)"PrintPreview_GetFrame", (PyCFunction)_wrap_PrintPreview_GetFrame, METH_O, NULL},
32119 { (char *)"PrintPreview_GetCanvas", (PyCFunction)_wrap_PrintPreview_GetCanvas, METH_O, NULL},
32120 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS, NULL},
32121 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS, NULL},
32122 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS, NULL},
32123 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
32124 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction)_wrap_PrintPreview_GetPrintDialogData, METH_O, NULL},
32125 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS, NULL},
32126 { (char *)"PrintPreview_GetZoom", (PyCFunction)_wrap_PrintPreview_GetZoom, METH_O, NULL},
32127 { (char *)"PrintPreview_GetMaxPage", (PyCFunction)_wrap_PrintPreview_GetMaxPage, METH_O, NULL},
32128 { (char *)"PrintPreview_GetMinPage", (PyCFunction)_wrap_PrintPreview_GetMinPage, METH_O, NULL},
32129 { (char *)"PrintPreview_IsOk", (PyCFunction)_wrap_PrintPreview_IsOk, METH_O, NULL},
32130 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS, NULL},
32131 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS, NULL},
32132 { (char *)"PrintPreview_DetermineScaling", (PyCFunction)_wrap_PrintPreview_DetermineScaling, METH_O, NULL},
32133 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS, NULL},
32134 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit, METH_VARARGS, NULL},
32135 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview, METH_VARARGS, NULL},
32136 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32137 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS, NULL},
32138 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit, METH_VARARGS, NULL},
32139 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS, NULL},
32140 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32141 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS, NULL},
32142 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32143 { (char *)"PyPreviewFrame_Initialize", (PyCFunction)_wrap_PyPreviewFrame_Initialize, METH_O, NULL},
32144 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction)_wrap_PyPreviewFrame_CreateCanvas, METH_O, NULL},
32145 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction)_wrap_PyPreviewFrame_CreateControlBar, METH_O, NULL},
32146 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS, NULL},
32147 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit, METH_VARARGS, NULL},
32148 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS, NULL},
32149 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
32150 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS, NULL},
32151 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction)_wrap_PyPreviewControlBar_CreateButtons, METH_O, NULL},
32152 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS, NULL},
32153 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS, NULL},
32154 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit, METH_VARARGS, NULL},
32155 { NULL, NULL, 0, NULL }
32156 };
32157
32158
32159 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32160
32161 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
32162 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32163 }
32164 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32165 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32166 }
32167 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32168 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32169 }
32170 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32171 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32172 }
32173 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32174 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32175 }
32176 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32177 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32178 }
32179 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32180 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32181 }
32182 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
32183 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32184 }
32185 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32186 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32187 }
32188 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32189 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32190 }
32191 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
32192 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
32193 }
32194 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32195 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32196 }
32197 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
32198 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
32199 }
32200 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32201 return (void *)((wxEvent *) ((wxPyEvent *) x));
32202 }
32203 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
32204 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
32205 }
32206 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32207 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32208 }
32209 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32210 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32211 }
32212 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32213 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32214 }
32215 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32216 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32217 }
32218 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32219 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32220 }
32221 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32222 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32223 }
32224 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32225 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32226 }
32227 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32228 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32229 }
32230 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
32231 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
32232 }
32233 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32234 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32235 }
32236 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32237 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32238 }
32239 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
32240 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
32241 }
32242 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32243 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32244 }
32245 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32246 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32247 }
32248 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32249 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32250 }
32251 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32252 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32253 }
32254 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32255 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32256 }
32257 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32258 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32259 }
32260 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32261 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32262 }
32263 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32264 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32265 }
32266 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
32267 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
32268 }
32269 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
32270 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32271 }
32272 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32273 return (void *)((wxEvent *) ((wxShowEvent *) x));
32274 }
32275 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32276 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32277 }
32278 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32279 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32280 }
32281 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32282 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32283 }
32284 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32285 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32286 }
32287 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32288 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32289 }
32290 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32291 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32292 }
32293 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
32294 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
32295 }
32296 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
32297 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
32298 }
32299 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x) {
32300 return (void *)((wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32301 }
32302 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
32303 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32304 }
32305 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
32306 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32307 }
32308 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
32309 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32310 }
32311 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32312 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32313 }
32314 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32315 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32316 }
32317 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32318 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32319 }
32320 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32321 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32322 }
32323 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
32324 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32325 }
32326 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
32327 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32328 }
32329 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
32330 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32331 }
32332 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
32333 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32334 }
32335 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
32336 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32337 }
32338 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
32339 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32340 }
32341 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
32342 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32343 }
32344 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
32345 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32346 }
32347 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
32348 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32349 }
32350 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
32351 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
32352 }
32353 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
32354 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
32355 }
32356 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
32357 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32358 }
32359 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
32360 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32361 }
32362 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
32363 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32364 }
32365 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
32366 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
32367 }
32368 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
32369 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32370 }
32371 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
32372 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
32373 }
32374 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
32375 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
32376 }
32377 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
32378 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
32379 }
32380 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32381 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32382 }
32383 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
32384 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32385 }
32386 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
32387 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
32388 }
32389 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
32390 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
32391 }
32392 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
32393 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32394 }
32395 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32396 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32397 }
32398 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
32399 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32400 }
32401 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
32402 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32403 }
32404 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
32405 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32406 }
32407 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32408 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32409 }
32410 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32411 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32412 }
32413 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
32414 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
32415 }
32416 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
32417 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32418 }
32419 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
32420 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32421 }
32422 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
32423 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32424 }
32425 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
32426 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32427 }
32428 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
32429 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32430 }
32431 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
32432 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32433 }
32434 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
32435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32436 }
32437 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
32438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32439 }
32440 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
32441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32442 }
32443 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
32444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32445 }
32446 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
32447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32448 }
32449 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
32450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32451 }
32452 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
32453 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
32454 }
32455 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
32456 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
32457 }
32458 static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
32459 return (void *)((wxFrame *) ((wxProgressDialog *) x));
32460 }
32461 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
32462 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
32463 }
32464 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
32465 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32466 }
32467 static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
32468 return (void *)((wxFrame *) ((wxMiniFrame *) x));
32469 }
32470 static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
32471 return (void *)((wxFrame *) ((wxSplashScreen *) x));
32472 }
32473 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
32474 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
32475 }
32476 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32477 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32478 }
32479 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
32480 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
32481 }
32482 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
32483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
32484 }
32485 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
32486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32487 }
32488 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32489 return (void *)((wxObject *) ((wxSizerItem *) x));
32490 }
32491 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32492 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32493 }
32494 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32495 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32496 }
32497 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32498 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32499 }
32500 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32501 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32502 }
32503 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32504 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32505 }
32506 static void *_p_wxSizerTo_p_wxObject(void *x) {
32507 return (void *)((wxObject *) ((wxSizer *) x));
32508 }
32509 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32510 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32511 }
32512 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32513 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32514 }
32515 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
32516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
32517 }
32518 static void *_p_wxEventTo_p_wxObject(void *x) {
32519 return (void *)((wxObject *) ((wxEvent *) x));
32520 }
32521 static void *_p_wxFontDataTo_p_wxObject(void *x) {
32522 return (void *)((wxObject *) ((wxFontData *) x));
32523 }
32524 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
32525 return (void *)((wxObject *) ((wxPrintData *) x));
32526 }
32527 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32528 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32529 }
32530 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32531 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32532 }
32533 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32534 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32535 }
32536 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
32537 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
32538 }
32539 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
32540 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
32541 }
32542 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
32543 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
32544 }
32545 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
32546 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
32547 }
32548 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32549 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32550 }
32551 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32552 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32553 }
32554 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32555 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32556 }
32557 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32558 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32559 }
32560 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32561 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32562 }
32563 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32564 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32565 }
32566 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
32567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
32568 }
32569 static void *_p_wxControlTo_p_wxObject(void *x) {
32570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32571 }
32572 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32573 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32574 }
32575 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
32576 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
32577 }
32578 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32579 return (void *)((wxObject *) ((wxFSFile *) x));
32580 }
32581 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
32582 return (void *)((wxObject *) ((wxFindReplaceData *) x));
32583 }
32584 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32585 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32586 }
32587 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
32588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
32589 }
32590 static void *_p_wxColourDataTo_p_wxObject(void *x) {
32591 return (void *)((wxObject *) ((wxColourData *) x));
32592 }
32593 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32594 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32595 }
32596 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32597 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32598 }
32599 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
32600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
32601 }
32602 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
32603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32604 }
32605 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
32606 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
32607 }
32608 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
32609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
32610 }
32611 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
32612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
32613 }
32614 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
32615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
32616 }
32617 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
32618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32619 }
32620 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
32621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32622 }
32623 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
32624 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32625 }
32626 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
32627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32628 }
32629 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
32630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32631 }
32632 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32633 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32634 }
32635 static void *_p_wxPrinterTo_p_wxObject(void *x) {
32636 return (void *)((wxObject *) ((wxPrinter *) x));
32637 }
32638 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32639 return (void *)((wxObject *) ((wxMenuItem *) x));
32640 }
32641 static void *_p_wxDateEventTo_p_wxObject(void *x) {
32642 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
32643 }
32644 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32645 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32646 }
32647 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32648 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32649 }
32650 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32651 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32652 }
32653 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32654 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32655 }
32656 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32657 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32658 }
32659 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32660 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32661 }
32662 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32663 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32664 }
32665 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32666 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32667 }
32668 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32669 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32670 }
32671 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32672 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32673 }
32674 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32675 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32676 }
32677 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32678 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32679 }
32680 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32681 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32682 }
32683 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32684 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32685 }
32686 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32687 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32688 }
32689 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32690 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32691 }
32692 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32693 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32694 }
32695 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
32696 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
32697 }
32698 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32699 return (void *)((wxObject *) ((wxImageHandler *) x));
32700 }
32701 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32702 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32703 }
32704 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32705 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32706 }
32707 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
32708 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
32709 }
32710 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32711 return (void *)((wxObject *) ((wxEvtHandler *) x));
32712 }
32713 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
32714 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
32715 }
32716 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
32717 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
32718 }
32719 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
32720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32721 }
32722 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
32723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
32724 }
32725 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32726 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32727 }
32728 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
32729 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
32730 }
32731 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
32732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32733 }
32734 static void *_p_wxImageTo_p_wxObject(void *x) {
32735 return (void *)((wxObject *) ((wxImage *) x));
32736 }
32737 static void *_p_wxFrameTo_p_wxObject(void *x) {
32738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
32739 }
32740 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
32741 return (void *)((wxObject *) ((wxPyPrintout *) x));
32742 }
32743 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32744 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32745 }
32746 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
32747 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
32748 }
32749 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
32750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
32751 }
32752 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
32753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
32754 }
32755 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32756 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32757 }
32758 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32759 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32760 }
32761 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32762 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32763 }
32764 static void *_p_wxWindowTo_p_wxObject(void *x) {
32765 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32766 }
32767 static void *_p_wxMenuTo_p_wxObject(void *x) {
32768 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32769 }
32770 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32772 }
32773 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
32774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
32775 }
32776 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
32777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
32778 }
32779 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
32780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
32781 }
32782 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
32783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
32784 }
32785 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
32786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
32787 }
32788 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
32789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
32790 }
32791 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
32792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
32793 }
32794 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
32795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32796 }
32797 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
32798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32799 }
32800 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
32801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
32802 }
32803 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
32804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
32805 }
32806 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
32807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
32808 }
32809 static void *_p_wxSashEventTo_p_wxObject(void *x) {
32810 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
32811 }
32812 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
32813 return (void *)((wxObject *) ((wxPrintPreview *) x));
32814 }
32815 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
32816 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
32817 }
32818 static void *_p_wxPanelTo_p_wxObject(void *x) {
32819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
32820 }
32821 static void *_p_wxDialogTo_p_wxObject(void *x) {
32822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
32823 }
32824 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
32825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
32826 }
32827 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
32828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
32829 }
32830 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
32831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
32832 }
32833 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
32834 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
32835 }
32836 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
32837 return (void *)((wxObject *) ((wxPrintDialog *) x));
32838 }
32839 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32840 return (void *)((wxObject *) ((wxFileSystem *) x));
32841 }
32842 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32843 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32844 }
32845 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32846 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32847 }
32848 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32849 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32850 }
32851 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32852 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32853 }
32854 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32855 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32856 }
32857 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32858 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32859 }
32860 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32861 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32862 }
32863 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32864 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32865 }
32866 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
32867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
32868 }
32869 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
32870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
32871 }
32872 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32873 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32874 }
32875 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32876 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32877 }
32878 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32879 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32880 }
32881 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32883 }
32884 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
32885 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
32886 }
32887 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
32888 return (void *)((wxObject *) ((wxPrintDialogData *) x));
32889 }
32890 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32891 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32892 }
32893 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32894 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32895 }
32896 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
32897 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
32898 }
32899 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
32900 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
32901 }
32902 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
32903 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32904 }
32905 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
32906 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
32907 }
32908 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
32909 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
32910 }
32911 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
32912 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
32913 }
32914 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
32915 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
32916 }
32917 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
32918 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
32919 }
32920 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
32921 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
32922 }
32923 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
32924 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
32925 }
32926 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
32927 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
32928 }
32929 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
32930 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
32931 }
32932 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
32933 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
32934 }
32935 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
32936 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
32937 }
32938 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
32939 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
32940 }
32941 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
32942 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
32943 }
32944 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x) {
32945 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxNumberEntryDialog *) x));
32946 }
32947 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x) {
32948 return (void *)((wxTopLevelWindow *) (wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
32949 }
32950 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
32951 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
32952 }
32953 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32954 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
32955 }
32956 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
32957 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
32958 }
32959 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
32960 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
32961 }
32962 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
32963 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
32964 }
32965 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
32966 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
32967 }
32968 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32969 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
32970 }
32971 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
32972 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
32973 }
32974 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
32975 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
32976 }
32977 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
32978 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
32979 }
32980 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
32981 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
32982 }
32983 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32984 return (void *)((wxWindow *) ((wxMenuBar *) x));
32985 }
32986 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
32987 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
32988 }
32989 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
32990 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
32991 }
32992 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
32993 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
32994 }
32995 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
32996 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
32997 }
32998 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
32999 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33000 }
33001 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
33002 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
33003 }
33004 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
33005 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
33006 }
33007 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
33008 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
33009 }
33010 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
33011 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
33012 }
33013 static void *_p_wxPanelTo_p_wxWindow(void *x) {
33014 return (void *)((wxWindow *) ((wxPanel *) x));
33015 }
33016 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
33017 return (void *)((wxWindow *) ((wxStatusBar *) x));
33018 }
33019 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
33020 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
33021 }
33022 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
33023 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
33024 }
33025 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
33026 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
33027 }
33028 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
33029 return (void *)((wxWindow *) ((wxPopupWindow *) x));
33030 }
33031 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
33032 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
33033 }
33034 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
33035 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
33036 }
33037 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
33038 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
33039 }
33040 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
33041 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
33042 }
33043 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
33044 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
33045 }
33046 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
33047 return (void *)((wxWindow *) ((wxSashWindow *) x));
33048 }
33049 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
33050 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
33051 }
33052 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
33053 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33054 }
33055 static void *_p_wxControlTo_p_wxWindow(void *x) {
33056 return (void *)((wxWindow *) ((wxControl *) x));
33057 }
33058 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
33059 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
33060 }
33061 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
33062 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
33063 }
33064 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
33065 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
33066 }
33067 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33068 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33069 }
33070 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
33071 return (void *)((wxWindow *) ((wxPyWindow *) x));
33072 }
33073 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
33074 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
33075 }
33076 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
33077 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33078 }
33079 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
33080 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33081 }
33082 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
33083 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
33084 }
33085 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
33086 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33087 }
33088 static void *_p_wxFrameTo_p_wxWindow(void *x) {
33089 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
33090 }
33091 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
33092 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
33093 }
33094 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
33095 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
33096 }
33097 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
33098 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
33099 }
33100 static void *_p_wxDialogTo_p_wxWindow(void *x) {
33101 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
33102 }
33103 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
33104 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
33105 }
33106 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
33107 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33108 }
33109 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
33110 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
33111 }
33112 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
33113 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
33114 }
33115 static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
33116 return (void *)((wxDialog *) ((wxColourDialog *) x));
33117 }
33118 static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
33119 return (void *)((wxDialog *) ((wxDirDialog *) x));
33120 }
33121 static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
33122 return (void *)((wxDialog *) ((wxFontDialog *) x));
33123 }
33124 static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
33125 return (void *)((wxDialog *) ((wxFileDialog *) x));
33126 }
33127 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
33128 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
33129 }
33130 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
33131 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
33132 }
33133 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
33134 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
33135 }
33136 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x) {
33137 return (void *)((wxDialog *) (wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
33138 }
33139 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x) {
33140 return (void *)((wxDialog *) ((wxNumberEntryDialog *) x));
33141 }
33142 static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
33143 return (void *)((wxDialog *) ((wxMessageDialog *) x));
33144 }
33145 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
33146 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
33147 }
33148 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
33149 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
33150 }
33151 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
33152 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
33153 }
33154 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
33155 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
33156 }
33157 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
33158 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
33159 }
33160 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
33161 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
33162 }
33163 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
33164 return (void *)((wxPanel *) ((wxPyPanel *) x));
33165 }
33166 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
33167 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
33168 }
33169 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
33170 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
33171 }
33172 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
33173 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33174 }
33175 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33176 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33177 }
33178 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33179 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33180 }
33181 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33182 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33183 }
33184 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
33185 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
33186 }
33187 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33188 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33189 }
33190 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
33191 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
33192 }
33193 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
33194 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
33195 }
33196 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33197 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33198 }
33199 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33200 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33201 }
33202 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
33203 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
33204 }
33205 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33206 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33207 }
33208 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33209 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33210 }
33211 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
33212 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
33213 }
33214 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
33215 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
33216 }
33217 static swig_type_info _swigt__p_bool = {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33218 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
33219 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};
33220 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
33221 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33222 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33223 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33224 static swig_type_info _swigt__p_wxArrayInt = {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33225 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33226 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33227 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33228 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33229 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33230 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33231 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33232 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33233 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33234 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33235 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33236 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33237 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33238 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33239 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33240 static swig_type_info _swigt__p_wxDC = {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33241 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33242 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33243 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33244 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33245 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33246 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33247 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33248 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33249 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33250 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33251 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33252 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33253 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33254 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33255 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33256 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33257 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33258 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33259 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33260 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33261 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33262 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33263 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33264 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33265 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33266 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33267 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33268 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33269 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33270 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33271 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33272 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", 0, 0, 0, 0, 0};
33273 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33274 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", 0, 0, 0, 0, 0};
33275 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
33276 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33277 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33278 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33279 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33280 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33281 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33282 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33283 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33284 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33285 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33286 static swig_type_info _swigt__p_wxHtmlLinkInfo = {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33287 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33288 static swig_type_info _swigt__p_wxIconBundle = {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33289 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33290 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33291 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33292 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33293 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33294 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33295 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33296 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33297 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33298 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33299 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33300 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33301 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33302 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33303 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33304 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33305 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33306 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33307 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
33308 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33309 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33310 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33311 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
33312 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
33313 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33314 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33315 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33316 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33317 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33318 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33319 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33320 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33321 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33322 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33323 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33324 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33325 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33326 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33327 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33328 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33329 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
33330 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33331 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33332 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33333 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33334 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33335 static swig_type_info _swigt__p_wxPoint = {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33336 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33337 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33338 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33339 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33340 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33341 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33342 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33343 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33344 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33345 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33346 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33347 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33348 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33349 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33350 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33351 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33352 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33353 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33354 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33355 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33356 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33357 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33358 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33359 static swig_type_info _swigt__p_wxRect = {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33360 static swig_type_info _swigt__p_wxRegion = {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33361 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33362 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33363 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33364 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33365 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33366 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33367 static swig_type_info _swigt__p_wxSize = {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33368 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33369 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33370 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33371 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33372 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33373 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33374 static swig_type_info _swigt__p_wxString = {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33375 static swig_type_info _swigt__p_wxTaskBarIcon = {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33376 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33377 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33378 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33379 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33380 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33381 static swig_type_info _swigt__p_wxVisualAttributes = {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33382 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33383
33384 static swig_type_info *swig_type_initial[] = {
33385 &_swigt__p_bool,
33386 &_swigt__p_char,
33387 &_swigt__p_form_ops_t,
33388 &_swigt__p_int,
33389 &_swigt__p_unsigned_char,
33390 &_swigt__p_unsigned_int,
33391 &_swigt__p_unsigned_long,
33392 &_swigt__p_wxANIHandler,
33393 &_swigt__p_wxAcceleratorTable,
33394 &_swigt__p_wxActivateEvent,
33395 &_swigt__p_wxArrayInt,
33396 &_swigt__p_wxBMPHandler,
33397 &_swigt__p_wxBitmap,
33398 &_swigt__p_wxBoxSizer,
33399 &_swigt__p_wxCURHandler,
33400 &_swigt__p_wxCalculateLayoutEvent,
33401 &_swigt__p_wxChildFocusEvent,
33402 &_swigt__p_wxClipboardTextEvent,
33403 &_swigt__p_wxCloseEvent,
33404 &_swigt__p_wxColour,
33405 &_swigt__p_wxColourData,
33406 &_swigt__p_wxColourDialog,
33407 &_swigt__p_wxCommandEvent,
33408 &_swigt__p_wxContextMenuEvent,
33409 &_swigt__p_wxControl,
33410 &_swigt__p_wxControlWithItems,
33411 &_swigt__p_wxDC,
33412 &_swigt__p_wxDateEvent,
33413 &_swigt__p_wxDialog,
33414 &_swigt__p_wxDirDialog,
33415 &_swigt__p_wxDisplayChangedEvent,
33416 &_swigt__p_wxDropFilesEvent,
33417 &_swigt__p_wxDuplexMode,
33418 &_swigt__p_wxEraseEvent,
33419 &_swigt__p_wxEvent,
33420 &_swigt__p_wxEvtHandler,
33421 &_swigt__p_wxFSFile,
33422 &_swigt__p_wxFileDialog,
33423 &_swigt__p_wxFileSystem,
33424 &_swigt__p_wxFindDialogEvent,
33425 &_swigt__p_wxFindReplaceData,
33426 &_swigt__p_wxFindReplaceDialog,
33427 &_swigt__p_wxFlexGridSizer,
33428 &_swigt__p_wxFocusEvent,
33429 &_swigt__p_wxFont,
33430 &_swigt__p_wxFontData,
33431 &_swigt__p_wxFontDialog,
33432 &_swigt__p_wxFrame,
33433 &_swigt__p_wxGBSizerItem,
33434 &_swigt__p_wxGIFHandler,
33435 &_swigt__p_wxGridBagSizer,
33436 &_swigt__p_wxGridSizer,
33437 &_swigt__p_wxHtmlLinkInfo,
33438 &_swigt__p_wxICOHandler,
33439 &_swigt__p_wxIcon,
33440 &_swigt__p_wxIconBundle,
33441 &_swigt__p_wxIconizeEvent,
33442 &_swigt__p_wxIdleEvent,
33443 &_swigt__p_wxImage,
33444 &_swigt__p_wxImageHandler,
33445 &_swigt__p_wxIndividualLayoutConstraint,
33446 &_swigt__p_wxInitDialogEvent,
33447 &_swigt__p_wxJPEGHandler,
33448 &_swigt__p_wxKeyEvent,
33449 &_swigt__p_wxLayoutAlgorithm,
33450 &_swigt__p_wxLayoutConstraints,
33451 &_swigt__p_wxMDIChildFrame,
33452 &_swigt__p_wxMDIClientWindow,
33453 &_swigt__p_wxMDIParentFrame,
33454 &_swigt__p_wxMaximizeEvent,
33455 &_swigt__p_wxMenu,
33456 &_swigt__p_wxMenuBar,
33457 &_swigt__p_wxMenuEvent,
33458 &_swigt__p_wxMenuItem,
33459 &_swigt__p_wxMessageDialog,
33460 &_swigt__p_wxMiniFrame,
33461 &_swigt__p_wxMouseCaptureChangedEvent,
33462 &_swigt__p_wxMouseCaptureLostEvent,
33463 &_swigt__p_wxMouseEvent,
33464 &_swigt__p_wxMoveEvent,
33465 &_swigt__p_wxMultiChoiceDialog,
33466 &_swigt__p_wxNavigationKeyEvent,
33467 &_swigt__p_wxNcPaintEvent,
33468 &_swigt__p_wxNotifyEvent,
33469 &_swigt__p_wxNumberEntryDialog,
33470 &_swigt__p_wxObject,
33471 &_swigt__p_wxPCXHandler,
33472 &_swigt__p_wxPNGHandler,
33473 &_swigt__p_wxPNMHandler,
33474 &_swigt__p_wxPageSetupDialog,
33475 &_swigt__p_wxPageSetupDialogData,
33476 &_swigt__p_wxPaintEvent,
33477 &_swigt__p_wxPaletteChangedEvent,
33478 &_swigt__p_wxPanel,
33479 &_swigt__p_wxPaperSize,
33480 &_swigt__p_wxPasswordEntryDialog,
33481 &_swigt__p_wxPoint,
33482 &_swigt__p_wxPopupWindow,
33483 &_swigt__p_wxPreviewCanvas,
33484 &_swigt__p_wxPreviewControlBar,
33485 &_swigt__p_wxPreviewFrame,
33486 &_swigt__p_wxPrintData,
33487 &_swigt__p_wxPrintDialog,
33488 &_swigt__p_wxPrintDialogData,
33489 &_swigt__p_wxPrintPreview,
33490 &_swigt__p_wxPrinter,
33491 &_swigt__p_wxProgressDialog,
33492 &_swigt__p_wxPyApp,
33493 &_swigt__p_wxPyCommandEvent,
33494 &_swigt__p_wxPyEvent,
33495 &_swigt__p_wxPyHtmlListBox,
33496 &_swigt__p_wxPyImageHandler,
33497 &_swigt__p_wxPyPanel,
33498 &_swigt__p_wxPyPopupTransientWindow,
33499 &_swigt__p_wxPyPreviewControlBar,
33500 &_swigt__p_wxPyPreviewFrame,
33501 &_swigt__p_wxPyPrintPreview,
33502 &_swigt__p_wxPyPrintout,
33503 &_swigt__p_wxPyScrolledWindow,
33504 &_swigt__p_wxPySizer,
33505 &_swigt__p_wxPyTaskBarIcon,
33506 &_swigt__p_wxPyVListBox,
33507 &_swigt__p_wxPyVScrolledWindow,
33508 &_swigt__p_wxPyValidator,
33509 &_swigt__p_wxPyWindow,
33510 &_swigt__p_wxQueryLayoutInfoEvent,
33511 &_swigt__p_wxQueryNewPaletteEvent,
33512 &_swigt__p_wxRect,
33513 &_swigt__p_wxRegion,
33514 &_swigt__p_wxSashEvent,
33515 &_swigt__p_wxSashLayoutWindow,
33516 &_swigt__p_wxSashWindow,
33517 &_swigt__p_wxScrollEvent,
33518 &_swigt__p_wxScrollWinEvent,
33519 &_swigt__p_wxScrolledWindow,
33520 &_swigt__p_wxSetCursorEvent,
33521 &_swigt__p_wxShowEvent,
33522 &_swigt__p_wxSingleChoiceDialog,
33523 &_swigt__p_wxSize,
33524 &_swigt__p_wxSizeEvent,
33525 &_swigt__p_wxSizer,
33526 &_swigt__p_wxSizerItem,
33527 &_swigt__p_wxSplashScreen,
33528 &_swigt__p_wxSplashScreenWindow,
33529 &_swigt__p_wxSplitterEvent,
33530 &_swigt__p_wxSplitterWindow,
33531 &_swigt__p_wxStaticBoxSizer,
33532 &_swigt__p_wxStatusBar,
33533 &_swigt__p_wxStdDialogButtonSizer,
33534 &_swigt__p_wxString,
33535 &_swigt__p_wxSysColourChangedEvent,
33536 &_swigt__p_wxTGAHandler,
33537 &_swigt__p_wxTIFFHandler,
33538 &_swigt__p_wxTaskBarIcon,
33539 &_swigt__p_wxTaskBarIconEvent,
33540 &_swigt__p_wxTextEntryDialog,
33541 &_swigt__p_wxTipWindow,
33542 &_swigt__p_wxToolBar,
33543 &_swigt__p_wxTopLevelWindow,
33544 &_swigt__p_wxUpdateUIEvent,
33545 &_swigt__p_wxValidator,
33546 &_swigt__p_wxVisualAttributes,
33547 &_swigt__p_wxWindow,
33548 &_swigt__p_wxWindowCreateEvent,
33549 &_swigt__p_wxWindowDestroyEvent,
33550 &_swigt__p_wxXPMHandler,
33551 };
33552
33553 static swig_cast_info _swigc__p_bool[] = { {&_swigt__p_bool, 0, 0, 0},{0, 0, 0, 0}};
33554 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
33555 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
33556 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
33557 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
33558 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
33559 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
33560 static swig_cast_info _swigc__p_wxArrayInt[] = { {&_swigt__p_wxArrayInt, 0, 0, 0},{0, 0, 0, 0}};
33561 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
33562 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = { {&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
33563 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
33564 static swig_cast_info _swigc__p_wxColourData[] = { {&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
33565 static swig_cast_info _swigc__p_wxColourDialog[] = { {&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
33566 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
33567 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
33568 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
33569 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
33570 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33571 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33572 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
33573 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
33574 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
33575 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}};
33576 static swig_cast_info _swigc__p_wxDC[] = { {&_swigt__p_wxDC, 0, 0, 0},{0, 0, 0, 0}};
33577 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}};
33578 static swig_cast_info _swigc__p_wxDirDialog[] = { {&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
33579 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
33580 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
33581 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
33582 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
33583 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
33584 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
33585 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33586 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
33587 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
33588 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
33589 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
33590 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33591 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33592 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
33593 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
33594 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
33595 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33596 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
33597 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33598 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33599 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33600 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
33601 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
33602 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
33603 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
33604 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33605 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
33606 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}};
33607 static swig_cast_info _swigc__p_wxValidator[] = {{&_swigt__p_wxValidator, 0, 0, 0},{0, 0, 0, 0}};
33608 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
33609 static swig_cast_info _swigc__p_wxControl[] = {{&_swigt__p_wxControl, 0, 0, 0},{0, 0, 0, 0}};
33610 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
33611 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
33612 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
33613 static swig_cast_info _swigc__p_wxFileDialog[] = { {&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
33614 static swig_cast_info _swigc__p_wxFileSystem[] = { {&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
33615 static swig_cast_info _swigc__p_wxFindDialogEvent[] = { {&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
33616 static swig_cast_info _swigc__p_wxFindReplaceData[] = { {&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
33617 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = { {&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
33618 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
33619 static swig_cast_info _swigc__p_wxFontData[] = { {&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
33620 static swig_cast_info _swigc__p_wxFontDialog[] = { {&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
33621 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}};
33622 static swig_cast_info _swigc__p_wxHtmlLinkInfo[] = { {&_swigt__p_wxHtmlLinkInfo, 0, 0, 0},{0, 0, 0, 0}};
33623 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
33624 static swig_cast_info _swigc__p_wxIconBundle[] = { {&_swigt__p_wxIconBundle, 0, 0, 0},{0, 0, 0, 0}};
33625 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = { {&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
33626 static swig_cast_info _swigc__p_wxMDIChildFrame[] = { {&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
33627 static swig_cast_info _swigc__p_wxMDIClientWindow[] = { {&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
33628 static swig_cast_info _swigc__p_wxMDIParentFrame[] = { {&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
33629 static swig_cast_info _swigc__p_wxMenu[] = { {&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
33630 static swig_cast_info _swigc__p_wxMenuBar[] = { {&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
33631 static swig_cast_info _swigc__p_wxMessageDialog[] = { {&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
33632 static swig_cast_info _swigc__p_wxMiniFrame[] = { {&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
33633 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = { {&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33634 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}};
33635 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = { {&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33636 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
33637 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33638 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
33639 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
33640 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33641 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
33642 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
33643 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
33644 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33645 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
33646 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
33647 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
33648 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
33649 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
33650 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
33651 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
33652 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
33653 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
33654 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
33655 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
33656 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
33657 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
33658 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33659 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
33660 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
33661 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
33662 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
33663 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
33664 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
33665 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
33666 static swig_cast_info _swigc__p_wxPageSetupDialog[] = { {&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
33667 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = { {&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
33668 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
33669 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
33670 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = { {&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
33671 static swig_cast_info _swigc__p_wxPoint[] = { {&_swigt__p_wxPoint, 0, 0, 0},{0, 0, 0, 0}};
33672 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}};
33673 static swig_cast_info _swigc__p_wxPreviewCanvas[] = { {&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
33674 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}};
33675 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}};
33676 static swig_cast_info _swigc__p_wxPrintData[] = { {&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
33677 static swig_cast_info _swigc__p_wxPrintDialog[] = { {&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
33678 static swig_cast_info _swigc__p_wxPrintDialogData[] = { {&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
33679 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}};
33680 static swig_cast_info _swigc__p_wxPrinter[] = { {&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
33681 static swig_cast_info _swigc__p_wxProgressDialog[] = { {&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
33682 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = { {&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
33683 static swig_cast_info _swigc__p_wxPyPanel[] = { {&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
33684 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}};
33685 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = { {&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
33686 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = { {&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
33687 static swig_cast_info _swigc__p_wxPyPrintPreview[] = { {&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
33688 static swig_cast_info _swigc__p_wxPyPrintout[] = { {&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
33689 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = { {&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
33690 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = { {&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33691 static swig_cast_info _swigc__p_wxPyVListBox[] = { {&_swigt__p_wxPyVListBox, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVListBox, 0, 0},{0, 0, 0, 0}};
33692 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = { {&_swigt__p_wxPyVScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow, 0, 0},{0, 0, 0, 0}};
33693 static swig_cast_info _swigc__p_wxPyWindow[] = { {&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
33694 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = { {&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
33695 static swig_cast_info _swigc__p_wxRect[] = { {&_swigt__p_wxRect, 0, 0, 0},{0, 0, 0, 0}};
33696 static swig_cast_info _swigc__p_wxRegion[] = { {&_swigt__p_wxRegion, 0, 0, 0},{0, 0, 0, 0}};
33697 static swig_cast_info _swigc__p_wxSashEvent[] = { {&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
33698 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = { {&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
33699 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}};
33700 static swig_cast_info _swigc__p_wxScrollWinEvent[] = { {&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
33701 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}};
33702 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = { {&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
33703 static swig_cast_info _swigc__p_wxSize[] = { {&_swigt__p_wxSize, 0, 0, 0},{0, 0, 0, 0}};
33704 static swig_cast_info _swigc__p_wxSplashScreen[] = { {&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
33705 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = { {&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
33706 static swig_cast_info _swigc__p_wxSplitterEvent[] = { {&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
33707 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
33708 static swig_cast_info _swigc__p_wxStatusBar[] = { {&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
33709 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = { {&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
33710 static swig_cast_info _swigc__p_wxString[] = { {&_swigt__p_wxString, 0, 0, 0},{0, 0, 0, 0}};
33711 static swig_cast_info _swigc__p_wxTaskBarIcon[] = { {&_swigt__p_wxTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
33712 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = { {&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
33713 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}};
33714 static swig_cast_info _swigc__p_wxTipWindow[] = { {&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
33715 static swig_cast_info _swigc__p_wxToolBar[] = { {&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
33716 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}};
33717 static swig_cast_info _swigc__p_wxVisualAttributes[] = { {&_swigt__p_wxVisualAttributes, 0, 0, 0},{0, 0, 0, 0}};
33718 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
33719
33720 static swig_cast_info *swig_cast_initial[] = {
33721 _swigc__p_bool,
33722 _swigc__p_char,
33723 _swigc__p_form_ops_t,
33724 _swigc__p_int,
33725 _swigc__p_unsigned_char,
33726 _swigc__p_unsigned_int,
33727 _swigc__p_unsigned_long,
33728 _swigc__p_wxANIHandler,
33729 _swigc__p_wxAcceleratorTable,
33730 _swigc__p_wxActivateEvent,
33731 _swigc__p_wxArrayInt,
33732 _swigc__p_wxBMPHandler,
33733 _swigc__p_wxBitmap,
33734 _swigc__p_wxBoxSizer,
33735 _swigc__p_wxCURHandler,
33736 _swigc__p_wxCalculateLayoutEvent,
33737 _swigc__p_wxChildFocusEvent,
33738 _swigc__p_wxClipboardTextEvent,
33739 _swigc__p_wxCloseEvent,
33740 _swigc__p_wxColour,
33741 _swigc__p_wxColourData,
33742 _swigc__p_wxColourDialog,
33743 _swigc__p_wxCommandEvent,
33744 _swigc__p_wxContextMenuEvent,
33745 _swigc__p_wxControl,
33746 _swigc__p_wxControlWithItems,
33747 _swigc__p_wxDC,
33748 _swigc__p_wxDateEvent,
33749 _swigc__p_wxDialog,
33750 _swigc__p_wxDirDialog,
33751 _swigc__p_wxDisplayChangedEvent,
33752 _swigc__p_wxDropFilesEvent,
33753 _swigc__p_wxDuplexMode,
33754 _swigc__p_wxEraseEvent,
33755 _swigc__p_wxEvent,
33756 _swigc__p_wxEvtHandler,
33757 _swigc__p_wxFSFile,
33758 _swigc__p_wxFileDialog,
33759 _swigc__p_wxFileSystem,
33760 _swigc__p_wxFindDialogEvent,
33761 _swigc__p_wxFindReplaceData,
33762 _swigc__p_wxFindReplaceDialog,
33763 _swigc__p_wxFlexGridSizer,
33764 _swigc__p_wxFocusEvent,
33765 _swigc__p_wxFont,
33766 _swigc__p_wxFontData,
33767 _swigc__p_wxFontDialog,
33768 _swigc__p_wxFrame,
33769 _swigc__p_wxGBSizerItem,
33770 _swigc__p_wxGIFHandler,
33771 _swigc__p_wxGridBagSizer,
33772 _swigc__p_wxGridSizer,
33773 _swigc__p_wxHtmlLinkInfo,
33774 _swigc__p_wxICOHandler,
33775 _swigc__p_wxIcon,
33776 _swigc__p_wxIconBundle,
33777 _swigc__p_wxIconizeEvent,
33778 _swigc__p_wxIdleEvent,
33779 _swigc__p_wxImage,
33780 _swigc__p_wxImageHandler,
33781 _swigc__p_wxIndividualLayoutConstraint,
33782 _swigc__p_wxInitDialogEvent,
33783 _swigc__p_wxJPEGHandler,
33784 _swigc__p_wxKeyEvent,
33785 _swigc__p_wxLayoutAlgorithm,
33786 _swigc__p_wxLayoutConstraints,
33787 _swigc__p_wxMDIChildFrame,
33788 _swigc__p_wxMDIClientWindow,
33789 _swigc__p_wxMDIParentFrame,
33790 _swigc__p_wxMaximizeEvent,
33791 _swigc__p_wxMenu,
33792 _swigc__p_wxMenuBar,
33793 _swigc__p_wxMenuEvent,
33794 _swigc__p_wxMenuItem,
33795 _swigc__p_wxMessageDialog,
33796 _swigc__p_wxMiniFrame,
33797 _swigc__p_wxMouseCaptureChangedEvent,
33798 _swigc__p_wxMouseCaptureLostEvent,
33799 _swigc__p_wxMouseEvent,
33800 _swigc__p_wxMoveEvent,
33801 _swigc__p_wxMultiChoiceDialog,
33802 _swigc__p_wxNavigationKeyEvent,
33803 _swigc__p_wxNcPaintEvent,
33804 _swigc__p_wxNotifyEvent,
33805 _swigc__p_wxNumberEntryDialog,
33806 _swigc__p_wxObject,
33807 _swigc__p_wxPCXHandler,
33808 _swigc__p_wxPNGHandler,
33809 _swigc__p_wxPNMHandler,
33810 _swigc__p_wxPageSetupDialog,
33811 _swigc__p_wxPageSetupDialogData,
33812 _swigc__p_wxPaintEvent,
33813 _swigc__p_wxPaletteChangedEvent,
33814 _swigc__p_wxPanel,
33815 _swigc__p_wxPaperSize,
33816 _swigc__p_wxPasswordEntryDialog,
33817 _swigc__p_wxPoint,
33818 _swigc__p_wxPopupWindow,
33819 _swigc__p_wxPreviewCanvas,
33820 _swigc__p_wxPreviewControlBar,
33821 _swigc__p_wxPreviewFrame,
33822 _swigc__p_wxPrintData,
33823 _swigc__p_wxPrintDialog,
33824 _swigc__p_wxPrintDialogData,
33825 _swigc__p_wxPrintPreview,
33826 _swigc__p_wxPrinter,
33827 _swigc__p_wxProgressDialog,
33828 _swigc__p_wxPyApp,
33829 _swigc__p_wxPyCommandEvent,
33830 _swigc__p_wxPyEvent,
33831 _swigc__p_wxPyHtmlListBox,
33832 _swigc__p_wxPyImageHandler,
33833 _swigc__p_wxPyPanel,
33834 _swigc__p_wxPyPopupTransientWindow,
33835 _swigc__p_wxPyPreviewControlBar,
33836 _swigc__p_wxPyPreviewFrame,
33837 _swigc__p_wxPyPrintPreview,
33838 _swigc__p_wxPyPrintout,
33839 _swigc__p_wxPyScrolledWindow,
33840 _swigc__p_wxPySizer,
33841 _swigc__p_wxPyTaskBarIcon,
33842 _swigc__p_wxPyVListBox,
33843 _swigc__p_wxPyVScrolledWindow,
33844 _swigc__p_wxPyValidator,
33845 _swigc__p_wxPyWindow,
33846 _swigc__p_wxQueryLayoutInfoEvent,
33847 _swigc__p_wxQueryNewPaletteEvent,
33848 _swigc__p_wxRect,
33849 _swigc__p_wxRegion,
33850 _swigc__p_wxSashEvent,
33851 _swigc__p_wxSashLayoutWindow,
33852 _swigc__p_wxSashWindow,
33853 _swigc__p_wxScrollEvent,
33854 _swigc__p_wxScrollWinEvent,
33855 _swigc__p_wxScrolledWindow,
33856 _swigc__p_wxSetCursorEvent,
33857 _swigc__p_wxShowEvent,
33858 _swigc__p_wxSingleChoiceDialog,
33859 _swigc__p_wxSize,
33860 _swigc__p_wxSizeEvent,
33861 _swigc__p_wxSizer,
33862 _swigc__p_wxSizerItem,
33863 _swigc__p_wxSplashScreen,
33864 _swigc__p_wxSplashScreenWindow,
33865 _swigc__p_wxSplitterEvent,
33866 _swigc__p_wxSplitterWindow,
33867 _swigc__p_wxStaticBoxSizer,
33868 _swigc__p_wxStatusBar,
33869 _swigc__p_wxStdDialogButtonSizer,
33870 _swigc__p_wxString,
33871 _swigc__p_wxSysColourChangedEvent,
33872 _swigc__p_wxTGAHandler,
33873 _swigc__p_wxTIFFHandler,
33874 _swigc__p_wxTaskBarIcon,
33875 _swigc__p_wxTaskBarIconEvent,
33876 _swigc__p_wxTextEntryDialog,
33877 _swigc__p_wxTipWindow,
33878 _swigc__p_wxToolBar,
33879 _swigc__p_wxTopLevelWindow,
33880 _swigc__p_wxUpdateUIEvent,
33881 _swigc__p_wxValidator,
33882 _swigc__p_wxVisualAttributes,
33883 _swigc__p_wxWindow,
33884 _swigc__p_wxWindowCreateEvent,
33885 _swigc__p_wxWindowDestroyEvent,
33886 _swigc__p_wxXPMHandler,
33887 };
33888
33889
33890 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33891
33892 static swig_const_info swig_const_table[] = {
33893 {0, 0, 0, 0.0, 0, 0}};
33894
33895 #ifdef __cplusplus
33896 }
33897 #endif
33898 /* -----------------------------------------------------------------------------
33899 * Type initialization:
33900 * This problem is tough by the requirement that no dynamic
33901 * memory is used. Also, since swig_type_info structures store pointers to
33902 * swig_cast_info structures and swig_cast_info structures store pointers back
33903 * to swig_type_info structures, we need some lookup code at initialization.
33904 * The idea is that swig generates all the structures that are needed.
33905 * The runtime then collects these partially filled structures.
33906 * The SWIG_InitializeModule function takes these initial arrays out of
33907 * swig_module, and does all the lookup, filling in the swig_module.types
33908 * array with the correct data and linking the correct swig_cast_info
33909 * structures together.
33910 *
33911 * The generated swig_type_info structures are assigned staticly to an initial
33912 * array. We just loop though that array, and handle each type individually.
33913 * First we lookup if this type has been already loaded, and if so, use the
33914 * loaded structure instead of the generated one. Then we have to fill in the
33915 * cast linked list. The cast data is initially stored in something like a
33916 * two-dimensional array. Each row corresponds to a type (there are the same
33917 * number of rows as there are in the swig_type_initial array). Each entry in
33918 * a column is one of the swig_cast_info structures for that type.
33919 * The cast_initial array is actually an array of arrays, because each row has
33920 * a variable number of columns. So to actually build the cast linked list,
33921 * we find the array of casts associated with the type, and loop through it
33922 * adding the casts to the list. The one last trick we need to do is making
33923 * sure the type pointer in the swig_cast_info struct is correct.
33924 *
33925 * First off, we lookup the cast->type name to see if it is already loaded.
33926 * There are three cases to handle:
33927 * 1) If the cast->type has already been loaded AND the type we are adding
33928 * casting info to has not been loaded (it is in this module), THEN we
33929 * replace the cast->type pointer with the type pointer that has already
33930 * been loaded.
33931 * 2) If BOTH types (the one we are adding casting info to, and the
33932 * cast->type) are loaded, THEN the cast info has already been loaded by
33933 * the previous module so we just ignore it.
33934 * 3) Finally, if cast->type has not already been loaded, then we add that
33935 * swig_cast_info to the linked list (because the cast->type) pointer will
33936 * be correct.
33937 * ----------------------------------------------------------------------------- */
33938
33939 #ifdef __cplusplus
33940 extern "C" {
33941 #if 0
33942 } /* c-mode */
33943 #endif
33944 #endif
33945
33946 #if 0
33947 #define SWIGRUNTIME_DEBUG
33948 #endif
33949
33950 SWIGRUNTIME void
33951 SWIG_InitializeModule(void *clientdata) {
33952 size_t i;
33953 swig_module_info *module_head;
33954 static int init_run = 0;
33955
33956 clientdata = clientdata;
33957
33958 if (init_run) return;
33959 init_run = 1;
33960
33961 /* Initialize the swig_module */
33962 swig_module.type_initial = swig_type_initial;
33963 swig_module.cast_initial = swig_cast_initial;
33964
33965 /* Try and load any already created modules */
33966 module_head = SWIG_GetModule(clientdata);
33967 if (module_head) {
33968 swig_module.next = module_head->next;
33969 module_head->next = &swig_module;
33970 } else {
33971 /* This is the first module loaded */
33972 swig_module.next = &swig_module;
33973 SWIG_SetModule(clientdata, &swig_module);
33974 }
33975
33976 /* Now work on filling in swig_module.types */
33977 #ifdef SWIGRUNTIME_DEBUG
33978 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
33979 #endif
33980 for (i = 0; i < swig_module.size; ++i) {
33981 swig_type_info *type = 0;
33982 swig_type_info *ret;
33983 swig_cast_info *cast;
33984
33985 #ifdef SWIGRUNTIME_DEBUG
33986 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
33987 #endif
33988
33989 /* if there is another module already loaded */
33990 if (swig_module.next != &swig_module) {
33991 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
33992 }
33993 if (type) {
33994 /* Overwrite clientdata field */
33995 #ifdef SWIGRUNTIME_DEBUG
33996 printf("SWIG_InitializeModule: found type %s\n", type->name);
33997 #endif
33998 if (swig_module.type_initial[i]->clientdata) {
33999 type->clientdata = swig_module.type_initial[i]->clientdata;
34000 #ifdef SWIGRUNTIME_DEBUG
34001 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
34002 #endif
34003 }
34004 } else {
34005 type = swig_module.type_initial[i];
34006 }
34007
34008 /* Insert casting types */
34009 cast = swig_module.cast_initial[i];
34010 while (cast->type) {
34011 /* Don't need to add information already in the list */
34012 ret = 0;
34013 #ifdef SWIGRUNTIME_DEBUG
34014 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
34015 #endif
34016 if (swig_module.next != &swig_module) {
34017 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
34018 #ifdef SWIGRUNTIME_DEBUG
34019 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
34020 #endif
34021 }
34022 if (ret) {
34023 if (type == swig_module.type_initial[i]) {
34024 #ifdef SWIGRUNTIME_DEBUG
34025 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
34026 #endif
34027 cast->type = ret;
34028 ret = 0;
34029 } else {
34030 /* Check for casting already in the list */
34031 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
34032 #ifdef SWIGRUNTIME_DEBUG
34033 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
34034 #endif
34035 if (!ocast) ret = 0;
34036 }
34037 }
34038
34039 if (!ret) {
34040 #ifdef SWIGRUNTIME_DEBUG
34041 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
34042 #endif
34043 if (type->cast) {
34044 type->cast->prev = cast;
34045 cast->next = type->cast;
34046 }
34047 type->cast = cast;
34048 }
34049 cast++;
34050 }
34051 /* Set entry in modules->types array equal to the type */
34052 swig_module.types[i] = type;
34053 }
34054 swig_module.types[i] = 0;
34055
34056 #ifdef SWIGRUNTIME_DEBUG
34057 printf("**** SWIG_InitializeModule: Cast List ******\n");
34058 for (i = 0; i < swig_module.size; ++i) {
34059 int j = 0;
34060 swig_cast_info *cast = swig_module.cast_initial[i];
34061 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
34062 while (cast->type) {
34063 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
34064 cast++;
34065 ++j;
34066 }
34067 printf("---- Total casts: %d\n",j);
34068 }
34069 printf("**** SWIG_InitializeModule: Cast List ******\n");
34070 #endif
34071 }
34072
34073 /* This function will propagate the clientdata field of type to
34074 * any new swig_type_info structures that have been added into the list
34075 * of equivalent types. It is like calling
34076 * SWIG_TypeClientData(type, clientdata) a second time.
34077 */
34078 SWIGRUNTIME void
34079 SWIG_PropagateClientData(void) {
34080 size_t i;
34081 swig_cast_info *equiv;
34082 static int init_run = 0;
34083
34084 if (init_run) return;
34085 init_run = 1;
34086
34087 for (i = 0; i < swig_module.size; i++) {
34088 if (swig_module.types[i]->clientdata) {
34089 equiv = swig_module.types[i]->cast;
34090 while (equiv) {
34091 if (!equiv->converter) {
34092 if (equiv->type && !equiv->type->clientdata)
34093 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
34094 }
34095 equiv = equiv->next;
34096 }
34097 }
34098 }
34099 }
34100
34101 #ifdef __cplusplus
34102 #if 0
34103 {
34104 /* c-mode */
34105 #endif
34106 }
34107 #endif
34108
34109
34110
34111 #ifdef __cplusplus
34112 extern "C" {
34113 #endif
34114
34115 /* Python-specific SWIG API */
34116 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34117 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34118 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34119
34120 /* -----------------------------------------------------------------------------
34121 * global variable support code.
34122 * ----------------------------------------------------------------------------- */
34123
34124 typedef struct swig_globalvar {
34125 char *name; /* Name of global variable */
34126 PyObject *(*get_attr)(void); /* Return the current value */
34127 int (*set_attr)(PyObject *); /* Set the value */
34128 struct swig_globalvar *next;
34129 } swig_globalvar;
34130
34131 typedef struct swig_varlinkobject {
34132 PyObject_HEAD
34133 swig_globalvar *vars;
34134 } swig_varlinkobject;
34135
34136 SWIGINTERN PyObject *
34137 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
34138 return PyString_FromString("<Swig global variables>");
34139 }
34140
34141 SWIGINTERN PyObject *
34142 swig_varlink_str(swig_varlinkobject *v) {
34143 PyObject *str = PyString_FromString("(");
34144 swig_globalvar *var;
34145 for (var = v->vars; var; var=var->next) {
34146 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
34147 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
34148 }
34149 PyString_ConcatAndDel(&str,PyString_FromString(")"));
34150 return str;
34151 }
34152
34153 SWIGINTERN int
34154 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
34155 PyObject *str = swig_varlink_str(v);
34156 fprintf(fp,"Swig global variables ");
34157 fprintf(fp,"%s\n", PyString_AsString(str));
34158 Py_DECREF(str);
34159 return 0;
34160 }
34161
34162 SWIGINTERN void
34163 swig_varlink_dealloc(swig_varlinkobject *v) {
34164 swig_globalvar *var = v->vars;
34165 while (var) {
34166 swig_globalvar *n = var->next;
34167 free(var->name);
34168 free(var);
34169 var = n;
34170 }
34171 }
34172
34173 SWIGINTERN PyObject *
34174 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
34175 PyObject *res = NULL;
34176 swig_globalvar *var = v->vars;
34177 while (var) {
34178 if (strcmp(var->name,n) == 0) {
34179 res = (*var->get_attr)();
34180 break;
34181 }
34182 var = var->next;
34183 }
34184 if (res == NULL && !PyErr_Occurred()) {
34185 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34186 }
34187 return res;
34188 }
34189
34190 SWIGINTERN int
34191 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
34192 int res = 1;
34193 swig_globalvar *var = v->vars;
34194 while (var) {
34195 if (strcmp(var->name,n) == 0) {
34196 res = (*var->set_attr)(p);
34197 break;
34198 }
34199 var = var->next;
34200 }
34201 if (res == 1 && !PyErr_Occurred()) {
34202 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
34203 }
34204 return res;
34205 }
34206
34207 SWIGINTERN PyTypeObject*
34208 swig_varlink_type(void) {
34209 static char varlink__doc__[] = "Swig var link object";
34210 static PyTypeObject varlink_type;
34211 static int type_init = 0;
34212 if (!type_init) {
34213 const PyTypeObject tmp
34214 = {
34215 PyObject_HEAD_INIT(NULL)
34216 0, /* Number of items in variable part (ob_size) */
34217 (char *)"swigvarlink", /* Type name (tp_name) */
34218 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
34219 0, /* Itemsize (tp_itemsize) */
34220 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
34221 (printfunc) swig_varlink_print, /* Print (tp_print) */
34222 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
34223 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
34224 0, /* tp_compare */
34225 (reprfunc) swig_varlink_repr, /* tp_repr */
34226 0, /* tp_as_number */
34227 0, /* tp_as_sequence */
34228 0, /* tp_as_mapping */
34229 0, /* tp_hash */
34230 0, /* tp_call */
34231 (reprfunc)swig_varlink_str, /* tp_str */
34232 0, /* tp_getattro */
34233 0, /* tp_setattro */
34234 0, /* tp_as_buffer */
34235 0, /* tp_flags */
34236 varlink__doc__, /* tp_doc */
34237 0, /* tp_traverse */
34238 0, /* tp_clear */
34239 0, /* tp_richcompare */
34240 0, /* tp_weaklistoffset */
34241 #if PY_VERSION_HEX >= 0x02020000
34242 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34243 #endif
34244 #if PY_VERSION_HEX >= 0x02030000
34245 0, /* tp_del */
34246 #endif
34247 #ifdef COUNT_ALLOCS
34248 0,0,0,0 /* tp_alloc -> tp_next */
34249 #endif
34250 };
34251 varlink_type = tmp;
34252 varlink_type.ob_type = &PyType_Type;
34253 type_init = 1;
34254 }
34255 return &varlink_type;
34256 }
34257
34258 /* Create a variable linking object for use later */
34259 SWIGINTERN PyObject *
34260 SWIG_Python_newvarlink(void) {
34261 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
34262 if (result) {
34263 result->vars = 0;
34264 }
34265 return ((PyObject*) result);
34266 }
34267
34268 SWIGINTERN void
34269 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
34270 swig_varlinkobject *v = (swig_varlinkobject *) p;
34271 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
34272 if (gv) {
34273 size_t size = strlen(name)+1;
34274 gv->name = (char *)malloc(size);
34275 if (gv->name) {
34276 strncpy(gv->name,name,size);
34277 gv->get_attr = get_attr;
34278 gv->set_attr = set_attr;
34279 gv->next = v->vars;
34280 }
34281 }
34282 v->vars = gv;
34283 }
34284
34285 SWIGINTERN PyObject *
34286 SWIG_globals() {
34287 static PyObject *_SWIG_globals = 0;
34288 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
34289 return _SWIG_globals;
34290 }
34291
34292 /* -----------------------------------------------------------------------------
34293 * constants/methods manipulation
34294 * ----------------------------------------------------------------------------- */
34295
34296 /* Install Constants */
34297 SWIGINTERN void
34298 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
34299 PyObject *obj = 0;
34300 size_t i;
34301 for (i = 0; constants[i].type; ++i) {
34302 switch(constants[i].type) {
34303 case SWIG_PY_POINTER:
34304 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
34305 break;
34306 case SWIG_PY_BINARY:
34307 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
34308 break;
34309 default:
34310 obj = 0;
34311 break;
34312 }
34313 if (obj) {
34314 PyDict_SetItemString(d, constants[i].name, obj);
34315 Py_DECREF(obj);
34316 }
34317 }
34318 }
34319
34320 /* -----------------------------------------------------------------------------*/
34321 /* Fix SwigMethods to carry the callback ptrs when needed */
34322 /* -----------------------------------------------------------------------------*/
34323
34324 SWIGINTERN void
34325 SWIG_Python_FixMethods(PyMethodDef *methods,
34326 swig_const_info *const_table,
34327 swig_type_info **types,
34328 swig_type_info **types_initial) {
34329 size_t i;
34330 for (i = 0; methods[i].ml_name; ++i) {
34331 const char *c = methods[i].ml_doc;
34332 if (c && (c = strstr(c, "swig_ptr: "))) {
34333 int j;
34334 swig_const_info *ci = 0;
34335 const char *name = c + 10;
34336 for (j = 0; const_table[j].type; ++j) {
34337 if (strncmp(const_table[j].name, name,
34338 strlen(const_table[j].name)) == 0) {
34339 ci = &(const_table[j]);
34340 break;
34341 }
34342 }
34343 if (ci) {
34344 size_t shift = (ci->ptype) - types;
34345 swig_type_info *ty = types_initial[shift];
34346 size_t ldoc = (c - methods[i].ml_doc);
34347 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
34348 char *ndoc = (char*)malloc(ldoc + lptr + 10);
34349 if (ndoc) {
34350 char *buff = ndoc;
34351 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
34352 if (ptr) {
34353 strncpy(buff, methods[i].ml_doc, ldoc);
34354 buff += ldoc;
34355 strncpy(buff, "swig_ptr: ", 10);
34356 buff += 10;
34357 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
34358 methods[i].ml_doc = ndoc;
34359 }
34360 }
34361 }
34362 }
34363 }
34364 }
34365
34366 #ifdef __cplusplus
34367 }
34368 #endif
34369
34370 /* -----------------------------------------------------------------------------*
34371 * Partial Init method
34372 * -----------------------------------------------------------------------------*/
34373
34374 #ifdef __cplusplus
34375 extern "C"
34376 #endif
34377 SWIGEXPORT void SWIG_init(void) {
34378 PyObject *m, *d;
34379
34380 /* Fix SwigMethods to carry the callback ptrs when needed */
34381 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
34382
34383 m = Py_InitModule((char *) SWIG_name, SwigMethods);
34384 d = PyModule_GetDict(m);
34385
34386 SWIG_InitializeModule(0);
34387 SWIG_InstallConstants(d,swig_const_table);
34388
34389
34390 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
34391 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get, FrameNameStr_set);
34392 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get, DialogNameStr_set);
34393 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get, StatusLineNameStr_set);
34394 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get, ToolBarNameStr_set);
34395 SWIG_Python_SetConstant(d, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP)));
34396 SWIG_Python_SetConstant(d, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE)));
34397 SWIG_Python_SetConstant(d, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE)));
34398 SWIG_Python_SetConstant(d, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE)));
34399 SWIG_Python_SetConstant(d, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX)));
34400 SWIG_Python_SetConstant(d, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME)));
34401 SWIG_Python_SetConstant(d, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU)));
34402 SWIG_Python_SetConstant(d, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX)));
34403 SWIG_Python_SetConstant(d, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX)));
34404 SWIG_Python_SetConstant(d, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ)));
34405 SWIG_Python_SetConstant(d, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT)));
34406 SWIG_Python_SetConstant(d, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX)));
34407 SWIG_Python_SetConstant(d, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER)));
34408 SWIG_Python_SetConstant(d, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT)));
34409 SWIG_Python_SetConstant(d, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE)));
34410 SWIG_Python_SetConstant(d, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE)));
34411 SWIG_Python_SetConstant(d, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW)));
34412 SWIG_Python_SetConstant(d, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT)));
34413 SWIG_Python_SetConstant(d, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU)));
34414 SWIG_Python_SetConstant(d, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR)));
34415 SWIG_Python_SetConstant(d, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED)));
34416 SWIG_Python_SetConstant(d, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER)));
34417 SWIG_Python_SetConstant(d, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL)));
34418 SWIG_Python_SetConstant(d, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL)));
34419 SWIG_Python_SetConstant(d, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP)));
34420 SWIG_Python_SetConstant(d, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL)));
34421 SWIG_Python_SetConstant(d, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS)));
34422 SWIG_Python_SetConstant(d, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS)));
34423 SWIG_Python_SetConstant(d, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D)));
34424 SWIG_Python_SetConstant(d, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP)));
34425 SWIG_Python_SetConstant(d, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP)));
34426 SWIG_Python_SetConstant(d, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR)));
34427 SWIG_Python_SetConstant(d, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR)));
34428 SWIG_Python_SetConstant(d, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR)));
34429 SWIG_Python_SetConstant(d, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER)));
34430 SWIG_Python_SetConstant(d, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION)));
34431 SWIG_Python_SetConstant(d, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL)));
34432 SWIG_Python_SetConstant(d, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG)));
34433 SWIG_Python_SetConstant(d, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO)));
34434 SWIG_Python_SetConstant(d, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR)));
34435 SWIG_Python_SetConstant(d, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags)));
34436 SWIG_Python_SetConstant(d, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE)));
34437 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT)));
34438 SWIG_Python_SetConstant(d, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN)));
34439 SWIG_Python_SetConstant(d, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE)));
34440 SWIG_Python_SetConstant(d, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT)));
34441 SWIG_Python_SetConstant(d, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT)));
34442 SWIG_Python_SetConstant(d, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL)));
34443 SWIG_Python_SetConstant(d, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT)));
34444 SWIG_Python_SetConstant(d, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED)));
34445 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get, SplitterNameStr_set);
34446 SWIG_Python_SetConstant(d, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER)));
34447 SWIG_Python_SetConstant(d, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH)));
34448 SWIG_Python_SetConstant(d, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT)));
34449 SWIG_Python_SetConstant(d, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE)));
34450 SWIG_Python_SetConstant(d, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH)));
34451 SWIG_Python_SetConstant(d, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER)));
34452 SWIG_Python_SetConstant(d, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME)));
34453 SWIG_Python_SetConstant(d, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER)));
34454 SWIG_Python_SetConstant(d, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D)));
34455 SWIG_Python_SetConstant(d, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL)));
34456 SWIG_Python_SetConstant(d, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL)));
34457 SWIG_Python_SetConstant(d, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE)));
34458 SWIG_Python_SetConstant(d, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING)));
34459 SWIG_Python_SetConstant(d, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN)));
34460 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
34461 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
34462 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
34463 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
34464 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get, SashNameStr_set);
34465 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get, SashLayoutNameStr_set);
34466 SWIG_Python_SetConstant(d, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE)));
34467 SWIG_Python_SetConstant(d, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING)));
34468 SWIG_Python_SetConstant(d, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN)));
34469 SWIG_Python_SetConstant(d, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER)));
34470 SWIG_Python_SetConstant(d, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER)));
34471 SWIG_Python_SetConstant(d, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH)));
34472 SWIG_Python_SetConstant(d, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER)));
34473 SWIG_Python_SetConstant(d, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D)));
34474 SWIG_Python_SetConstant(d, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP)));
34475 SWIG_Python_SetConstant(d, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT)));
34476 SWIG_Python_SetConstant(d, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM)));
34477 SWIG_Python_SetConstant(d, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT)));
34478 SWIG_Python_SetConstant(d, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE)));
34479 SWIG_Python_SetConstant(d, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK)));
34480 SWIG_Python_SetConstant(d, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE)));
34481 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
34482 SWIG_Python_SetConstant(d, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL)));
34483 SWIG_Python_SetConstant(d, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL)));
34484 SWIG_Python_SetConstant(d, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE)));
34485 SWIG_Python_SetConstant(d, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP)));
34486 SWIG_Python_SetConstant(d, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT)));
34487 SWIG_Python_SetConstant(d, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT)));
34488 SWIG_Python_SetConstant(d, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM)));
34489 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y)));
34490 SWIG_Python_SetConstant(d, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X)));
34491 SWIG_Python_SetConstant(d, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH)));
34492 SWIG_Python_SetConstant(d, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY)));
34493 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
34494 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
34495 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get, VListBoxNameStr_set);
34496
34497 // Map renamed classes back to their common name for OOR
34498 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34499 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34500 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34501
34502 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
34503 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
34504 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
34505 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
34506 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
34507 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
34508 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
34509 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get, FileSelectorPromptStr_set);
34510 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get, DirSelectorPromptStr_set);
34511 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get, DirDialogNameStr_set);
34512 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get, FileSelectorDefaultWildcardStr_set);
34513 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get, GetTextFromUserPromptStr_set);
34514 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get, MessageBoxCaptionStr_set);
34515 SWIG_Python_SetConstant(d, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON)));
34516 SWIG_Python_SetConstant(d, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE)));
34517 SWIG_Python_SetConstant(d, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR)));
34518 SWIG_Python_SetConstant(d, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN)));
34519 SWIG_Python_SetConstant(d, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE)));
34520 SWIG_Python_SetConstant(d, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT)));
34521 SWIG_Python_SetConstant(d, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST)));
34522 SWIG_Python_SetConstant(d, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE)));
34523 SWIG_Python_SetConstant(d, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR)));
34524 SWIG_Python_SetConstant(d, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY)));
34525 SWIG_Python_SetConstant(d, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN)));
34526 SWIG_Python_SetConstant(d, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE)));
34527 SWIG_Python_SetConstant(d, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT)));
34528 SWIG_Python_SetConstant(d, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST)));
34529 SWIG_Python_SetConstant(d, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE)));
34530 SWIG_Python_SetConstant(d, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR)));
34531 SWIG_Python_SetConstant(d, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW)));
34532 SWIG_Python_SetConstant(d, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE)));
34533 SWIG_Python_SetConstant(d, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE)));
34534 SWIG_Python_SetConstant(d, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle)));
34535 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get, GetPasswordFromUserPromptStr_set);
34536 SWIG_Python_SetConstant(d, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE)));
34537 SWIG_Python_SetConstant(d, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL)));
34538 SWIG_Python_SetConstant(d, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT)));
34539 SWIG_Python_SetConstant(d, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME)));
34540 SWIG_Python_SetConstant(d, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME)));
34541 SWIG_Python_SetConstant(d, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME)));
34542 SWIG_Python_SetConstant(d, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH)));
34543 SWIG_Python_SetConstant(d, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP)));
34544 SWIG_Python_SetConstant(d, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN)));
34545 SWIG_Python_SetConstant(d, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD)));
34546 SWIG_Python_SetConstant(d, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE)));
34547 SWIG_Python_SetConstant(d, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG)));
34548 SWIG_Python_SetConstant(d, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN)));
34549 SWIG_Python_SetConstant(d, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE)));
34550 SWIG_Python_SetConstant(d, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD)));
34551 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
34552 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
34553 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
34554 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
34555 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
34556 SWIG_Python_SetConstant(d, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34557 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34558 SWIG_Python_SetConstant(d, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34559 SWIG_Python_SetConstant(d, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34560 SWIG_Python_SetConstant(d, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34561 SWIG_Python_SetConstant(d, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34562 SWIG_Python_SetConstant(d, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34563 SWIG_Python_SetConstant(d, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34564 SWIG_Python_SetConstant(d, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34565 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get, PrintoutTitleStr_set);
34566 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get, PreviewCanvasNameStr_set);
34567 SWIG_Python_SetConstant(d, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE)));
34568 SWIG_Python_SetConstant(d, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW)));
34569 SWIG_Python_SetConstant(d, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE)));
34570 SWIG_Python_SetConstant(d, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER)));
34571 SWIG_Python_SetConstant(d, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM)));
34572 SWIG_Python_SetConstant(d, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT)));
34573 SWIG_Python_SetConstant(d, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE)));
34574 SWIG_Python_SetConstant(d, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER)));
34575 SWIG_Python_SetConstant(d, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE)));
34576 SWIG_Python_SetConstant(d, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL)));
34577 SWIG_Python_SetConstant(d, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE)));
34578 SWIG_Python_SetConstant(d, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL)));
34579 SWIG_Python_SetConstant(d, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO)));
34580 SWIG_Python_SetConstant(d, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR)));
34581 SWIG_Python_SetConstant(d, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT)));
34582 SWIG_Python_SetConstant(d, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT)));
34583 SWIG_Python_SetConstant(d, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY)));
34584 SWIG_Python_SetConstant(d, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE)));
34585 SWIG_Python_SetConstant(d, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE)));
34586 SWIG_Python_SetConstant(d, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER)));
34587 SWIG_Python_SetConstant(d, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR)));
34588 SWIG_Python_SetConstant(d, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED)));
34589 SWIG_Python_SetConstant(d, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR)));
34590 SWIG_Python_SetConstant(d, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT)));
34591 SWIG_Python_SetConstant(d, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS)));
34592 SWIG_Python_SetConstant(d, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT)));
34593 SWIG_Python_SetConstant(d, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM)));
34594 SWIG_Python_SetConstant(d, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST)));
34595 SWIG_Python_SetConstant(d, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST)));
34596 SWIG_Python_SetConstant(d, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO)));
34597 SWIG_Python_SetConstant(d, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT)));
34598 SWIG_Python_SetConstant(d, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE)));
34599 SWIG_Python_SetConstant(d, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT)));
34600 SWIG_Python_SetConstant(d, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS)));
34601 SWIG_Python_SetConstant(d, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT)));
34602 SWIG_Python_SetConstant(d, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM)));
34603 SWIG_Python_SetConstant(d, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST)));
34604 SWIG_Python_SetConstant(d, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST)));
34605 SWIG_Python_SetConstant(d, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO)));
34606
34607 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
34608
34609 }
34610